SpEcHiDe / UploadGram

https://pypi.org/project/uploadgram/
GNU Affero General Public License v3.0
102 stars 24 forks source link

fix exit cs #23

Open SpEcHiDe opened 2 years ago

SpEcHiDe commented 2 years ago

sqlite3.OpetationalError: database is locked

xd003 commented 2 years ago

Just some additional info about this error

This error generally comes when one uses multiple clients within the same session . ( In other words , running miltiple instances of uploadgram using same telegram account ) . So its a normal thing for this error to come but in case of uploadgram , this error shows up if a actively running uploadgram process is exited , i don't beleive that should be the case , hence the issue

Temporary solutions 1) Reboot the system 2) Delete the .session file ( but wieirdly i couldn't find this file in .config/uploadgram )