-
Notifications
You must be signed in to change notification settings - Fork 30
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
brotab doesn't work on ubuntu 22.04 #80
Comments
Looks like
|
Thanks for the quick reply.
There are no mediator logs, it seems that the firefox didn't run the mediator, when I run the mediator manually I see the startup logs. This
|
Possibly due to Firefox being a snap by default in 22.04? If so, probably related to #33. |
As i said I installed firefox as .deb |
Ah, obviously missed that. Sorry. :) |
Any news about that @balta2ar ? |
Sorry, I must have missed your reply. When you do
Could you check what's in the file that corresponds Firefox?
and then try running
That how Firefox would try to run it. If that doesn't work, it could indicate that your
And then we can compare the output of |
Hey, I have the same results as you:
and |
Can't get brotab to work. I have tried to run |
You probaby have some dependency issue. I presume you install using
brotab requires some outdated packages, so try to get the Looks like among others you need:
(found in Edit... well, that doesn't work... After installing using
Injecting So I checked the PR's and found this: Created local
And installed using
Now
(close bt_mediator before using the addon in firefox, which launches its own bt_mediator process) |
Another Ubuntu 22.04 user reporting in. I did need to inject setuptools in order to stop the pkg_resources error, but then none of the Traceback (most recent call last):
File "/home/andy/.local/bin/bt_mediator", line 5, in <module>
from brotab.mediator.brotab_mediator import main
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/brotab/mediator/brotab_mediator.py", line 15, in <module>
from brotab.mediator.http_server import MediatorHttpServer
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/brotab/mediator/http_server.py", line 7, in <module>
from flask import Flask
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/flask/__init__.py", line 7, in <module>
from .app import Flask as Flask
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/flask/app.py", line 28, in <module>
from . import cli
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/flask/cli.py", line 18, in <module>
from .helpers import get_debug_flag
File "/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/flask/helpers.py", line 16, in <module>
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/andy/.local/share/venvs/3a0e2b54c68fb330bd06cd7d789cd280/venv/lib/python3.12/site-packages/werkzeug/urls.py). Did you mean: 'unquote'? So I injected werkzeug<3 into brotab's venv as in that PR, and now it's working. |
Hey, I have upgrade my PC to Ubuntu 22.04 lately and I can't figure out why brotab isn't working.
bt
and themediator
are communicating, I can see logs at/tmp/brotab_mediator.log
but it seems that it can't grab info from my firefox.First I thought its something about firefox is installed by
snap
in 22.04 so I installed as a.deb
instead but it didn't work.I have installed the extensions I have ran
bt install
and I ensured that the mediator json is actually there.Firefox log
brotab_mediator.log
Versions
Mediator
How can I troubleshoot this any further?
The text was updated successfully, but these errors were encountered: