Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2020, 01:23 AM   #1
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: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Sigil 1.1.0 "losing" files

Hi folks,

Twice now Sigil has "lost" some files in an epub. The missing files are the cover image in the root folder, the META-INF folder and the container.xml inside that, and all 18 images in the images folder and the folder itself. Sigil is still running and the cover and other images still appear in the book browser (first attachment).

The files in the previous epub (unzip -l) are:
Spoiler:
Code:
Archive:  Sherlock Holmes Omnibus - Sir Arthur Conan Doyle-ORIG-AI.epub
  Length      Date    Time    Name
---------  ---------- -----   ----
       20  03-09-2020 00:50   mimetype
      534  03-09-2020 00:50   adventures-01.html
     1603  03-09-2020 00:50   adventures-02.html
    54039  03-09-2020 00:50   adventures-03.html
    56016  03-09-2020 00:50   adventures-04.html
    42256  03-09-2020 00:50   adventures-05.html
    57539  03-09-2020 00:50   adventures-06.html
    44992  03-09-2020 00:50   adventures-07.html
    55548  03-09-2020 00:50   adventures-08.html
    48668  03-09-2020 00:50   adventures-09.html
    59819  03-09-2020 00:50   adventures-10.html
    49927  03-09-2020 00:50   adventures-11.html
    50841  03-09-2020 00:50   adventures-12.html
    57491  03-09-2020 00:50   adventures-13.html
    59628  03-09-2020 00:50   adventures-14.html
      530  03-09-2020 00:50   baskervilles-01.html
     1907  03-09-2020 00:50   baskervilles-02.html
    14879  03-09-2020 00:50   baskervilles-03.html
    23169  03-09-2020 00:50   baskervilles-04.html
    19778  03-09-2020 00:50   baskervilles-05.html
    26220  03-09-2020 00:50   baskervilles-06.html
    22746  03-09-2020 00:50   baskervilles-07.html
    21223  03-09-2020 00:50   baskervilles-08.html
    30473  03-09-2020 00:50   baskervilles-09.html
    16022  03-09-2020 00:50   baskervilles-10.html
    38310  03-09-2020 00:50   baskervilles-11.html
    21914  03-09-2020 00:50   baskervilles-12.html
    27796  03-09-2020 00:50   baskervilles-13.html
    30212  03-09-2020 00:50   baskervilles-14.html
    22021  03-09-2020 00:50   baskervilles-15.html
    24872  03-09-2020 00:50   baskervilles-16.html
    23564  03-09-2020 00:50   baskervilles-17.html
      533  03-09-2020 00:50   case-book-01.html
     1837  03-09-2020 00:50   case-book-02.html
     4345  03-09-2020 00:50   case-book-03.html
    38072  03-09-2020 00:50   case-book-04.html
    59163  03-09-2020 00:50   case-book-05.html
    47586  03-09-2020 00:50   case-book-06.html
    38413  03-09-2020 00:50   case-book-07.html
    38122  03-09-2020 00:50   case-book-08.html
    59064  03-09-2020 00:50   case-book-09.html
    39215  03-09-2020 00:50   case-book-10.html
    46468  03-09-2020 00:50   case-book-11.html
    44572  03-09-2020 00:50   case-book-12.html
    35190  03-09-2020 00:50   case-book-13.html
    26962  03-09-2020 00:50   case-book-14.html
    39239  03-09-2020 00:50   case-book-15.html
    25315  03-09-2020 00:50   content.opf
    39314  03-09-2020 00:50   cover.jpeg
      912  03-09-2020 00:50   cover.xhtml
    12309  03-09-2020 00:50   images/00001.jpg
    15692  03-09-2020 00:50   images/00002.jpg
    19318  03-09-2020 00:50   images/00003.jpg
    26647  03-09-2020 00:50   images/00004.jpg
    11476  03-09-2020 00:50   images/00005.jpg
    12001  03-09-2020 00:50   images/00006.jpg
    11217  03-09-2020 00:50   images/00007.jpg
     7438  03-09-2020 00:50   images/00008.jpg
     9706  03-09-2020 00:50   images/00009.jpg
     1154  03-09-2020 00:50   images/00010.jpg
     1154  03-09-2020 00:50   images/00011.jpg
     7438  03-09-2020 00:50   images/00012.jpg
     1996  03-09-2020 00:50   images/00013.jpg
    10086  03-09-2020 00:50   images/00014.jpg
    27994  03-09-2020 00:50   images/00015.jpg
    17994  03-09-2020 00:50   images/00016.jpg
     6747  03-09-2020 00:50   images/00017.jpg
     6856  03-09-2020 00:50   images/00018.jpg
     1333  03-09-2020 00:50   index.html
      513  03-09-2020 00:50   last-bow-01.html
     1272  03-09-2020 00:50   last-bow-02.html
     1376  03-09-2020 00:50   last-bow-03.html
    69703  03-09-2020 00:50   last-bow-04.html
    68573  03-09-2020 00:50   last-bow-05.html
    60014  03-09-2020 00:50   last-bow-06.html
    44929  03-09-2020 00:50   last-bow-07.html
    47452  03-09-2020 00:50   last-bow-08.html
    36655  03-09-2020 00:50   last-bow-09.html
    38075  03-09-2020 00:50   last-bow-10.html
      531  03-09-2020 00:50   memoirs-01.html
     1543  03-09-2020 00:50   memoirs-02.html
    59483  03-09-2020 00:50   memoirs-03.html
    50791  03-09-2020 00:50   memoirs-04.html
    43759  03-09-2020 00:50   memoirs-05.html
    42221  03-09-2020 00:50   memoirs-06.html
    46519  03-09-2020 00:50   memoirs-07.html
    45098  03-09-2020 00:50   memoirs-08.html
    44875  03-09-2020 00:50   memoirs-09.html
    41894  03-09-2020 00:50   memoirs-10.html
    40666  03-09-2020 00:50   memoirs-11.html
    43715  03-09-2020 00:50   memoirs-12.html
    78308  03-09-2020 00:50   memoirs-13.html
    42967  03-09-2020 00:50   memoirs-14.html
      259  03-09-2020 00:50   META-INF/container.xml
      530  03-09-2020 00:50   return-01.html
     1839  03-09-2020 00:50   return-02.html
    50993  03-09-2020 00:50   return-03.html
    56638  03-09-2020 00:50   return-04.html
    58327  03-09-2020 00:50   return-05.html
    46902  03-09-2020 00:50   return-06.html
    71933  03-09-2020 00:50   return-07.html
    49492  03-09-2020 00:50   return-08.html
    40648  03-09-2020 00:50   return-09.html
    49617  03-09-2020 00:50   return-10.html
    41035  03-09-2020 00:50   return-11.html
    53664  03-09-2020 00:50   return-12.html
    50204  03-09-2020 00:50   return-13.html
    53992  03-09-2020 00:50   return-14.html
    60756  03-09-2020 00:50   return-15.html
      519  03-09-2020 00:50   scarlet-01.html
     1949  03-09-2020 00:50   scarlet-02.html
      685  03-09-2020 00:50   scarlet-03.html
    17695  03-09-2020 00:50   scarlet-04.html
    21928  03-09-2020 00:50   scarlet-05.html
    24598  03-09-2020 00:50   scarlet-06.html
    15616  03-09-2020 00:50   scarlet-07.html
    15650  03-09-2020 00:50   scarlet-08.html
    20958  03-09-2020 00:50   scarlet-09.html
    20328  03-09-2020 00:50   scarlet-10.html
      538  03-09-2020 00:50   scarlet-11.html
    22697  03-09-2020 00:50   scarlet-12.html
    15623  03-09-2020 00:50   scarlet-13.html
    11656  03-09-2020 00:50   scarlet-14.html
    20761  03-09-2020 00:50   scarlet-15.html
    20966  03-09-2020 00:50   scarlet-16.html
    25391  03-09-2020 00:50   scarlet-17.html
    12960  03-09-2020 00:50   scarlet-18.html
      636  03-09-2020 00:50   scarlet-19.html
      517  03-09-2020 00:50   sign-01.html
     1579  03-09-2020 00:50   sign-02.html
    18540  03-09-2020 00:50   sign-03.html
    12244  03-09-2020 00:50   sign-04.html
    11041  03-09-2020 00:50   sign-05.html
    22522  03-09-2020 00:50   sign-06.html
    16117  03-09-2020 00:50   sign-07.html
    19702  03-09-2020 00:50   sign-08.html
    25620  03-09-2020 00:50   sign-09.html
    21349  03-09-2020 00:50   sign-10.html
    22428  03-09-2020 00:50   sign-11.html
    20053  03-09-2020 00:50   sign-12.html
    13040  03-09-2020 00:50   sign-13.html
    57257  03-09-2020 00:50   sign-14.html
     3313  03-09-2020 00:50   stylesheet.css
      689  03-09-2020 00:50   title.html
    14595  03-09-2020 00:50   toc.ncx
      519  03-09-2020 00:50   valley-01.html
     1786  03-09-2020 00:50   valley-02.html
      536  03-09-2020 00:50   valley-03.html
    19624  03-09-2020 00:50   valley-04.html
    18056  03-09-2020 00:50   valley-05.html
    20934  03-09-2020 00:50   valley-06.html
    23959  03-09-2020 00:50   valley-07.html
    25735  03-09-2020 00:50   valley-08.html
    28197  03-09-2020 00:50   valley-09.html
    34782  03-09-2020 00:50   valley-10.html
      525  03-09-2020 00:50   valley-11.html
    19449  03-09-2020 00:50   valley-12.html
    35308  03-09-2020 00:50   valley-13.html
    34580  03-09-2020 00:50   valley-14.html
    22824  03-09-2020 00:50   valley-15.html
    28109  03-09-2020 00:50   valley-16.html
    21250  03-09-2020 00:50   valley-17.html
    21658  03-09-2020 00:50   valley-18.html
     5052  03-09-2020 00:50   valley-19.html
---------                     -------
  4349839                     164 files


The files in the just saved epub are:
Spoiler:
Code:
Archive:  Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub
  Length      Date    Time    Name
---------  ---------- -----   ----
       20  03-14-2020 15:52   mimetype
      534  03-14-2020 15:52   adventures-01.html
     1603  03-14-2020 15:52   adventures-02.html
    54039  03-14-2020 15:52   adventures-03.html
    56016  03-14-2020 15:52   adventures-04.html
    42256  03-14-2020 15:52   adventures-05.html
    57539  03-14-2020 15:52   adventures-06.html
    44992  03-14-2020 15:52   adventures-07.html
    55548  03-14-2020 15:52   adventures-08.html
    48668  03-14-2020 15:52   adventures-09.html
    59819  03-14-2020 15:52   adventures-10.html
    49927  03-14-2020 15:52   adventures-11.html
    50841  03-14-2020 15:52   adventures-12.html
    57491  03-14-2020 15:52   adventures-13.html
    59628  03-14-2020 15:52   adventures-14.html
      530  03-14-2020 15:52   baskervilles-01.html
     1907  03-14-2020 15:52   baskervilles-02.html
    14879  03-14-2020 15:52   baskervilles-03.html
    23169  03-14-2020 15:52   baskervilles-04.html
    19778  03-14-2020 15:52   baskervilles-05.html
    26220  03-14-2020 15:52   baskervilles-06.html
    22746  03-14-2020 15:52   baskervilles-07.html
    21223  03-14-2020 15:52   baskervilles-08.html
    30473  03-14-2020 15:52   baskervilles-09.html
    16022  03-14-2020 15:52   baskervilles-10.html
    38310  03-14-2020 15:52   baskervilles-11.html
    21914  03-14-2020 15:52   baskervilles-12.html
    27796  03-14-2020 15:52   baskervilles-13.html
    30212  03-14-2020 15:52   baskervilles-14.html
    22021  03-14-2020 15:52   baskervilles-15.html
    24872  03-14-2020 15:52   baskervilles-16.html
    23564  03-14-2020 15:52   baskervilles-17.html
      533  03-14-2020 15:52   case-book-01.html
     1837  03-14-2020 15:52   case-book-02.html
     4345  03-14-2020 15:52   case-book-03.html
    38072  03-14-2020 15:52   case-book-04.html
    59163  03-14-2020 15:52   case-book-05.html
    47586  03-14-2020 15:52   case-book-06.html
    38413  03-14-2020 15:52   case-book-07.html
    38122  03-14-2020 15:52   case-book-08.html
    59064  03-14-2020 15:52   case-book-09.html
    39215  03-14-2020 15:52   case-book-10.html
    46468  03-14-2020 15:52   case-book-11.html
    44572  03-14-2020 15:52   case-book-12.html
    35190  03-14-2020 15:52   case-book-13.html
    26962  03-14-2020 15:52   case-book-14.html
    39239  03-14-2020 15:52   case-book-15.html
    25315  03-14-2020 15:52   content.opf
      912  03-14-2020 15:52   cover.xhtml
     1333  03-14-2020 15:52   index.html
      513  03-14-2020 15:52   last-bow-01.html
     1272  03-14-2020 15:52   last-bow-02.html
     1376  03-14-2020 15:52   last-bow-03.html
    69703  03-14-2020 15:52   last-bow-04.html
    68573  03-14-2020 15:52   last-bow-05.html
    60014  03-14-2020 15:52   last-bow-06.html
    44929  03-14-2020 15:52   last-bow-07.html
    47452  03-14-2020 15:52   last-bow-08.html
    36655  03-14-2020 15:52   last-bow-09.html
    38075  03-14-2020 15:52   last-bow-10.html
      531  03-14-2020 15:52   memoirs-01.html
     1543  03-14-2020 15:52   memoirs-02.html
    59483  03-14-2020 15:52   memoirs-03.html
    50791  03-14-2020 15:52   memoirs-04.html
    43759  03-14-2020 15:52   memoirs-05.html
    42221  03-14-2020 15:52   memoirs-06.html
    46519  03-14-2020 15:52   memoirs-07.html
    45098  03-14-2020 15:52   memoirs-08.html
    44875  03-14-2020 15:52   memoirs-09.html
    41894  03-14-2020 15:52   memoirs-10.html
    40666  03-14-2020 15:52   memoirs-11.html
    43715  03-14-2020 15:52   memoirs-12.html
    78308  03-14-2020 15:52   memoirs-13.html
    42967  03-14-2020 15:52   memoirs-14.html
      530  03-14-2020 15:52   return-01.html
     1839  03-14-2020 15:52   return-02.html
    50993  03-14-2020 15:52   return-03.html
    56638  03-14-2020 15:52   return-04.html
    58327  03-14-2020 15:52   return-05.html
    46902  03-14-2020 15:52   return-06.html
    71933  03-14-2020 15:52   return-07.html
    49492  03-14-2020 15:52   return-08.html
    40648  03-14-2020 15:52   return-09.html
    49617  03-14-2020 15:52   return-10.html
    41035  03-14-2020 15:52   return-11.html
    53666  03-14-2020 15:52   return-12.html
    50204  03-14-2020 15:52   return-13.html
    53992  03-14-2020 15:52   return-14.html
    60756  03-14-2020 15:52   return-15.html
      519  03-14-2020 15:52   scarlet-01.html
     1949  03-14-2020 15:52   scarlet-02.html
      685  03-14-2020 15:52   scarlet-03.html
    17695  03-14-2020 15:52   scarlet-04.html
    21928  03-14-2020 15:52   scarlet-05.html
    24598  03-14-2020 15:52   scarlet-06.html
    15616  03-14-2020 15:52   scarlet-07.html
    15650  03-14-2020 15:52   scarlet-08.html
    20958  03-14-2020 15:52   scarlet-09.html
    20328  03-14-2020 15:52   scarlet-10.html
      538  03-14-2020 15:52   scarlet-11.html
    22697  03-14-2020 15:52   scarlet-12.html
    15623  03-14-2020 15:52   scarlet-13.html
    11656  03-14-2020 15:52   scarlet-14.html
    20761  03-14-2020 15:52   scarlet-15.html
    20966  03-14-2020 15:52   scarlet-16.html
    25391  03-14-2020 15:52   scarlet-17.html
    12960  03-14-2020 15:52   scarlet-18.html
      636  03-14-2020 15:52   scarlet-19.html
      517  03-14-2020 15:52   sign-01.html
     1579  03-14-2020 15:52   sign-02.html
    18540  03-14-2020 15:52   sign-03.html
    12244  03-14-2020 15:52   sign-04.html
    11041  03-14-2020 15:52   sign-05.html
    22522  03-14-2020 15:52   sign-06.html
    16117  03-14-2020 15:52   sign-07.html
    19702  03-14-2020 15:52   sign-08.html
    25620  03-14-2020 15:52   sign-09.html
    21349  03-14-2020 15:52   sign-10.html
    22428  03-14-2020 15:52   sign-11.html
    20053  03-14-2020 15:52   sign-12.html
    13040  03-14-2020 15:52   sign-13.html
    57257  03-14-2020 15:52   sign-14.html
     3313  03-14-2020 15:52   stylesheet.css
      689  03-14-2020 15:52   title.html
    14595  03-14-2020 15:52   toc.ncx
      519  03-14-2020 15:52   valley-01.html
     1786  03-14-2020 15:52   valley-02.html
      536  03-14-2020 15:52   valley-03.html
    19624  03-14-2020 15:52   valley-04.html
    18056  03-14-2020 15:52   valley-05.html
    20934  03-14-2020 15:52   valley-06.html
    23959  03-14-2020 15:52   valley-07.html
    25735  03-14-2020 15:52   valley-08.html
    28197  03-14-2020 15:52   valley-09.html
    34782  03-14-2020 15:52   valley-10.html
      525  03-14-2020 15:52   valley-11.html
    19449  03-14-2020 15:52   valley-12.html
    35308  03-14-2020 15:52   valley-13.html
    34580  03-14-2020 15:52   valley-14.html
    22824  03-14-2020 15:52   valley-15.html
    28109  03-14-2020 15:52   valley-16.html
    21250  03-14-2020 15:52   valley-17.html
    21658  03-14-2020 15:52   valley-18.html
     5052  03-14-2020 15:52   valley-19.html
---------                     -------
  4103045                     144 files


If I try to open one of the images from the book browser Sigil thinks there's just a 0x0 image instead of the original (second attachment).

I think these files went "missing" not long after the file was previously saved about a week ago, as the modified time on the Sigil temp directory is about 2 hours after the time I last saved the file. I haven't made any edits the epub until today.

This is a Sherlock Holmes omnibus from Mobileread, and in a long-running edit. This instance of Sigil was started on Feb 20. The previous time this happened was on March 1. I thought it might have been some sort of operator error, but now that it's happened a second time here's a bug report. I release that there's little in this bug report that helps reproduce this .

I've still got Sigil opened, but need to reboot sometime in the next day or two (yay forced MS patches). Unfortunately Sigil was started from Calibre, so I don't have a possible log of anything. After I reboot for patching, I'll open Sigil via Calibre just in case it happens again and something interesting is reported by the problem.

This is Sigil 1.1.0 on Windows 10 version 1909.
Attached Thumbnails
Click image for larger version

Name:	image-20200314-155410.png
Views:	215
Size:	4.7 KB
ID:	177683   Click image for larger version

Name:	image-20200314-161240.png
Views:	149
Size:	4.4 KB
ID:	177684  
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 02:41 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
AFAIK, Sigil will only remove files, if they're not manifested or if the manifest contains invalid paths.

Did you manually edit content.opf? If so, you've most likely created invalid entries.

Please also post the contents of the original .opf file and the current .opf file.
Doitsu is offline   Reply With Quote
Old 03-14-2020, 04:24 AM   #3
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: 426
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 Doitsu View Post
AFAIK, Sigil will only remove files, if they're not manifested or if the manifest contains invalid paths.

Did you manually edit content.opf? If so, you've most likely created invalid entries.
No manual editing of content.opf. My epub edits have been restricted to text only.

Quote:
Please also post the contents of the original .opf file and the current .opf file.
I've attached the current .opf. The original is exactly the same except for the date line which was (2020-03-14 in the current file).

Code:
<dc:date opf:event="modification" xmlns:opf="http://www.idpf.org/2007/opf">2020-03-09</dc:date>
I just tried to open a copy of the faulty epub in a new Sigil instance. It opens without any messages or errors, but all the images including the cover are missing. EPUBCheck complains:
Code:
FATAL(RSC-002): Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub(-1,-1): Required META-INF/container.xml resource could not be found.
ERROR(RSC-001): Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub(-1,-1): File 'META-INF/container.xml' could not be found.

Check finished with errors
Messages: 1 fatal / 1 error / 0 warnings / 0 infos

EPUBCheck completed
FlightCrew complains about all the (now) missing images including the cover.
Attached Files
File Type: opf content.opf (24.7 KB, 160 views)
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 05:11 AM   #4
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: 28,344
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Not a whole lot we can do without steps to reproduce (preferably without calibre's Open With being involved). I will note that the modification time on Sigil's temp directory will have little correlation to the last time an epub might have been saved.

You're certain you weren't manually accessing the contents of Sigil's temp directory at any time during this extended edit?

I freely admit that workflows that involve the same epub being left open for weeks at a time baffle the bajeezus out of me.
DiapDealer is offline   Reply With Quote
Old 03-14-2020, 05:13 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by snarkophilus View Post
I just tried to open a copy of the faulty epub in a new Sigil instance. It opens without any messages or errors, but all the images including the cover are missing.
Since you're apparently working on a Public Domain book, can you please also attach the actual epub?
This'll make it easier for KevinH and DiapDealer to narrow down the issue.

AFAIK, macOS Sigil users occasionally lost files, if they kept epubs open too long in Sigil. If you're a macOS user, you might want to change the temp folder location (Edit > Preferences > General Settings > Advanced) to a non-system folder.
Doitsu is offline   Reply With Quote
Old 03-14-2020, 05:58 AM   #6
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: 426
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
Not a whole lot we can do without steps to reproduce (preferably without calibre's Open With being involved).
Yeah, I knew that. I realise "leave Sigil open for ages" isn't really a step. Really at this stage I'm just reporting what I've seen since it's happened twice.

After I reboot to do the Win10 patching, I'll start Sigil from Cygwin so I can capture any console output (if any).

Quote:
I will note that the modification time on Sigil's temp directory will have little correlation to the last time an epub might have been saved.
I meant that was likely the time that the images and cover and container.xml disappeared, since adding or removing a file will update the directory timestamp.

Quote:
You're certain you weren't manually accessing the contents of Sigil's temp directory at any time during this extended edit?
Yep, absolutely certain. I had to go hunting to check what was inside that dir.

Quote:
I freely admit that workflows that involve the same epub being left open for weeks at a time baffle the bajeezus out of me.
This is a "tidy up a bit when I feel like it" exercise. Hence no changes for almost a week. No rush

Quote:
Originally Posted by Doitsu View Post
Since you're apparently working on a Public Domain book, can you please also attach the actual epub?
This'll make it easier for KevinH and DiapDealer to narrow down the issue.
I've attached it here (the previous version that still had the images), although as pointed out above it's not likely to help narrow down the issue.

Quote:
AFAIK, macOS Sigil users occasionally lost files, if they kept epubs open too long in Sigil. If you're a macOS user, you might want to change the temp folder location (Edit > Preferences > General Settings > Advanced) to a non-system folder.
Win10 (mentioned in first post).
Attached Files
File Type: epub Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub (1.70 MB, 161 views)
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 06:24 AM   #7
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by snarkophilus View Post
I've attached it here (the previous version that still had the images), although as pointed out above it's not likely to help narrow down the issue.
Can you also please attach the working version that fails epubcheck?
Doitsu is offline   Reply With Quote
Old 03-14-2020, 06:32 AM   #8
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: 426
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 Doitsu View Post
Can you also please attach the working version that fails epubcheck?
Here is the current (non)working version.
Attached Files
File Type: epub Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub (1.48 MB, 166 views)
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 06:51 AM   #9
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: 28,344
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by snarkophilus View Post
This is a "tidy up a bit when I feel like it" exercise. Hence no changes for almost a week. No rush
What does that have to do with leaving the epub open in Sigil that entire time?

I have all kinds of "when I feel like it" projects going. But still I save and close the epub regularly. What advantage is there in doing it in one continuous session? Is it really just to save a few clicks?I

I would love to have the original epub that you first opened on Feb 20th if at all possible.
DiapDealer is offline   Reply With Quote
Old 03-14-2020, 07:19 AM   #10
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: 426
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
What does that have to do with leaving the epub open in Sigil that entire time?

I have all kinds of "when I feel like it" projects going. But still I save and close the epub regularly. What advantage is there in doing it in one continuous session? Is it really just to save a few clicks?
Oh, I save often, copy some checkpoints every now and then, and have nightly backups as well.

As for why one continuous session, mostly laziness I guess? It's easier to remember where you're up to if it's sitting there right in front of you. Otherwise I'd have to note down somewhere where I was up to for next time I opened it. This is also the only "when I feel like it" project I'm actually doing right now.

That said, this is easily the longest I've ever Sigiled one book (is Sigiled a verb??). But I'm also the person who has way too many browser tabs open at any one time as well. That's just my workflow.

Quote:
I would love to have the original epub that you first opened on Feb 20th if at all possible.
Attached.
Attached Files
File Type: epub Sherlock Holmes Omnibus - Sir Arthur Conan Doyle.epub (1.71 MB, 141 views)
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 07:29 AM   #11
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: 28,344
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Can you remember which plugins you may have used on the epub during that time?
DiapDealer is offline   Reply With Quote
Old 03-14-2020, 07:31 AM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
IMO temp folders (user and system) belong to Windows. MS may have smuggled in a 'Dynamic cleanup of temporary folders based on Last Used date' feature into a Windows patch release and forgot to tell anyone.

I suggest the OP gives Sigil a dedicated temporary folder as per Doitsu's instructions.

Added : an EPUB isn't a file when it's being edited, its a structured collection of linked files in a directory - but an OS doesn't know that, it just sees a bunch of files in sub folder in a location it 'manages' as it pleases.

BR

Last edited by BetterRed; 03-14-2020 at 07:40 AM.
BetterRed is offline   Reply With Quote
Old 03-14-2020, 07:33 AM   #13
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: 426
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
Can you remember which plugins you may have used on the epub during that time?
I very occassionally run the EPUBCheck plugin. Maybe I've run it once or twice for this Sigil session. No others.
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 08:00 AM   #14
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: 426
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 BetterRed View Post
IMO temp folders (user and system) belong to Windows. MS may have smuggled in a 'Dynamic cleanup of temporary folders' feature into a Windows patch release and forgot to tell anyone.

I suggest the OP gives Sigil a dedicated temporary folder as per Doitsu's instructions.
Oh, the idea that Windows could have done this behind my back is ... worrying.

Dig, dig, dig ...

Well bugger? This link on the MS community forum talks about auto-cleanup. As per the attached screenshot, I do have this Storage Sense option enabled, but it shouldn't have touched anything less than 30 days old. Going from some of my old backups of this epub, it looks like the timestamps on the images gets updated each save (part of the zipping process?).

Currently the temp folder is set to <SIGIL_DEFAULT_TEMP_HOME>.

I think for now I'll set my Sigil temp folder outside ...\AppData\Local\Temp and see if this problem goes away after my patch reboot.
Attached Thumbnails
Click image for larger version

Name:	image-20200314-224428.png
Views:	145
Size:	8.9 KB
ID:	177693  
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 08:31 AM   #15
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: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Replying to myself ...

Quote:
Originally Posted by snarkophilus View Post
Oh, the idea that Windows could have done this behind my back is ... worrying.

[ ... ]

I think for now I'll set my Sigil temp folder outside ...\AppData\Local\Temp and see if this problem goes away after my patch reboot.
This indeed looks to be the problem. I have another long running Sigil with a different Sherlock Holmes omnibus open that I haven't touched in a couple of weeks. If I try to "Open with ..." a file, I get the following error:

Code:
Error info: C:/Users/simon/AppData/Local/Temp/Sigil-FUHGdb/book_split_139.html: The system cannot find the path specified.
And sure enough, there isn't even a Sigil-FUHGdb folder in my AppData/Local/Temp folder.

I also didn't read that previous screenshot closely enough - the 30 days was for emptying the recycle bin. I have no idea how often Windows cleans up temporary files, but it seems that anything older than say a week is fair game.

Is the use case for keeping Sigil open for "a while" (for whatever definition of "a while" might suit) something we need to think about for temp dir settings?

Thanks to Doitsu for pointing out what could have been the problem and BR for pointing it out a bit more forcefully .
snarkophilus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre-generated epub (from .docx) gives "e21027" "multiple opf files" on KindleGen GhostRider Conversion 2 08-28-2024 10:14 AM
Aluratek Libre Pro Is Suddenly "Losing" Words Byrdie Ectaco jetBook 8 08-30-2013 10:07 AM
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware VirgoGirl Kobo Reader 4 04-06-2012 02:10 PM
Sigil 024 and regular expressions on "all HTML files" WS64 Sigil 4 08-13-2010 07:33 PM
Importing "big" XHTML files in Sigil paulpeer Sigil 8 03-19-2010 05:00 AM


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


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