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

Error when attempting to run daemon

$
0
0

@ir0nfist wrote:

How's it going. I'm having a problem running the daemon. It has been running fine but I noticed it wasn't running when I ran my update script. I'm running win 8.1 x64 pro with python 3.5.1 (daemon wasn't running with 2.7 so I decided to update). This is what I'm seeing when I type flexget daemon start:

C:\Windows\system32>flexget daemon start
2016-06-13 23:40 INFO scheduler Starting scheduler
Traceback (most recent call last):
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1139, in executecontext
context)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\default.
py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlite3.IntegrityError: UNIQUE constraint failed: apscheduler_jobs.id

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

Traceback (most recent call last):
File "d:\applications\python35-32\lib\site-packages\apscheduler\jobstores\sqla
lchemy.py", line 92, in add_job
self.engine.execute(insert)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1991, in execute
return connection.execute(statement, *multiparams, **params)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 914, in execute
return meth(self, multiparams, params)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\sql\elements.py
", line 323, in executeon_connection
return connection.executeclauseelement(self, multiparams, params)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1010, in executeclauseelement
compiled_sql, distilled_params
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1146, in executecontext
context)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1341, in handledbapi_exception
exc_info
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\util\compat.py"
, line 202, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\util\compat.py"
, line 185, in reraise
raise value.with_traceback(tb)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\base.py"
, line 1139, in executecontext
context)
File "d:\applications\python35-32\lib\site-packages\sqlalchemy\engine\default.
py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed
: apscheduler_jobs.id [SQL: 'INSERT INTO apscheduler_jobs (id, next_run_time, jo
b_state) VALUES (?, ?, ?)'] [parameters: ('0d4be11742839779e64a56f8f9f0d4498d2e3
e12', 1465875906.858248, )]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Applications\Python35-32\Scripts\flexget-script.py", line 9, in le>
load_entry_point('FlexGet==2.0.44', 'console_scripts', 'flexget')()
File "d:\applications\python35-32\lib\site-packages\flexget__init__.py", line
42, in main
manager.start()
File "d:\applications\python35-32\lib\site-packages\flexget\manager.py", line
310, in start
self.handle_cli()
File "d:\applications\python35-32\lib\site-packages\flexget\manager.py", line
334, in handle_cli
self.daemon_command(command_options)
File "d:\applications\python35-32\lib\site-packages\flexget\manager.py", line
400, in daemon_command
fire_event('manager.daemon.started', self)
File "d:\applications\python35-32\lib\site-packages\flexget\event.py", line 10
6, in fire_event
result = event(*args, **kwargs)
File "d:\applications\python35-32\lib\site-packages\flexget\event.py", line 23
, in call
return self.func(*args, **kwargs)
File "d:\applications\python35-32\lib\site-packages\flexget\plugins\daemon\sch
eduler.py", line 145, in setup_scheduler
setup_jobs(manager)
File "d:\applications\python35-32\lib\site-packages\flexget\plugins\daemon\sch
eduler.py", line 190, in setup_jobs
scheduler.start()
File "d:\applications\python35-32\lib\site-packages\apscheduler\schedulers\bac
kground.py", line 33, in start
BaseScheduler.start(self, *args, **kwargs)
File "d:\applications\python35-32\lib\site-packages\apscheduler\schedulers\bas
e.py", line 151, in start
self.realadd_job(job, jobstore_alias, replace_existing)
File "d:\applications\python35-32\lib\site-packages\apscheduler\schedulers\bas
e.py", line 847, in realadd_job
store.add_job(job)
File "d:\applications\python35-32\lib\site-packages\apscheduler\jobstores\sqla
lchemy.py", line 94, in add_job
raise ConflictingIdError(job.id)
apscheduler.jobstores.base.ConflictingIdError: 'Job identifier (0d4be11742839779
e64a56f8f9f0d4498d2e3e12) conflicts with an existing job'

If anyone has any idea what's happening here I'd appreciate. My brain is a little burned out today from troubleshooting. Thanks for your time.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles