Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-28-2017, 06:38 AM   #361
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)
Quote:
Originally Posted by kovidgoyal View Post
@eschwartz: No can't say I have heard from jelle -- it has always been on my TODO list to unbundle the un-modified stuff once the new calibre build system was in operation.
That is such an interesting coincidence then, because I mentioned it to him on IRC only a couple days ago and you must have psychically picked up on that and decided now is the right time.

Quote:
hunspell is modified, see commit da7ef93e27
Ah, somehow I failed to check that.

... and looking at the upstream bugtracker, it looks like that is a feature they do want and is scheduled for v2: https://github.com/hunspell/hunspell/pull/443

So hopefully then you can switch back to the system copy.

Quote:
chardet long predates the upstream chardet (IIRC it came from firefox originally).
It *looks* like someone eventually picked that up and worked off it to create the current https://github.com/chardet/chardet so maybe it is worth switching to that anyway?

Quote:
tinycss is modified. templite I dont know about (it was used by someone else's code in calibre).

odpy I tried to upstream way back when, without success. Can't say I am particularly inclined to spend time trying again.
Yeah, so basically ignore me. This is what happens when I get "inspired" in the middle of the night right before a flight.
eschwartz is offline   Reply With Quote
Old 05-28-2017, 06:44 AM   #362
PandathePanda
a toy panda
PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.
 
PandathePanda's Avatar
 
Posts: 2,568
Karma: 26020474
Join Date: Mar 2014
Location: Onboard the Queen Anne's Revenge
Device: Various Android dvices
Quote:
Originally Posted by davidfor View Post
Yes, that works, and I'm sure you have mentioned it earlier in the thread.

Unfortunately, the download links don't work. Tapping them just refreshes the screen. The server log shows the request was received. There must be something about the response the browser doesn't like. Are there more detailed logs I can look at?
Also found this problem. Tried it on UC Browser and it it tried to download the book and failed.

But works (sort of) with Moon+, setup the server and it downloads but won't open it by default, need to tap on the notification to read it.
PandathePanda is offline   Reply With Quote
Advert
Old 05-28-2017, 07:52 AM   #363
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Quote:
Originally Posted by chaley View Post
Random thought: the error is almost always "max recursion exceeded" when fetching the list of "keys" for a "dictionary" (a type of array indexed by words instead of numbers). One way I can imagine this happening is that calibre is running out of memory and therefore unable to dynamically allocate memory to the "stack". Do you have a lot of memory on this computer? If not, do you have a rather large virtual memory paging file? I have 8GB of memory. My paging file size is controlled by Windows, and is currently 1.2 GB.

One error in the log looked like it happened during translation, when the template formatter was returning an error message. Do the errors go away if you run calibre in English? I tried running in German and everything worked.
Hello Chaley,
Thanks for looking to my problem. Sorry for come back so late. I though I have some time this morning, but was interrupted after I did a new source update and first tests. I have 8 GB memory on this computer too and page file (managed by windows) is 1.25GB. My actual usage in memory is about 2.8 to 3.8 GB

I had this morning two different experiences with calibre:

I download the new source updates this morning at 10:30 and see that all custom columns are now ok except column "Virtuelle Bibliothek" {0:'virtual_libraries()'}, where only the first book in the list is shown correctly and all other books have a template error with "recursion maximum depth exceeded while calling a Python object" and sometimes "This function can be used only in GUI mode" (what I did actual)

When I run the same in debug mode the custom columns have errors again and was not able to switch back to the first status with only column "Virtuelle Bibliothek" errors but sometimes some books have correct filled custom columns and a lot not.

I switch the language between German and English and it seems that with english it is a bit better (but do not count on it, I start calibre 3 times with 3 different results for custom columns.
I too believe this is a memory problem and I vaguely remember, that there was something similar in the past. Maybe I can remember myself some when later
Divingduck is offline   Reply With Quote
Old 05-28-2017, 07:54 AM   #364
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: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@davidfor: There aren't any more detailed logs. Basically, the server logs requests, with their response code and if any errors occur.

The only thing I can think of might be the browser doesn't like one of the headers. You can check what headers the server send using either

curl -I

or just using the dev tools in a desktop browser.

Last edited by kovidgoyal; 05-28-2017 at 08:02 AM.
kovidgoyal is offline   Reply With Quote
Old 05-28-2017, 07:59 AM   #365
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: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@eschwartz: No, the motivation for me doing regex was this: https://bitbucket.org/mrabarnett/mra...locale-failure

I have to say I love the maintainer of regex. Alongwith apsw they are the only two upstream dependencies of calibre that have actually competent/active maintainers.

I dont mind in principle stripping out chardet. I just need to find the time to do some testing to make sure APIs haven't changed.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-28-2017, 08:40 AM   #366
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by kovidgoyal View Post
@davidfor: There aren't any more detailed logs. Basically, the server logs requests, with their response code and if any errors occur.

The only thing I can think of might be the browser doesn't like one of the headers. You can check what headers the server send using either

curl -I

or just using the dev tools in a desktop browser.
Comparing what I get with 2.99.8 and portable 1.48, which does work:

Code:
E:\Download\Windows\Network\curl-7.34.0-ssl-sspi-zlib-static-bin-w32\curl>curl -I http://10.1.225.111/get/EPUB/939/Unclean
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Disposition: attachment; filename="Evil Librarian - Michelle Knudsen_939.epub"
Content-Length: 679272
Content-Type: application/epub+zip
Date: Sun, 28 May 2017 12:06:28 GMT
ETag: "af8fb9c8593adf88c34b735f5c099063ea088426"
Keep-Alive: timeout=120
Server: calibre 2.99.8
Code:
E:\Download\Windows\Network\curl-7.34.0-ssl-sspi-zlib-static-bin-w32\curl>curl -I http://10.1.225.111:8080/get/epub/Calibre%20Quick%20Start%20Guide%20-%20John%20Schember_1.epub
HTTP/1.1 200 OK
Content-Length: 151399
Content-Disposition: attachment; filename="Calibre Quick Start Guide - John Schember_1.epub"
Server: calibre/1.48.0
Last-Modified: Tue, 03 Jan 2017 07:07:47 GMT
Date: Sun, 28 May 2017 12:09:09 GMT
Content-Type: application/epub+zip
The extra headers for 2.99.8 is "Accept-Ranges: bytes", "Keep-Alive" and the "ETag". I'll have a play and see what I can come up with.
davidfor is offline   Reply With Quote
Old 05-28-2017, 09:38 AM   #367
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)
Quote:
Originally Posted by kovidgoyal View Post
@eschwartz: No, the motivation for me doing regex was this: https://bitbucket.org/mrabarnett/mra...locale-failure

I have to say I love the maintainer of regex. Alongwith apsw they are the only two upstream dependencies of calibre that have actually competent/active maintainers.
Indeed.

Quote:
I dont mind in principle stripping out chardet. I just need to find the time to do some testing to make sure APIs haven't changed.
Cool, I'll leave you to it.
eschwartz is offline   Reply With Quote
Old 05-28-2017, 09:54 AM   #368
m.s
Enthusiast
m.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Time
 
m.s's Avatar
 
Posts: 31
Karma: 49174
Join Date: Oct 2012
Device: Bookeens, Kindles, Kobos, PocketBooks, Tolinos
Quote:
Originally Posted by davidfor View Post
Unfortunately, the download links don't work. Tapping them just refreshes the screen.
The download don't work only on Kobo-devices (Kobo Glo, Glo HD, Aura One). On other readers (Bookeen, Kindle, PocketBook, Tolino) it works. Maybe the Kobobrowser can´t understand the redirect to the EPUB-file?
m.s is offline   Reply With Quote
Old 05-28-2017, 09:59 AM   #369
m.s
Enthusiast
m.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Time
 
m.s's Avatar
 
Posts: 31
Karma: 49174
Join Date: Oct 2012
Device: Bookeens, Kindles, Kobos, PocketBooks, Tolinos
Quote:
Originally Posted by kovidgoyal View Post
Just go to

/mobile

for a simple page.
Could you set a link to the simple page under the "Loading, please wait"-text?
m.s is offline   Reply With Quote
Old 05-28-2017, 10:14 AM   #370
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by m.s View Post
The download don't work only on Kobo-devices (Kobo Glo, Glo HD, Aura One). On other readers (Bookeen, Kindle, PocketBook, Tolino) it works. Maybe the Kobobrowser can´t understand the redirect to the EPUB-file?
It doesn't seem to be that. The request and response look OK. Unfortunately, I can't see what is happening on the device.
davidfor is offline   Reply With Quote
Old 05-28-2017, 02:12 PM   #371
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: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@davidfor: My guess would be Accept-Ranges. You can turn it off easily to test by changing line 676 in http_response.py

@ms: Sure it is easy to add a link to the simple HTML page.
kovidgoyal is offline   Reply With Quote
Old 05-29-2017, 03:10 AM   #372
m.s
Enthusiast
m.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Time
 
m.s's Avatar
 
Posts: 31
Karma: 49174
Join Date: Oct 2012
Device: Bookeens, Kindles, Kobos, PocketBooks, Tolinos
Quote:
Originally Posted by kovidgoyal View Post
My guess would be Accept-Ranges. You can turn it off easily to test by changing line 676 in http_response.py
Is there a way to test this on calibre portable?
m.s is offline   Reply With Quote
Old 05-29-2017, 03:28 AM   #373
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: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You just need to set it up to run from source: see the setting up a calibre development environment section of the user manual. Note that if you do, the first time you run the server it will take a ery long time to start, because it will need to compile the RapydSCript code before running.
kovidgoyal is offline   Reply With Quote
Old 05-29-2017, 05:46 AM   #374
m.s
Enthusiast
m.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Time
 
m.s's Avatar
 
Posts: 31
Karma: 49174
Join Date: Oct 2012
Device: Bookeens, Kindles, Kobos, PocketBooks, Tolinos
Thanks. I´ve tested it and without Accept-Ranges it doesn't work too.
m.s is offline   Reply With Quote
Old 05-29-2017, 06:23 AM   #375
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
Kovid, when uploading the new installation file »calibre-64bit-2.99.9.msi« something has gone wrong. It is much smaller than the previous versions and can not be installed.
The second screenshots illustrate this.
Attached Thumbnails
Click image for larger version

Name:	Calibre-Beta.jpg
Views:	246
Size:	87.3 KB
ID:	157087   Click image for larger version

Name:	Calibre-2.99.9.jpg
Views:	129
Size:	74.5 KB
ID:	157088  
Martina Schein is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta testers needed kovidgoyal Calibre 54 05-20-2016 12:34 PM
Windows beta testers needed kovidgoyal Calibre 19 02-08-2016 04:38 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 04:44 AM
Arc Updated Jelly Bean release - Beta testers needed kobo-adrian Kobo Tablets 19 05-23-2013 09:32 PM
Web Browsing from the Ebw-1150 - BETA Testers needed Nate the great Fictionwise eBookwise 26 09-21-2008 11:52 PM


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


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