Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2017, 02:40 PM   #406
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,194
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by kovidgoyal View Post
@gbm: Doesn't happen on my linux Firefox. When the relaod question popup appears, I can still open pother tabs in firefox and interact with them.

As far as I can tell, if it does happen, it's a bug in firefox. The updated notification is created using the standard window.confirm() javascript API.

Most likely, you still have a single process firefox on your system so the dialog is application modal -- it will be fine when you update to multiprocess firefox.
I had an extension that was not compatible with multiprocess, disabled that extension and it now works. Also found webgl2 Renderer was not loading so disabled that also.

bernie

P.S.
This Firefox extension checks for multiprocess compatibility.

https://addons.mozilla.org/en-US/fir...orter/?src=api
gbm is offline   Reply With Quote
Old 06-02-2017, 03:06 AM   #407
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Released 2.99.10 with the following changes:
  1. Fix error handling for various IndexedDB (the database used in the browser) related error conditions is present at all
  2. Fix an error rendering books with svg images
  3. Fix error caused by refactoring of advanced search dialog code


Hopefully, this will be the last beta release. The only outstanding issues I am aware of are: downloads not working on the Kobo browser, and JSWolf's last column being occasionally skipped issue.
kovidgoyal is offline   Reply With Quote
Old 06-02-2017, 03:29 AM   #408
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
Wow. You work with speed of light, is not it Kovid.
Several providers of paid software should take an example.

Thank you for your commitment to Calibre. I love this program since I started working on it a couple of years ago.

Last edited by Martina Schein; 06-02-2017 at 06:23 AM.
Martina Schein is offline   Reply With Quote
Old 06-02-2017, 04:00 AM   #409
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are welcome
kovidgoyal is offline   Reply With Quote
Old 06-02-2017, 12:50 PM   #410
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I've been successfully using the beta version (running from source usually) for a week or so. It's looking really good.

There are a few cosmetic differences in the GUI, but the only substantial change I've noticed is that 'sending metadata to device' (ie, writing the metadata file) is hugely faster. Thanks for that.

In the new Content Server a couple nitpicks I've noticed:
  • content_server_will_display and content_server_wont_display tweaks don't work. Tweaks specific to older versions could be removed, hidden or documented as older-version-only perhaps?
  • 'Comma' formatting on custom Integer('{:,}') and Float('{0:,.3f}') columns isn't being applied. (1234 vs 1,234 and 1234.11 vs 1,234.11) Float decimal format ('{0:,.3f}' vs '{0:,.2f}') is applied. I assume comma grouping is a calibre extension to Python's formatting?

FYI, the links you gave in first post to github are broken with removal of branch v2015. v2015->master gives usable links:

https://github.com/kovidgoyal/calibr...e/srv/TODO.rst
https://github.com/kovidgoyal/calibr.../custom.py#L99

I'm looking at the source for the server and the calibredb client. I'll need a while before I'm familiar enough to offer any useful comment myself, but do you have any plans or ideas for content server plugins, or integrations so GUI plugins could be called from content server or calibredb?

Semi-related, are DB updates transacted now such that plugins could skip using proceed_question() to obtain DB lock before updating metadata?

As always, thanks for all your great work on calibre.
JimmXinu is offline   Reply With Quote
Old 06-02-2017, 03:04 PM   #411
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@JimmXinu:

The tweaks still apply, but they apply to the tag browser only not the book details panel. The tag browser in the content server is now what you get when you click the search button

IIRC , is a python formatting operator. I just haven't got around to porting it to RapydScript which is what does string formatting in the browser.

I'll fix the links in the first post, thanks.

You will never be able to run GUI plugins in the server. At some point I might add the ability to create plugins to modify the server interface, but that is not going to be any time soon. There is lots of work to do on the core code still.

All DB functions have been thread-safe since calibre 1.0

What is not thread safe is the GUI itself, proceed_question() is for the latter not the former.

Last edited by kovidgoyal; 06-02-2017 at 03:07 PM.
kovidgoyal is offline   Reply With Quote
Old 06-04-2017, 06:10 AM   #412
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
The Kobo Browser

@Kovid: I've found out more about the Kobo browser and why it isn't working with the new server.

Basically, the browser is getting the file name from the URL. If it can't find one, or the file name isn't one it can handle, the file isn't downloaded. The browser doesn't use the "Content-Disposition" header field, so it cannot download the file. I've put a longer description at https://www.mobileread.com/forums/sh....php?p=3531644. I have reported the problem to Kobo. We'll see when a fix comes out.

I've hacked some code to include a file name in the requests to prove it works. That of course broke other things, but the file downloaded.
davidfor is offline   Reply With Quote
Old 06-04-2017, 06:36 AM   #413
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@davidfor: Wow, that was some great analysis. Thanks for following up on it as there was not much I could do about it myself.

I can probably create a special file name including endpoint for the mobile view so it works with the Kobo. Does the filename have to be part of the path or can it be a query parameter?
kovidgoyal is offline   Reply With Quote
Old 06-04-2017, 06:50 AM   #414
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
I can probably create a special file name including endpoint for the mobile view so it works with the Kobo. Does the filename have to be part of the path or can it be a query parameter?
This triggered a memory. I have run into this problem with other devices and browsers, IIRC old windows and android phones. What worked the best for me was to add a pseudo filename at the end of the "real" URL. Something like
Code:
http://foo.com:1234/real/api/stuff/foo.txt
where /foo.txt was ignored by the server. Query strings didn't work.

In a few cases I had problems if the name in the content disposition header didn't match the name in the trailing segment of the URL path. I never did figure out why.
chaley is offline   Reply With Quote
Old 06-04-2017, 07:21 AM   #415
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I committed some code to use a URL with the filename in the /mobile page. Hopefully that fixes the Kobo. I left the content-disposition header in there.
kovidgoyal is offline   Reply With Quote
Old 06-04-2017, 07:21 AM   #416
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: Wow, that was some great analysis. Thanks for following up on it as there was not much I could do about it myself.
It wasn't all me. I got close, but was able to ask the right person the right question
Quote:
I can probably create a special file name including endpoint for the mobile view so it works with the Kobo. Does the filename have to be part of the path or can it be a query parameter?
It looks like it needs to be part of the URL. My earlier test that worked earlier was:

Code:
/get/EPUB/938/Unclean/Unclean_938.epub
Trying:

Code:
/get/EPUB/938/Unclean/rubbish?q=Unclean_938.epub
didn't work.

The hack I've done is to simply generate the file name and append it. Then if there is a dot in the URL, strip everything after the last slash.

And I'd agree with chaley. I know I've seen problems like this before with other sites and browser combinations. They were older browsers, but unfortunately, the browsers on the ereaders seem to be old and simple.
davidfor is offline   Reply With Quote
Old 06-04-2017, 07:55 AM   #417
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
I committed some code to use a URL with the filename in the /mobile page. Hopefully that fixes the Kobo. I left the content-disposition header in there.
To fast And content-disposition header is OK as it was there with the old server.

That has fixed it. But, (you knew there was going to be one) kepubs don't downoad. Unfortunately, these need to have the extension as ".kepub.epub". There was code in the old server to do this if the user agent was the Kobo browser.

Edit: Need "ext.lower()" in the test in book_filename.

Last edited by davidfor; 06-04-2017 at 08:24 AM.
davidfor is offline   Reply With Quote
Old 06-04-2017, 10:37 AM   #418
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,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
ext now lowered
kovidgoyal is offline   Reply With Quote
Old 06-05-2017, 08:48 AM   #419
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
And it works!
davidfor is offline   Reply With Quote
Old 06-05-2017, 10:08 AM   #420
mcglyph
Junior Member
mcglyph began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: calibre
Calibre 3 Edited book version will not save to disk

Hi! I have edited my book. When I view the book on Calibre, all edits are clearly in the book. When I save to disk, the edits are not there. What is going on? Someone help please.
mcglyph 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 04:00 PM.


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