Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2019, 05:37 PM   #121
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by DiapDealer View Post
I worry about what cygwin packages you may have installed that are on the system path, though. Are you just using Cygwin for a bash shell, or do you have any packages like Qt5 or Ssl installed? I tend to use MSYS2/MinGW for any bash-related Windows stuff. I'll have to see if the same is true for that bash shell on windows.
Looks like this has been fixed (yay!!!), but for the record I don't have any GUI cygwin patches installed at all (nothing with Qt or KDE or anything like that), just all command-line stuff.

I do have OpenSSL installed though. Is that what you meant by Ssl?

Also, I don't configure the system PATH variable to include the cygwin bin paths so, for example, I can't run "ls" from CMD, only from a cygwin shell.
snarkophilus is offline   Reply With Quote
Old 11-14-2019, 05:45 PM   #122
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by snarkophilus View Post
Looks like this has been fixed (yay!!!), but for the record I don't have any GUI cygwin patches installed at all (nothing with Qt or KDE or anything like that), just all command-line stuff.

I do have OpenSSL installed though. Is that what you meant by Ssl?

Also, I don't configure the system PATH variable to include the cygwin bin paths so, for example, I can't run "ls" from CMD, only from a cygwin shell.
You should be good. Yes, I meant openssl. There used to be a crashing issue where the Qt distributed with Sigil was trying to load an incompatible version of OpenSSL that happened to be on the system PATH. But I haven't run into that one in a long, long while.

Happy to hear it's fixed.
DiapDealer is offline   Reply With Quote
Advert
Old 11-14-2019, 10:49 PM   #123
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by BeckyEbook View Post
Last commit works!
I tried several times and never crashed.
I've given this a bit of a pounding too, both the the sample epub and also the original epub from my Calibre library, and can't crash it. Yay!

Also, those "Warning: QObject::connect ..." messages have disappeared too.

@KevinH, @DiapDealer - Thanks!!
snarkophilus is offline   Reply With Quote
Old 11-14-2019, 11:00 PM   #124
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes I cleaned those warnings up when I was in the neighbourhood working on the src/Tabs code. They were not part of the problem but they cluttered up my debugger lldb sessions so they had to go.


Quote:
Originally Posted by snarkophilus View Post
I've given this a bit of a pounding too, both the the sample epub and also the original epub from my Calibre library, and can't crash it. Yay!

Also, those "Warning: QObject::connect ..." messages have disappeared too.

@KevinH, @DiapDealer - Thanks!!
KevinH is offline   Reply With Quote
Old 11-15-2019, 01:16 AM   #125
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
When I try to open a specific epub I get the following output from Sigil (yay cygwin ):

Code:
[3228:20216:1115/170205.254:ERROR:cache_util_win.cc(19)] Unable to move the cache: 5
[3228:20216:1115/170205.254:ERROR:cache_util.cc(140)] Unable to move cache folder C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\GPUCache to C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\old_GPUCache_000
[3228:20216:1115/170205.254:ERROR:disk_cache.cc(168)] Unable to create cache
[3228:20216:1115/170205.254:ERROR:shader_disk_cache.cc(620)] Shader Cache Creation failed: -2
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css"
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt"
and just after that the following in a popup:

Code:
Error info: Cannot load file C:\Users\Simon\Calibre Library\Robert Penn\It's All About the Bike (158)\It's All About the Bike - Robert Penn.epub: OEBPS/Text/stylesheet.css
Sigil version: 0.9.991
Runtime Qt: 5.12.3
Compiled Qt: 5.12.3
System: Windows 10 (10.0)
Architecture: x86_64
If I manually remove the ...QtWebEngine\Default\GPUCache folder that removes most of the console output, but I still get the following two lines and the same popup.

Code:
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css"
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt"
Here's the output from "unzip -l" on the epub:

Spoiler:
Code:
  Length      Date    Time    Name
---------  ---------- -----   ----
       20  06-18-2011 00:40   mimetype
      265  06-18-2011 00:39   META-INF/container.xml
     8310  06-18-2011 00:40   OEBPS/content.opf
     2931  06-18-2011 00:40   OEBPS/toc.ncx
   106191  05-16-2011 23:39   OEBPS/Images/001.jpg
    72862  05-16-2011 23:39   OEBPS/Images/002.jpg
    87387  05-16-2011 23:39   OEBPS/Images/003.jpg
    84890  05-16-2011 23:39   OEBPS/Images/004.jpg
    89476  05-16-2011 23:39   OEBPS/Images/005.jpg
    57885  05-16-2011 23:39   OEBPS/Images/006.jpg
    78401  05-16-2011 23:39   OEBPS/Images/007.jpg
    69462  05-16-2011 23:39   OEBPS/Images/008.jpg
    90167  05-16-2011 23:40   OEBPS/Images/009.jpg
    85241  05-16-2011 23:39   OEBPS/Images/010.jpg
   108279  05-16-2011 23:39   OEBPS/Images/011.jpg
    95528  05-16-2011 23:39   OEBPS/Images/012.jpg
    46610  05-16-2011 23:39   OEBPS/Images/013.jpg
    57130  05-16-2011 23:39   OEBPS/Images/014.jpg
    65170  05-16-2011 23:39   OEBPS/Images/015.jpg
    89018  05-16-2011 23:40   OEBPS/Images/016.jpg
    53144  05-16-2011 23:39   OEBPS/Images/017.jpg
    76303  05-16-2011 23:39   OEBPS/Images/018.jpg
    43963  05-16-2011 23:39   OEBPS/Images/019.jpg
    81223  05-16-2011 23:39   OEBPS/Images/020.jpg
    48955  05-16-2011 23:40   OEBPS/Images/021.jpg
    81996  05-16-2011 23:40   OEBPS/Images/022.jpg
   105643  05-16-2011 23:39   OEBPS/Images/023.jpg
    73574  05-16-2011 23:39   OEBPS/Images/024.jpg
   120572  05-16-2011 23:39   OEBPS/Images/025.jpg
    53192  05-16-2011 23:39   OEBPS/Images/026.jpg
    78387  05-16-2011 23:39   OEBPS/Images/027.jpg
    75008  05-16-2011 23:39   OEBPS/Images/028.jpg
    52501  05-16-2011 23:39   OEBPS/Images/029.jpg
    97457  05-16-2011 23:39   OEBPS/Images/030.jpg
    76822  05-16-2011 23:39   OEBPS/Images/031.jpg
   218695  05-16-2011 23:39   OEBPS/Images/032.jpg
   108540  05-16-2011 23:39   OEBPS/Images/033.jpg
    60822  05-16-2011 23:39   OEBPS/Images/034.jpg
    52154  05-16-2011 23:39   OEBPS/Images/035.jpg
    51770  05-16-2011 23:39   OEBPS/Images/036.jpg
    84850  05-16-2011 23:39   OEBPS/Images/037.jpg
   125068  05-16-2011 23:39   OEBPS/Images/038.jpg
    90850  05-16-2011 23:39   OEBPS/Images/039.jpg
    86993  05-16-2011 23:39   OEBPS/Images/040.jpg
    87377  05-16-2011 23:39   OEBPS/Images/041.jpg
    68257  05-16-2011 23:39   OEBPS/Images/042.jpg
    66531  05-16-2011 23:39   OEBPS/Images/043.jpg
    82598  05-16-2011 23:39   OEBPS/Images/044.jpg
    96429  05-16-2011 23:40   OEBPS/Images/045.jpg
    44206  05-16-2011 23:39   OEBPS/Images/046.jpg
      869  05-16-2011 23:39   OEBPS/Images/1by8.gif
   153651  05-16-2011 23:39   OEBPS/Images/9781846142628.jpg
    17637  05-16-2011 23:39   OEBPS/Images/pub.jpg
      875  05-16-2011 23:39   OEBPS/Images/star.gif
     2294  06-18-2011 00:40   OEBPS/Styles/page-template.xpgt
     7803  06-18-2011 00:40   OEBPS/Styles/stylesheet.css
     4346  06-18-2011 00:40   OEBPS/Text/acknowledgements.html
     3437  06-18-2011 00:40   OEBPS/Text/appendix.html
    20519  06-18-2011 00:40   OEBPS/Text/backmatter1.html
     8210  06-18-2011 00:40   OEBPS/Text/backmatter2.html
     4046  06-18-2011 00:40   OEBPS/Text/bibliography.html
    54212  06-18-2011 00:40   OEBPS/Text/chapter001.html
    73898  06-18-2011 00:40   OEBPS/Text/chapter002.html
    41737  06-18-2011 00:40   OEBPS/Text/chapter003.html
    89181  06-18-2011 00:40   OEBPS/Text/chapter004.html
    39860  06-18-2011 00:40   OEBPS/Text/chapter005.html
     3841  06-18-2011 00:40   OEBPS/Text/copyright.html
      540  06-18-2011 00:40   OEBPS/Text/cover.html
      844  06-18-2011 00:40   OEBPS/Text/frontmater1.html
    31633  06-18-2011 00:40   OEBPS/Text/frontmatter.html
    52597  06-18-2011 00:40   OEBPS/Text/index.html
      269  06-18-2011 00:40   OEBPS/Text/page-map.xml
      992  06-18-2011 00:40   OEBPS/Text/title.html
     2095  06-18-2011 00:40   OEBPS/Text/toc.html
---------                     -------
  4354489                     74 files

I can supply the CSS file (hoping no copyright issues for that), but guessing from the errors that the contents of the file might not be the issue?

This happens when opening via Calibire with the built in open-with, double clicking on the epub and starting Sigil from a cygwin shell.

According the modification time, I last edited this epub in 2011(!).
snarkophilus is offline   Reply With Quote
Advert
Old 11-15-2019, 05:32 AM   #126
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Try removing that adobe page template (.xpgt) from the zip archive and see if it will load. If so, we'll have our culprit. You don't see those files much anymore. Perhaps we've not run into one yet since the 0.9.991 overhaul?
DiapDealer is offline   Reply With Quote
Old 11-15-2019, 06:00 AM   #127
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Please make a copy of the original epub, then manually unzip it.
Then please paste the exact OPF manifest entries that relate to these files, especially the href and mediatype for those specific files..

OEBPS/Styles/page-template.xpgt
OEBPS/Styles/stylesheet.css

My guess there is something unique about them.

KevinH

Quote:
Originally Posted by snarkophilus View Post
When I try to open a specific epub I get the following output from Sigil (yay cygwin ):

Code:
[3228:20216:1115/170205.254:ERROR:cache_util_win.cc(19)] Unable to move the cache: 5
[3228:20216:1115/170205.254:ERROR:cache_util.cc(140)] Unable to move cache folder C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\GPUCache to C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\old_GPUCache_000
[3228:20216:1115/170205.254:ERROR:disk_cache.cc(168)] Unable to create cache
[3228:20216:1115/170205.254:ERROR:shader_disk_cache.cc(620)] Shader Cache Creation failed: -2
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css"
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt"
and just after that the following in a popup:

Code:
Error info: Cannot load file C:\Users\Simon\Calibre Library\Robert Penn\It's All About the Bike (158)\It's All About the Bike - Robert Penn.epub: OEBPS/Text/stylesheet.css
Sigil version: 0.9.991
Runtime Qt: 5.12.3
Compiled Qt: 5.12.3
System: Windows 10 (10.0)
Architecture: x86_64
If I manually remove the ...QtWebEngine\Default\GPUCache folder that removes most of the console output, but I still get the following two lines and the same popup.

Code:
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css"
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt"
Here's the output from "unzip -l" on the epub:

Spoiler:
Code:
  Length      Date    Time    Name
---------  ---------- -----   ----
       20  06-18-2011 00:40   mimetype
      265  06-18-2011 00:39   META-INF/container.xml
     8310  06-18-2011 00:40   OEBPS/content.opf
     2931  06-18-2011 00:40   OEBPS/toc.ncx
   106191  05-16-2011 23:39   OEBPS/Images/001.jpg
    72862  05-16-2011 23:39   OEBPS/Images/002.jpg
    87387  05-16-2011 23:39   OEBPS/Images/003.jpg
    84890  05-16-2011 23:39   OEBPS/Images/004.jpg
    89476  05-16-2011 23:39   OEBPS/Images/005.jpg
    57885  05-16-2011 23:39   OEBPS/Images/006.jpg
    78401  05-16-2011 23:39   OEBPS/Images/007.jpg
    69462  05-16-2011 23:39   OEBPS/Images/008.jpg
    90167  05-16-2011 23:40   OEBPS/Images/009.jpg
    85241  05-16-2011 23:39   OEBPS/Images/010.jpg
   108279  05-16-2011 23:39   OEBPS/Images/011.jpg
    95528  05-16-2011 23:39   OEBPS/Images/012.jpg
    46610  05-16-2011 23:39   OEBPS/Images/013.jpg
    57130  05-16-2011 23:39   OEBPS/Images/014.jpg
    65170  05-16-2011 23:39   OEBPS/Images/015.jpg
    89018  05-16-2011 23:40   OEBPS/Images/016.jpg
    53144  05-16-2011 23:39   OEBPS/Images/017.jpg
    76303  05-16-2011 23:39   OEBPS/Images/018.jpg
    43963  05-16-2011 23:39   OEBPS/Images/019.jpg
    81223  05-16-2011 23:39   OEBPS/Images/020.jpg
    48955  05-16-2011 23:40   OEBPS/Images/021.jpg
    81996  05-16-2011 23:40   OEBPS/Images/022.jpg
   105643  05-16-2011 23:39   OEBPS/Images/023.jpg
    73574  05-16-2011 23:39   OEBPS/Images/024.jpg
   120572  05-16-2011 23:39   OEBPS/Images/025.jpg
    53192  05-16-2011 23:39   OEBPS/Images/026.jpg
    78387  05-16-2011 23:39   OEBPS/Images/027.jpg
    75008  05-16-2011 23:39   OEBPS/Images/028.jpg
    52501  05-16-2011 23:39   OEBPS/Images/029.jpg
    97457  05-16-2011 23:39   OEBPS/Images/030.jpg
    76822  05-16-2011 23:39   OEBPS/Images/031.jpg
   218695  05-16-2011 23:39   OEBPS/Images/032.jpg
   108540  05-16-2011 23:39   OEBPS/Images/033.jpg
    60822  05-16-2011 23:39   OEBPS/Images/034.jpg
    52154  05-16-2011 23:39   OEBPS/Images/035.jpg
    51770  05-16-2011 23:39   OEBPS/Images/036.jpg
    84850  05-16-2011 23:39   OEBPS/Images/037.jpg
   125068  05-16-2011 23:39   OEBPS/Images/038.jpg
    90850  05-16-2011 23:39   OEBPS/Images/039.jpg
    86993  05-16-2011 23:39   OEBPS/Images/040.jpg
    87377  05-16-2011 23:39   OEBPS/Images/041.jpg
    68257  05-16-2011 23:39   OEBPS/Images/042.jpg
    66531  05-16-2011 23:39   OEBPS/Images/043.jpg
    82598  05-16-2011 23:39   OEBPS/Images/044.jpg
    96429  05-16-2011 23:40   OEBPS/Images/045.jpg
    44206  05-16-2011 23:39   OEBPS/Images/046.jpg
      869  05-16-2011 23:39   OEBPS/Images/1by8.gif
   153651  05-16-2011 23:39   OEBPS/Images/9781846142628.jpg
    17637  05-16-2011 23:39   OEBPS/Images/pub.jpg
      875  05-16-2011 23:39   OEBPS/Images/star.gif
     2294  06-18-2011 00:40   OEBPS/Styles/page-template.xpgt
     7803  06-18-2011 00:40   OEBPS/Styles/stylesheet.css
     4346  06-18-2011 00:40   OEBPS/Text/acknowledgements.html
     3437  06-18-2011 00:40   OEBPS/Text/appendix.html
    20519  06-18-2011 00:40   OEBPS/Text/backmatter1.html
     8210  06-18-2011 00:40   OEBPS/Text/backmatter2.html
     4046  06-18-2011 00:40   OEBPS/Text/bibliography.html
    54212  06-18-2011 00:40   OEBPS/Text/chapter001.html
    73898  06-18-2011 00:40   OEBPS/Text/chapter002.html
    41737  06-18-2011 00:40   OEBPS/Text/chapter003.html
    89181  06-18-2011 00:40   OEBPS/Text/chapter004.html
    39860  06-18-2011 00:40   OEBPS/Text/chapter005.html
     3841  06-18-2011 00:40   OEBPS/Text/copyright.html
      540  06-18-2011 00:40   OEBPS/Text/cover.html
      844  06-18-2011 00:40   OEBPS/Text/frontmater1.html
    31633  06-18-2011 00:40   OEBPS/Text/frontmatter.html
    52597  06-18-2011 00:40   OEBPS/Text/index.html
      269  06-18-2011 00:40   OEBPS/Text/page-map.xml
      992  06-18-2011 00:40   OEBPS/Text/title.html
     2095  06-18-2011 00:40   OEBPS/Text/toc.html
---------                     -------
  4354489                     74 files

I can supply the CSS file (hoping no copyright issues for that), but guessing from the errors that the contents of the file might not be the issue?

This happens when opening via Calibire with the built in open-with, double clicking on the epub and starting Sigil from a cygwin shell.

According the modification time, I last edited this epub in 2011(!).

Last edited by KevinH; 11-15-2019 at 06:02 AM.
KevinH is offline   Reply With Quote
Old 11-15-2019, 11:16 AM   #128
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
As far as I can tell, this is the last outstanding bug report on the alpha. So please post the OPF itself **before** it is loaded in Sigil or at least the OPF manifest lines for those style related files from **before** it is loaded in Sigil so that I can track this one down and either fix the bug or help harden the code against these types of errors.
KevinH is offline   Reply With Quote
Old 11-15-2019, 01:14 PM   #129
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by DiapDealer View Post
Try removing that adobe page template (.xpgt) from the zip archive and see if it will load. If so, we'll have our culprit. You don't see those files much anymore. Perhaps we've not run into one yet since the 0.9.991 overhaul?
I'm not entirely understanding this bug or what you need, but I just loaded 3 old epubs with an .xpgt into 0.9.991(build 211 for Mac) and Sigil had no problems opening the epub.

Let me know if there are any tests you'd like me to run or what sort of results you need to help.
odamizu is offline   Reply With Quote
Old 11-15-2019, 01:29 PM   #130
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes page templates should not be the issue. I think that this specific epub OPF has either incorrect media types or href values for those files or something else strange such as duplicate entries or ids. I really need to see that opf to see if my guess is correct or not.

Once I know what the issue is I can try to harden the code to prevent problems from errors of this type.


Quote:
Originally Posted by odamizu View Post
I'm not entirely understanding this bug or what you need, but I just loaded 3 old epubs with an .xpgt into 0.9.991(build 211 for Mac) and Sigil had no problems opening the epub.

Let me know if there are any tests you'd like me to run or what sort of results you need to help.
KevinH is offline   Reply With Quote
Old 11-15-2019, 06:48 PM   #131
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by KevinH View Post
Please make a copy of the original epub, then manually unzip it.
Then please paste the exact OPF manifest entries that relate to these files, especially the href and mediatype for those specific files..

OEBPS/Styles/page-template.xpgt
OEBPS/Styles/stylesheet.css

My guess there is something unique about them.

KevinH
Here's the entries for both:

Code:
    <item href="Styles/stylesheet.css" id="css" media-type="txt/css" />
    <item href="Styles/page-template.xpgt" id="pt" media-type="application/vnd.adobe-page-map+xml" />
Just removing the xpgt file and not touching anything else now gives just the error for the css file and it still doesn't load:

Code:
Debug: LoadFolderStructure Issue:  "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css"
I've found a second file that has a similar problem, but it complains about font entries. This one is hosted here on mobileread (!), so no copyright problems - Three Men In A Boat at https://www.mobileread.com/forums/sh...ad.php?t=48377
snarkophilus is offline   Reply With Quote
Old 11-15-2019, 06:53 PM   #132
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
txt/css is not a valid media-type. the actual media type should be text/css
KevinH is offline   Reply With Quote
Old 11-15-2019, 07:01 PM   #133
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
And for xpgt files the correct mediatype is "application/vnd.adobe-page-template+xml" not the page-map one provided there.

So both mediatypes are incorrect as I suspected.

I think the only solution for broken opf manifest entries is to reverse lookup the provided media-type in an extension table (or visa-versa) and make sure it matches what is provided and create a Warning Dialog to let the user know this opf manifest item is broken.
KevinH is offline   Reply With Quote
Old 11-15-2019, 07:02 PM   #134
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: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
I will also force the use of the bookpath provided by the href no matter what.

Thanks for getting back to me so that I can try to harden things to errors like this.
KevinH is offline   Reply With Quote
Old 11-15-2019, 07:02 PM   #135
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by KevinH View Post
txt/css is not a valid media-type. the actual media type should be text/css
Not sure what to suggest for a fix. Sigil used to be able to edit this, at least in 2011 .

Here's the relevent entries for the fonts in Three Men In A Boat:
Code:
    <item id="fontinbold_font" href="fonts/Fontin-Bold.ttf" media-type="application/x-truetype-font"/>
    <item id="fontinitalic_font" href="fonts/Fontin-Italic.ttf" media-type="application/x-truetype-font"/>
        <item id="fontinregular_font" href="fonts/Fontin-Regular.ttf" media-type="application/x-truetype-font"/>
snarkophilus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5.8.11 Pre=release knc1 Kindle Developer's Corner 21 04-17-2018 08:42 PM
Overdrive - Search for Pre-Release nynaevelan General Discussions 11 11-24-2013 02:27 PM
Where are the pre-release purchase buttons? Sydney's Mom General Discussions 8 09-06-2012 10:57 PM
KF Android 4.0 Pre-Release Version robertc88 Kindle Fire 22 01-22-2012 07:24 PM
PDF Viewer 0.3.0 pre-release pruss Android Devices 62 11-22-2011 11:18 AM


All times are GMT -4. The time now is 08:04 PM.


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