-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Fabric Dependency Issues with gRPC and Google Cloud Libraries #747
Comments
I am getting the same type of behavior on a fresh install on ubuntu on WSLWARNING: All log messages before absl::InitializeLog() is called are written to STDERR |
I found a temporary fix for the issue: To mitigate the problem, run the following commands: pipx runpip fabric uninstall grpcio
pipx runpip fabric install grpcio==1.64.0 This resolves the warning messages related to For more details on the grpc bug, see: As for @07pepa's comments, they were completely useless and off-topic. They didn't help at all and only added noise to the conversation. If you can't contribute constructively, please refrain from commenting. I hope this helps others facing the same issue. |
I can confirm that this fix downgrading grpcio to 1.64 is working for me as well |
Also confirming that the uninstall and reinstall of grpcio worked and resolved the warning messages. Thanks, @joshuafuller. |
This comment has been minimized.
This comment has been minimized.
MacOS same problem and fix doesn't work |
[[Bug]: Fabric Dependency Issues with gRPC and Google Cloud Libraries] #747 (comment)) I only want to use Google's models/gemini-1.5-pro and ollama models. I want exclude for the time being OpenAI (fabric default) and Claude.ai. After a reboot, I get this error "Error: Client error '401 Unauthorized' for url 'https://api.openai.com/v1/models' I followed the suggested format a similar way described by Joshua Fuller Full Uninstall and Reinstallation:
I tested that fabric was installed properly:
Once, I reboot OpenAI took precedence and returned the error "Error: Client error '401 Unauthorized' for url 'https://api.openai.com/v1/models'". This reminds me of the "Harry Belafonte & Odetta - A Hole in the Bucket: "https://www.youtube.com/watch?v=xVAvMIhvqfk" There needs to be a way to persist fabric --changeDefaultModel. Also, add as many keys as you like but have a way to reset a combination of keys which are dynamically persisted but can be changed and restart the shell and happy fabric-ing to handle as an example (Fabric: This OPENSOURCE AI Framework can AUTOMATE YOUR LIFE & ANY TASK (Setup with Ollama & Groq) : "https://www.youtube.com/watch?v=Iup3-Jvkrhg" ) as a permutation of the ability to reset a combination of keys |
@ph3ll3r, it looks like your issue differs from the one I originally reported. You might want to start a new thread to address your specific problem. The error I encountered affected all Fabric operations and involved warnings related to grpcio and other libraries, such as:
These warnings occurred during various commands, including changing the default model and summarizing YouTube videos. Your error seems to be a 401 Unauthorized error related to OpenAI's API after a reboot, which suggests a different underlying issue. Please refer to the photo I uploaded to see the differences in our issues. |
On MacOS Sonoma 14.5.1 the reported fix works. Thanks! |
I used this and it did not work.Dependency Verification:Checked installed versions of key dependencies using: pipx runpip fabric show grpcioNoted the installed versions:
th3f001 commented 20 hours agoTo mitigate the problem, run the following commands:worked perfectly
|
Having the same problem with the initial message of the thread:
Device: worked perfectly
|
What happened?
What happened?
I was using the
fabric
package for various commands, such as changing the default model and summarizing YouTube videos. Despite multiple attempts to reinstallfabric
and its dependencies, I am still encountering warning messages related togrpcio
and other related libraries. The specific warnings are:WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1721329796.596775 48349 check_gcp_environment.cc:61] BIOS data file does not exist or cannot be opened.
These warnings appear consistently during different
fabric
operations, not just when changing the default model.Environment:
grpcio==1.65.1
google-cloud-aiplatform==1.59.0
google-cloud-storage==2.17.0
Steps Taken to Resolve the Issue:
Full Uninstall and Reinstallation:
fabric
using pipx:pipx uninstall fabric
fabric
repository:rm -rf ~/github/fabric
fabric
repository from GitHub:git clone https://github.com/danielmiessler/fabric.git
fabric
using pipx:pipx install fabric
fabric
as a new installation:fabric --setup
Dependency Verification:
pipx runpip fabric show grpcio
grpcio==1.65.1
google-cloud-aiplatform==1.59.0
google-cloud-storage==2.17.0
pipx runpip fabric install --upgrade grpcio google-cloud-aiplatform google-cloud-storage
Example Commands Producing Warnings:
Changing the default model:
fabric --changeDefaultModel gpt-4o-mini WARNING: All log messages before absl::InitializeLog() is called are written to STDERR I0000 00:00:1721329796.587000 48349 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache I0000 00:00:1721329796.596775 48349 check_gcp_environment.cc:61] BIOS data file does not exist or cannot be opened. Default model changed to gpt-4o-mini. Please restart your terminal to use it.
Summarizing a YouTube video (snipped for brevity):
The command still provided the expected output after the warning messages.
Version check
Relevant log output
Relevant screenshots (optional)
The text was updated successfully, but these errors were encountered: