12-19-2009, 10:18 PM | #166 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2009
Location: Florida
Device: Kindle 4 PC
|
I want to report too that i♥cabbages version 3 works. Thanks a lot!
Now my problem: I have a book for which unswindle.pyw did not work. I bought the book on paper several years ago and now I bought it as a kindle addition. It has .prc extension but I think it might be Topaz. I really need to convert this book to HTML or PDF or other text searchable format. When I open as text the books for which unswindle.pyw worked, they have BOOKMOBI in the beginning of the file, while this one does not. It has TPZ0 instead. Can someone more knowledgeable and experienced check the sample file and let me know if this is Topaz or not. This is the sample: http://www.amazon.com/Philosophy-In-.../dp/B001FSJAWK I'd really appreciate that. Thanks again! |
12-19-2009, 10:26 PM | #167 | |
I'm Super Kindle-icious
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
|
Quote:
|
|
12-19-2009, 10:57 PM | #168 |
Guru
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
|
12-19-2009, 11:42 PM | #169 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Anyway, see How to tell between the formats? for a recent discussion of identifying TOPAZ ebooks, which includes the names and ASINs of several TOPAZ ebooks. The reason many readers want access to TOPAZ is that they are often unique to the Kindle Store, i.e. available in legal ebook form nowhere else. I know some think "legal" and DRM-stripping don't go together well, but TOPAZ is actually one of the best counter examples. If I buy a TOPAZ from Amazon, why can't I read it on whatever device I own? Also, if the formatting is crappy why can't I fix it myself? |
|
12-20-2009, 12:33 AM | #170 |
Guru
Posts: 688
Karma: 2090
Join Date: Dec 2007
Device: Sony PRS-505, PRS-900 & PRS-950, Amazon Kindle2
|
I wonder if .azw1 and .tpz have different encryption. I post a link to a free Topaz book earlier which has a file extension of .azw1 and I would not put it pass Amazon that the 2 file extensions for Topaz might have similar yet different encryption.
|
12-20-2009, 02:39 PM | #171 |
Kindlephilia
Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
|
What a great find on a snowed in Sunday! Great work, LaBBa and I♥Cabbages! Karma to you both.
|
12-20-2009, 03:22 PM | #172 |
Enthusiast
Posts: 27
Karma: 10
Join Date: Feb 2009
Device: BeBook
|
Failed attempt with unswindle.py version 3
I am wondering if I have a defective version of swindle.pyw.
When I first attempted to run it and saw no response I tried running it with a command line prompt as in unswindlexx.py. The syntax error that I saw was unswindlexx.py:722: Warning: 'with' will become a reserved keyword in Python 2.6 File "C:\Documents and Settings\Owner.EMAC\My Documents\My eBooks\mobi_convert\unswindlexx.py", line 722 with tempfile.NamedTemporaryFile(delete=False) as tmpf: In looking at the source I found with tempfile.NamedTemporaryFile(delete=False) as tmpf: tmppath = tmpf.name This appeared to be a comment missing the leading # so after "fixing"this and moving the tmppath = tmpf.name indenting back I got the following error. ^ SyntaxError: invalid syntax unswindlexx.py Traceback (most recent call last): unswindlexx.py", line 60, in <module> class PROCESS_BASIC_INFORMATION(Structure): unswindlex.py", line 61, in PROCESS_BASIC_INFORMATI ON _fields_ = [('Reserved1', PVOID), NameError: name 'PVOID' is not defined Two questions: Is there a better version of this script located elsewhere? Am I missing a definitions file in my Python 2.6 installation? I am running Windows XP Pro SP3 with the latest updates available. |
12-20-2009, 07:59 PM | #173 |
Guru
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
Redownload and use the extension .pyw
|
12-20-2009, 10:24 PM | #174 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
|
12-20-2009, 10:55 PM | #175 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Great job LaBBa and I♥Cabbages!
|
12-20-2009, 11:19 PM | #176 |
Enthusiast
Posts: 27
Karma: 10
Join Date: Feb 2009
Device: BeBook
|
|
12-21-2009, 04:32 AM | #177 |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
Oh, hilarity. Anyway, the line in question is definitely not a comment ('with' is now syntax which was tested in Python 2.5 and made non-optional in 2.6), and I'm also suspicious of the exact error -- are you sure you don't have a version of Python 2.5 kicking around which is taking precedent? Even if not, 2.6.1 is a kind of old version of Python 2.6 -- I'd try upgrading. If *that* doesn't work, try re-downloading via the pastie-page "download" link.
|
12-21-2009, 08:06 PM | #178 | |
Enthusiast
Posts: 27
Karma: 10
Join Date: Feb 2009
Device: BeBook
|
Quote:
Many thanks. |
|
12-21-2009, 08:19 PM | #179 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
i♥cabbages can you put in the comments section of unswindle.pyw that it needs Python 2.6.4?
|
12-22-2009, 07:44 AM | #180 |
Guru
Posts: 688
Karma: 2090
Join Date: Dec 2007
Device: Sony PRS-505, PRS-900 & PRS-950, Amazon Kindle2
|
I installed K4PC on my desktop (which I rarely use). While my laptop was running 2.6.4, my desktop was running 2.6.1 and the script worked on both. I updated to Python 2.6.4 on my deskstop last night and the script stopped working. I had to uninstall K4PC as an administrator and re-install it as such and everything worked again. But it was running perfectly fine with Python 2.6.1. Both computers are Vista Home Premium, 32 bit.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
discovering and loving this fb.2 reader.. | oncdoc | Astak EZReader | 2 | 04-19-2010 06:05 PM |
K4 Mac or PC Where are K4PC files? | lmittell | Amazon Kindle | 3 | 01-06-2010 01:04 AM |
Where is the PID on Pocket Pro, ADE and K4PC? | rxsz | Astak EZReader | 7 | 12-20-2009 05:29 AM |
Free on Kindle - Discovering Dani | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 09-28-2009 09:57 AM |
Kindle PID from Mobi PID - can anyone do it? | delphidb96 | Workshop | 2 | 04-27-2009 04:42 PM |