Members


 
Sorry. That page is not available right now.
 
 

 

 

 

 

 

 

 
id: 76400000BEB

Site Root: /data/naruc/current/naruc_org/
username: public
userid: 0
dbname: naruc
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Host: maxxwww.naruc.org
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Forwarded-Proto: https
X-Forwarded-Protocol: https

SCRIPT_NAME: /forms/CompanyFormPublic/viewCommissionRoster

When: Nov 21, 2024 2:58 pm
PID: 3128

 
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 Nov 22 00:37:55 2024

PONotFound: Object with id 76400000BEB not found


      __cause__ = None
      __class__ = <class 'libs.PLayer.PersistentObject.PONotFound'>
      __context__ = None
      __delattr__ = <method-wrapper '__delattr__' of PONotFound object>
      __dict__ = {'value': 'Object with id 76400000BEB 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 76400000BEB 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 76400000BEB 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 76400000BEB 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 76400000BEB not found',)
      value = 'Object with id 76400000BEB not found'
      with_traceback = <built-in method with_traceback of PONotFound object>

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

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

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

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

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

 /data/naruc/current/naruc_org/sites/www/forms/naruc_CompanyFormPublic.py in viewCommissionRoster(self=<naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f9f3708f3d0>, id='76400000BEB')
    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 = '76400000BEB'

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

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

 /data/naruc/current/libs/framework/WebManager.py in _newRequest(self=<libs.framework.WebManager.WebManager object at 0x7f9f352d45d0>, req=<libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f9f30ba6050>)
  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 0x7f9f352d6490>
site.processRequest = <bound method WebSite.processRequest of <libs.framework.WebSite.WebSite object at 0x7f9f352d6490>>
req = <libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f9f30ba6050>