Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-29-2012, 12:57 PM   #106
Doitsu
Wizard
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: 1,683
Karma: 4392001
Join Date: Dec 2010
Device: Kindle 3
Quote:
Originally Posted by Danger View Post
I do this when replacing straight quote marks with proper curly quotes:
You can save yourself a lot of search and replace actions by using Calibre with Kiwidude's Modify Epub plugin. Simply select "Smarten Punctuation" and let the plugin do its magic.
Note that the heuristic algorithm is pretty good, but not 100% perfect.
If you don't want to use Calibre you can also test the "Smarten Punctuation" feature with DiapDealer's SmartyPants Python wrapper. (Both use the same python script.)
Doitsu is offline  
Old 06-29-2012, 01:23 PM   #107
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: 8,295
Karma: 36122446
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
Quote:
Originally Posted by Doitsu View Post
If you don't want to use Calibre you can also test the "Smarten Punctuation" feature with DiapDealer's SmartyPants Python wrapper. (Both use the same python script.)
I would probably defer to the Modify Epub plugin if at all possible. Simply because it (and the underlying calibre routine) takes a few extra precautions to prevent the destruction of things like html comments (SmartyPants on its own will convert any occurrence of -- to an emdash by default. "<!-- Hello -->"... you get the idea). I also believe the SmartyPants script that ships with calibre has some modifications that are not included with the last official version of SmartyPants. I posted my wrapper script before I knew the Modify Epub plugin was an option. But have at it if you're adventurous.
DiapDealer is offline  
Old 06-30-2012, 12:12 PM   #108
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,592
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Screen Capture

Still no sequence, but here is a screen shot of the problem mentioned in http://www.mobileread.com/forums/sho...4&postcount=92
Attached Thumbnails
Click image for larger version

Name:	Sigil902mo replace.jpg
Views:	80
Size:	294.6 KB
ID:	88534  
theducks is online now  
Old 06-30-2012, 11:56 PM   #109
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,592
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Talking Surefire way to crash

902 on XP repeatable.

Open a Epub. Open a section using the book browser: (do nothing else)
Now right-click in the Vertical scrollbar- select bottom.

Bingo!
If you do anything ON the page, selecting bottom does not chrash
theducks is online now  
Old 07-01-2012, 06:01 AM   #110
exaltedwombat
Evangelist
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 1703930
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by theducks View Post
902 on XP repeatable.

Open a Epub. Open a section using the book browser: (do nothing else)
Now right-click in the Vertical scrollbar- select bottom.

Bingo!
If you do anything ON the page, selecting bottom does not chrash
Doesn't happen on this Windows 7 machine.
exaltedwombat is offline  
Old 07-01-2012, 06:45 AM   #111
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,685
Karma: 1356787
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Epub causes crash

Attached epub causes the beta to crash on Windows Vista 64 bit.

It does open in calibre and in epubreader. Even if it is malformed, which I will investigate, it needs to fail more gracefully.

It does not crash in .5.3.
Attached Files
File Type: epub Prince_Bismarck_From_Waterloo_to_Versail.epub (1.25 MB, 26 views)

Last edited by mrmikel; 07-01-2012 at 06:52 AM.
mrmikel is offline  
Old 07-01-2012, 07:26 AM   #112
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: 8,295
Karma: 36122446
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
Quote:
Originally Posted by mrmikel View Post
Attached epub causes the beta to crash on Windows Vista 64 bit.

It does open in calibre and in epubreader. Even if it is malformed, which I will investigate, it needs to fail more gracefully.

It does not crash in .5.3.
It doesn't crash on Linux (0.5.902) either.
DiapDealer is offline  
Old 07-01-2012, 07:41 AM   #113
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Re: Epub causes crash: It does crash on my compiled version of 0.5.902 under Ubuntu 12.04. Any fix may not be able to do more than display an error before crashing, if that, depending on what it is.

Last edited by meme; 07-01-2012 at 08:29 AM.
meme is offline  
Old 07-01-2012, 07:48 AM   #114
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 639
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD
Quote:
Originally Posted by theducks View Post
902 on XP repeatable.

Open a Epub. Open a section using the book browser: (do nothing else)
Now right-click in the Vertical scrollbar- select bottom.

Bingo!
If you do anything ON the page, selecting bottom does not chrash
Does happen on my XP.
Perkin is offline  
Old 07-01-2012, 08:15 AM   #115
exaltedwombat
Evangelist
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 1703930
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by mrmikel View Post
Attached epub causes the beta to crash on Windows Vista 64 bit.

It does open in calibre and in epubreader. Even if it is malformed, which I will investigate, it needs to fail more gracefully.

It does not crash in .5.3.
It opens for me in the beta on W7-64.

Validates with errors:

OEBPS/Text/_page_map_.xml This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

OEBPS/content.opf line 55 The <item> element's "media-type" attribute has value "application/oebps-page-map+xml", but the file's media type is "application/xhtml+xml".

OEBPS/content.opf line 57 The "page-map" attribute is not an allowed attribute of the <spine> element.
exaltedwombat is offline  
Old 07-01-2012, 09:13 AM   #116
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: 8,295
Karma: 36122446
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
The proprietary Adobe page map file and media-type will always show up as an error/warning in the various ePub validators... it's not spec, after all. But it shouldn't cause any crashes (NOTE: I'm not saying that IS what's causing the crashing).
DiapDealer is offline  
Old 07-01-2012, 11:33 AM   #117
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,685
Karma: 1356787
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Epub causes crash

This file does not have content.opf, but volume.opf which contains what I believe would be in content.opf. It seems to be allowable, but it does not seem to be common.
mrmikel is offline  
Old 07-01-2012, 12:56 PM   #118
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 540
Karma: 64420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by mrmikel View Post
Epub causes crash

This file does not have content.opf, but volume.opf which contains what I believe would be in content.opf. It seems to be allowable, but it does not seem to be common.
That should be OK, I think, as long as "volume.opf" is correctly identified in the META-INF/container.xml file as the rootfile.

ETA: but Sigil will "normalize" it upon first loading, though.

Last edited by st_albert; 07-01-2012 at 01:00 PM.
st_albert is offline  
Old 07-01-2012, 04:39 PM   #119
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,685
Karma: 1356787
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
There is another book with identical issue.

Load into .5.3 and save doing nothing. Then loads ok in the beta.

Looks like isn't looking for volume in the beta maybe?
mrmikel is offline  
Old 07-01-2012, 08:48 PM   #120
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 540
Karma: 64420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by mrmikel View Post
There is another book with identical issue.

Load into .5.3 and save doing nothing. Then loads ok in the beta.

Looks like isn't looking for volume in the beta maybe?
So, looks like the beta chokes on reading in certain "non standard" epub layouts.
st_albert is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
0.5.901 (0.6.0 beta) avaliable user_none Sigil 118 06-19-2012 08:59 PM
0.4.903 (0.5 beta) Avaliable user_none Sigil 77 01-03-2012 09:24 PM
0.4.902 (0.5 beta) Avaliable user_none Sigil 65 12-18-2011 11:58 AM
No Avaliable format ? ? ? Janette55 Library Management 5 04-16-2011 04:09 PM
Beta 2.0.3 firmware 902 problems Roos PocketBook 15 12-15-2010 10:11 AM


All times are GMT -4. The time now is 12:27 AM.


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