View Single Post
Old 11-05-2012, 09:54 AM   #29
Schrollini
Member
Schrollini began at the beginning.
 
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
Quote:
Originally Posted by maptau_07 View Post
Thanks for getting back so quickly!

Well, there is the Sony typical DCIM toplevel folder (F:\DCIM), which remains empty apart from the .thumbnails subfolder.
Does Sony_Reader\media\books exist on the T2? That was my second guess for the T1. If it exists for both, I can switch to that.

Quote:
Originally Posted by maptau_07 View Post
Yes, the .prc file has been created in Appdata/Roaming/prsannots (697 bytes after transferring one PDF). The .prsannots file has also been created on the reader (38 bytes).
Perfect!

Quote:
Originally Posted by maptau_07 View Post
It does not work. The error output is as following:
C:\Python27>python.exe C:\Python27\Scripts\getannotations.py F:\
Traceback (most recent call last):
File "C:\Python27\Scripts\getannotations.py", line 68, in <module>
main(sys.argv[1])
File "C:\Python27\Scripts\getannotations.py", line 52, in main
book = select_book(reader.books)
File "C:\Python27\lib\site-packages\prsannots\generic.py", line 46, in books
self._books = self._get_books()
File "C:\Python27\lib\site-packages\prsannots\prst1.py", line 27, in _get_book
s
group by books._id''')
sqlite3.OperationalError: ambiguous column name: mime_type
This is very helpful. Could you try changing line 26 of prst1.py from
Code:
where mime_type = "application/pdf" and markup_type != 0
to
Code:
where books.mime_type = "application/pdf" and markups.markup_type != 0
(I've made the changes in bold just to help you see them.) Please try getannotations again after making the change. If it works, go ahead and try prsam and/or prsam-tk. Let me know what happens!
Schrollini is offline   Reply With Quote