View Single Post
Old 06-11-2011, 08:47 PM   #47
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: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
A bug in this plugin if only word count is configured:
Code:
Traceback (most recent call last):
  File "calibre_plugins.count_pages.action", line 56, in count_pages
NameError: global name 'is_value_word_col' is not defined
edit - also got this error when I edited a book which has both an epub and mobi file:
Code:
calibre, version 0.8.5
ERROR: Failed to count pages: <b>Failed</b>: Count ePub Pages

Count ePub Pages
Python function terminated unexpectedly: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
    return run_entry_point()
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
    return getattr(pmod, func)()
  File "/Users/ldolse/calibredev/heuristics/src/calibre/utils/ipc/worker.py", line 181, in main
    result = func(*args, **kwargs)
  File "/Users/ldolse/calibredev/heuristics/src/calibre/utils/ipc/worker.py", line 138, in arbitrary_n
    return func(*args, **kwargs)
  File "calibre_plugins.count_pages.jobs", line 53, in do_count_pages
TypeError: 'NoneType' object is not iterable
Not sure why it's a coming back as a NoneType object... other books do work, so not sure what's special about this one.

Last edited by ldolse; 06-13-2011 at 08:30 AM.
ldolse is offline   Reply With Quote