bug0033

record=0033 assigned_to=Tim description="""I got this exception on birdcloud.org/bc/FrontPage

I was presumably logging in as user 4, and tbwiki_engine.py was trying to read admin/User4, without a try/except clause to handle a missing file. (that's my best guess)

exception reading user file: /home/tbird/work/tbwiki-data/bc/admin/User4
Traceback (most recent call last):
  File "/home/tbird/work/tbwiki/cgi-bin/tbwiki_engine.py", line 642, in set_user
    record = table.read_attrdb_file(None, self, file_path, "").values()[0]
  File "/home/tbird/work/tbwiki/cgi-bin/table.py", line 2117, in read_attrdb_file
    tb.add_to_message("Cannot open file %s" % file_path)
AttributeError: 'NoneType' object has no attribute 'add_to_message'
"""
priority=high
status=open
summary=exception trying to read missing user page