Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Error Running Flexget-Headless

$
0
0

@jlalanda wrote:

Helllo,

Im using the latest version of flexget on windows and when i start the schedule task i keep getting this error on the log file:

2017-01-23 11:34 INFO cron_env Please run FlexGet manually once for environment verification purposes.
2017-01-23 11:34 INFO manager torrentleech Running database cleanup.
2017-01-23 11:34 INFO db_vacuum torrentleech Running VACUUM on database to improve performance and decrease db size.
2017-01-23 11:34 CRITICAL task_queue Database error while running a task. Attempting to recover.
2017-01-23 11:34 CRITICAL manager An unexpected crash has occurred. Writing crash report to C:\Users\jlalanda\flexget\crash_report.2017.01.23.113423898016.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.9.8

on the crash report i get the following error:

2017-01-23 11:33 DEBUG manager Figuring out config load paths
2017-01-23 11:33 DEBUG manager Found config: C:\Users\jlalanda\flexget\config.yml
2017-01-23 11:33 DEBUG manager Config file C:\Users\jlalanda\flexget\config.yml selected
2017-01-23 11:34 INFO cron_env Please run FlexGet manually once for environment verification purposes.
2017-01-23 11:34 INFO manager torrentleech Running database cleanup.
2017-01-23 11:34 INFO db_vacuum torrentleech Running VACUUM on database to improve performance and decrease db size.
2017-01-23 11:34 CRITICAL task_queue Database error while running a task. Attempting to recover.
Traceback (most recent call last):
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 1182, in executecontext
context)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\default.py", line 470, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: cannot VACUUM from within a transaction

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\task_queue.py", line 48, in run
self.current_task.execute()
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\task.py", line 73, in wrapper
return func(self, *args, **kw)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\task.py", line 653, in execute
self.manager.db_cleanup()
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\manager.py", line 896, in db_cleanup
fire_event('manager.db_cleanup', self, session)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\event.py", line 106, in fire_event
result = event(*args, **kwargs)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\event.py", line 23, in call
return self.func(*args, **kwargs)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\flexget\plugins\generic\db_vacuum.py", line 22, in on_cleanup
session.execute('VACUUM')
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\orm\session.py", line 1107, in execute
bind, close_with_result=True).execute(clause, params or {})
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 945, in execute
return meth(self, multiparams, params)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\sql\elements.py", line 263, in executeon_connection
return connection.executeclauseelement(self, multiparams, params)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 1053, in executeclauseelement
compiled_sql, distilled_params
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 1189, in executecontext
context)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 1393, in handledbapi_exception
exc_info
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\util\compat.py", line 186, in reraise
raise value.with_traceback(tb)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\base.py", line 1182, in executecontext
context)
File "c:\users\jlalanda\appdata\local\programs\python\python36-32\lib\site-packages\sqlalchemy\engine\default.py", line 470, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) cannot VACUUM from within a transaction [SQL: 'VACUUM']

Can you help me?

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles