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
from pylokit import Office
with Office("/usr/lib/libreoffice/program") as lo:
with lo.documentLoad('/dummy-ų.doc') as doc:
pass
Error:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/usr/local/lib/python3.7/dist-packages/pylokit/lokit.py", line 113, in documentLoad
doc = self.lokit.pClass.documentLoad(self.lokit, six.b(url))
File "/usr/local/lib/python3.7/dist-packages/six.py", line 628, in b
return s.encode("latin-1")
UnicodeEncodeError: 'latin-1' codec can't encode character '\u0173' in position 7: ordinal not in range(256)
The text was updated successfully, but these errors were encountered:
Code:
Error:
The text was updated successfully, but these errors were encountered: