This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Oops

By: a guest on Sep 17th, 2013  |  syntax: None  |  size: 4.73 KB  |  views: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <type 'exceptions.ZeroDivisionError'> at /milestone_target
  2. integer division or modulo by zero
  3.  
  4. Python  /srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py in GET, line 717
  5. Web     GET http://packages.yoctoproject.org/milestone_target
  6. Traceback (innermost first)
  7.  
  8. /srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py in GET
  9.                 if item[0] == "perl" and int(item[2].split('.')[1])/2 != 0:
  10.                                 pass
  11.                 else:
  12.                     upgrade_remaining_list.append(item)
  13.         #upgrade_remaining_list = sorted(upgrade_remaining_list,cmp)
  14.         upgrade_remaining_num = len(upgrade_remaining_list)
  15.         upgrade_done_num = target_upgrade_num - upgrade_remaining_num
  16.         upgrade_percent = str(upgrade_done_num*100/target_upgrade_num) + "%" ...
  17.         #
  18.         #Get milestone manual check target
  19.         #
  20.         target_manualchk_list_base = db.execute(base_query_condition)
  21.         target_manualchk_list = []
  22.         for item in target_manualchk_list_base:
  23. ▶ Local vars
  24. /usr/lib/pymodules/python2.7/web/application.py in handle_class
  25.             return tocall(*args) ...
  26. ▼ Local vars
  27. Variable        Value
  28. args   
  29. []
  30. cls    
  31. <class _mod_wsgi_f5f212228efd8ce1e0ba18313c651ec8.milestone_target at 0x7fbfe2794940>
  32. meth   
  33. u'GET'
  34. tocall 
  35. <bound method milestone_target.GET of <_mod_wsgi_f5f212228efd8ce1e0ba18313c651ec8.milestone_target instance at 0x7fbfe279d680>>
  36. /usr/lib/pymodules/python2.7/web/application.py in _delegate
  37.             return handle_class(cls) ...
  38. ▶ Local vars
  39. /usr/lib/pymodules/python2.7/web/application.py in handle
  40.         return self._delegate(fn, self.fvars, args) ...
  41. ▶ Local vars
  42. /usr/lib/pymodules/python2.7/web/application.py in process
  43.                     return self.handle() ...
  44. ▶ Local vars
  45. Request information
  46.  
  47. INPUT
  48. No data.
  49. COOKIES
  50. Variable        Value
  51. __utma 
  52. '220572688.1734134799.1354114207.1378715521.1379422235.12'
  53. __utmc 
  54. '220572688'
  55. __utmz 
  56. '220572688.1379422235.12.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not provided)'
  57. META
  58. Variable        Value
  59. app_stack      
  60. [<web.application.application instance at 0x7fbfe2791d88>]
  61. fullpath       
  62. u'/milestone_target'
  63. headers
  64. []
  65. home   
  66. u'http://packages.yoctoproject.org'
  67. homedomain     
  68. u'http://packages.yoctoproject.org'
  69. homepath       
  70. u''
  71. host   
  72. u'packages.yoctoproject.org'
  73. ip     
  74. u'192.36.1.252'
  75. method 
  76. u'GET'
  77. output 
  78. u''
  79. path   
  80. u'/milestone_target'
  81. protocol       
  82. u'http'
  83. query  
  84. u''
  85. realhome       
  86. u'http://packages.yoctoproject.org'
  87. status 
  88. '200 OK'
  89. ENVIRONMENT
  90. Variable        Value
  91. DOCUMENT_ROOT  
  92. '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver'
  93. GATEWAY_INTERFACE      
  94. 'CGI/1.1'
  95. HTTP_ACCEPT    
  96. 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  97. HTTP_ACCEPT_ENCODING   
  98. 'gzip,deflate,sdch'
  99. HTTP_ACCEPT_LANGUAGE   
  100. 'en-US,en;q=0.8'
  101. HTTP_CONNECTION
  102. 'keep-alive'
  103. HTTP_COOKIE    
  104. '__utma=220572688.1734134799.1354114207.1378715521.1379422235.12; __utmc=220572688; __utmz=220572688.1379422235.12.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)'
  105. HTTP_DNT       
  106. '1'
  107. HTTP_HOST      
  108. 'packages.yoctoproject.org'
  109. HTTP_REFERER   
  110. 'http://packages.yoctoproject.org/mainpage.html'
  111. HTTP_USER_AGENT
  112. 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36'
  113. PATH_INFO      
  114. '/milestone_target'
  115. PATH_TRANSLATED
  116. '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py/milestone_target'
  117. QUERY_STRING   
  118. ''
  119. REMOTE_ADDR    
  120. '192.36.1.252'
  121. REMOTE_PORT    
  122. '20248'
  123. REQUEST_METHOD 
  124. 'GET'
  125. REQUEST_URI    
  126. '/milestone_target'
  127. SCRIPT_FILENAME
  128. '/srv/www/vhosts/packages.yoctoproject.org/newserver/webserver/index.py'
  129. SCRIPT_NAME    
  130. ''
  131. SERVER_ADDR    
  132. '10.0.10.35'
  133. SERVER_ADMIN   
  134. 'hostmaster@yoctoproject.org'
  135. SERVER_NAME    
  136. 'packages.yoctoproject.org'
  137. SERVER_PORT    
  138. '80'
  139. SERVER_PROTOCOL
  140. 'HTTP/1.1'
  141. SERVER_SIGNATURE       
  142. '<address>Apache/2 Server at packages.yoctoproject.org Port 80</address>\n'
  143. SERVER_SOFTWARE
  144. 'Apache/2'
  145. mod_wsgi.application_group     
  146. 'packages.yoctoproject.org|'
  147. mod_wsgi.callable_object       
  148. 'application'
  149. mod_wsgi.handler_script
  150. ''
  151. mod_wsgi.input_chunked 
  152. '0'
  153. mod_wsgi.listener_host 
  154. ''
  155. mod_wsgi.listener_port 
  156. '80'
  157. mod_wsgi.process_group 
  158. ''
  159. mod_wsgi.request_handler       
  160. 'wsgi-script'
  161. mod_wsgi.script_reloading      
  162. '1'
  163. mod_wsgi.version       
  164. (3, 3)
  165. wsgi.errors    
  166. <mod_wsgi.Log object at 0x7fbfd9a7a6b0>
  167. wsgi.file_wrapper      
  168. <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbfe27957b0>
  169. wsgi.input     
  170. <mod_wsgi.Input object at 0x7fbfd9a7a630>
  171. wsgi.multiprocess      
  172. True
  173. wsgi.multithread       
  174. False
  175. wsgi.run_once  
  176. False
  177. wsgi.url_scheme
  178. 'http'
  179. wsgi.version   
  180. (1, 1)
  181. 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.
clone this paste RAW Paste Data