Members


 
Sorry. That page is not available right now.
 
 

 

 

 

 

 

 

 
id: 764000001C7

Site Root: /data/naruc/current/naruc_org/
username: public
userid: 0
dbname: naruc
Accept: */*
Host: maxxwww.naruc.org
User-Agent: claudebot
X-Forwarded-Proto: https
X-Forwarded-Protocol: https

SCRIPT_NAME: /forms/CompanyFormPublic/viewCommissionRoster

When: Mar 29, 2024 3:43 am
PID: 26643

 
Error in PONotFound.
Here is a traceback of function calls, starting with the closest to that error.
Python 3.11.0: /home/maxx/lib/matrixmaxx3/bin/uwsgi
Fri Mar 29 03:44:25 2024

PONotFound: Object with id 764000001C7 not found


      __cause__ = None
      __class__ = <class 'libs.PLayer.PersistentObject.PONotFound'>
      __context__ = None
      __delattr__ = <method-wrapper '__delattr__' of PONotFound object>
      __dict__ = {'value': 'Object with id 764000001C7 not found'}
      __dir__ = <built-in method __dir__ of PONotFound object>
      __doc__ = ' This class is raised if we try to instantiate a...stent Object\n and fail because it is not found'
      __eq__ = <method-wrapper '__eq__' of PONotFound object>
      __format__ = <built-in method __format__ of PONotFound object>
      __ge__ = <method-wrapper '__ge__' of PONotFound object>
      __getattribute__ = <method-wrapper '__getattribute__' of PONotFound object>
      __getstate__ = <built-in method __getstate__ of PONotFound object>
      __gt__ = <method-wrapper '__gt__' of PONotFound object>
      __hash__ = <method-wrapper '__hash__' of PONotFound object>
      __init__ = <bound method PONotFound.__init__ of Object with id 764000001C7 not found>
      __init_subclass__ = <built-in method __init_subclass__ of type object>
      __le__ = <method-wrapper '__le__' of PONotFound object>
      __lt__ = <method-wrapper '__lt__' of PONotFound object>
      __module__ = 'libs.PLayer.PersistentObject'
      __ne__ = <method-wrapper '__ne__' of PONotFound object>
      __new__ = <built-in method __new__ of type object>
      __reduce__ = <built-in method __reduce__ of PONotFound object>
      __reduce_ex__ = <built-in method __reduce_ex__ of PONotFound object>
      __repr__ = <bound method PONotFound.__repr__ of Object with id 764000001C7 not found>
      __setattr__ = <method-wrapper '__setattr__' of PONotFound object>
      __setstate__ = <built-in method __setstate__ of PONotFound object>
      __sizeof__ = <built-in method __sizeof__ of PONotFound object>
      __str__ = <bound method PONotFound.__str__ of Object with id 764000001C7 not found>
      __subclasshook__ = <built-in method __subclasshook__ of type object>
      __suppress_context__ = False
      __traceback__ = <traceback object>
      __weakref__ = None
      add_note = <built-in method add_note of PONotFound object>
      args = ('Object with id 764000001C7 not found',)
      value = 'Object with id 764000001C7 not found'
      with_traceback = <built-in method with_traceback of PONotFound object>

 /data/naruc/current/libs/PLayer/PersistentObject.py in retrieve(self=<Company id="764000001C7", isNew="False", context="default", memId="140094820004688">, loadAssocs=1, greedyAssocs=[], tContext=<TransactionContext name='default' memId=140094968037776>)
 1896         sql = self.cm.getSelectSqlFor(self, greedyAssocs)
 1897         # make the request to the db
 1898         rs = self.pb.processSqlList(sql)
 1899         # the result should only be one row
 1900         if (len(rs) == 0):
 1901             raise PONotFound('Object with id %s not found' % self.id)
 1902         elif (len(rs) != 1):
 1903             raise POTooManyFound("%s rows instead of 1: %s" %
 1904                                            (len(rs), sql[0]))
 1905 
global PONotFound = <class 'libs.PLayer.PersistentObject.PONotFound'>
self = <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">
self.id = '764000001C7'

 /data/naruc/current/libs/PLayer/PersistentObject.py in __init__(self=<Company id="764000001C7", isNew="False", context="default", memId="140094820004688">, id='764000001C7', noDefaults=0, greedyAssocs=[], tContext=None)
  350                 self.retrieve()
  351             except PONotFound:
  352                 loadDefaults = 1
  353         # If we have an id then try to grab from database.
  354         elif id != "0" and noDefaults != 1:
  355             self.retrieve(greedyAssocs=greedyAssocs)
  356         # We have no id, so just load default values
  357         else:
  358             loadDefaults = 1
  359 
self = <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">
self.retrieve = <bound method PersistentObject.retrieve of <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">>
greedyAssocs = []

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="764000001C7", isNew="False", context="default", memId="140094820004688">, *args=('764000001C7',), **kw={})
   99     def __init__(cls, *args):
  100         """ Install a new __init__ which checks for the ID's existence first"""
  101         cls.__orig_init = cls.__init__
  102         def new_init(self, *args, **kw):
  103             if not hasattr(self, '_init_executed'):
  104                 retval = cls.__orig_init(self, *args, **kw)
  105                 self.__dict__['_init_executed'] = True
  106                 return retval
  107         cls.__init__ = new_init
  108 
retval undefined
cls = <class 'libs.PLayer.PersistentObject.PersistentObject'>
cls.__orig_init undefined
self = <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">
args = ('764000001C7',)
kw = {}

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="764000001C7", isNew="False", context="default", memId="140094820004688">, *args=('764000001C7',), **kw={})
   99     def __init__(cls, *args):
  100         """ Install a new __init__ which checks for the ID's existence first"""
  101         cls.__orig_init = cls.__init__
  102         def new_init(self, *args, **kw):
  103             if not hasattr(self, '_init_executed'):
  104                 retval = cls.__orig_init(self, *args, **kw)
  105                 self.__dict__['_init_executed'] = True
  106                 return retval
  107         cls.__init__ = new_init
  108 
retval undefined
cls = <class 'generic.classes.Company.Company'>
cls.__orig_init undefined
self = <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">
args = ('764000001C7',)
kw = {}

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="764000001C7", isNew="False", context="default", memId="140094820004688">, *args=('764000001C7',), **kw={})
   99     def __init__(cls, *args):
  100         """ Install a new __init__ which checks for the ID's existence first"""
  101         cls.__orig_init = cls.__init__
  102         def new_init(self, *args, **kw):
  103             if not hasattr(self, '_init_executed'):
  104                 retval = cls.__orig_init(self, *args, **kw)
  105                 self.__dict__['_init_executed'] = True
  106                 return retval
  107         cls.__init__ = new_init
  108 
retval undefined
cls = <class 'naruc_org.classes.naruc_Company.Company'>
cls.__orig_init undefined
self = <Company id="764000001C7", isNew="False", context="default", memId="140094820004688">
args = ('764000001C7',)
kw = {}

 /data/naruc/current/naruc_org/sites/www/forms/naruc_CompanyFormPublic.py in viewCommissionRoster(self=<naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f6a6650a490>, id='764000001C7')
    2 
    3 class naruc_CompanyFormPublic(CompanyFormPublic):
    4     
    5     def viewCommissionRoster(self, id=None):
    6         from client.classes import Company
    7         commission = Company(id)
    8         commissionList = Company.getCommissionsForWWWRoster()
    9         tmpl = self.website.getTemplate('viewCommissionRoster.html', 'mako/objects/company/')
   10         self.writeHTMLWithWrap(tmpl(po=commission, commissions=commissionList))
   11         return self.OK
commission undefined
Company = <class 'naruc_org.classes.naruc_Company.Company'>
id = '764000001C7'

 /data/naruc/current/libs/framework/BaseHandler.py in _safeCall(self=<libs.framework.WebSite.WebSite object at 0x7f6a62f42050>, method=<bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f6a6650a490>>, fields=OurMultiDict([('id', '764000001C7')]))
  287             for name in fields.keys():
  288                 if name in expected:
  289                     args[name] = fields[name]
  290             # now if we have any args to pass call the method
  291             if args:
  292                 return method(**args)
  293         # method has no arguments
  294         return method()
  295 
  296     def cleanForHTML(self, html):
method = <bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f6a6650a490>>
args = {'id': '764000001C7'}

 /data/naruc/current/libs/framework/WebSite.py in processRequest(self=<libs.framework.WebSite.WebSite object at 0x7f6a62f42050>, req=<libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f6a5ef0de10>)
  430                     # I'm not exactly familiar with when Python allocates on the stack vs.
  431                     # heap, but it appears to solve a bug.
  432                     # https://intranet.matrixgroup.net/webmaster/index.cfm?action=showmessage&messageid=91090
  433                     # print("Are we here?", file=sys.stderr)
  434                     fields = instance._fields
  435                     result = self._safeCall(method, fields)
  436 
  437                 elif req.method.upper() in ['PUT','DELETE'] and (req.uri.split('/')[1] == 'protectedRest' or \
  438                     req.uri.startswith('/forms/maxxapi/')):
  439                     #enable PUT on the protectedRest uri's
result undefined
self = <libs.framework.WebSite.WebSite object at 0x7f6a62f42050>
self._safeCall = <bound method BaseHandler._safeCall of <libs.framework.WebSite.WebSite object at 0x7f6a62f42050>>
method = <bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f6a6650a490>>
fields = OurMultiDict([('id', '764000001C7')])

 /data/naruc/current/libs/framework/WebManager.py in _newRequest(self=<libs.framework.WebManager.WebManager object at 0x7f6a62fc8550>, req=<libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f6a5ef0de10>)
  250                             self._debugSites[self._sitePath] = debugSite
  251 
  252                         result = self.callWithMiddleware(debugSite, req)
  253 
  254                     else:
  255                         result = site.processRequest(req)
  256                         # at this point result will be returned to apache
  257                         # and becomes the http result
  258 
  259 
result = 0
site = <libs.framework.WebSite.WebSite object at 0x7f6a62f42050>
site.processRequest = <bound method WebSite.processRequest of <libs.framework.WebSite.WebSite object at 0x7f6a62f42050>>
req = <libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f6a5ef0de10>