| Paste number 59563: | 'CSEditor' object has no attribute 'retrieve_actor_workstation' |
| Pasted by: | djfiander |
| When: | 1 year, 2 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+19YJ |
| Channel: | #openils-evergreen |
| Paste contents: |
Module oilsweb.controllers.acq.picklist:22 in view
<<
def view(self, **kwargs):
r = RequestMgr()
pl_manager = oilsweb.lib.acq.picklist.PicklistMgr(r, picklist_id=kwargs['id'])
pl_manager.retrieve()>> r = RequestMgr()
Module oilsweb.lib.request:19 in __init__
<< self.session = session
# our local context object.
self.ctx = oilsweb.lib.context.Context.init(request, response)
# the global pylons context object
self.pylons_context = c>> self.ctx = oilsweb.lib.context.Context.init(request, response)
Module oilsweb.lib.context:119 in init
<< for app in _subContexts.keys():
ctx = getattr(c, app)
ctx.postinit()
return c>> ctx.postinit()
Module oilsweb.lib:37 in postinit
<< self.theme.value = 'default' # XXX
usermgr = oilsweb.lib.user.User(self)
usermgr.fetch_user()
#self.work_orgs = usermgr.fetch_work_orgs()
>> usermgr.fetch_user()
Module oilsweb.lib.user:50 in fetch_user
<< oils.event.Event.parse_and_raise(self.ctx.user.value)
self.ctx.workstation.value = oils.utils.csedit.CSEditor().retrieve_actor_workstation(self.ctx.user.value.wsid())
if not self.ctx.workstation.value:
raise AuthException(_('No workstation found'))>> self.ctx.workstation.value = oils.utils.csedit.CSEditor().retrieve_actor_workstation(self.ctx.user.value.wsid())
<type 'exceptions.AttributeError'>: 'CSEditor' object has no attribute 'retrieve_actor_workstation' This paste has no annotations.