Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2014, 01:57 PM   #1
holyfeld
Junior Member
holyfeld began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle
Problem reading .tpz format books

I'm trying to read a (kindle) book in Calibre. I add it to my library. It shows up with a file format of TPZ.

When I double click on the book I get a pop up window that says "Book Name" Already in calibre with buttons to select all, select non, copy to clipboard, cancel and OK.

I've been "Canceling"

I checked other .tpz files. They all show as tpz and behave the same when I try to read them in calibre.

I can read other books in my library that are not tpz format.

Ideas about what's happening and how I can read tpz formatted books in calibre?

Using Calibre 2.3 OSX 10.9.5
holyfeld is offline   Reply With Quote
Old 09-21-2014, 02:02 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by holyfeld View Post
I'm trying to read a (kindle) book in Calibre. I add it to my library. It shows up with a file format of TPZ.

When I double click on the book I get a pop up window that says "Book Name" Already in calibre with buttons to select all, select non, copy to clipboard, cancel and OK.

I've been "Canceling"

I checked other .tpz files. They all show as tpz and behave the same when I try to read them in calibre.

I can read other books in my library that are not tpz format.

Ideas about what's happening and how I can read tpz formatted books in calibre?

Using Calibre 2.3 OSX 10.9.5
I do not believe you will get much satisfaction from trying to read .tpz files in Calibre. As I understand it they basically just consist of a set of scanned images of pages so are not readily convertible to any other format.

I am not sure if the Kindle app for PC/Mac can read such books. I would have thought it could as .tpz is an Amazon format.
itimpi is offline   Reply With Quote
Advert
Old 09-21-2014, 04:13 PM   #3
holyfeld
Junior Member
holyfeld began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle
Quote:
Originally Posted by itimpi View Post
I do not believe you will get much satisfaction from trying to read .tpz files in Calibre. As I understand it they basically just consist of a set of scanned images of pages so are not readily convertible to any other format.

I am not sure if the Kindle app for PC/Mac can read such books. I would have thought it could as .tpz is an Amazon format.
The Kindle app for Mac can read the books.

I've gotten used to using Calibre. I can make due with Kindle, but it's like taking a step back in time.

I'm wondering why calibre tries to add the book a second time.
holyfeld is offline   Reply With Quote
Old 09-21-2014, 05:38 PM   #4
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: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@holyfeld - on windows I get this if I double click a TPZ book I add to calibre

Code:
calibre, version 2.3.0
ERROR: Unhandled exception: <b>WindowsError</b>:[Error 1155] No application is associated with the specified file for this operation: u'E:\\CalibreData\\_Test\\Whoever\\Whatever (198)\\Whatever - Whoever.tpz'

calibre 2.3 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: FictionDB && Count Pages && Beam Ebooks && Generate Cover && Open With && Quality Check && User Category && Favourites Menu && Quick Preferences && Manage Sony x50 Reader Book List && Reading List && Walk Search History && Barnes & Noble && Goodreads && Find Duplicates && Import List && Resize Cover && EpubSplit && View Manager && Extract ISBN && Modify ePub
Traceback (most recent call last):
  File "site-packages\calibre\gui2\actions\view.py", line 225, in view_triggered
  File "site-packages\calibre\gui2\actions\view.py", line 301, in _view_books
  File "site-packages\calibre\gui2\actions\view.py", line 260, in _view_calibre_books
  File "site-packages\calibre\gui2\actions\view.py", line 101, in view_format_by_id
  File "site-packages\calibre\gui2\actions\view.py", line 150, in _view_file
  File "site-packages\calibre\gui2\actions\view.py", line 140, in _launch_viewer
  File "site-packages\calibre\gui2\__init__.py", line 1120, in open_local_file
WindowsError: [Error 1155] No application is associated with the specified file for this operation: u'E:\\CalibreData\\_Test\\Whoever\\Whatever (198)\\Whatever - Whoever.tpz'
What do you have in Preferences->Tweaks-># Control behavior of the book list

And does your MAC have file association for TPZ, I don't have anything - hence the above msg makes sense.

Very odd that double click should want to add the book.

BR
BetterRed is online now   Reply With Quote
Old 09-21-2014, 06:06 PM   #5
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: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Double-click will open the book for reading.


Depending on the viewer configuration, calibre may want to open certain book formats using the OS default, instead of specifically passing it to the ebook-viewer.app; when the OS is configured to open certain filetypes with calibre GUI, you end up (re-)adding the book.
eschwartz is offline   Reply With Quote
Advert
Old 09-21-2014, 06:16 PM   #6
holyfeld
Junior Member
holyfeld began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
@holyfeld - on windows I get this if I double click a TPZ book I add to calibre

What do you have in Preferences->Tweaks-># Control behavior of the book list

And does your MAC have file association for TPZ, I don't have anything - hence the above msg makes sense.

Very odd that double click should want to add the book.
Preferences->Tweaks-># Control behavior of the book list says ...

Code:
# Control behavior of the book list

doubleclick_on_library_view = 'open_viewer'

horizontal_scrolling_per_column = TruE
TPZ was not associated with any programs. I set it to calibre.

How do I capture the log file to see what's happening when I doubleclick on the book?
holyfeld is offline   Reply With Quote
Old 09-21-2014, 06:28 PM   #7
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: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by holyfeld View Post
TPZ was not associated with any programs. I set it to calibre.

How do I capture the log file to see what's happening when I doubleclick on the book?
That is the problem. When you open the book for viewing, it is probably not configured to open with the internal viewer.

So calibre passes the file to the OS to open, and the OS is configured to open .tpz files with the calibre GUI.

When you open a file with the calibre GUI, it gets added to the library.

You must go to Preferences ===> Look & Feel ==> Behavior ==> Use internal viewer for:

and tick the box for TPZ.

...

Actually, no. There is no TPZ option, I think calibre doesn't understand it. I guess because the only ones in the wild are from Amazon and very possibly DRM-locked. And the plugin-that-must-not-be-named renames it to HTMLZ.

(You can capture the log file by running calibre from the command-line, using "calibre-debug -g", or by clicking the dropdown by Preferences and selecting Restart in debug mode.)
eschwartz is offline   Reply With Quote
Old 09-21-2014, 06:31 PM   #8
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: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
Double-click will open the book for reading.
Only if Preferences->Tweaks-># Control behavior of the book list is set to open_viewer (default) - I have it set to do_nothing

Quote:
ID: doubleclick_on_library_view

You can control the behavior of doubleclicks on the books list.

Choices: open_viewer, do_nothing, edit_cell, edit_metadata. Selecting anything other than open_viewer has the side effect of disabling editing a field using a single click.

Default: open_viewer.

Example: doubleclick_on_library_view = 'do_nothing'

You can also control whether the book list scrolls horizontal per column or per pixel. Default is per column.

# Control behavior of the book list

doubleclick_on_library_view = 'do_nothing'

horizontal_scrolling_per_column = True
There is no setting that will try to add a book that's already added

Quote:
Originally Posted by eschwartz View Post
Depending on the viewer configuration, calibre may want to open certain book formats using the OS default, instead of specifically passing it to the ebook-viewer.app; when the OS is configured to open certain filetypes with calibre GUI, you end up (re-)adding the book.
Whether a given format is opened in the ebook-viewer program from the library manager (calibre.exe) is controlled by the ticks in the Preferences->Behaviour->Use Internal viewer for: list.

However if an association has been set for TPZ in OS/X that references calibre.exe then that would probably cause calibre to try to add the book again. But I very doubt calibre itself would have established such an association.

BR
BetterRed is online now   Reply With Quote
Old 09-21-2014, 06:35 PM   #9
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: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by holyfeld View Post
TPZ was not associated with any programs. I set it to calibre.
We cross posted - exactly as I predicted - replace that association with a program that can view TPZ files

BR
BetterRed is online now   Reply With Quote
Old 09-21-2014, 06:43 PM   #10
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: 28,356
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
A DRM-free topaz book is rarer than a blue-speckled pup. And calibre couldn't read/convert it even if it was drm-free. I think it might be able to retrieve some of the meta-data, but that's about it. You'll have to read it with a Kindle or a Kindle reading app.

Last edited by DiapDealer; 09-21-2014 at 06:46 PM.
DiapDealer is online now   Reply With Quote
Old 09-21-2014, 06:45 PM   #11
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: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by BetterRed View Post
Only if Preferences->Tweaks-># Control behavior of the book list is set to open_viewer (default) - I have it set to do_nothing
By default it is set to that, though. I assume anyone who manually changed it would know.

Also, in that case it wouldn't be doing anything regardless; the OP states that double-clicking tries to add it.

Quote:
There is no setting that will try to add a book that's already added
I never said there was, I said it will pass it to the OS.

Quote:
Whether a given format is opened in the ebook-viewer program from the library manager (calibre.exe) is controlled by the ticks in the Preferences->Behaviour->Use Internal viewer for: list.

However if an association has been set for TPZ in OS/X that references calibre.exe then that would probably cause calibre to try to add the book again. But I very doubt calibre itself would have established such an association.

BR
I don't know how that association got set (it is certainly set on my linux machines -- by calibre) but it is the only explanation I can think of, and it fits the problem.
eschwartz is offline   Reply With Quote
Old 09-21-2014, 06:50 PM   #12
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: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
A DRM-free topaz book is rarer than a blue-speckled pup. And calibre couldn't read/convert it even if it was drm-free. I think it might be able to retrieve some of the meta-data, but that's about it. You'll have to read it with a Kindle or a Kindle reading app.
Blue Heeler pup - they're a dime a dozen down under - very good cattle dog

BR
BetterRed is online now   Reply With Quote
Old 09-21-2014, 06:52 PM   #13
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: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
By default it is set to that, though. I assume anyone who manually changed it would know.

Also, in that case it wouldn't be doing anything regardless; the OP states that double-clicking tries to add it.



I never said there was, I said it will pass it to the OS.



I don't know how that association got set (it is certainly set on my linux machines -- by calibre) but it is the only explanation I can think of, and it fits the problem.
The OP already said they they did it - as I predicted in my cross post, with the OP

BR
BetterRed is online now   Reply With Quote
Old 09-21-2014, 07:04 PM   #14
holyfeld
Junior Member
holyfeld began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle
Thank you

I understand now that I cannot read a TPZ with Calibre.

I also know how to go in add book types to the viewer.

I think we're done here.

holyfeld
holyfeld is offline   Reply With Quote
Old 09-21-2014, 07:05 PM   #15
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: 28,356
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
Blue Heeler pup - they're a dime a dozen down under - very good cattle dog
Alright then ... how about rarer than an honest politician? A Javan Rhino?
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Book Reader for Reading programming books in CHM and PDF format kateeus Which one should I buy? 12 07-20-2012 01:12 PM
tpz files whizbo Conversion 7 03-08-2011 10:22 PM
Books I'm Reading problem after sync kimberhill Kobo Reader 27 01-09-2011 12:53 AM
.tpz readable on PC? fusarium Kindle Formats 15 10-28-2009 08:10 AM
Reading library books problem Gibbo Lounge 6 10-05-2008 02:25 PM


All times are GMT -4. The time now is 07:45 PM.


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