Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Erro ao iniciar client #48

Open
wemersonpereira opened this issue Feb 22, 2023 · 6 comments
Open

[BUG] - Erro ao iniciar client #48

wemersonpereira opened this issue Feb 22, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@wemersonpereira
Copy link

estou usando windows 10, fiz conforme a descrição, instalei Python 3.9.13 e Poetry mais atualizado disponível, instalei os packages:
pip install poetry
poetry install
poetry run task add-torch
poetry run task add-easyocr

Quando executo o comenda poetry run python main.py dentro da pasta raiz do projeto, ocorre vários erros, o que posso fazer? segue erro abaixo:

C:\Users\admlocal\Downloads\PyTibia-main\PyTibia-main>poetry run python main.py
CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Users\admlocal\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "C:\Users\admlocal\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1306, in run
self.function(*self.args, **self.kwargs)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\timeoutscheduler.py", line 83, in interval
sad.disposable = self.invoke_action(action, state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\scheduler.py", line 103, in invoke_action
ret = action(self, state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\periodicscheduler.py", line 47, in periodic
state = action(state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observable\timer.py", line 76, in action
observer.on_next(count)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 39, in on_next
obv.on_error(err)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
[Previous line repeated 9 more times]
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\internal\basic.py", line 34, in default_error
raise err
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 37, in on_next
result = _mapper(value)
File "C:\Users\admlocal\Downloads\PyTibia-main\PyTibia-main\main.py", line 185, in handleBattleListCreatures
hasBattleListCreatures = len(copyOfContext['battleListCreatures']) > 0
TypeError: object of type 'NoneType' has no len()

@wemersonpereira wemersonpereira added the bug Something isn't working label Feb 22, 2023
@lucasmonstrox
Copy link
Owner

Salve, ainda não fiz um setup minimo explicando como usa o bot, mas para avisar que ele está em dev.

Sugeria voce abrir a battleList full, abrir a aba de skills full, usar multiple scale integrals na maior resolução.

@Lopsito
Copy link

Lopsito commented Apr 13, 2023

Exactly same error : o

@lucasmonstrox
Copy link
Owner

Pode tentar novamente? Não estou usando mais o cuda.

@lucasmonstrox
Copy link
Owner

Tem novidades?

@wemersonpereira
Copy link
Author

wemersonpereira commented May 2, 2023 via email

@lucasmonstrox
Copy link
Owner

Pode tentar novamente?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants