@Zzrod wrote:
Once I updated, the following error has started ... any help appreciated ...
flexget daemon start -d
2019-03-06 08:20 CRITICAL plugin Exception while loading plugin flexget.components.status.db
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/flexget/plugin.py", line 434, in importplugin
import_module(module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
import(name)
File "/home/pi/.local/lib/python2.7/site-packages/flexget/components/status/db.py", line 29, in
class StatusTask(Base):
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/api.py", line 65, in init
asdeclarative(cls, classname, cls.dict)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 88, in asdeclarative
MapperConfig.setupmapping(cls, classname, dict_)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 116, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 144, in init
self.setuptable()
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 437, in setuptable
**table_kw)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 438, in new
"existing Table object." % key)
InvalidRequestError: Table 'status_task' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 11, in
sys.exit(main())
File "/home/pi/.local/lib/python2.7/site-packages/flexget/__init__.py", line 47, in main
manager.start()
File "/home/pi/.local/lib/python2.7/site-packages/flexget/manager.py", line 399, in start
self.initialize()
File "/home/pi/.local/lib/python2.7/site-packages/flexget/manager.py", line 236, in initialize
extra_components=[os.path.join(self.config_base, 'components')],
File "/home/pi/.local/lib/python2.7/site-packages/flexget/plugin.py", line 562, in load_plugins
loadcomponents_from_dirs(extra_components)
File "/home/pi/.local/lib/python2.7/site-packages/flexget/plugin.py", line 503, in loadcomponents_from_dirs
importplugin(package_name, component_path)
File "/home/pi/.local/lib/python2.7/site-packages/flexget/plugin.py", line 434, in importplugin
import_module(module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
import(name)
File "/home/pi/.local/lib/python2.7/site-packages/flexget/components/status/db.py", line 29, in
class StatusTask(Base):
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/api.py", line 65, in init
asdeclarative(cls, classname, cls.dict)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 88, in asdeclarative
MapperConfig.setupmapping(cls, classname, dict_)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 116, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 144, in init
self.setuptable()
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 437, in setuptable
**table_kw)
File "/home/pi/.local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 438, in new
"existing Table object." % key)
sqlalchemy.exc.InvalidRequestError: Table 'status_task' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.Thank you.
Posts: 1
Participants: 1