thinkle / gourmet

Gourmet Recipe Manager
GNU General Public License v2.0
339 stars 137 forks source link

Exception importing from mealmaster file in recent versions #402

Closed ockham closed 11 years ago

ockham commented 11 years ago

Converted from SourceForge issue 1574053, submitted by SourceForge user nobody on 2006-10-09 21:25:35 UTC.

Attempting to import a mealmaster file on debian, using the .deb package (last several releases of gourmet, most recently with 0.12.1):

Traceback (most recent call last): File "/usr/share/gourmet/GourmetThreads.py", line 38, in target_func self.c.run() File "/usr/share/gourmet/importers/importer.py", line 398, in run self.iclass.run() File "/usr/share/gourmet/importers/plaintext_importer.py", line 33, in run self.handle_line(l) File "/usr/share/gourmet/importers/mealmaster_importer.py", line 156, in handle_line self.commit_rec() File "/usr/share/gourmet/importers/mealmaster_importer.py", line 255, in commit_rec if self.committed: return AttributeError: mmf_importer instance has no attribute 'committed'

ockham commented 11 years ago

Submitted by SourceForge user thomas_hinkle on 2006-10-10 00:11:02 UTC.

Logged In: YES user_id=1030390

Hmm -- I don't reproduce this error, but I can see from the traceback what's causing it. I've just committed the fix to the base problem; I'm not sure if that might not just be masking some other problem though that caused you to see this bug. Try the next version (I'll release shortly) and let me know if you see some other problem (it seems likely you will). If you do, please attach a sample mealmaster file as my test file here is not triggering any error.