Steffo99 / greed

Customizable, multilanguage Telegram shop bot with Payments support
GNU Affero General Public License v3.0
534 stars 262 forks source link

`sqlite3.ProgrammingError`: SQLite objects created in a thread can only be used in that same thread. #140

Open tripoflgb opened 3 years ago

tripoflgb commented 3 years ago

Hello! I receive this error in moment used your bot, please help fix.

This error view in more users enter in the bot, is add product in cart and order products.

Thanks.

Please help fix - sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread

Steffo99 commented 3 years ago

Can you please provide full logs?

https://github.com/Steffo99/greed/blob/28967de9fb26d7e0a01a4dd56a7e7e28fbae91ba/config/template_config.toml#L113

Set the logging level to DEBUG, then send me the full console output when the error occours.