Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-30-2021, 06:25 AM   #2611
ownedbycats
Wizard
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 3,176
Karma: 13476454
Join Date: Oct 2018
Device: Kobo Aura HD
I was actually going to suggest the github, but the link in the first post ("fork the repository") is a 404. Hopefully someone can fix that.
ownedbycats is online now   Reply With Quote
Old 10-30-2021, 06:55 AM   #2612
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,951
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
I was actually going to suggest the github, but the link in the first post ("fork the repository") is a 404. Hopefully someone can fix that.
Good point. I have fixed it.
davidfor is online now   Reply With Quote
Old 10-30-2021, 12:41 PM   #2613
RobertJSawyer
Fanatic
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 592
Karma: 2292468
Join Date: Jun 2006
Location: Toronto
Device: Kobo Clara HD, Aura HD, Aura, Mini; Kindle PaperWhite
Thank you, @davidfor! You're the best!
RobertJSawyer is offline   Reply With Quote
Old 10-31-2021, 11:15 AM   #2614
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,054
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Version 3.5.4 just uploaded, updates custom CSS file support to include new devices
jgoguen is offline   Reply With Quote
Old 11-17-2021, 04:16 AM   #2615
sheldon_es
Junior Member
sheldon_es began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kobo Clara HD
Hello. I'm new with this plugin. I tried to use this plugin to send the books to my (new) Kobo Clara HD. Some books worked ok, but with most of books I got an error:calibre, version 5.32.0
ERROR: Error: Error en la comunicación con el dispositivo

[Errno 22] Invalid argument: 'C:\\temp\\calibre_buxw6wjt\\mic5lj54_epub_contain er\\OEBPS\\Text\\part0054.html'

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 593, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 416, in upload_books
File "calibre\devices\kobo\driver.py", line 2143, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 211, in _modify_epub
File "calibre_plugins.kobotouch_extended.container" , line 119, in __init__
File "calibre_plugins.kobotouch_extended.container" , line 375, in __run_async_over_content
File "calibre_plugins.kobotouch_extended.container" , line 368, in __run_async
File "concurrent\futures\_base.py", line 432, in result
File "concurrent\futures\_base.py", line 388, in __get_result
File "concurrent\futures\thread.py", line 57, in run
File "calibre_plugins.kobotouch_extended.container" , line 310, in forced_cleanup
File "calibre_plugins.kobotouch_extended.container" , line 170, in flush_cache
File "calibre_plugins.kobotouch_extended.container" , line 368, in __run_async
File "concurrent\futures\_base.py", line 432, in result
File "concurrent\futures\_base.py", line 388, in __get_result
File "concurrent\futures\thread.py", line 57, in run
File "calibre_plugins.kobotouch_extended.container" , line 174, in __flush_cache_impl
File "calibre\ebooks\oeb\polish\container.py", line 1032, in commit_item
OSError: [Errno 22] Invalid argument: 'C:\\temp\\calibre_buxw6wjt\\mic5lj54_epub_contain er\\OEBPS\\Text\\part0054.html'

I don't know if I should post it here or in the thread of the conversion plugin, as it's throwing the same error. Could you help me?
sheldon_es is offline   Reply With Quote
Old 11-17-2021, 09:52 AM   #2616
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,951
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I think, that that is a problem with something cleaning up the temporary storage while the files are still being used. The error number is not the usual for that, but, it isn't an uncommon problem. The other possibility is you anti-virus/malware blocking access to the file.

Is c:\temp somewhere unusual? Is it just on the main drive of the PC? Or is it a link somewhere else?
davidfor is online now   Reply With Quote
Old 11-17-2021, 11:07 AM   #2617
sheldon_es
Junior Member
sheldon_es began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kobo Clara HD
It's my main drive. In fact I changed the default temp directory because of the error (it was inside c:\users\... before). It may be my antivirus, as it's a enterprise PC, but I can convert other books.
sheldon_es is offline   Reply With Quote
Old 11-17-2021, 02:51 PM   #2618
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: 26,789
Karma: 41849005
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by sheldon_es View Post
It's my main drive. In fact I changed the default temp directory because of the error (it was inside c:\users\... before). It may be my antivirus, as it's a enterprise PC, but I can convert other books.
Temp Access issues are not usually Per Book. (assumes other conversions work before and after the problem book)

Something else is happening
theducks is offline   Reply With Quote
Old 11-19-2021, 05:54 AM   #2619
sheldon_es
Junior Member
sheldon_es began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kobo Clara HD
It may be malformed epubs? I've converted the books with kepubify and worked fine.
sheldon_es is offline   Reply With Quote
Old 11-21-2021, 12:21 AM   #2620
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,951
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by sheldon_es View Post
It may be malformed epubs? I've converted the books with kepubify and worked fine.
Using kepubify doesn't really tell us anything. It shares no code with the extended driver and handles errors it finds in different ways.

The error you are reporting is somehow related to the way a calibre unpacks files when making changes. The failure is happening when the changed file is being put back into the book. Which is the reason for my suggestion.

The actual error, "[Errno 22] Invalid argument:", comes from Python and the OS, and can mean a few things. One is that the file missing, another is that there are invalid characters in the file names. But, there is nothing obvious in the names for the latter, and the former shouldn't happen unless something is cleaning up temp files somewhere. I can't think of what has been done to fix this the other times it has been reported.

It might be useful to see the original book. Usually I would ask for you to use the ScrambleEbook plugin and post it. But, I think seeing the unchanged book would be better. If it is legal for you to upload, could you? Or if it is available somewhere for me to legally download, can you post the link. Otherwise, can you upload it somewhere and PM me the link.
davidfor is online now   Reply With Quote
Old 11-23-2021, 05:21 PM   #2621
Buhaj47
Connoisseur
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 91
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle Paperwhite 3
I remember the chapter page count didn't work correctly a few years back if the HTML files didn't match ToC entries, I suppose it's still the case. If the user wants to see the count and there's no 1:1 correspondence in EPUB files, does the plugin fix it, or is there another way to do it other than splitting HTML files manually?
Buhaj47 is offline   Reply With Quote
Old 11-23-2021, 08:10 PM   #2622
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,951
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Buhaj47 View Post
I remember the chapter page count didn't work correctly a few years back if the HTML files didn't match ToC entries, I suppose it's still the case. If the user wants to see the count and there's no 1:1 correspondence in EPUB files, does the plugin fix it, or is there another way to do it other than splitting HTML files manually?
Firstly, the issues with not having a one-to-one relationship between the ToC and internal files is a lot less than it used to be. I don't think the full book numbering has an issue with this.

Other than that, the extended driver does not make changes to the structure of the books sent. The assumption is that the books being sent are in valid, do not contain errors and are otherwise ready to read. There is some code cleanup, but, that is more about making adding the spans less likely to fail. Otherwise, the intention is to make minimal changes. This was an explicit design decision and won't change.

If more is desired, do a conversion to kepub.
davidfor is online now   Reply With Quote
Reply

Tags
error, kobo aura one

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Device Driver Update davidfor Devices 284 05-24-2019 06:24 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 05:58 PM
[Device Interface Plugin] Update for Nook Color Driver jmricker Plugins 0 10-22-2011 11:11 AM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 09-01-2011 12:47 AM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 05:08 AM


All times are GMT -4. The time now is 08:27 PM.


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