![]() |
#301 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This particular change is large enough that basically no old server settings survive, including port numbers.
I probably could write some code to migrate the settings, but given that everything about the server is changed, I think it warrants some user attention. I cannot replicate the GUI showing the wrong port, however. And looking at the code, the only way I can see a mismatch being possible is if the user changes the server preferences and doesnt restart the server or calibre. Finally, about monitoring the IP address I dont see how that can be done. There is no cross platform way of listening for changes to network configuration reliably. I suppose what can be done is to re-check the IPs evey time that menu is shown. However, because of some technical details with how menus and actions in Qt work, this may or may not be very reliable. |
![]() |
![]() |
![]() |
#302 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually on second thoughts, I dont think I will have the menu update every time it is shown. This is because calculating the external IP is *expensive*, it can, depending on networking configuration require generating actual network traffic. Not to mention, I am not at all sure what happens to a server listening on a n interface if the networking config changes.
|
![]() |
![]() |
![]() |
#303 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@KrayKiwi: Here's a warning dialog that pops up the first time you start the server, if it detects the old server settings. https://github.com/kovidgoyal/calibr...aef5ee07727ca6
|
![]() |
![]() |
![]() |
#304 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Wulfread; This should fix your issue with hierarchical series search: https://github.com/kovidgoyal/calibr...2fb9db7e80d4c3
|
![]() |
![]() |
![]() |
#305 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
|
Thanks Kovid, that popup looks great.
Also, I didn't really expect that you could check it every time the menu is shown, but once on startup if that was doable. If it's not, I think the popup is probably going to be enough to remind people. |
![]() |
![]() |
![]() |
#306 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I do get a more meaningful error message now: Error: Could not initialize database You must allow calibre to use IndexedDB storage in your browser to read books However, immediately after that, I still get: Error: Unhandled error UnknownError Error at http://juuban.xinu.nu:8080/:9226:22 Here's the server log: Spoiler:
FYI, I've tried a couple IndexedDB demo pages and they also failed with some unknown error during the DB open() call. So apparently this is something wrong with my Firefox install. ![]() (Update -- uninstall and reinstall of FF didn't help.) Unrelated New Issue: In the GUI, if I switch to a library that I have open in a browser (currently or previously?--not sure), I end up with a second, all lowercase entry for the same library. Those remain even after switch back to 2.85 and have to be removed manually: Last edited by JimmXinu; 05-25-2017 at 03:30 PM. |
|
![]() |
![]() |
![]() |
#307 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,746
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I added a format file to an existing book, it didn't appear on the running server. It did appear after I installed a new version of Chrome, but I assume that was a red herring
![]() I recall seeing a message referring to the need to refresh the server 'cache' (or something similar), I think that was after installing a new version of the beta. My questions are: What triggers the refresh? Can something be added to Settings to force a refresh. Or would a Library switch do the trick? ======================= Any chance of adding a third choice, Open in default handler (perhaps for non-EPUB formats only), to: BR |
![]() |
![]() |
![]() |
#308 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2017
Device: Android 8"
|
Quote:
Small CBZ: Work Big CBZ: Don't Work (i don't really know ... 150+ MByte?!) ePub: Don't work Directly (LAN) Small CBZ: Work Big CBZ: Work ePub: Work Mhhhh Looks like a problem with my Apache-ProxyPass-Config ... My Config: Calibre: prefix /blabla/blubb Apache: # Reverse-Proxy RewriteEngine on RewriteRule ^/blabla/blubb/(.*) http://127.0.0.1:8080/blabla/blubb/$1 [proxy] RewriteRule ^/blabla/blubb http://127.0.0.1:8080 [proxy] SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 --- I use http/2, ssl, 64bit @ Windows. Firewall/Virusscan for Apache "off" |
|
![]() |
![]() |
![]() |
#309 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
I don't have any libraries without uppercase, so I don't know what happens then. |
||
![]() |
![]() |
![]() |
#310 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I restarted Firefox in safe mode and the 4th columns till does not show up.
|
![]() |
![]() |
![]() |
#311 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,746
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I've visited and read books in both the Calibre Library and the _Test libraries, but it seems only the _Test library ever gets lower cased, couldn't make it happen with the Calibre Library Quote:
![]() BR Last edited by BetterRed; 05-25-2017 at 11:42 PM. |
||
![]() |
![]() |
![]() |
#312 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@JimmXinu: You get a long delay at first start when running from source because the RapydScript code is being compiled to JavaScript. I'll look into the library naming issue.
@BR: Doesn't Download book do that already? As far as I know there is no way to open files in a program on the local computer from within a webpage. @Wulfread: Not sure what to tell you, I dont have much experience with Apache proxying -- it's been several years since I last used apache. Since the server itself works but you only get timeouts when transferring large files, I'd look into some Proxy keep alive settings. @JSWolf: Yeah, like I said, it is hard for me to do anything about it until I can replicate it. It simply isn't happening in my Firefox, I've tried with many different font sizes, margin sizes, window sizes, number of columns. |
![]() |
![]() |
![]() |
#313 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@JimmXinu: This should fix the library name issue, however, I currently dont have access to a windows machine to test, so I'd appreciate it if you could let me know if it works:
https://github.com/kovidgoyal/calibr...6d690906bb9002 |
![]() |
![]() |
![]() |
#314 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Hi Kovid,
I just run calibre from actual source (dl 10 minutes ago): Spoiler:
The GUI starts normal (automatically start server checked) and I went to servers preferences and short time late I got this message w/o server start. |
![]() |
![]() |
![]() |
#315 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's odd, can you run calibre in debug mode and post the log
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |