Paste number 59563: 'CSEditor' object has no attribute 'retrieve_actor_workstation'

Paste number 59563: 'CSEditor' object has no attribute 'retrieve_actor_workstation'
Pasted by: djfiander
7 months, 1 week ago
#openils-evergreen | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
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.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.