-
Notifications
You must be signed in to change notification settings - Fork 239
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
database is locked #36
Comments
From telethon docs:
|
TODO: Add this error to documentation. |
Added to documentation, thanks! |
Traceback (most recent call last):
File "/usr/local/bin/Telegram-upload", line 6, in
catch(upload)()
File "/usr/local/lib/python3.7/site-packages/telegram_upload/exceptions.py", line 25, in wrap
fn(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/telegram_upload/management.py", line 17, in upload
client = Client(config or default_config())
File "/usr/local/lib/python3.7/site-packages/telegram_upload/client.py", line 43, in init
super().init(config.get('session', 'telegram-upload'), config['api_id'], config['api_hash'], **kwargs)
File "/usr/local/lib/python3.7/site-packages/telethon/client/telegrambaseclient.py", line 250, in init
session = SQLiteSession(session)
File "/usr/local/lib/python3.7/site-packages/telethon/sessions/sqlite.py", line 47, in init
c.execute("select name from sqlite_master "
sqlite3.OperationalError: database is locked
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
url=XXXX
for f in "$url"*.mp4 ; do
Telegram-upload --to webcamcol "$f"
done
The text was updated successfully, but these errors were encountered: