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
I'm having an error when executing a python code with qrcode and qrcode-artistic when compiled with pyinstaller.
In my case, the code works when executing the python code as it is (as code by using 'python mycode.py'), BUT it does not work if I compile the code using pyinstaller. (pyinstaller does not return any error)
This is the error that I got when running the exe file:
File "ORIGINAL_code.py", line 323, in main
File "segno\__init__.py", line 970, in __getattr__
AttributeError: <class 'segno.QRCode'> object has no attribute to_artistic
[7552] Failed to execute script 'ORIGINAL_code' due to unhandled exception!
Line 349 calls the main() block.
Lines 322 and 323 have this code:
But I finally found that removing the "DARK=" and "DATA_DARK=" attributes from "qr.to_artistic" it works.
Is this an interoperability error between segno and qrcode-artistic?
The text was updated successfully, but these errors were encountered:
I'm having an error when executing a python code with qrcode and qrcode-artistic when compiled with pyinstaller.
In my case, the code works when executing the python code as it is (as code by using 'python mycode.py'), BUT it does not work if I compile the code using pyinstaller. (pyinstaller does not return any error)
This is the error that I got when running the exe file:
Line 349 calls the main() block.
Lines 322 and 323 have this code:
But I finally found that removing the "DARK=" and "DATA_DARK=" attributes from "qr.to_artistic" it works.
Is this an interoperability error between segno and qrcode-artistic?
The text was updated successfully, but these errors were encountered: