-
Notifications
You must be signed in to change notification settings - Fork 62
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
Labels
bug
Something isn't working
Comments
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. |
Exactly same error : o |
Pode tentar novamente? Não estou usando mais o cuda. |
Tem novidades? |
Fala Lucas, não sei se sou eu que não sei colocar para rodar o projeto, mas não consegui ☹ Segue erro em anexo.
Como eu fiz:
Baixei o projeto, descompactei a pasta. Acessei a raiz da pasta pelo cmd (C:\Users\admlocal\Downloads\PyTibia-main), instalei poetry install e por último rodei o projeto (poetry run python main.py).
Fiz algo errado?
Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows
De: Lucas ***@***.***>
Enviado:quinta-feira, 27 de abril de 2023 07:45
Para: ***@***.***>
***@***.***>; ***@***.***>
Assunto: Re: [lucasmonstro/PyTibia] [BUG] - Erro ao iniciar client (Issue #48)
Tem novidades?
—
Reply to this email directly, view it on GitHub<#48 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJQ2ZH3TPZQXR5IWRUOZE3DXDJE33ANCNFSM6AAAAAAVEDV53A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
C:\Users\admlocal\Downloads\PyTibia-main>poetry run python main.py
[INFO ] [Logger ] Record log in C:\Users\admlocal\.kivy\logs\kivy_23-05-02_5.txt
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.3
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.4.5
[INFO ] [Kivy ] v2.1.0
[INFO ] [Kivy ] Installed at "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\Scripts\python.exe"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
Traceback (most recent call last):
File "C:\Users\admlocal\Downloads\PyTibia-main\main.py", line 4, in <module>
import pyautogui
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\pyautogui\__init__.py", line 183, in <module>
import pyscreeze
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\pyscreeze\__init__.py", line 45, in <module>
import cv2, numpy
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\cv2\__init__.py", line 181, in <module>
bootstrap()
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\cv2\__init__.py", line 175, in bootstrap
if __load_extra_py_code_for_module("cv2", submodule, DEBUG):
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\cv2\__init__.py", line 28, in __load_extra_py_code_for_module
py_module = importlib.import_module(module_name)
File "C:\Users\admlocal\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cp8P18BB-py3.9\lib\site-packages\cv2\gapi\__init__.py", line 301, in <module>
cv.gapi.wip.GStreamerPipeline = cv.gapi_wip_gst_GStreamerPipeline
AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
|
Pode tentar novamente? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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()
The text was updated successfully, but these errors were encountered: