#7530 pagure: DetachedInstanceError: Parent instance <project at="" 0x7f5ed0ae65d0=""> is not bound to a Session; lazy load operation of attribute 'issue_keys' cannot proceed
Closed: Insufficient data 2 months ago by kevin. Opened 5 months ago by ignatenkobrain.

Total 3 (delta 2), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 394, in run_project_hooks
remote:     changes=changes,
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 111, in runhook
remote:     changes=changes,
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/default.py", line 279, in post_receive
remote:     session, project, repodir, username, refname, commits, forced
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/default.py", line 96, in send_notifications
remote:     if not isinstance(project, six.string_types)
remote:   File "/usr/lib/python2.7/site-packages/pagure/lib/model.py", line 986, in to_json
remote:     custom_keys = [[key.name, key.key_type] for key in self.issue_keys]
remote:   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 239, in __get__
remote:     return self.impl.get(instance_state(instance), dict_)
remote:   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 591, in get
remote:     value = self.callable_(state, passive)
remote:   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/strategies.py", line 507, in _load_for_state
remote:     (orm_util.state_str(state), self.key)
remote: DetachedInstanceError: Parent instance <Project at 0x7f5ed0ae65d0> is not bound to a Session; lazy load operation of attribute 'issue_keys' cannot proceed
remote: Detailed log of new commits:
remote: 
remote: 
remote: (u'*', u'commit 6d251fdeb3d45aca0556bfc34e78a8573c3a86a4')
remote: (u'*', u'Author: Igor Gnatenko <ignatenkobrain@fedoraproject.org>')
remote: (u'*', u'Date:   Mon Jan 28 20:17:39 2019 +0100')
remote: (u'*', u'')
remote: (u'*', u'Remove obsolete Group tag')
remote: (u'*', u'')
remote: (u'*', u'References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag')
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits

Not sure which repo it is, but got this traceback.

Please look at it when you get time.


Metadata Update from @codeblock:
- Issue tagged with: pagure, src.fp.o

5 months ago

Metadata Update from @bowlofeggs:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

4 months ago

Unfortunately, we haven't been able to track this down and haven't seen any other reports of it.

Please do report if you see it again.

Thanks!

:beetle:

Metadata Update from @kevin:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

2 months ago

Login to comment on this ticket.

Metadata