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

Table already exists

$
0
0

@Symbiot78 wrote:

hi

after upgrading flexget I am seeing the following issue:

2016-07-14 20:41 CRITICAL plugin Exception while loading plugin flexget.plugins.output.send_telegram
2016-07-14 20:41 ERROR plugin Table 'telegram_chat_ids' 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/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/send_telegram.py", line 42, in <module>
class ChatIdEntry(ChatIdsBase):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
_MapperConfig.setup_mapping(cls, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
self._setup_table()
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 395, in _setup_table
**table_kw)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 421, in __new__
"existing Table object." % key)
InvalidRequestError: Table 'telegram_chat_ids' 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 9, in <module>
load_entry_point('FlexGet==2.1.11', 'console_scripts', 'flexget')()
File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 310, in start
self.initialize()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 182, in initialize
plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 431, in load_plugins
_load_plugins_from_dirs(extra_dirs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/send_telegram.py", line 42, in <module>
class ChatIdEntry(ChatIdsBase):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
_MapperConfig.setup_mapping(cls, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
self._setup_table()
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 395, in _setup_table
**table_kw)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 421, in __new__
"existing Table object." % key)
sqlalchemy.exc.InvalidRequestError: Table 'telegram_chat_ids' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.

any ideas?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles