View Single Post
Old 12-17-2011, 03:34 AM   #1
ametzler
Zealot
ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.ametzler ought to be getting tired of karma fortunes by now.
 
Posts: 129
Karma: 567800
Join Date: Sep 2011
Location: Austria
Device: Kindle Paperwhite II
Amazon selling book without DRM? (Eisler's The Detachment)

Hello,

I bought Wednesday's Amazon.de Deal of the Day (Barry Eisler's The Detachment). As far as I can tell the AZW is not encrypted. - fbreader can open it (after renaming the file to prc). Recent Calibre's ebook-viewer (0.8.28) is also able to display the book.

Older versions of calibre (0.7.7) fail with:
--------------------------
ERROR: Could not open ebook: malformed start tag, at line 35, column 89
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 61, in run
Thread.run(self)
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/calibre/calibre/ebooks/oeb/iterator.py", line 192, in __enter__
{}, self.base)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 211, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/mobi/input.py", line 27, in convert
mr.extract_content('.', parse_cache)
File "/usr/lib/calibre/calibre/ebooks/mobi/reader.py", line 332, in extract_content
root = soupparser.fromstring(self.processed_html)
File "/usr/lib/python2.6/dist-packages/lxml/html/soupparser.py", line 23, in fromstring
return _parse(data, beautifulsoup, makeelement, **bsargs)
File "/usr/lib/python2.6/dist-packages/lxml/html/soupparser.py", line 66, in _parse
tree = beautifulsoup(source, **bsargs)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1230, in __init__
self._feed(isHTML=isHTML)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1263, in _feed
self.builder.feed(markup)
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 229, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 304, in check_for_whole_start_tag
self.error("malformed start tag")
File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParseError: malformed start tag, at line 35, column 89

--------------------------------------------------------------------
Did Amazon accidentally forget adding DRM? Or is it common to get books without?

cu andreas
ametzler is offline   Reply With Quote