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

SQLAlchemy ORM error in seen plugin

$
0
0

@Fabrizio_Bottaro wrote:

Issue with seen plugin, first noticed in 1.2.446 and then still seen after upgrading to 1.2.448.

Trying to search seen entry. Running daemon, installation via entware-ng, running on android.

Tried running command with daemon on and also after killing daemon.

flexget seen search "Suits"

There is a FlexGet process already running for this config, sending execution there.
ID: 20 Name: Suits (2011) S05E11 Task: get_series_begin Added: Sat Jan 23 13:32:55 2016
Traceback (most recent call last):
  File "/opt/bin/flexget", line 9, in <module>
    load_entry_point('FlexGet==1.2.448', 'console_scripts', 'flexget')()
  File "/opt/lib/python2.7/site-packages/flexget/__init__.py", line 37, in main
    manager.start()
  File "/opt/lib/python2.7/site-packages/flexget/manager.py", line 283, in start
    client.handle_cli(self.args)
  File "/opt/lib/python2.7/site-packages/rpyc/core/netref.py", line 196, in __call__
    return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
  File "/opt/lib/python2.7/site-packages/rpyc/core/netref.py", line 71, in syncreq
    return conn.sync_request(handler, oid, *args)
  File "/opt/lib/python2.7/site-packages/rpyc/core/protocol.py", line 441, in sync_request
    raise obj
rpyc.core.vinegar/sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <SeenEntry at 0xb3da4e38> is not bound to a Session; lazy load operation of attribute 'fields' cannot proceed

========= Remote Traceback (1) =========
Traceback (most recent call last):
  File "/opt/lib/python2.7/site-packages/rpyc/core/protocol.py", line 305, in _dispatch_request
    res = self._HANDLERS[handler](self, *args)
  File "/opt/lib/python2.7/site-packages/rpyc/core/protocol.py", line 535, in _handle_call
    return self._local_objects[oid](*args, **dict(kwargs))
  File "/opt/lib/python2.7/site-packages/flexget/ipc.py", line 75, in exposed_handle_cli
    self.manager.handle_cli(options)
  File "/opt/lib/python2.7/site-packages/flexget/manager.py", line 327, in handle_cli
    options.cli_command_callback(self, command_options)
  File "/opt/lib/python2.7/site-packages/flexget/plugins/cli/seen.py", line 17, in do_cli
    seen_search(options)
  File "/opt/lib/python2.7/site-packages/flexget/plugins/cli/seen.py", line 47, in seen_search
    for sf in se.fields:
  File "/opt/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 237, in __get__
    return self.impl.get(instance_state(instance), dict_)
  File "/opt/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 583, in get
    value = self.callable_(state, passive)
  File "/opt/lib/python2.7/site-packages/sqlalchemy/orm/strategies.py", line 505, in _load_for_state
    (orm_util.state_str(state), self.key)
DetachedInstanceError: Parent instance <SeenEntry at 0xb3da4e38> is not bound to a Session; lazy load operation of attribute 'fields' cannot proceed

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles