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

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2013, 11:11 AM   #511
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: 15,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by miquele View Post
Hi kiwidude,

with the latest update to calibre 0.9.28 on Windows XP and the respective upgrade of the plug-in it doesn't work anymore. Any pointers?

Thanks a lot and as always, happy reading!
____

Error Msg:
Count Page/Word Statistics
Python function terminated unexpectedly
do_count_statistics() takes at least 6 arguments (6 given) (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "site-packages\calibre\utils\ipc\worker.py", line 136, in arbitrary_n
TypeError: do_count_statistics() takes at least 6 arguments (6 given)
I run 9.28 on XP SP3: I used Count Pages plugin all the time (on EPUB)
No problems.

I have it configured for:
Pages, ADE algorithm
Flesh-Kincaid
Gunning Fox

Button default: Estimate page counts
Overwrite existing word/page counts
theducks is offline   Reply With Quote
Old 05-03-2013, 12:31 PM   #512
edwdecarlo
Enthusiast
edwdecarlo began at the beginning.
 
Posts: 36
Karma: 41
Join Date: Nov 2011
Location: North Kingstown, RI, USA
Device: Kindle DX,Fire HD
Quote:
Originally Posted by miquele View Post
Hi kiwidude,

with the latest update to calibre 0.9.28 on Windows XP and the respective upgrade of the plug-in it doesn't work anymore. Any pointers?

Thanks a lot and as always, happy reading!
____

Error Msg:
Count Page/Word Statistics
Python function terminated unexpectedly
do_count_statistics() takes at least 6 arguments (6 given) (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "site-packages\calibre\utils\ipc\worker.py", line 136, in arbitrary_n
TypeError: do_count_statistics() takes at least 6 arguments (6 given)
I also use Count Pages regularly, and since upgrading to calibre 0.9.28. I page count against both EBUB and MOBI (which I believe is converted to EPUB to perform the count) without any issues.

I am running Count Pages v1.6.5. See screen shot for my current Count Pages settings. I have included my page and word count custom column definitions as well.

Note: I have seen a number of plug-in updates due to changes made to calibre 0.9.29. So there may be a new update for this plug-in as well.
Attached Thumbnails
Click image for larger version

Name:	count_pages.jpg
Views:	97
Size:	96.9 KB
ID:	105303   Click image for larger version

Name:	page.jpg
Views:	89
Size:	56.7 KB
ID:	105304   Click image for larger version

Name:	word.jpg
Views:	90
Size:	56.5 KB
ID:	105305  
edwdecarlo is offline   Reply With Quote
Old 05-03-2013, 02:31 PM   #513
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
This sort of error can occur if you ignore the warning telling you to restart calibre after updating a plugin... other than that, the plugin is working perfectly fine for both me and other users as shown above.
kiwidude is offline   Reply With Quote
Old 05-04-2013, 12:23 PM   #514
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,528
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
0.9.29 and I can count pages just fine.
JSWolf is offline   Reply With Quote
Old 05-04-2013, 04:34 PM   #515
miquele
Connoisseur
miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.
 
miquele's Avatar
 
Posts: 74
Karma: 498122
Join Date: May 2010
Location: Europe
Device: Bookeen Cybook Gen3, Kindle 3, Galaxy SIII, Kindle PW
it's working again, dunno what happened. Not sure if I forgot to restart, thanks for your responses.
miquele is offline   Reply With Quote
Old 05-08-2013, 03:29 PM   #516
SimpleText
Junior Member
SimpleText began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Kindle PW
For Mac users:

0. Download the original plugin.
1. Unzip "Count Pages.zip", a folder named "Count Pages" will be created.
2. Inside that folder locate and open the file "statistics.py" (TextWrangler -free- works fine).
3. Find and replace the line 108:

Code:
Find:    "            internal_path = os.path.relpath(spath, iterator.base).replace('\\','/')"
Replace: "            internal_path = os.path.relpath(spath.replace('/private',''), iterator.base).replace('\\','/')"
(without quotes, of course)
4. Save "statistics.py"
5. Zip the contents of the folder "Count Pages". Note that is the contents (12 items), not the folder "Count Pages". Rename if neccesary the new zipped archive to "Count Pages.zip"
6. That's all, install and enjoy the plugin.

Have a nice day.

Edit: Fixed in the v1.6.6 release.

Last edited by SimpleText; 05-09-2013 at 12:09 PM.
SimpleText is offline   Reply With Quote
Old 05-08-2013, 09:45 PM   #517
loximuthal
Connoisseur
loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.
 
loximuthal's Avatar
 
Posts: 75
Karma: 86158
Join Date: Jan 2011
Location: Maryland
Device: NST, Kindle Fire, iPad2
Quote:
Originally Posted by SimpleText View Post
For Mac users:

0. Download the original plugin.
...
And why would I do this? I'm a Mac user and I've never had trouble with this plugin. What is your adjustment supposed to do?
loximuthal is offline   Reply With Quote
Old 05-08-2013, 10:34 PM   #518
SimpleText
Junior Member
SimpleText began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Kindle PW
Quote:
Originally Posted by loximuthal View Post
And why would I do this? I'm a Mac user and I've never had trouble with this plugin. What is your adjustment supposed to do?
Without the patch, the result of the algorithm "Adobe Digital Editions (ADE)" is always 0 pages. This patch fixes that.
SimpleText is offline   Reply With Quote
Old 05-09-2013, 10:05 AM   #519
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Hmmm... this plugin has been around for a couple of years now, and not one user has reported such an issue with it.

@loximuthal (or griker or others), are you able to confirm that this is the case? Maybe the other Mac users don't use this particular algorithm. I can add some platform specific conditional logic into the plugin if it requires it, but if others aren't having a problem I'm not changing anything..
kiwidude is offline   Reply With Quote
Old 05-09-2013, 11:15 AM   #520
SimpleText
Junior Member
SimpleText began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Kindle PW
Hi kiwidude,

These are the variables after the original (without the patch) line "internal_path = os.path.relpath(spath, iterator.base).replace('\\','/')":

Code:
5214
InputFormatPlugin: EPUB Input running
on /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/zP5YdP_count_pages/5214.epub
Found HTML cover OEBPS/Text/cubierta.xhtml
	 internal_path: ../../../../../../../private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/cubierta.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/cubierta.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/cubierta.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter
	
	 internal_path: ../../../../../../../private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/sinopsis.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/sinopsis.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/sinopsis.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter
	
	 internal_path: ../../../../../../../private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/titulo.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/titulo.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter/OEBPS/Text/titulo.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_ct8yl_/_zdfLl_ebook_iter

(...)
And these with the line patched to "internal_path = os.path.relpath(spath.replace('/private',''), iterator.base).replace('\\','/')":

Code:
5214
InputFormatPlugin: EPUB Input running
on /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/SHIXqM_count_pages/5214.epub
Found HTML cover OEBPS/Text/cubierta.xhtml
	 internal_path: OEBPS/Text/cubierta.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/cubierta.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/cubierta.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter
	
	 internal_path: OEBPS/Text/sinopsis.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/sinopsis.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/sinopsis.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter
	
	 internal_path: OEBPS/Text/titulo.xhtml
	 size_map: {u'OEBPS/Images/image011.jpg': 33775, u'OEBPS/Text/Section0005.xhtml': 4996, u'OEBPS/Text/cubierta.xhtml': 313, u'OEBPS/Images/image019.jpg': 81509, u'OEBPS/content.opf': 1066, u'OEBPS/Text/': 2, u'OEBPS/Text/titulo.xhtml': 492, u'OEBPS/Images/image001.jpg': 16108, u'OEBPS/Text/dedicatoria.xhtml': 332, u'META-INF/': 2, u'OEBPS/Images/image015.jpg': 39965, u'OEBPS/Text/sinopsis.xhtml': 544, u'OEBPS/Images/image017.jpg': 48441, u'OEBPS/Text/Section0003.xhtml': 5509, u'OEBPS/Images/': 2, u'OEBPS/Text/Section0001.xhtml': 3187, u'OEBPS/Images/image003.jpg': 100310, u'OEBPS/toc.ncx': 573, u'OEBPS/Images/image005.jpg': 148467, u'OEBPS/Images/image009.jpg': 95950, u'OEBPS/Styles/style.css': 820, u'OEBPS/': 2, u'OEBPS/Text/Section0002.xhtml': 5246, u'OEBPS/Images/ePUBlogo.png': 9866, u'mimetype': 22, u'iTunesMetadata.plist': 456, u'OEBPS/Images/image013.jpg': 37836, u'OEBPS/Images/image007.jpg': 69221, u'META-INF/container.xml': 180, u'OEBPS/Styles/': 2, u'OEBPS/Images/cover.jpg': 428935, u'OEBPS/Text/Section0004.xhtml': 4181, u'OEBPS/Images/epubgratis.png': 9422, u'OEBPS/Images/image021.jpg': 138618}
	 ppath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/titulo.xhtml
	 spath: /private/var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter/OEBPS/Text/titulo.xhtml
	 iterator_base: /var/folders/pA/pANfBoGfGkSFPBMRtpMOCU+++TI/-Tmp-/calibre_0.9.29_tmp_oibyzh/krzQ0N_ebook_iter

(...)
I do not know Python, but it seems clear a issue with paths in Mac OS X.
SimpleText is offline   Reply With Quote
Old 05-09-2013, 11:26 AM   #521
loximuthal
Connoisseur
loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.loximuthal has not lost his or her sense of wonder.
 
loximuthal's Avatar
 
Posts: 75
Karma: 86158
Join Date: Jan 2011
Location: Maryland
Device: NST, Kindle Fire, iPad2
I was not using the ADE algorithm, so I suppose that is why I never noticed a problem. When I switched to it all my page counts did indeed come out "0". After making the change SimpleText recommends I began getting non-zero page counts with the ADE algorithm.
loximuthal is offline   Reply With Quote
Old 05-09-2013, 11:52 AM   #522
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.6.6 released

Changes in this release:
  • For Mac users using the ADE algorithm fix an issue with paths (as submitted by SimpleText)

Thanks to SimpleText for reporting the issue and fix and Loximuthal for verifying it, I don't have a Mac to test this myself.

@SimpleText - would you mind removing your attachment now, so people don't get confused about which version to download, thanks.
kiwidude is offline   Reply With Quote
Old 05-27-2013, 12:04 PM   #523
doudda
Enthusiast
doudda began at the beginning.
 
Posts: 27
Karma: 10
Join Date: May 2011
Device: Kindle
Hi. I created the custom columns like indicated, but I want to have a comma as a thousands separator.
I read the documentation and used {:,} as formatting.
But I always get a decimal point (23,987.0). Everything I can come up with, seems to increase the number of decimal points shown.
Could you tell me what can I do, please?

Thanks for your work and attention.
doudda is offline   Reply With Quote
Old 05-27-2013, 12:59 PM   #524
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@doudda - if you read the first post of this thread it has the instructions, you should use:
{0:,}
kiwidude is offline   Reply With Quote
Old 05-27-2013, 02:25 PM   #525
doudda
Enthusiast
doudda began at the beginning.
 
Posts: 27
Karma: 10
Join Date: May 2011
Device: Kindle
Quote:
Originally Posted by kiwidude View Post
@doudda - if you read the first post of this thread it has the instructions, you should use:
{0:,}
I read and I used {0:,} too. But I still get the '.0' at the end of each count.
doudda is offline   Reply With Quote
Reply

Tags
page count

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 797 12-16-2014 01:01 PM
[GUI Plugin] Open With kiwidude Plugins 251 12-15-2014 01:07 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 32 09-13-2014 11:34 PM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 01:02 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


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


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