Skip to content
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

Installed brotab, but causes errors on use #111

Open
mabra opened this issue Nov 19, 2023 · 0 comments
Open

Installed brotab, but causes errors on use #111

mabra opened this issue Nov 19, 2023 · 0 comments

Comments

@mabra
Copy link

mabra commented Nov 19, 2023

Installed pip3 and brotab as root - the user to use it has no sudo right.
Running 'bt list tabs' causes this errors:

bt list tabs
Traceback (most recent call last):
File "/usr/local/bin/bt", line 5, in
from brotab.main import main
File "/usr/local/lib/python3.9/dist-packages/brotab/main.py", line 63, in
from brotab.api import MultipleMediatorsAPI
File "/usr/local/lib/python3.9/dist-packages/brotab/api.py", line 19, in
from brotab.env import http_iface
File "/usr/local/lib/python3.9/dist-packages/brotab/env.py", line 9, in
from brotab.mediator.log import mediator_logger
File "/usr/local/lib/python3.9/dist-packages/brotab/mediator/log.py", line 63, in
mediator_logger = init_mediator_logger('mediator')
File "/usr/local/lib/python3.9/dist-packages/brotab/mediator/log.py", line 31, in init_mediator_logger
return _init_logger(tag, in_temp_dir('brotab_mediator.log'))
File "/usr/local/lib/python3.9/dist-packages/brotab/mediator/log.py", line 15, in _init_logger
handler = logging.handlers.RotatingFileHandler(
File "/usr/lib/python3.9/logging/handlers.py", line 153, in init
BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/tmp/brotab_mediator.log'
<
Dont know, how to continue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant