Exception <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'startswith'
 
 
Request Method GET
Path /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Query String script=Ctrl/Summary&sale_id=388
Referer None
Params[+]
Cookies[+]
Env[+]
 
 
File /home/beacon/development/ver19.4/auct/web/Ctrl/Summary.py line 30
Function arSLB (self, sale_id)
Code
27  : 
28  :         arSL  = Lib_DB_AR_sale (self.m_dbh)
29  :         arSL.pick (sale_id)
30  :         if arSL.sale_ref.startswith('DEMO') :
31  :             try    : summary = open('/home/beacon/demo/centre/YORK/sale/%s/summary' % arSL.sale_ref)
32  :             except : return arSLB
33  :             row = 0
Locals
self[+]
<Ctrl.Summary.Ctrl_Summary object at 0x21abd90>
arSL <Lib_DB_AR_sale object at 0x021f6ad0: len=0 sale_id=None>
arSLB[+]
<Lib_DB_CR_sale_lot_bidlog object at 0x021abdd0: len=0 of <Lib_DB_AR_sale object at 0x021abe10: len=0 sale  ....  _id=None>>
sale_id u'388'
 
 
File /home/beacon/development/ver19.4/auct/web/Ctrl/Summary.py line 93
Function init (self, sale_id)
Code
90  :         if sale_id is None :
91  :             sale_id = self.m_cgi.param ('sale_id')
92  : 
93  :         return self.display (self.arSLB(sale_id))
94  : 
95  : 
96  :     def gosales (self) :
Locals
self[+]
<Ctrl.Summary.Ctrl_Summary object at 0x21abd90>
sale_id u'388'
 
 
File /home/beacon/development/ver19.4/auct/web/RiPYLib/MVC/Dispatcher.py line 273
Function executeScript (self, script, action, args)
Code
270 :             profile.runctx ('RPL_MVC_Dispatcher.profileRunner ()', locals(), globals(), RPL_MVC_Dispatcher.PROFILE.logfile)
271 :             res = RPL_MVC_Dispatcher.PROFILE.result
272 :         else :
273 :             doc = getattr(object, action)(*args)
274 :             res = self.render (doc)
275 : 
276 :         return res
Locals
self[+]
<RiPYLib.MVC.Dispatcher.RPL_MVC_Dispatcher object at 0x218d6d0>
RPL_Skeleton <class 'RiPYLib.Skeleton.RPL_Skeleton'>
action 'init'
args []
doc None
modname u'Ctrl.Summary'
module <module 'Ctrl.Summary' from '/home/beacon/development/ver19.4/auct/web/Ctrl/Summary.py'>
object <Ctrl.Summary.Ctrl_Summary object at 0x21abd90>
script u'Ctrl/Summary'
 
 
File /home/beacon/development/ver19.4/auct/web/RiPYLib/MVC/Dispatcher.py line 328
Function execute (self)
Code
325 :                 return doc
326 : 
327 :         try    :
328 :             return self.executeScript (*called)
329 :         except Exception, e :
330 :             self.m_except = True
331 :             exc_info = sys.exc_info()
Locals
self[+]
<RiPYLib.MVC.Dispatcher.RPL_MVC_Dispatcher object at 0x218d6d0>
_RPL_MVC_Dispatcher__gap None
_RPL_MVC_Dispatcher__gxp None
action 'init'
args []
called [u'Ctrl/Summary', 'init', []]
doc None
e AttributeError("'NoneType' object has no attribute 'startswith'",)
exc_info[+]
(<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has no attribute 'startswith'",), &  ....  t 0x21f97a0>)
gap None
key None
middle <RiPYLib.MiddleWare.Debug.RPL_MiddleWare_Debug object at 0x20708d0>
script u'Ctrl/Summary'
 
 
File /home/beacon/development/ver19.4/auct/web/RiPYLib/MVC/Dispatcher.py line 373
Function executeByParam (self, script, action)
Code
370 :         '''
371 : 
372 :         self.decodeByParam  (script, action)
373 :         return self.execute ()
374 : 
375 :     def exceptionOccurred (self) :
376 : 
Locals
self[+]
<RiPYLib.MVC.Dispatcher.RPL_MVC_Dispatcher object at 0x218d6d0>
action 'init'
script u'Ctrl/Summary'