~fkfd/picross

1

picross doesn't launch

Details
Message ID
<d6079634-8e7c-da2e-2c85-0f88f517ec58@e.email>
DKIM signature
missing
Download raw message
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
Details
Message ID
<1599E863-15B6-4BB2-8928-099B2740C1F8@macaw.me>
In-Reply-To
<d6079634-8e7c-da2e-2c85-0f88f517ec58@e.email> (view parent)
DKIM signature
missing
Download raw message
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
Reply to thread Export thread (mbox)