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] - #72

Open
forma-pl opened this issue Jun 19, 2023 · 3 comments
Open

[BUG] - #72

forma-pl opened this issue Jun 19, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@forma-pl
Copy link

Describe the bug
Cant run the main.py
[Python] 3.9.13 - installed
[Poetry]>=1.2.0 - installed

Expected behavior
PS C:\Users\Forma\Source\Repos\PyT> poetry run python main.py
Traceback (most recent call last):
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 116, in
main()
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 102, in main
context = handleGameData(context)
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 41, in handleGameData
context = setChatTabsMiddleware(context)
File "C:\Users\Forma\Source\Repos\PyT\src\gameplay\core\middlewares\chat.py", line 7, in setChatTabsMiddleware
context['chat']['tabs'] = getTabs(context['screenshot'])
File "C:\Users\Forma\Source\Repos\PyT\src\repositories\chat\core.py", line 30, in getTabs
x, y, width, height = leftSidebarArrowsPosition[1] + 18, chatMenuPosition[1], chatMenuPosition[1] - (leftSidebarArrowsPosition[1] + 18), 20
TypeError: 'NoneType' object is not subscriptable

Screenshots

Desktop (please complete the following information):

@forma-pl forma-pl added the bug Something isn't working label Jun 19, 2023
@eduardomottoni
Copy link

Same here,

I tried to run the command with the tibia logged in and get insta deleted, be careful

@fonciarz0
Copy link

has to be something with latest patch I guess, having the same error

@lucasmonstrox
Copy link
Owner

@forma-pl I will create a minimal setup to use the bot.

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

4 participants