Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2009, 06:08 PM   #16
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All those log entries have 200 codes, which indicate success. How long does a title that works take to download on average?
kovidgoyal is offline   Reply With Quote
Old 09-28-2009, 06:37 PM   #17
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
They download quickly when it connects. All those titles above, stanza says "Failed to download and import 'TITLE': Operation could not be completed. Connection reset by peer."

When I run Test Server button under Content Server in preferences, I get a list of my library in my browser. When I right-click on one of the titles that work, say Rendezvou with Rama, I get a separate window with the option to download the ebook:
http://127.0.0.1:8080/get/epub/Rende...0Rama_265.epub

But when I select Rama Revealed or Garden of Rama the browser shows connection reset with the following in the header:
http://127.0.0.1:8080/get/epub/Rama Revealed_264.epub
http://127.0.0.1:8080/get/epub/Garden of Rama_262.epub

Notice the %20 are gone? That is the only common cause I can find. I don't know if this is relevant.
jonsarik is offline   Reply With Quote
Advert
Old 09-28-2009, 07:13 PM   #18
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run calibre-server --develop and cause the resets in your browser. This should result in a tracback in the console, post that
kovidgoyal is offline   Reply With Quote
Old 09-28-2009, 07:18 PM   #19
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
C:\Documents and Settings\Jonathan Sarkarati>calibre-server --develop
[28/Sep/2009:18:15:10] ENGINE Bus STARTING
[28/Sep/2009:18:15:10] ENGINE Started monitor thread '_TimeoutMonitor'.
[28/Sep/2009:18:15:10] ENGINE Started monitor thread 'Autoreloader'.
[28/Sep/2009:18:15:10] ENGINE Serving on 0.0.0.0:8080
[28/Sep/2009:18:15:10] ENGINE Bus STARTED
127.0.0.1 - - [28/Sep/2009:18:15:14] "GET /library?_=1254179714632&start=0&num=2
0&sort=date&search=clark&order=descending HTTP/1.1" 200 8664 "http://127.0.0.1:8
080/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/2009082
4 Firefox/3.5.3"
127.0.0.1 - - [28/Sep/2009:18:15:21] "GET /get/epub/Rendezvous with Rama_265.epu
b HTTP/1.1" 200 223761 "http://127.0.0.1:8080/" "Mozilla/5.0 (Windows; U; Window
s NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
127.0.0.1 - - [28/Sep/2009:18:15:39] "GET /get/epub/Rama Revealed_264.epub HTTP/
1.1" 200 473365 "http://127.0.0.1:8080/" "Mozilla/5.0 (Windows; U; Windows NT 5.
1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
127.0.0.1 - - [28/Sep/2009:18:15:42] "GET /get/epub/Rama Revealed_264.epub HTTP/
1.1" 200 473365 "http://127.0.0.1:8080/" "Mozilla/5.0 (Windows; U; Windows NT 5.
1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"

With the test server, I can download Rendezvous with Rama...but not Rama Revealed. Firefox gives me a connection reset error.
jonsarik is offline   Reply With Quote
Old 09-28-2009, 07:28 PM   #20
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm that's just weird. According to that log both downloads were successful
kovidgoyal is offline   Reply With Quote
Advert
Old 09-28-2009, 07:39 PM   #21
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
I have another theory I'm checking: file size. It seems the ones that download are under 300K and the ones that don't are over. I notice that under preferences there is the default "split files larger than" and it is at 260 kb. Could that have something to do with it?

EDIT: Changing that value higher had no affect when converting to epub. Frustrating.

Last edited by jonsarik; 09-28-2009 at 07:50 PM.
jonsarik is offline   Reply With Quote
Old 09-28-2009, 10:35 PM   #22
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The file size splitting affects what's inside the epub, shouldn't make any difference when downloading.
kovidgoyal is offline   Reply With Quote
Old 09-29-2009, 12:42 AM   #23
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
Well, I don't know what else to do at this point. Not sure what is causing this problem or what logs I can send you.
jonsarik is offline   Reply With Quote
Old 09-29-2009, 11:35 AM   #24
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here's one test you can do:

You said that it would only fail for files above a particular size. To ensure that that is the problem. Try the following.

Take noe of the failing files and replace the epub with an epub of another book that succeeds, but dont change any metadata. Does that fix the transmission of that book?
kovidgoyal is offline   Reply With Quote
Old 09-29-2009, 07:29 PM   #25
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
Okay, I don't know what it means, or if it does have to do with size (or some incorrect setting). But what you suggested worked. I took a copy of the epub Rendezvous with Rama, which works. I told calibre to delete the epub of Rama Revealed which didn't work, I imported the copy of Rendezvous as Rama Revealed and did not change the metatags. I can now download what the system thinks is Rama Revealed. So what does this mean???

EDIT: And Rama Revealed is now showing the %20 between spaces as it should. I'm going to try to re-import the original Rama Revealed ebook that calibre converted and see what happens.

Last edited by jonsarik; 09-29-2009 at 07:32 PM.
jonsarik is offline   Reply With Quote
Old 09-29-2009, 07:41 PM   #26
jonsarik
Member
jonsarik began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Location: Chicago, IL
Device: iPod touch
Okay, so when I try to replace Rendezvous masquerading as rama revealed with the correct epub ebook, it fails again. So is calibre making an error in converting from the original LIT files? I didn't mess with the default settings...it's a little outside my league.
jonsarik is offline   Reply With Quote
Old 09-30-2009, 12:50 AM   #27
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a ticket and attach the EPUB file causing the problem.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Failed? Can't convert JPG PDFs? Tef61 Kindle Formats 6 09-20-2010 01:46 PM
problem connecting my 301+ with Calibre Icewyng PocketBook 1 07-14-2010 07:48 AM
Again, a Calibre Question (not connecting) radi0j0hn Calibre 7 04-25-2010 12:32 AM
Connecting to Calibre Web Catalog Demented iRex 5 04-09-2010 01:47 PM
Calibre 0.6.31 to Kindle2 __ Error Connecting.... oldgearhead Calibre 10 01-05-2010 02:28 PM


All times are GMT -4. The time now is 02:58 PM.


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