developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
22
results
Andrew Fletcher
•
The error you're encountering indicates an issue with the ffi gem during the CocoaPods update. The error message suggests trying to run the gem pristine command to fix it.
Using terminal - run the following command:
gem pristine ffi --version 1.16.3This command will attempt to restore the ffi gem to its pristine state, resolving any issues with its extensions. After running this command, try running pod update again
pod updateIf you encounter any permission issues, you might need to use...
Andrew Fletcher
•
Overview of the elements
Set Up API Keys
Obtain API keys for Pinecone and...
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
•
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
•
It seems like you're using the CharacterTextSplitter class from the tiktoken...
Andrew Fletcher
•
OpenAI request timeout?
Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded or not ready yet..Try increasing the timeout parameter. For example,
llm = ChatOpenAI(temperature=0, model_name=model)Change to
llm = ChatOpenAI(temperature=0, model_name=model,...
Andrew Fletcher
•
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
•
Set up your server
Begin by cleaning up your server environment. Do...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name...
Andrew Fletcher
•
Attempting to update the database, irrespective whether I run update.php or...
Andrew Fletcher
•
Getting Started with Cocoapods
Installation
Built with Ruby, Cocopods is installable with the default Ruby available on macOS. Using the default Ruby install will require you to use sudo when installing gems.
sudo gem install cocoapodsHowever, if you attempt to install or update Cocopods without Sudo you will hit a permission issue.
gem install cocoapods
Fetching cocoapods-1.11.2.gem
Fetching cocoapods-core-1.11.2.gem
Fetching rexml-3.2.5.gem
Fetching xcodeproj-1.21.0.gem
Fetching...
Andrew Fletcher
•
Working in Drupal 9.x, I was loading images via the Media module. Below 1...
Andrew Fletcher
•
Since upgrading to Drupal 9.3.0 have you come across this error?
Edit...
Andrew Fletcher
•
When you are in the status report of the admin area are you finding the...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...