View Single Post
Old 09-02-2008, 03:16 PM   #97
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: 45,463
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by pilotbob View Post
Still getting this when I try to save books to disk only in Mobi format:

local variable 'data' referenced before assignment
Detailed traceback:
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/main.py", line 714, in save_single_format_to_disk
File "/Applications/calibre.app/Contents/Resources/main.py", line 731, in save_to_disk
File "calibre/gui2/library.pyo", line 156, in save_to_disk
File "calibre/library/database.pyo", line 1550, in export_single_format_to_dir
UnboundLocalError: local variable 'data' referenced before assignment

Could it be because I don't have mobi format file for all of my books?

Also, when I have a book in the library and I want to add another format to it, the ebook doesn't get coppied to the calibre folder and the newly added format no longer shows up.

BOb
The save single format error will be fixed in the next release (it happens because you dont have mobi format for some books).

I dont see the add format problem. Are you adding another format by conversion or by using the edit metadata dialog?
kovidgoyal is online now   Reply With Quote