You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got a new Raspberry Pi Zero, loaded the latest OS, loaded brother_ql_web and get this message:
No handlers could be found for logger "brother_ql.devicedependent"
Traceback (most recent call last):
File "./brother_ql_web.py", line 28, in
except FileNotFoundError as e:
NameError: name 'FileNotFoundError' is not defined
Any suggestions?
The text was updated successfully, but these errors were encountered:
FileNotFoundError has not been defined in Python 2, while /usr/bin/python usually pointed to Python 2 in the past (at least until Ubuntu 20.04 if I am not mistaken). Running python3 brother_ql_web.py should have worked. As soon as the configuration file is available, the undefined FileNotFoundError exception class will not be an issue any more on Python 2 as well, due to the way Python handles such exceptions.
Got a new Raspberry Pi Zero, loaded the latest OS, loaded brother_ql_web and get this message:
No handlers could be found for logger "brother_ql.devicedependent"
Traceback (most recent call last):
File "./brother_ql_web.py", line 28, in
except FileNotFoundError as e:
NameError: name 'FileNotFoundError' is not defined
Any suggestions?
The text was updated successfully, but these errors were encountered: