Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:06 PM   #226
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,358
Karma: 6686152
Join Date: Nov 2009
Device: many
FWIW, I tested the DEBUG7 build on my old iMac on Linux using a Windows 11 VM and it passed all my tests!
KevinH is offline   Reply With Quote
Old Yesterday, 06:00 PM   #227
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 944
Karma: 3501230
Join Date: Jan 2017
Location: Poland
Device: Various
I confirm that Debug7 works. I will compile my own version and test it during normal EPUB file editing.
BeckyEbook is online now   Reply With Quote
Old Yesterday, 07:29 PM   #228
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,358
Karma: 6686152
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BeckyEbook View Post
I confirm that Debug7 works. I will compile my own version and test it during normal EPUB file editing.
Great! Thank you!

If you grab current master now, you should get a version with updated profile caches and all debug turned off.

Do not forget to get rid of your SIGIL_DEBUG_LOGFILE env var.

I have tested both test cases we have used here as well as pdf display and use of local storage.

With current master, so far so good!
KevinH is offline   Reply With Quote
Old Yesterday, 07:38 PM   #229
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,306
Karma: 178402650
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I compile the debug7 code and pretty much everything looked okay. The first time I opened the blank document, in the log file, there was an error message:
Code:
Error: URLInterceptorDebug: In ViewPreview ConnectSignalsToSlots
However this error never re-occurred. I ran the tests on my physical box and in two VMs running Windows 11.
Attached Files
File Type: txt sigil_debug7_url_error.txt (25.7 KB, 3 views)
File Type: txt sigil_debug7_alice.txt (32.4 KB, 1 views)
File Type: txt sigil_debug_svg_filter.txt (8.9 KB, 2 views)
DNSB is offline   Reply With Quote
Old Yesterday, 08:40 PM   #230
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,358
Karma: 6686152
Join Date: Nov 2009
Device: many
Your URL document error is interesting:

Debug: Error: URLInterceptor cannot determine book folder so all file requests blocked

It is generated by our Sigil/src/Misc/URLInterceptor.cpp code whose job it is to prevent anything in the epub from loading anything NOT in the current epub folder, mathjax folder, or Sigil preferences folder.

It is warning that it can not find a disc based book folder for the empty epub that Sigil opens at startup. Since it can't find the folder, it can not tell if any link is to something outside of it and to be safe denies that request.

This may just be an artifact of an unused empty epub. Either way I will take a look see.

Thanks for testing and reporting back.
KevinH is offline   Reply With Quote
Old Yesterday, 09:02 PM   #231
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,358
Karma: 6686152
Join Date: Nov 2009
Device: many
@DNSB,
If you think you can recreate this url error with another empty book start up of Sigil.

Please edit Sigil/src/Misc/URLInterceptor.cpp and in line 33, change this line:

#define DBG if(0)

in that file to be

#define DBG if(1)

And then in line 111, remove the beginning // from this line:

// DBG qDebug() << "path_to_book: " << path_to_book;

to become:

DBG qDebug() << "path_to_book: " << path_to_book;


and then recompile and run the same tests with a fresh debug log file and post it here.

That way we might be able to see what url request is triggering your error, assuming it is repeatable.

Thanks!

Last edited by KevinH; Yesterday at 09:14 PM.
KevinH is offline   Reply With Quote
Old Yesterday, 10:50 PM   #232
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,306
Karma: 178402650
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I will do that change and recompile.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions for Sigil Improvements or New Features KevinH Sigil 168 11-18-2025 01:23 PM
Suggestions for New Plugins and Plugin Improvements KevinH Plugins 0 09-22-2025 11:53 AM
Ideas for New Improvements or Features KevinH Sigil 97 04-09-2025 10:45 AM
Improvements/bugs/features dontcrash KOReader 10 10-23-2019 11:05 AM
Onyx M92: Suggestions for possible improvements Lode Onyx Boox 3 02-11-2013 08:40 AM


All times are GMT -4. The time now is 03:10 AM.


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