Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
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,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'
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
Old 03-16-2014, 03:10 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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?
theducks is offline   Reply With Quote
Advert
Old 03-16-2014, 04:14 PM   #3
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,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.')
This one was a "No such file or directory", but only because the temp folder never wrote the exploded files for the viewer (the error message is therefore quite true, and not referring to the save-to location):

Quote:
Originally Posted by gabryyl View Post
calibre, version 1.26.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 2] No such file or directory: u'C:\\Users\\GabryylP\\AppData\\Local\\Temp\\calib re_0lnyuj\\z1w_7r_ebook_iter\\Davies_Corin-ge_Everlasting_split_012.html'

calibre 1.26 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\documentview.py", line 1165, in wheelEvent
File "site-packages\calibre\gui2\viewer\main.py", line 1109, in next_document
File "site-packages\calibre\gui2\viewer\main.py", line 882, in load_path
File "site-packages\calibre\gui2\viewer\documentview.py", line 833, in load_path
File "site-packages\calibre\ebooks\oeb\display\webview.py", line 44, in load_html
IOError: [Errno 2] No such file or directory: u'C:\\Users\\GabryylP\\AppData\\Local\\Temp\\calib re_0lnyuj\\z1w_7r_ebook_iter\\Davies_Corin-ge_Everlasting_split_012.html'

Last edited by eschwartz; 03-16-2014 at 04:20 PM.
eschwartz is offline   Reply With Quote
Old 03-16-2014, 04:53 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
... 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.
And then did you get something like attachment ?

If you didn't then then

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	350
Size:	17.8 KB
ID:	120377  

Last edited by BetterRed; 03-16-2014 at 06:04 PM. Reason: use external image host rather than MR
BetterRed is offline   Reply With Quote
Old 03-16-2014, 05:00 PM   #5
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,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)
Quote:
Originally Posted by BetterRed View Post
And then did you get something like this ?



If you didn't then then

BR
"Invalid Attachment specified"
eschwartz is offline   Reply With Quote
Advert
Old 03-16-2014, 05:07 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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.
BetterRed is offline   Reply With Quote
Old 03-16-2014, 05:43 PM   #7
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,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.
Attached Thumbnails
Click image for larger version

Name:	inline_mobileread_image.png
Views:	566
Size:	13.0 KB
ID:	120372  
eschwartz is offline   Reply With Quote
Old 03-16-2014, 06:09 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post


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.
Fixed I hope - https://www.mobileread.com/forums/sho...07&postcount=4

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.
BetterRed is offline   Reply With Quote
Old 03-16-2014, 06:17 PM   #9
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,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.
eschwartz is offline   Reply With Quote
Old 03-16-2014, 06:47 PM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
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.
I assume '/home/schwartze/Documents/my-book.epub' is the file you're trying to save - it which case the no error condition should be absence thereof not presence thereof

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
See https://www.mobileread.com/forums/sho...&postcount=208 onwards

Hope you're having a nice Purim; here, its tomorrow already

BR

Last edited by BetterRed; 03-16-2014 at 07:05 PM.
BetterRed is offline   Reply With Quote
Old 03-16-2014, 11:19 PM   #11
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,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)
Quote:
Originally Posted by BetterRed View Post

Hope you're having a nice Purim; here, its tomorrow already

BR
Thanks.

We're about done here, now.

And I haven't the foggiest idea what's going on but I'm out of ideas, so I suppose we must wait till Kovid gets here.
eschwartz is offline   Reply With Quote
Old 03-17-2014, 12:06 AM   #12
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: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...83dd2bc787bee3
kovidgoyal is offline   Reply With Quote
Old 03-17-2014, 12:09 AM   #13
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,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!
eschwartz is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:30 PM.


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