Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Help , bot error " clean version is wrong " #66

Open
salvatore1994 opened this issue May 23, 2018 · 1 comment
Open

Help , bot error " clean version is wrong " #66

salvatore1994 opened this issue May 23, 2018 · 1 comment

Comments

@salvatore1994
Copy link

salvatore1994 commented May 23, 2018

Hi , im hving problem , this is what huppens when i try to execute the bot

`MINGW64 ~/Downloads/dlbot/dlbot
$ ./dlbot.exe gui -s
2018-05-23 10:22:58,681 - bot - CRITICAL - Clean version is wrong (0) cannot be zero something happened
2018-05-23 10:22:58,682 - bot - CRITICAL - Try running git reset --hard origin/master
Traceback (most recent call last):
  File "main.py", line 162, in <module>
  File "site-packages\click\core.py", line 722, in __call__
  File "site-packages\click\core.py", line 697, in main
  File "site-packages\click\core.py", line 1066, in invoke
  File "site-packages\click\core.py", line 895, in invoke
  File "site-packages\click\core.py", line 535, in invoke
  File "main.py", line 129, in gui
  File "main.py", line 39, in setup_runtime
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
  File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "C:\Users\wf08\Anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
  File "bot\providers\__init__.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
  File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "C:\Users\wf08\Anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
  File "bot\providers\nox\__init__.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
  File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "C:\Users\wf08\Anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
  File "bot\providers\nox\nox.py", line 18, in <module>
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
  File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "C:\Users\wf08\Anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
  File "bot\providers\nox\predefined.py", line 24, in <module>
  File "bot\providers\nox\predefined.py", line 53, in NoxPredefined
  File "site-packages\deprecation.py", line 131, in deprecated
  File "distutils\version.py", line 40, in __init__
  File "distutils\version.py", line 137, in parse
ValueError: invalid version number '0'
[8312] Failed to execute script main

`

can anyone help me ?

@will7200
Copy link
Owner

Hi @salvatore1994 ,
I fixed this in d617e7a. It back falls to a file.
I tried updating the executable to reflect this change but now it is getting a codec error.
Need to spend some more time on this. I would use git method for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants