Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2020, 01:59 PM   #1
captpete
Member
captpete began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Florida
Device: Samsung Galaxy Tab A 8" (2017)
PDB not loading in Viewer in 4.15

Just upgraded to 4.15 from the "3" version and my PDB eBooks won't load giving me this:

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 444, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb with error:
InputFormatPlugin: PDB Input running
on D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
integer argument expected, got float (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\pdb_inp ut.py", line 34, in convert
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 336, in __init__
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 216, in __init__
TypeError: integer argument expected, got float
captpete is offline   Reply With Quote
Old 05-11-2020, 05:27 PM   #2
Bookstooge
Member Retired
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Posts: 805
Karma: 2091358
Join Date: May 2019
Device: Kindle Oasis 1st Gen, PB Era
What is your OS and can you view non-pdb books ok?
Bookstooge is offline   Reply With Quote
Advert
Old 05-11-2020, 05:59 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by captpete View Post
Just upgraded to 4.15 from the "3" version and my PDB eBooks won't load giving me this:

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 444, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb with error:
InputFormatPlugin: PDB Input running
on D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
integer argument expected, got float (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\pdb_inp ut.py", line 34, in convert
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 336, in __init__
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 216, in __init__
TypeError: integer argument expected, got float
Using Linux Mint 19.3 calibre 4.15 opens all of my PDB books correctly. Had to dig deep for them long ago converted them to epub.

bernie
gbm is offline   Reply With Quote
Old 05-11-2020, 06:04 PM   #4
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: 79,730
Karma: 145864619
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 captpete View Post
Just upgraded to 4.15 from the "3" version and my PDB eBooks won't load giving me this:

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 444, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb with error:
InputFormatPlugin: PDB Input running
on D:\Calibre Library\Edgar Rice Burroughs\At the Earth's Core (8720)\At the Earth's Core - Edgar Rice Burroughs.pdb
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
integer argument expected, got float (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\pdb_inp ut.py", line 34, in convert
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 336, in __init__
File "site-packages\calibre\ebooks\pdb\plucker\reader.py", line 216, in __init__
TypeError: integer argument expected, got float
Do you still read PDB (eReader format)? If not, convert to what it is you do read.
JSWolf is offline   Reply With Quote
Old 05-11-2020, 11:55 PM   #5
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,341
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...89117cd215145f
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Viewer displays nothing when loading any book from my database alansplace Calibre 28 02-22-2020 08:56 PM
Calibre Viewer: loading next section iBookMan Calibre 5 12-16-2019 04:45 PM
Faster loading of EPUBs in viewer? democrite Calibre 7 11-17-2019 01:30 PM
Problem with Server Viewer loading new files thiago.eec Server 1 05-24-2019 07:46 AM
Problems with converting Palm PDB-PDF files to other formats/show in calibre-viewer Tobago Calibre 7 04-29-2010 04:57 PM


All times are GMT -4. The time now is 03:22 AM.


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