Open ymaniz09 opened 3 weeks ago
Could you provide for more information ?
I try to run install and just customize script requirements.py
on my MacBook that throw error in ttkthemes~=3.2.2
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'
I created a venv
for Python 3.12.4, and after activating it, I just ran python pokebot.py.
. I haven't interacted directly with requirements.py
.
Usually, it works as expected:
The bot usually works as expected for a few hours. From time to time, I notice the blank screenshot that I attached above.
macOS: Sonama Chip: M1
Thank for information
Update after using venv
and ran pokebot.py
subprocess.CalledProcessError: Command '['/Users/wukaru/venv/bin/python3', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-python-version-warning', 'ttkthemes~=3.2.2']' returned non-zero exit status 1.
Error in ttkthemes
module when try to install maybe same as before I was found
@ymaniz09 After I was setup env path then I can run bot on MacOS
Now testing if I found some as you found this issue will update later
Thank you!
I'm running four bots here in parallel:
It takes a while, but usually, it's easy to reproduce.
(I never spotted it on Windows, so I'm suspecting it might be related to generating the notification when the bot finds a target)
If you suspect that it's due to desktop notifications, you can disable those by editing profiles/logging.yml
.
Find the line that says
desktop_notifications: true
and change it to
desktop_notifications: false
I beleive we are in a good direction:
desktop_notifications
, I noticed all bots were still running this morning =]
I noticed that after a while, the bot stops, and the UI disappears:
I wasn't able to spot anything on the execution logs:
Please let me know if/how I can provide more meaningful information about this issue =]