Hello,
When I launch picross (build from source), I get this error
Traceback (most recent call last):
File "/home/USERNAME/.local/bin/picross", line 33, in <module>
sys.exit(load_entry_point('picross==0.6.1', 'console_scripts',
'picross')())
File
"/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/__main__.py",
line 3, in run
File "<frozen zipimport>", line 259, in load_module
File
"/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/gui/controller.py",
line 21, in <module>
ImportError: cannot import name 'DownloadConfigIncompleteError' from
'picross.download'
(/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/download.py)
in download.py, there is no DownloadConfigIncompleteError
(btw if I comment this line about importing
DownloadConfigIncompleteError, there is the same error with
DownloadConfigNotFoundError, which isn't in download.py too).
I checked out e509856 and I can run picross, then it should be some
missing code related to the recent refactoring
Regards,
Bopol
On November 10, 2020 11:55:43 PM UTC, Bopol <bopol@e.email> wrote:
>Hello,
>
>When I launch picross (build from source), I get this error
>
>Traceback (most recent call last):
> File "/home/USERNAME/.local/bin/picross", line 33, in <module>
> sys.exit(load_entry_point('picross==0.6.1', 'console_scripts',
>'picross')())
> File
>"/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/__main__.py",
>
>line 3, in run
> File "<frozen zipimport>", line 259, in load_module
> File
>"/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/gui/controller.py",
>
>line 21, in <module>
>ImportError: cannot import name 'DownloadConfigIncompleteError' from
>'picross.download'
>(/home/USERNAME/.local/lib/python3.9/site-packages/picross-0.6.1-py3.9.egg/picross/download.py)
>
>in download.py, there is no DownloadConfigIncompleteError
>
>(btw if I comment this line about importing
>DownloadConfigIncompleteError, there is the same error with
>DownloadConfigNotFoundError, which isn't in download.py too).
>
>I checked out e509856 and I can run picross, then it should be some
>missing code related to the recent refactoring
I believe it is. I deprecated these two errors but forgot to remove them from the giant pile of imports. My bad!
Try checking out master and deleting lines 23 and 24 from controller.py. It's incredible i haven't noticed this problem for a month. Been busy at school, sorry!
~fkfd