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] - ABRIR O BOT #63

Open
LucasCamboim opened this issue May 21, 2023 · 1 comment
Open

[BUG] - ABRIR O BOT #63

LucasCamboim opened this issue May 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@LucasCamboim
Copy link

Não entendi bem como funciona a inicialização do bot.
mas tentei pelos comandos no poetry e o comando: poetry run python -m pytest
deu o seguinte erro:


> ERROR collecting test session ____________________________________________
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\runner.py:341: in from_call
>     result: Optional[TResult] = func()
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\main.py:719: in collect
>     for direntry in visit(str(argpath), self._recurse):
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:683: in visit
>     for entry in os.scandir(path):
> E   PermissionError: [WinError 5] Acesso negado: 'C:\\WINDOWS\\system32\\LogFiles\\WMI\\RtBackup'
> =============================================== short test summary info ===============================================
> ERROR  - PermissionError: [WinError 5] Acesso negado: 'C:\\WINDOWS\\system32\\LogFiles\\WMI\\RtBackup'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection

Ou mesmo quando tento: poetry run python main.py
ele da o seguinte erro na ultima linha:

`

pywintypes.error: (1400, 'SetForegroundWindow', 'O identificador da janela é inválido.')

`

@LucasCamboim LucasCamboim added the bug Something isn't working label May 21, 2023
@lucasmonstrox
Copy link
Owner

Opa @LucasCamboim 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

2 participants