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
My script works perfect when it isn't compiled. But once I compile it into an exe with pyinstaller and pyarmour I always get this error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "site-packages\pycards\cards\card.py", line 42, in _load_data_file
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\test\AppData\Local\Temp\_MEI20282\pycards/data.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "threading.py", line 917, in _bootstrap_inner
File "threading.py", line 865, in run
File "", line 540, in main
File "", line 403, in postPayment
File "site-packages\pycards\cards\card.py", line 126, in brand
File "site-packages\pycards\cards\card.py", line 140, in data
File "site-packages\pycards\cards\card.py", line 50, in _load_data
File "site-packages\pycards\cards\card.py", line 45, in _load_data_file
pycards.cards.card.NoDatabaseExist: File data.json in incorrect format.
Is it possible to fix this?
The text was updated successfully, but these errors were encountered:
My script works perfect when it isn't compiled. But once I compile it into an exe with pyinstaller and pyarmour I always get this error:
Is it possible to fix this?
The text was updated successfully, but these errors were encountered: