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
Hello, there is some code missing in zim/newfs/__init__.py. It is triggered when user have locale not set. There is no logger object created, so it will fail with
Nohandlerscouldbefoundforlogger"zim.fs"Traceback (mostrecentcalllast):
File"<string>", line1, in<module>File"setup.py", line25, in<module>importmakeman# helper scriptFile"makeman.py", line14, in<module>fromzim.mainimportHelpCommandFile"zim/main/__init__.py", line28, in<module>fromzim.notebookimportNotebook, Path, \
File"zim/notebook/__init__.py", line39, in<module>from .infoimportNotebookInfo, NotebookInfoList, \
File"zim/notebook/info.py", line19, in<module>from .notebookimportNotebookConfig, _resolve_relative_configFile"zim/notebook/notebook.py", line22, in<module>fromzim.newfsimportLocalFolderFile"zim/newfs/__init__.py", line19, in<module>logger.warn('Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead')
NameError: name'logger'isnotdefined
Hello, there is some code missing in
zim/newfs/__init__.py
. It is triggered when user have locale not set. There is no logger object created, so it will fail withHere is the patch we applied locally:
Also this is the only file with windows-style line endings. Would you please fix it too to make it consistent with overall code? Thank you.
The text was updated successfully, but these errors were encountered: