nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

broken import class #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
import my usual benchmark 0.2.2 watch list, and specto will crash because
the file format just changed but the import modules didn't:

Traceback (most recent call last):
  File "/home/jeff/trunks/specto-woutc/spectlib/import_export.py", line
273, in save
    self.read_options(file_name)
  File "/home/jeff/trunks/specto-woutc/spectlib/import_export.py", line
308, in read_options
    self._import.add_watch_entry(watch.id)
AttributeError: Mail_watch_gmail instance has no attribute 'id'

Original issue reported on code.google.com by nekoh...@gmail.com on 10 Mar 2008 at 2:57

GoogleCodeExporter commented 9 years ago
Reminder for myself :)
Change in import_export.py

line 158: Web_watch to Watch_web_static
line 160: Mail_watch_gmail to Watch_mail_gmail

Original comment by woutclym...@gmail.com on 11 Mar 2008 at 10:55

GoogleCodeExporter commented 9 years ago
Fixed in my branch

Original comment by woutclym...@gmail.com on 11 Mar 2008 at 5:10

GoogleCodeExporter commented 9 years ago
so far, it works perfectly now.

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 2:47