ircart / scroll

irc bot to play ascii art

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.ascii auto crashes

stateisbad opened this issue · comments

Very nice bot! I'm experiencing an issue with .ascii auto. When I try to run an automated loop, I get the following Traceback:

sqlite3.ProgrammingError: Recursive use of cursors not allowed.

This causes the bot to go into a state which breaks it, only returning:

[ERROR] Please wait for the current ASCII to finish playing!

Seems like it's something to do with Threads and cursors.

Make sure you set your admin_host in the config.py to the correct host, as you need admin to start the auto loop. I've just tested the current build with the latest version of python adn .ascii auto seems to work fine for me.

Interesting. It must be something with my environment, then. I've tested on the Python 3 for both Arch Linux and Alpine. I'll investigate on my own further. Thanks for looking into this, though.