View Single Post
Old 03-16-2014, 02:32 PM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Editor save a copy doesn't work?

Perhaps I'm doing something wrong, but when trying to "save a copy" of the currently opened book, I get the following error message:

Code:
calibre, version 1.28.0
ERROR: Failed to save copy: Failed to save copy, click Show details for more information.

Traceback (most recent call last):
  File "/home/schwartze/git/calibre/src/calibre/gui2/tweak_book/job.py", line 34, in run
    self.result = self.function(*self.args, **self.kwargs)
  File "/home/schwartze/git/calibre/src/calibre/gui2/tweak_book/boss.py", line 898, in do_save
    save_container(c, path)
  File "/home/schwartze/git/calibre/src/calibre/gui2/tweak_book/save.py", line 28, in save_container
    st = os.stat(path)
OSError: [Errno 2] No such file or directory: '/home/schwartze/Documents/my-book.epub'
After selecting the Documents folder, the button says "open", (I was confused enough that I started wondering whether it was supposed to create the same filename in the selected folder) and when clicking to enter the folder I try typing in the name of the new file, then it pops up with this error.

But if I create an empty file with that name in the system file explorer first, it works.

Running from source with the latest changes as of this writing, on Ubuntu 12.04 LTS.
eschwartz is offline   Reply With Quote