![]() |
#1 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Typo, fixed in next release.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |