[tor-bugs] #3236 [Tor Weather]: tor weather refuses to find nodes in its own tor-descriptors

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 19 11:34:01 UTC 2011


#3236: tor weather refuses to find nodes in its own tor-descriptors
-------------------------+--------------------------------------------------
 Reporter:  phobos       |          Owner:  kaner
     Type:  defect       |         Status:  new  
 Priority:  normal       |      Milestone:       
Component:  Tor Weather  |        Version:       
 Keywords:               |         Parent:       
   Points:               |   Actualpoints:       
-------------------------+--------------------------------------------------

Comment(by kaner):

 Turns out that Weather had exited with the following backtrace:

 {{{
 Traceback (most recent call last):
   File "/srv/weather.torproject.org/opt/weather/weather/TorCtl/TorCtl.py",
 line 535, in _eventLoop
     self._handleFn(timestamp, reply)
   File "/srv/weather.torproject.org/opt/weather/weather/TorCtl/TorCtl.py",
 line 1061, in _handle1
     self._map1.get(event.event_name, self.unknown_event)(event)
   File
 "/srv/weather.torproject.org/opt/weather/weather/weatherapp/listener.py",
 line 30, in new_consensus_event
     updaters.run_all()
   File
 "/srv/weather.torproject.org/opt/weather/weather/weatherapp/updaters.py",
 line 335, in run_all
     email_list = update_all_routers(ctl_util, email_list)
   File
 "/srv/weather.torproject.org/opt/weather/weather/weatherapp/updaters.py",
 line 283, in update_all_routers
     router.save()
   File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 434,
 in save
     self.save_base(using=using, force_insert=force_insert,
 force_update=force_update)
   File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 500,
 in save_base
     rows = manager.using(using).filter(pk=pk_val)._update(values)
   File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 491,
 in _update
     return query.get_compiler(self.db).execute_sql(None)
   File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py",
 line 861, in execute_sql
     cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
   File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py",
 line 727, in execute_sql
     cursor.execute(sql, params)
   File "/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py",
 line 200, in execute
     return Database.Cursor.execute(self, query, params)
 DatabaseError: unable to open database file
 Terminated
 }}}

 The database file is ok to open for user weather though.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3236#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list