03-16-2014, 02:32 PM | #1 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
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' 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. |
03-16-2014, 03:10 PM | #2 |
Well trained by Cats
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Is this some sort of 'create' rights issue?
|
Advert | |
|
03-16-2014, 04:14 PM | #3 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No, this is the one where it claims the file doesn't exist yet.
If I can create the file using the File Browser, then calibre should be able to as well. Besides, I tried multiple locations, including a FAT flashdrive, none worked. And it's clearly not a Temp issue. I got it to work without touching /tmp or the temp variable. The permissions problem was here: https://www.mobileread.com/forums/sho...d.php?t=235888 The OP got a different message: Code:
calibre, version 1.27.0 ERROR: Could not save: Saving of the book failed. Click "Show Details" for more information. You can try to save a copy to a different location, via File->Save a Copy Traceback (most recent call last): File "site-packages\calibre\gui2\tweak_book\save.py", line 145, in process_save File "site-packages\calibre\gui2\tweak_book\save.py", line 155, in do_save File "site-packages\calibre\gui2\tweak_book\save.py", line 29, in save_container File "site-packages\calibre\utils\filenames.py", line 452, in atomic_rename error: (5, 'MoveFileEx', 'Access is denied.') Quote:
Last edited by eschwartz; 03-16-2014 at 04:20 PM. |
|
03-16-2014, 04:53 PM | #4 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you didn't then then BR Last edited by BetterRed; 03-16-2014 at 06:04 PM. Reason: use external image host rather than MR |
|
03-16-2014, 05:00 PM | #5 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
Advert | |
|
03-16-2014, 05:07 PM | #6 |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Fixed : I forgot that images you upload to MR cant be displayed in line
BR Last edited by BetterRed; 03-16-2014 at 05:31 PM. |
03-16-2014, 05:43 PM | #7 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Except for this one??? The attachment link itself was invalid. And it doesn't strictly need to be inline anyway. And the somewhat strict rules of the admin here at school block social media, including picture-sharing sites, so I still can't see it. |
03-16-2014, 06:09 PM | #8 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Sheesh - I could have sent it via Pony Express by now - I would have thought a smart fella like you would have found away around school admin rulz - or used your smartphone BR Last edited by BetterRed; 03-16-2014 at 06:14 PM. |
|
03-16-2014, 06:17 PM | #9 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yes I was asked to replace it.
Currently we are getting ready for the Purim party, but I could've easily gone to the library and grabbed their WiFi, afterward. |
03-16-2014, 06:47 PM | #10 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Where does calibre create the archive that becomes the epub - at the target location or does it create it in its temporary location and move to target? If latter it might be misreporting that something is missing from target, when in fact something is missing in temporary. The theducks had a somewhat similar problem with Open With yesterday, one of his kb shortcuts went awry and it was reporting as Code:
<b>WindowsError</b>:[Error 2] The system cannot find the file specified Hope you're having a nice Purim; here, its tomorrow already BR Last edited by BetterRed; 03-16-2014 at 07:05 PM. |
|
03-16-2014, 11:19 PM | #11 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
03-17-2014, 12:06 AM | #12 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
03-17-2014, 12:09 AM | #13 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Updated git and it works, thanks!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save a copy | mrmikel | Editor | 15 | 02-07-2014 05:29 AM |
Save icon button doesn't work | abethan53 | Sigil | 21 | 06-17-2013 09:40 AM |
What It's Really Like To Be A Copy Editor | Richard Herley | Writers' Corner | 34 | 08-16-2010 05:56 AM |