members

 
Sorry. That page is not available right now.
 
 

 

 

 

 

 

 

 
id: E66000008C2

Site Root: /data/naruc/current/naruc_org/
username: public
userid: 0
dbname: naruc
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: br,gzip
Accept-Language: en-US,en;q=0.5
Connection: Keep-Alive
Host: maxxwww.naruc.org
If-Modified-Since: Thu, 09 Jul 2020 18:12:11 GMT
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
X-Forwarded-Proto: https
X-Forwarded-Protocol: https

SCRIPT_NAME: /forms/CompanyFormPublic/viewCommissionRoster

When: Sep 30, 2020 9:37 pm
PID: 17858

 
 
Error in <class 'libs.PLayer.PersistentObject.PONotFound'>.
Here is a traceback of function calls, starting with the closest to that error.
Python 2.7.17: /home/maxx/lib/matrixmaxx/bin/uwsgi
Wed Sep 30 21:40:39 2020

<class 'libs.PLayer.PersistentObject.PONotFound'>: Object with id E66000008C2 not found

 /data/naruc/current/libs/PLayer/PersistentObject.py in retrieve(self=<Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">, loadAssocs=1, greedyAssocs=[], tContext=<TransactionContext name='default' memId=139811854086096>)
 1880         sql = self.cm.getSelectSqlFor(self, greedyAssocs)
 1881         # make the request to the db
 1882         rs = self.pb.processSqlList(sql)
 1883         # the result should only be one row
 1884         if (len(rs) == 0):
 1885             raise PONotFound('Object with id %s not found' % self.id)
 1886         elif (len(rs) != 1):
 1887             raise POTooManyFound("%s rows instead of 1: %s" %
 1888                                            (len(rs), sql[0]))
 1889 
global PONotFound = <class 'libs.PLayer.PersistentObject.PONotFound'>
self = <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">
self.id = 'E66000008C2'

 /data/naruc/current/libs/PLayer/PersistentObject.py in __init__(self=<Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">, id='E66000008C2', noDefaults=0, greedyAssocs=[], tContext=None)
  334                 self.retrieve()
  335             except PONotFound:
  336                 loadDefaults = 1
  337         # If we have an id then try to grab from database.
  338         elif id != "0" and noDefaults != 1:
  339             self.retrieve(greedyAssocs=greedyAssocs)
  340         # We have no id, so just load default values
  341         else:
  342             loadDefaults = 1
  343 
self = <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">
self.retrieve = <bound method Company.retrieve of <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">>
greedyAssocs = []

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">, *args=('E66000008C2',), **kw={})
   82     def __init__(cls, *args):
   83         """ Install a new __init__ which checks for the ID's existence first"""
   84         cls.__orig_init = cls.__init__
   85         def new_init(self, *args, **kw):
   86             if not hasattr(self, '_init_executed'):
   87                 retval = cls.__orig_init(self, *args, **kw)
   88                 self.__dict__['_init_executed'] = True
   89                 return retval
   90         cls.__init__ = new_init
   91 
retval undefined
cls = <class 'libs.PLayer.PersistentObject.PersistentObject'>
cls.__orig_init undefined
self = <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">
args = ('E66000008C2',)
kw = {}

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">, *args=('E66000008C2',), **kw={})
   82     def __init__(cls, *args):
   83         """ Install a new __init__ which checks for the ID's existence first"""
   84         cls.__orig_init = cls.__init__
   85         def new_init(self, *args, **kw):
   86             if not hasattr(self, '_init_executed'):
   87                 retval = cls.__orig_init(self, *args, **kw)
   88                 self.__dict__['_init_executed'] = True
   89                 return retval
   90         cls.__init__ = new_init
   91 
retval undefined
cls = <class 'generic.classes.Company.Company'>
cls.__orig_init undefined
self = <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">
args = ('E66000008C2',)
kw = {}

 /data/naruc/current/libs/PLayer/PersistentObject.py in new_init(self=<Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">, *args=('E66000008C2',), **kw={})
   82     def __init__(cls, *args):
   83         """ Install a new __init__ which checks for the ID's existence first"""
   84         cls.__orig_init = cls.__init__
   85         def new_init(self, *args, **kw):
   86             if not hasattr(self, '_init_executed'):
   87                 retval = cls.__orig_init(self, *args, **kw)
   88                 self.__dict__['_init_executed'] = True
   89                 return retval
   90         cls.__init__ = new_init
   91 
retval undefined
cls = <class 'naruc_org.classes.naruc_Company.Company'>
cls.__orig_init undefined
self = <Company id="E66000008C2", isNew="False", context="default", memId="139811807604624">
args = ('E66000008C2',)
kw = {}

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

 /data/naruc/current/libs/framework/BaseHandler.py in _safeCall(self=<libs.framework.WebSite.WebSite instance at 0x7f287b889730>, method=<bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f2879149810>>, fields=MultiDict([('id', 'E66000008C2')]))
  261             for name in fields.keys():
  262                 if name in expected:
  263                     args[name] = fields[name]
  264             # now if we have any args to pass call the method
  265             if args:
  266                 return method(**args)
  267         # method has no arguments
  268         return method()
  269 
  270     def cleanForHTML(self, html):
method = <bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f2879149810>>
args = {'id': 'E66000008C2'}

 /data/naruc/current/libs/framework/WebSite.py in processRequest(self=<libs.framework.WebSite.WebSite instance at 0x7f287b889730>, req=<libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f28791493d0>)
  433                     # I'm not exactly familiar with when Python allocates on the stack vs.
  434                     # heap, but it appears to solve a bug.
  435                     # https://intranet.matrixgroup.net/webmaster/index.cfm?action=showmessage&messageid=91090
  436                     print >> sys.stderr, "Are we here?"
  437                     fields = instance._fields
  438                     result = self._safeCall(method, fields)
  439                     
  440 
  441                 elif str.upper(req.method) == 'PUT' and (req.uri.split('/')[1] == 'protectedRest'):
  442                     #enable PUT on the protectedRest uri's
result undefined
self = <libs.framework.WebSite.WebSite instance at 0x7f287b889730>
self._safeCall = <bound method WebSite._safeCall of <libs.framework.WebSite.WebSite instance at 0x7f287b889730>>
method = <bound method naruc_CompanyFormPublic.viewCommissionRoster of <naruc_CompanyFormPublic.naruc_CompanyFormPublic object at 0x7f2879149810>>
fields = MultiDict([('id', 'E66000008C2')])

 /data/naruc/current/libs/framework/WebManager.py in newRequest(self=<libs.framework.WebManager.WebManager instance at 0x7f287b889640>, req=<libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f28791493d0>)
  210                             self._debugSites[self._sitePath] = debugSite
  211 
  212                         result = self.callWithMiddleware(debugSite, req)
  213 
  214                     else:
  215                         result = site.processRequest(req)
  216                         # at this point result will be returned to apache
  217                         # and becomes the http result
  218 
  219                 finally:
result = 0
site = <libs.framework.WebSite.WebSite instance at 0x7f287b889730>
site.processRequest = <bound method WebSite.processRequest of <libs.framework.WebSite.WebSite instance at 0x7f287b889730>>
req = <libs.framework.MaxxRequestWrapper.MaxxRequestWrapper object at 0x7f28791493d0>