html import/export fails 0.14.7 on mac

View: New views
1 Messages — Rating Filter:   Alert me  

html import/export fails 0.14.7 on mac

by Dan Pryma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I finally got around to reinstalling gourmet on my mac. Version  
0.14.7 is working fine for most things. However, html import and  
export fails with these errors:

Import:

Traceback (most recent call last):
   File "/sw/lib/python2.5/site-packages/gourmet/
GourmetRecipeManager.py", line 752, in do_import
     self.importManager.offer_import(self.window)
   File "/sw/lib/python2.5/site-packages/gourmet/importers/
importManager.py", line 115, in offer_import
     self.import_filenames(filenames)
   File "/sw/lib/python2.5/site-packages/gourmet/importers/
importManager.py", line 146, in import_filenames
     self.do_import(importer_plugin,'get_importer',fn)
   File "/sw/lib/python2.5/site-packages/gourmet/importers/
importManager.py", line 150, in do_import
     importer = getattr(importer_plugin,method)(*method_args)
   File "/sw/lib/python2.5/site-packages/gourmet/plugins/import_export/
web_import_plugin/generic_web_importer_plugin.py", line 47, in  
get_importer
     return get_web_importer(url,data,content_type)
NameError: global name 'get_web_importer' is not defined

Export:

Traceback (most recent call last):
   File "/sw/lib/python2.5/site-packages/gourmet/
GourmetRecipeManager.py", line 1022, in <lambda>
     lambda *args: self.do_export(export_all=False)),
   File "/sw/lib/python2.5/site-packages/gourmet/
GourmetRecipeManager.py", line 765, in do_export
     parent=self.app.get_toplevel())
   File "/sw/lib/python2.5/site-packages/gourmet/exporters/
exportManager.py", line 96, in offer_multiple_export
     instance = self.do_multiple_export(recs, fn, exp_type)
   File "/sw/lib/python2.5/site-packages/gourmet/exporters/
exportManager.py", line 123, in do_multiple_export
     'extra_prefs':extra_prefs,
   File "/sw/lib/python2.5/site-packages/gourmet/plugins/import_export/
html_plugin/html_exporter_plugin.py", line 21, in get_multiple_exporter
     args['conv'],
KeyError: 'conv'

Am I missing something simple? I haven't tried importing anything  
other than html (don't have anything to try since I lost my old  
gourmet db but have the html exported recipes saved), but exporting  
text works fine.

Also, when I enable the nutritional db plugin, gourmet no longer runs  
(crashes on startup). Going into my .gourmet and disabling it makes it  
work fine. Any ideas for that one?

Thanks,

Dan


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Grecipe-manager-devel mailing list
Grecipe-manager-devel@...
https://lists.sourceforge.net/lists/listinfo/grecipe-manager-devel