Comment 4 for bug 1163829

Revision history for this message
skurfur (dvd-regal) wrote :

@francesco:
Deleting folder /home/[username]/.WorkBench did not work for me.

Works for me:

1. Copy /usr/share/svn-workbench/wb_frame.py as a backup

2. Edit file "/usr/share/svn-workbench/wb_frame.py", line 1074, added check if attribute is present before calling function:
if hasattr(self.list_panel.list_handler, 'project_info'):
                event.Enable( self.list_panel.list_handler.project_info.need_upgrade )

No more error. Yeh. :)

However, looks like this is some code to upgrade a legacy preferences for SVN WorkBench. Since I don't have an older preference file to upgrade, I can't test the case where the attribute exists.

I've only studied python programming a couple hours and this was my first time "programming" in python. Pretty clean, easy to understand language.