Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2026, 11:46 AM   #241
DisabledReader
Junior Member
DisabledReader began at the beginning.
 
DisabledReader's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2024
Location: England
Device: Amazon Fire 7 (2022 Version) & FBReader Premium
Quote:
Originally Posted by theducks View Post
You can change the column TITLE for your Pages. I just made mine read PagesPI (do not change the lookup: #pages. the # makes it different)

PI = PlugIn version
Yes, I can.
I raised the point though for the thousands of users of the plugin that are not technically minded.
Telling them to go away and just make changes to their library setup, is likely to cause greater issues.
As the development is still in beta it would be better to change the internal column name, in my view anyway.
DisabledReader is online now   Reply With Quote
Old 01-09-2026, 12:11 PM   #242
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can have any number of columns with the same name. The new builtin column is not visible by default, most people would not even be aware it exists. And since column names is a global namespace such clashes are inevitable, the price of allowing people to create their own columns.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-09-2026, 12:41 PM   #243
DisabledReader
Junior Member
DisabledReader began at the beginning.
 
DisabledReader's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2024
Location: England
Device: Amazon Fire 7 (2022 Version) & FBReader Premium
Quote:
Originally Posted by kovidgoyal View Post
You can have any number of columns with the same name. The new builtin column is not visible by default, most people would not even be aware it exists. And since column names is a global namespace such clashes are inevitable, the price of allowing people to create their own columns.
Thank you for the clarification, Kovid.
DisabledReader is online now   Reply With Quote
Old 01-09-2026, 03:50 PM   #244
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: 81,512
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
You can change the column TITLE for your Pages. I just made mine read PagesPI (do not change the lookup: #pages. the # makes it different)

PI = PlugIn version
But then we could have used our Pages column for other things. So it's a matter of having to change something. And given this is a beta. it's best to have to change what's new.
JSWolf is offline   Reply With Quote
Old 01-09-2026, 05:42 PM   #245
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: 22,131
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
You can have any number of columns with the same name. The new builtin column is not visible by default, most people would not even be aware it exists. And since column names is a global namespace such clashes are inevitable, the price of allowing people to create their own columns.
Users cannot create two custom columns in the same library with the same Lookup name or Column header value.

Click image for larger version

Name:	column errors.jpg
Views:	29
Size:	284.9 KB
ID:	220170

The built-in "pages/Pages" column is visible in several places e.g.

Click image for larger version

Name:	dup columns.jpg
Views:	25
Size:	239.5 KB
ID:	220174

FTR - my (just for the sake of it) #space/Space column

Click image for larger version

Name:	space column.jpg
Views:	25
Size:	87.8 KB
ID:	220173

Hmmm - #swidth/Swidth (spine width) would be better.

BR

Last edited by BetterRed; 01-09-2026 at 05:46 PM. Reason: better image
BetterRed is online now   Reply With Quote
Advert
Old 01-09-2026, 06:54 PM   #246
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 550
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by BetterRed View Post
Users cannot create two custom columns in the same library with the same Lookup name or Column header value.

[...]

Hmmm - #swidth/Swidth (spine width) would be better.

BR
Yes, except that this limitation only apply on custom columns, you can create a cc with the same header than a build-in column without issue.
Click image for larger version

Name:	2026-01-09_23-45-11.png
Views:	15
Size:	10.9 KB
ID:	220178

And using any other name than "Pages (pages)" will not reflect that this column store a Pages count value. Yes, this value is mostly used in the Bookshelf but this value is transformed and could be used elsewhere, either by calibre or others users.

Last edited by un_pogaz; 01-09-2026 at 07:00 PM.
un_pogaz is offline   Reply With Quote
Old 01-09-2026, 07:15 PM   #247
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 550
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Hey @Kovid, after running the pages count on my entire library, I encounter this error:
Code:
Callstack:t#0 Error Source: main/PdfParser.cpp(97), Information: Unable to load objects from file
t#1 Error Source: main/PdfParser.cpp(143), Information: Unable to load xref entries
t#2 Error Source: main/PdfParser.cpp(356)
File: main/PdfParser.cpp Line: 97 Unable to load objects from file
File: main/PdfParser.cpp Line: 143 Unable to load xref entries
File: main/PdfParser.cpp Line: 356 

Traceback (most recent call last):
  File "/mnt/data/Workspaces/calibre/src/calibre/library/page_count.py", line 257, in serve_requests
    result = count_pages(path, executor)
  File "/mnt/data/Workspaces/calibre/src/calibre/library/page_count.py", line 188, in count_pages
    return count_pages_pdf(pathtoebook)
  File "/mnt/data/Workspaces/calibre/src/calibre/library/page_count.py", line 42, in count_pages_pdf
    return get_page_count(pathtoebook)
  File "/mnt/data/Workspaces/calibre/src/calibre/utils/podofo/__init__.py", line 183, in get_page_count
    p.load(raw)
    ~~~~~~^^^^^
podofo.Error: PdfErrorCode::NoEOFToken, No EOF Marker was found in the PDF file.
Callstack:t#0 Error Source: main/PdfParser.cpp(97), Information: Unable to load objects from file
t#1 Error Source: main/PdfParser.cpp(143), Information: Unable to load xref entries
t#2 Error Source: main/PdfParser.cpp(356)
File: main/PdfParser.cpp Line: 97 Unable to load objects from file
File: main/PdfParser.cpp Line: 143 Unable to load xref entries
File: main/PdfParser.cpp Line: 356
hmm, damn, after open it in Okular, page count seem out of sync, realy strange.
Since is a PDF I don't know how to share it.
un_pogaz is offline   Reply With Quote
Old 01-09-2026, 07:20 PM   #248
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a corrupted PDF that podofo cant read. It's not as tolerant of corrupted PDF as other software. And you can always share files by putting them in zip archives.
kovidgoyal is offline   Reply With Quote
Old 01-09-2026, 08:21 PM   #249
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: 81,512
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Are any fixes for 8.16.2 going to be part of the beta?
JSWolf is offline   Reply With Quote
Old 01-09-2026, 09:16 PM   #250
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,739
Karma: 9501032
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
@kovidgoyal

Not sure if this is a bug with Check Book in v8.99.x or if it has always been like this.

Noticed a paragraph with nested <p></p> tags but Check Book did not pick this up as an error. Tried with <div></div> tags also, and no error.

PHP Code:
<p>This is a <p></p>paragraph.</p
Should this be found?
Karellen is offline   Reply With Quote
Old 01-09-2026, 09:26 PM   #251
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Karellen: No nested <p> tags are not an error as they dont cause actual issues on any actual renderers that I know of.

@JSWolf: yes
kovidgoyal is offline   Reply With Quote
Old 01-09-2026, 09:44 PM   #252
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,739
Karma: 9501032
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
ok thanks @kovidgoyal
Karellen is offline   Reply With Quote
Old 01-09-2026, 09:46 PM   #253
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: 81,512
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Karellen View Post
@kovidgoyal

Not sure if this is a bug with Check Book in v8.99.x or if it has always been like this.

Noticed a paragraph with nested <p></p> tags but Check Book did not pick this up as an error. Tried with <div></div> tags also, and no error.

PHP Code:
<p>This is a <p></p>paragraph.</p
Should this be found?
epubcheck also will not flag these as an error because while bad code, they are not an error.
JSWolf is offline   Reply With Quote
Old 01-09-2026, 10:07 PM   #254
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by un_pogaz View Post
Yes, except that this limitation only apply on custom columns, you can create a cc with the same header than a build-in column without issue.
Actually, I see the same thing: Trying to create custom column with lookup name mypages and Column heading Pages fails: "The heading Pages is already in use."

Creating a custom column headed 'Authors'--your example--works, but not 'Pages'.

Creating a cc headed Pages in 8.16.2 and then opening in 8.99.3 gives the same error "The heading Pages is already in use" if I try to edit that cc.
JimmXinu is offline   Reply With Quote
Old 01-09-2026, 10:19 PM   #255
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,739
Karma: 9501032
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
epubcheck also will not flag these as an error because while bad code, they are not an error.
Bzzzz! Wrong.

.
Attached Thumbnails
Click image for larger version

Name:	nested_p.jpg
Views:	33
Size:	279.3 KB
ID:	220179  
Karellen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 5: Beta testers needed kovidgoyal Calibre 497 09-29-2020 01:58 AM
Beta testers needed kovidgoyal Calibre 75 08-18-2019 08:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 11:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 01:34 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 05:44 AM


All times are GMT -4. The time now is 09:23 AM.


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