Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2010, 04:07 PM   #1
_Em
Junior Member
_Em began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2010
Device: iPod
calibredb update bug with 0.7.21?

I just upgraded to 0.7.21, and discovered that calibre_guess_and_add_isbn is suddenly broken. Error below:

Python function terminated unexpectedly: write_dirtied() takes exactly 1 argument (0 given)
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/library/cli.py", line 1049, in main
File "site-packages/calibre/library/cli.py", line 482, in command_set_metadata
File "site-packages/calibre/library/cli.py", line 459, in do_set_metadata
TypeError: write_dirtied() takes exactly 1 argument (0 given)
Traceback (most recent call last):
File "/usr/local/bin/calibre_guess_and_add_isbn", line 8, in <module>
load_entry_point('mekk.calibre==1.1.1', 'console_scripts', 'calibre_guess_and_add_isbn')()
File "build/bdist.macosx-10.6-universal/egg/mekk/calibre/scripts/guess_and_add_isbn.py", line 159, in run
File "build/bdist.macosx-10.6-universal/egg/mekk/calibre/calibre_util.py", line 159, in save_isbn
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['calibredb', 'set_metadata', '23154', '/var/folders/sk/sk0vYj+4EjqXI6RkRVnwXE+++TI/-Tmp-/tmpdlLEjk.opf']' returned non-zero exit status 255

This didn't happen with 0.7.20; I've verified that the command line tools are properly symlinked.

It appears that the opf file gets correctly generated by the script, but then calibredb set_metadata fails on update.

When running it by hand, I get:
Python function terminated unexpectedly: write_dirtied() takes exactly 1 argument (0 given)
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/library/cli.py", line 1049, in main
File "site-packages/calibre/library/cli.py", line 482, in command_set_metadata
File "site-packages/calibre/library/cli.py", line 459, in do_set_metadata
TypeError: write_dirtied() takes exactly 1 argument (0 given)


However, adding the data manually through the gui edit window works perfectly????

{edit:} rolled back to 0.7.20 and everything works. So I'm using 0.7.20 for cmdline and 21 for gui

Last edited by _Em; 10-02-2010 at 04:22 PM.
_Em is offline   Reply With Quote
Old 10-02-2010, 04:20 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,622
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Typo, fixed in next release.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] all news downloads fail after update to 0.7.6 the_eye Calibre 7 06-30-2010 07:39 AM
BUG: Update changes installation folder without asking midders Calibre 3 02-28-2010 09:52 AM
Update 1.5 and "pen bug" yolle iRex 30 03-27-2009 10:10 AM
ETI eBook Publisher : bug reports / workarounds / update requests zelda_pinwheel IMP 39 02-20-2009 09:22 AM
BD bug, or am I missing an update? Gravitas Sony Reader 8 04-25-2007 04:52 PM


All times are GMT -4. The time now is 06:16 AM.


MobileRead.com is a privately owned, operated and funded community.