Advertisement
Guest User

LR error

a guest
Feb 25th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.12 KB | None | 0 0
  1. *** Starting uWSGI 1.4.5 (32bit) on [Mon Feb 25 14:54:32 2013] ***
  2. compiled with version: 4.6.3 on 21 February 2013 11:14:46
  3. os: Linux-3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013
  4. nodename: lr
  5. machine: i686
  6. clock source: unix
  7. detected number of CPU cores: 1
  8. current working directory: /
  9. writing pidfile to /var/run/learningregistry/uwsgi.pid
  10. detected binary path: /usr/local/bin/uwsgi
  11. your processes number limit is 15987
  12. your memory page size is 4096 bytes
  13. detected max file descriptor number: 1024
  14. lock engine: pthread robust mutexes
  15. uwsgi socket 0 bound to TCP address 127.0.0.1:5000 fd 3
  16. Python version: 2.7.3 (default, Aug 1 2012, 05:27:35) [GCC 4.6.3]
  17. Set PythonHome to /home/learningregistry/virtualenv/LR
  18. *** Python threads support is disabled. You can enable it with --enable-threads ***
  19. Python main interpreter initialized at 0x87ac4e8
  20. your server socket listen backlog is limited to 100 connections
  21. mapped 127616 bytes (124 KB) for 1 cores
  22. *** Operational MODE: single process ***
  23. Loading paste environment: config:/home/learningregistry/git/LearningRegistry/LR/development.ini
  24. 14:54:34,423 INFO [lr.lib.model_parser] [MainThread] Cannot get document type: 'str' object has no attribute 'value'
  25. 14:54:34,619 DEBUG [lr.model.resource_data_monitor] [MainThread]
  26.  
  27. -----{'since': -1}------
  28.  
  29.  
  30. 14:54:34,621 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] {'feed': 'continuous', 'include_docs': True, 'since': -1}
  31. 14:54:34,623 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] {'feed': 'continuous', 'include_docs': True, 'since': -1}
  32. 14:54:34,632 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread]
  33.  
  34. Start monitoring database : <Database 'resource_data'> changes PID: 5654 since:-1
  35.  
  36.  
  37. 14:54:34,638 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 1 countThreshold: 25 timedelta: 0:00:00.191069 timethreshold: 0:01:00
  38.  
  39.  
  40. 14:54:34,638 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 1 countThreshold: 10000 timedelta: 0:00:00.191184 timethreshold: 999999999 days, 23:59:59.999999
  41.  
  42.  
  43. 14:54:34,638 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 1
  44.  
  45.  
  46. 14:54:34,638 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 2 countThreshold: 25 timedelta: 0:00:00.191508 timethreshold: 0:01:00
  47.  
  48.  
  49. 14:54:34,638 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 2 countThreshold: 10000 timedelta: 0:00:00.191581 timethreshold: 999999999 days, 23:59:59.999999
  50.  
  51.  
  52. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 3
  53.  
  54.  
  55. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 3 countThreshold: 25 timedelta: 0:00:00.191859 timethreshold: 0:01:00
  56.  
  57.  
  58. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 3 countThreshold: 10000 timedelta: 0:00:00.191931 timethreshold: 999999999 days, 23:59:59.999999
  59.  
  60.  
  61. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 4
  62.  
  63.  
  64. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 4 countThreshold: 25 timedelta: 0:00:00.192220 timethreshold: 0:01:00
  65.  
  66.  
  67. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 4 countThreshold: 10000 timedelta: 0:00:00.192293 timethreshold: 999999999 days, 23:59:59.999999
  68.  
  69.  
  70. 14:54:34,639 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 5
  71.  
  72.  
  73. 14:54:34,643 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread]
  74.  
  75. Start monitoring database : <Database 'incoming'> changes PID: 5655 since:-1
  76.  
  77.  
  78. 14:54:34,643 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 5 countThreshold: 25 timedelta: 0:00:00.196422 timethreshold: 0:01:00
  79.  
  80.  
  81. 14:54:34,643 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 5 countThreshold: 10000 timedelta: 0:00:00.196510 timethreshold: 999999999 days, 23:59:59.999999
  82.  
  83.  
  84. 14:54:34,643 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 6
  85.  
  86.  
  87. 14:54:34,644 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 6 countThreshold: 25 timedelta: 0:00:00.196798 timethreshold: 0:01:00
  88.  
  89.  
  90. 14:54:34,644 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 6 countThreshold: 10000 timedelta: 0:00:00.196873 timethreshold: 999999999 days, 23:59:59.999999
  91.  
  92.  
  93. 14:54:34,644 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 7
  94.  
  95.  
  96. 14:54:34,647 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 7 countThreshold: 25 timedelta: 0:00:00.199998 timethreshold: 0:01:00
  97.  
  98.  
  99. 14:54:34,647 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 7 countThreshold: 10000 timedelta: 0:00:00.200079 timethreshold: 999999999 days, 23:59:59.999999
  100.  
  101.  
  102. 14:54:34,647 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 8
  103.  
  104.  
  105. 14:54:34,649 INFO [lr.config.routing] [MainThread] Enabling service route for: administrative:Network Node Status service member: status collection: status
  106. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 8 countThreshold: 25 timedelta: 0:00:00.204089 timethreshold: 0:01:00
  107.  
  108.  
  109. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 8 countThreshold: 10000 timedelta: 0:00:00.204169 timethreshold: 999999999 days, 23:59:59.999999
  110.  
  111.  
  112. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 9
  113.  
  114.  
  115. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 9 countThreshold: 25 timedelta: 0:00:00.204434 timethreshold: 0:01:00
  116.  
  117.  
  118. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 9 countThreshold: 10000 timedelta: 0:00:00.204506 timethreshold: 999999999 days, 23:59:59.999999
  119.  
  120.  
  121. 14:54:34,651 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 10
  122.  
  123.  
  124. 14:54:34,656 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: TrackLastSequence count: 10 countThreshold: 25 timedelta: 0:00:00.208874 timethreshold: 0:01:00
  125.  
  126.  
  127. 14:54:34,656 DEBUG [lr.lib.couch_change_monitor.base_change_threshold_handler] [MainThread] class: CompactionHandler count: 10 countThreshold: 10000 timedelta: 0:00:00.208955 timethreshold: 999999999 days, 23:59:59.999999
  128.  
  129.  
  130. 14:54:34,656 DEBUG [lr.lib.couch_change_monitor.change_monitor] [MainThread] --Last change sequence: 11
  131.  
  132.  
  133. 14:54:34,658 INFO [lr.config.routing] [MainThread] Enabling service route for: distribute:Resource Data Distribution service member: distribute collection: distribute
  134. 14:54:34,660 INFO [lr.config.routing] [MainThread] Enabling service route for: publish:Basic Publish service member: publish collection: publish
  135. 14:54:34,662 INFO [lr.config.routing] [MainThread] Enabling service route for: access:Basic Obtain service member: obtain collection: obtain
  136. 14:54:34,665 INFO [lr.config.routing] [MainThread] Enabling service route for: administrative:Network Node Description service member: description collection: description
  137. 14:54:34,667 INFO [lr.config.routing] [MainThread] Enabling service route for: administrative:Network Node Services service member: services collection: services
  138. 14:54:34,669 INFO [lr.config.routing] [MainThread] Enabling service route for: administrative:Resource Distribution Network Policy service member: policy collection: policy
  139. 14:54:34,672 INFO [lr.config.routing] [MainThread] Enabling service route for: access:Basic Harvest service member: harvest collection: harvest
  140. 14:54:34,674 INFO [lr.config.routing] [MainThread] Enabling service route for: access:OAI-PMH Harvest service member: OAI-PMH collection: OAI-PMH
  141. 14:54:34,676 INFO [lr.config.routing] [MainThread] Enabling service route for: access:Slice service member: slice collection: slice
  142. 14:54:34,679 INFO [lr.config.routing] [MainThread] Enabling service route for: publish:SWORD APP Publish V1.3 service member: swordservice collection: swordservice
  143. WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x87ac4e8 pid: 5647 (default app)
  144. *** uWSGI is running in multiple interpreter mode ***
  145. spawned uWSGI master process (pid: 5647)
  146. spawned uWSGI worker 1 (pid: 5656, cores: 1)
  147. [pid: 5656|app: 0|req: 1/1] 138.253.65.139 () {46 vars in 953 bytes} [Mon Feb 25 14:54:44 2013] GET / => generated 3694 bytes in 1 msecs (HTTP/1.1 200) 6 headers in 196 bytes (1 switches on core 0)
  148. [pid: 5656|app: 0|req: 2/2] 138.253.65.139 () {50 vars in 1050 bytes} [Mon Feb 25 14:54:47 2013] GET / => generated 0 bytes in 0 msecs (HTTP/1.1 304) 2 headers in 79 bytes (1 switches on core 0)
  149. Error - <class 'couchdb.http.ServerError'>: (500, ('unknown_error', 'badarg'))
  150. URL: http://lr.liv.ac.uk//status
  151. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
  152. app_iter = self.application(environ, sr_checker)
  153. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
  154. return self.wrap_app(environ, session_start_response)
  155. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
  156. response = self.app(environ, start_response)
  157. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in __call__
  158. response = self.dispatch(controller, environ, start_response)
  159. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch
  160. return controller(environ, start_response)
  161. File '/home/learningregistry/git/LearningRegistry/LR/lr/lib/base.py', line 17 in __call__
  162. return WSGIController.__call__(self, environ, start_response)
  163. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in __call__
  164. response = self._dispatch_call()
  165. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in _dispatch_call
  166. response = self._inspect_call(func)
  167. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in _inspect_call
  168. result = self._perform_call(func, args)
  169. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call
  170. return func(**args)
  171. File '/home/learningregistry/git/LearningRegistry/LR/lr/controllers/status.py', line 36 in index
  172. s = sourceLRNode.status
  173. File '/home/learningregistry/git/LearningRegistry/LR/lr/model/node_config.py', line 152 in _getStatusDescription
  174. if len(view.rows) > 0:
  175. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/client.py', line 1003 in rows
  176. self._fetch()
  177. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/client.py', line 990 in _fetch
  178. data = self.view._exec(self.options)
  179. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/client.py', line 880 in _exec
  180. _, _, data = self.resource.get_json(**self._encode_options(options))
  181. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/http.py', line 393 in get_json
  182. status, headers, data = self.get(*a, **k)
  183. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/http.py', line 374 in get
  184. return self._request('GET', path, headers=headers, **params)
  185. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/http.py', line 419 in _request
  186. credentials=self.credentials)
  187. File '/home/learningregistry/virtualenv/LR/local/lib/python2.7/site-packages/couchdb/http.py', line 310 in request
  188. raise ServerError((status, error))
  189. ServerError: (500, ('unknown_error', 'badarg'))
  190.  
  191.  
  192. CGI Variables
  193. -------------
  194. CONTENT_TYPE: '; charset="utf-8"'
  195. DOCUMENT_ROOT: '/etc/nginx//html'
  196. HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  197. HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
  198. HTTP_ACCEPT_ENCODING: 'gzip,deflate,sdch'
  199. HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8,en-GB;q=0.6'
  200. HTTP_AUTHORIZATION: 'Basic ZW5ncmljaDpMUjRMaXYxMg=='
  201. HTTP_CONNECTION: 'keep-alive'
  202. HTTP_COOKIE: '__utma=28784417.230680206.1351528854.1361790067.1361797398.109; __utmc=28784417; __utmz=28784417.1354728123.38.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)'
  203. HTTP_HOST: 'lr.liv.ac.uk'
  204. HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22'
  205. PATH_INFO: '/status'
  206. REMOTE_ADDR: '138.253.65.139'
  207. REMOTE_PORT: '64234'
  208. REQUEST_METHOD: 'GET'
  209. REQUEST_URI: '/status'
  210. SCRIPT_NAME: '/'
  211. SERVER_NAME: 'lr.liv.ac.uk'
  212. SERVER_PORT: '80'
  213. SERVER_PROTOCOL: 'HTTP/1.1'
  214.  
  215.  
  216. WSGI Variables
  217. --------------
  218. application: <beaker.middleware.SessionMiddleware object at 0x93fdb2c>
  219. beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x93fdb2c>>
  220. beaker.session: Cannot display: type object got multiple values for keyword argument 'use_cookies'
  221. paste.registry: <paste.registry.Registry object at 0x946648c>
  222. paste.throw_errors: True
  223. pylons.action_method: <bound method StatusController.index of <lr.controllers.status.StatusController object at 0x946e3cc>>
  224. pylons.controller: <lr.controllers.status.StatusController object at 0x946e3cc>
  225. pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  226. pylons.pylons: <pylons.util.PylonsContext object at 0x93cd80c>
  227. pylons.routes_dict: {'action': u'index', 'controller': u'status'}
  228. routes.route: <routes.route.Route object at 0x93cdb4c>
  229. routes.url: <routes.util.URLGenerator object at 0xb6c2344c>
  230. uwsgi.node: 'lr'
  231. uwsgi.version: '1.4.5'
  232. webob.adhoc_attrs: {'language': 'en-us'}
  233. wsgi process: 'Non-concurrent server'
  234. wsgi.file_wrapper: <built-in function uwsgi_sendfile>
  235. wsgiorg.routing_args: (<routes.util.URLGenerator object at 0xb6c2344c>, {'action': u'index', 'controller': u'status'})
  236. ------------------------------------------------------------
  237. [pid: 5656|app: 0|req: 3/3] 138.253.65.139 () {44 vars in 934 bytes} [Mon Feb 25 14:54:52 2013] GET /status => generated 815 bytes in 78 msecs (HTTP/1.1 500) 4 headers in 142 bytes (1 switches on core 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement