Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web.Server Traceback (most recent call last):
- <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'replace'
- /usr/lib/python2.6/dist-packages/twisted/internet/defer.py, line 441 in _runCallbacks
- 439 self._runningCallbacks = True
- 440 try:
- 441 self.result = callback(self.result, *args, **kw)
- 442 finally:
- Localscallback '<bound method DeferredResource._cbChild of <twisted.web.util.DeferredResource instance at 0xa1250ac>>'
- self "<Deferred at 0xa117e6c current result: <twisted.python.failure.Failure <type 'exceptions.AttributeError'>>>"
- args '(<GET /graphs HTTP/1.1>,)'
- kw '{}'
- /usr/lib/python2.6/dist-packages/twisted/web/util.py, line 96 in _cbChild
- 94
- 95 def _cbChild(self, child, request):
- 96 request.render(resource.getChildForRequest(child, request))
- 97
- Localsself '<twisted.web.util.DeferredResource instance at 0xa1250ac>'
- request '<GET /graphs HTTP/1.1>'
- child '<twisted.web._auth.wrapper.ResourceWrapper object at 0xa12506c>'
- Globalsresource "<module 'twisted.web.resource' from '/usr/lib/python2.6/dist-packages/twisted/web/resource.pyc'>"
- /usr/lib/python2.6/dist-packages/twisted/web/server.py, line 132 in render
- 130 def render(self, resrc):
- 131 try:
- 132 body = resrc.render(self)
- 133 except UnsupportedMethod, e:
- Localsresrc '<twisted.web._auth.wrapper.ResourceWrapper object at 0xa1255cc>'
- self '<GET /graphs HTTP/1.1>'
- GlobalsUnsupportedMethod "<class 'twisted.web.error.UnsupportedMethod'>"
- /usr/lib/python2.6/dist-packages/twisted/web/_auth/wrapper.py, line 188 in render
- 186 """
- 187 request.notifyFinish().addBoth(lambda ign: logout())
- 188 return super(ResourceWrapper, self).render(request)
- 189
- Localsrequest '<GET /graphs HTTP/1.1>'
- self '<twisted.web._auth.wrapper.ResourceWrapper object at 0xa1255cc>'
- logout '<function <lambda> at 0xa12348c>'
- ResourceWrapper "<class 'twisted.web._auth.wrapper.ResourceWrapper'>"
- /usr/lib/python2.6/dist-packages/twisted/web/resource.py, line 210 in render
- 208 from twisted.web.error import UnsupportedMethod
- 209 raise UnsupportedMethod(getattr(self, 'allowedMethods', ()))
- 210 return m(request)
- 211
- Localsm '<bound method GraphView.render_GET of <__main__.GraphView instance at 0xa120a4c>>'
- self '<__main__.GraphView instance at 0xa120a4c>'
- request '<GET /graphs HTTP/1.1>'
- nx_extract.py, line 219 in render_GET
- 217 fd.close()
- 218
- 219 array_excep, _ = self.build_js_array()
- 220 sqli_array, sql_count = self.build_js_array(1000, 1099)
- Localsfd "<closed file 'graphs.tpl', mode 'r' at 0xa110548>"
- self '<__main__.GraphView instance at 0xa120a4c>'
- Globalsfd "<closed file 'naxsi-ui-learning.conf', mode 'r' at 0xa1103e8>"
- nx_extract.py, line 283 in build_js_array
- 281 for i in count:
- 282 total_hit += i['ex']
- 283 myarray = self.create_js_array(mydict)
- 284 return myarray, total_hit
- Localscount '[<sqlite3.Row object at 0xb74564b0>]'
- i '<sqlite3.Row object at 0xb74564b0>'
- total_hit '50'
- self '<__main__.GraphView instance at 0xa120a4c>'
- mydict 'OrderedDict([(None, 50)])'
- nx_extract.py, line 254 in create_js_array
- 252 for i in res:
- 253
- 254 d = i.replace('/', '-')
- 255 date_begin = str(d).split('-')
- Localsi 'None'
- res 'OrderedDict([(None, 50)])'
- <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'replace'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement