Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 09-29-2015, 07:23 PM   #76
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: 8,103
Karma: 5450184
Join Date: Nov 2009
Device: many
Hi All,
Just pushed fixes for a number of issues reported here and elsewhere:

- TOC segfaults,
- Missing TOC headers when text nested inside spans (or any other tags)
- A fix for our Windows stability issue (Thank the stars!)
- A fix for self-closing iframe tags in the body making gumbo stumble

With the earlier crash fixes and hang on adding cover fixes, I think I am up to date on reported bugs.

So if anyone is building their own please pull once again from Master and rebuild and please let DiapDealer and I know if you run into any other nastiness.

Thanks,

KevinH
KevinH is offline  
Old 09-30-2015, 01:46 AM   #77
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,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
- TOC segfaults,
- Missing TOC headers when text nested inside spans (or any other tags)
- A fix for self-closing iframe tags in the body making gumbo stumble
The above bugs have been fixed; at least they no longer occur in Linux builds based on the latest github files.
Doitsu is offline  
Advert
Old 09-30-2015, 10:55 AM   #78
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,925
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Anyone who hasn't already, might want to take notice that Flightcrew (which is no longer an integral feature of Sigil) is available as a plugin (from the releases page). There is a separate plugin for each platform.

FlightCrew_v0.9.0(osx|unx|win).zip.
DiapDealer is online now  
Old 10-01-2015, 06:34 AM   #79
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Any trick to installing plug-ins? (I've done it in Calibre; never in Sigil.) I love Flight Crew!
Notjohn is offline  
Old 10-01-2015, 07:01 AM   #80
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,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Notjohn View Post
Any trick to installing plug-ins? (I've done it in Calibre; never in Sigil.) I love Flight Crew!
It's all pretty straightforward.
  1. Download FlightCrew if you have a Windows PC. Otherwise select the OSX version.
  2. Select Plugins > Manage Plugins
  3. Click the Auto button after Python 3.4
  4. Click Add Plugin, select the plugin zip file and click OK.
  5. Select Plugins > Validation > FlightCrew.

Since the first Sigil 0.8.9 Windows build has some bugs, you may want to postpone your Sigil 0.8.9 update until KevinH has uploaded a new Windows version.
Doitsu is offline  
Advert
Old 10-01-2015, 10:58 AM   #81
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Or hopefully a versioned minor release.
Bad habit to make releases not match source code.
eschwartz is offline  
Old 10-01-2015, 11:32 AM   #82
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,925
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
Or hopefully a versioned minor release.
Bad habit to make releases not match source code.
Well the (pre)release version DID match the source code at the time it was tagged/released. And of course the next versioned minor pre-release will match the source-code when it's tagged. I'm not sure I'm following you. We've had one pre-release so far (0.8.900). Bugs were discovered and fixed. We are now preparing for a second versioned pre-release. In the meantime, there are a few Linux users who are now building from the development source to take advantage of those bugfixes (as is their perogative). Windows and Mac users are of course free to do the same.

Doitsu's advice was basically, "there are some bugs in the first pre-release. You may want to wait until the next pre-release version." There are no "bad habits" in play here. There's been no release that doesn't match the source code. Nor will there be. Surely you didn't think we were going to upload an updated windows binary to an pre-existing release?

Last edited by DiapDealer; 10-01-2015 at 11:37 AM.
DiapDealer is online now  
Old 10-01-2015, 11:43 AM   #83
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Sorry, awkward wording did indeed make me think that for a second Happened a couple times for calibre, which didn't thrill me.

I shouldn't have made that association.
eschwartz is offline  
Old 10-01-2015, 11:49 AM   #84
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,925
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
No prob. I was fairly certain we were doing it "right." But you never know.
DiapDealer is online now  
Old 10-02-2015, 02:58 AM   #85
v_x
Junior Member
v_x began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2009
Device: Kindle and soft on iOS
link to file

Quote:
Originally Posted by KevinH View Post
Hi v_x,



I am running the same build on the same Mac OS X and not seeing this at all.

The only reason it would rename the files on load would be if the same file names (ignoring directories) exist inside the epub. So please pm me here a link to the exact book that causes this issue for you.

Alternatively, you can simply do the following on your Mac

1. copy the offending epub to your Desktop and rename it test.epub

2. Open Terminal.app and enter these commands in the resulting terminal and post the results here

cd ~/Desktop
unzip -t test.epub


That will tell me if the offending book has duplicate file names someplace.

Thanks,

KevinH
Yes, please, link to the epub:
https://www.dropbox.com/s/czi2imsp4g...elot.epub?dl=0
But this bug repeats in any files. I tested dozen epubs and the same result ;(
v_x is offline  
Old 10-02-2015, 05:13 AM   #86
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,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by v_x View Post
Yes, please, link to the epub:
https://www.dropbox.com/s/czi2imsp4g...elot.epub?dl=0
But this bug repeats in any files. I tested dozen epubs and the same result ;(
@v_x: I've had a look at your file and I believe that you most likely misinterpret the display of your OSX archiving software, because Sigil won't rearrange files in the spine unless you tell it to. Sigil will normalize the input files and put them in dedicated folders, but that's all.
If you manipulate epubs outside of Sigl and rezip the epub file, some archive managers might actually display the files in the order in which they were physically added to a zip file. However, most apps will sort the files by file name (see screen capture).
If you resave an epub file, Sigil might save the files in a different order in the zip file, however, none of this matters for epub files. The only requirements is that the mimetype file needs to be added first to the archive.

1. How exactly did you create the epub before you opened it for the first time with Sigil?
2. What kind of archive manager do you use?
Attached Thumbnails
Click image for larger version

Name:	screen.png
Views:	159
Size:	67.9 KB
ID:	142511  
Doitsu is offline  
Old 10-02-2015, 05:54 AM   #87
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Doitsu View Post
It's all pretty straightforward.
Thanks. I've printed out your List, against the day.
Notjohn is offline  
Old 10-02-2015, 07:07 AM   #88
v_x
Junior Member
v_x began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2009
Device: Kindle and soft on iOS
Quote:
Originally Posted by Doitsu View Post
@v_x: I've had a look at your file and I believe that you most likely misinterpret the display of your OSX archiving software, because Sigil won't rearrange files in the spine unless you tell it to. Sigil will normalize the input files and put them in dedicated folders, but that's all.
If you manipulate epubs outside of Sigl and rezip the epub file, some archive managers might actually display the files in the order in which they were physically added to a zip file. However, most apps will sort the files by file name (see screen capture).
If you resave an epub file, Sigil might save the files in a different order in the zip file, however, none of this matters for epub files. The only requirements is that the mimetype file needs to be added first to the archive.

1. How exactly did you create the epub before you opened it for the first time with Sigil?
2. What kind of archive manager do you use?
Dear Doitsu,
file was created year ago in previous versions of Sigil. I did not use any archive apps. The right order in file in screenshot (from Sigil 0.8.7) https://www.dropbox.com/s/ee3dzfyj3i...04.12.jpg?dl=0
or in content.opf file:
<spine toc="id6">
<itemref idref="main.xhtml" />
<itemref idref="epi.xhtml" />
<itemref idref="lanc1.xhtml" />
<itemref idref="schm.xhtml" />
<itemref idref="fund.xhtml" />
<itemref idref="mikh.xhtml" />
<itemref idref="mikh-notes.xhtml" />
<itemref idref="zab.xhtml" />
<itemref idref="zab-notes.xhtml" />
<itemref idref="notes-lanc.xhtml" />
<itemref idref="about.xhtml" />
</spine>
v_x is offline  
Old 10-02-2015, 08:10 AM   #89
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,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by v_x View Post
The right order in [the] content.opf file:
Code:
<spine toc="id6">
    <itemref idref="main.xhtml" />
    <itemref idref="epi.xhtml" />
    <itemref idref="lanc1.xhtml" />
    <itemref idref="schm.xhtml" />
    <itemref idref="fund.xhtml" />
    <itemref idref="mikh.xhtml" />
    <itemref idref="mikh-notes.xhtml" />
    <itemref idref="zab.xhtml" />
    <itemref idref="zab-notes.xhtml" />
    <itemref idref="notes-lanc.xhtml" />
    <itemref idref="about.xhtml" />
</spine>
I've opened and saved your test file with the 0.8.9 Windows and Linux Sigil versions and the spine order hasn't changed. It is therefore rather unlikely, though not impossible, that the OSX version behaves differently, unless there's something strange about your file.

EDIT: If you manually edit the .opf file in Sigil, Sigil will under certain circumstances regenerate the .opf file. Did you by any chance manually edit the .opf file? If so what did you change?

Last edited by Doitsu; 10-02-2015 at 08:24 AM.
Doitsu is offline  
Old 10-02-2015, 08:39 AM   #90
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,925
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Doitsu has a point. Sigil will recreate an opf that it deems to be broken. The spine will likely be alphabetized in that situation. There will be a comment in the opf file indicating that is what happened, though.
DiapDealer is online now  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Plugin Features in the upcoming Sigil 0.8.900 KevinH Plugins 6 09-14-2015 02:48 PM
Sigil 0.8.0 Released user_none Sigil 126 10-11-2014 07:52 PM
Sigil 0.7.1 Released user_none Sigil 64 03-26-2013 10:02 PM
Sigil 0.4.2 Released user_none Sigil 41 10-26-2011 06:03 AM
Sigil 0.4.1 Released user_none Sigil 50 09-01-2011 04:58 PM


All times are GMT -4. The time now is 12:28 PM.


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