Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <type 'exceptions.ZeroDivisionError'> at /milestone_target
- integer division or modulo by zero
- Python /srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py in GET, line 717
- Web GET http://packages.yoctoproject.org/milestone_target
- Traceback (innermost first)
- /srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py in GET
- if item[0] == "perl" and int(item[2].split('.')[1])/2 != 0:
- pass
- else:
- upgrade_remaining_list.append(item)
- #upgrade_remaining_list = sorted(upgrade_remaining_list,cmp)
- upgrade_remaining_num = len(upgrade_remaining_list)
- upgrade_done_num = target_upgrade_num - upgrade_remaining_num
- upgrade_percent = str(upgrade_done_num*100/target_upgrade_num) + "%" ...
- #
- #Get milestone manual check target
- #
- target_manualchk_list_base = db.execute(base_query_condition)
- target_manualchk_list = []
- for item in target_manualchk_list_base:
- ▶ Local vars
- /usr/lib/pymodules/python2.7/web/application.py in handle_class
- return tocall(*args) ...
- ▼ Local vars
- Variable Value
- args
- []
- cls
- <class _mod_wsgi_f5f212228efd8ce1e0ba18313c651ec8.milestone_target at 0x7fbfe2794940>
- meth
- u'GET'
- tocall
- <bound method milestone_target.GET of <_mod_wsgi_f5f212228efd8ce1e0ba18313c651ec8.milestone_target instance at 0x7fbfe279d680>>
- /usr/lib/pymodules/python2.7/web/application.py in _delegate
- return handle_class(cls) ...
- ▶ Local vars
- /usr/lib/pymodules/python2.7/web/application.py in handle
- return self._delegate(fn, self.fvars, args) ...
- ▶ Local vars
- /usr/lib/pymodules/python2.7/web/application.py in process
- return self.handle() ...
- ▶ Local vars
- Request information
- INPUT
- No data.
- COOKIES
- Variable Value
- __utma
- '220572688.1734134799.1354114207.1378715521.1379422235.12'
- __utmc
- '220572688'
- __utmz
- '220572688.1379422235.12.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not provided)'
- META
- Variable Value
- app_stack
- [<web.application.application instance at 0x7fbfe2791d88>]
- fullpath
- u'/milestone_target'
- headers
- []
- home
- u'http://packages.yoctoproject.org'
- homedomain
- u'http://packages.yoctoproject.org'
- homepath
- u''
- host
- u'packages.yoctoproject.org'
- ip
- u'192.36.1.252'
- method
- u'GET'
- output
- u''
- path
- u'/milestone_target'
- protocol
- u'http'
- query
- u''
- realhome
- u'http://packages.yoctoproject.org'
- status
- '200 OK'
- ENVIRONMENT
- Variable Value
- DOCUMENT_ROOT
- '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver'
- GATEWAY_INTERFACE
- 'CGI/1.1'
- HTTP_ACCEPT
- 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
- HTTP_ACCEPT_ENCODING
- 'gzip,deflate,sdch'
- HTTP_ACCEPT_LANGUAGE
- 'en-US,en;q=0.8'
- HTTP_CONNECTION
- 'keep-alive'
- HTTP_COOKIE
- '__utma=220572688.1734134799.1354114207.1378715521.1379422235.12; __utmc=220572688; __utmz=220572688.1379422235.12.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)'
- HTTP_DNT
- '1'
- HTTP_HOST
- 'packages.yoctoproject.org'
- HTTP_REFERER
- 'http://packages.yoctoproject.org/mainpage.html'
- HTTP_USER_AGENT
- 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36'
- PATH_INFO
- '/milestone_target'
- PATH_TRANSLATED
- '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py/milestone_target'
- QUERY_STRING
- ''
- REMOTE_ADDR
- '192.36.1.252'
- REMOTE_PORT
- '20248'
- REQUEST_METHOD
- 'GET'
- REQUEST_URI
- '/milestone_target'
- SCRIPT_FILENAME
- '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py'
- SCRIPT_NAME
- ''
- SERVER_ADDR
- '10.0.10.35'
- SERVER_ADMIN
- 'hostmaster@yoctoproject.org'
- SERVER_NAME
- 'packages.yoctoproject.org'
- SERVER_PORT
- '80'
- SERVER_PROTOCOL
- 'HTTP/1.1'
- SERVER_SIGNATURE
- '<address>Apache/2 Server at packages.yoctoproject.org Port 80</address>\n'
- SERVER_SOFTWARE
- 'Apache/2'
- mod_wsgi.application_group
- 'packages.yoctoproject.org|'
- mod_wsgi.callable_object
- 'application'
- mod_wsgi.handler_script
- ''
- mod_wsgi.input_chunked
- '0'
- mod_wsgi.listener_host
- ''
- mod_wsgi.listener_port
- '80'
- mod_wsgi.process_group
- ''
- mod_wsgi.request_handler
- 'wsgi-script'
- mod_wsgi.script_reloading
- '1'
- mod_wsgi.version
- (3, 3)
- wsgi.errors
- <mod_wsgi.Log object at 0x7fbfd9a7a6b0>
- wsgi.file_wrapper
- <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbfe27957b0>
- wsgi.input
- <mod_wsgi.Input object at 0x7fbfd9a7a630>
- wsgi.multiprocess
- True
- wsgi.multithread
- False
- wsgi.run_once
- False
- wsgi.url_scheme
- 'http'
- wsgi.version
- (1, 1)
- You're seeing this error because you have web.config.debug set to True. Set that to False if you don't to see this.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement