View Single Post
Old 04-03-2011, 11:49 PM   #46
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123457
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Just installed the new version of this, first version I installed. I updated the Quality Check plugin, and then installed the Extract ISBN plugin. Both were successful. Immediately after that (same updater session) I installed the 'Generate Cover' plugin. Installation semi-failed. Instead of the Window asking me where I wanted the plugin placed in the UI, I got this error message:
Code:
Traceback (most recent call last):
  File "calibre_plugins.plugin_updater.dialogs", line 543, in install_clicked
  File "/Users/ldolse/calibredev/heuristics/src/calibre/gui2/preferences/plugins.py", line 355, in check_for_add_to_toolbars
    plugin_action = plugin.load_actual_plugin(self.gui)
  File "/Users/ldolse/calibredev/heuristics/src/calibre/customize/__init__.py", line 539, in load_actual_plugin
    ac = getattr(importlib.import_module(mod), cls)(gui,
  File "lib/python2.7/importlib/__init__.py", line 37, in import_module
  File "/Users/ldolse/calibredev/heuristics/src/calibre/customize/zipplugin.py", line 150, in load_module
    exec compiled in mod.__dict__
  File "calibre_plugins.generate_cover.action", line 17, in <module>
  File "/Users/ldolse/calibredev/heuristics/src/calibre/customize/zipplugin.py", line 150, in load_module
    exec compiled in mod.__dict__
  File "calibre_plugins.generate_cover.dialogs", line 25, in <module>
  File "/Users/ldolse/calibredev/heuristics/src/calibre/customize/zipplugin.py", line 150, in load_module
    exec compiled in mod.__dict__
  File "calibre_plugins.generate_cover.config", line 123, in <module>
  File "calibre_plugins.generate_cover.config", line 103, in migrate_config_if_required
TypeError: string indices must be integers
I restarted Calibre, and the plugin had successfully installed, but I needed to manually set where it should appear in the Toolbars/menus.

Now that I read the error details I think it might have been better to stick it in the Generate Cover thread than this one, but maybe this is an indication that this plugin could handle errors more gracefully.

Last edited by ldolse; 04-03-2011 at 11:51 PM.
ldolse is offline   Reply With Quote