|
|
Thread Tools | Search this Thread |
06-27-2012, 01:27 AM | #16 | |||
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
Quote:
Quote:
I'm afraid you're going to have to post the error messages before I have a chance of figuring them out. |
|||
06-27-2012, 01:40 PM | #17 |
Enthusiast
Posts: 37
Karma: 16
Join Date: Nov 2011
Device: Sony PRS-T1
|
Thanks for your patience, Schrollini: Everything worked once I installed as an administrator and figured out how to run the program.
One question before I proceed further: Is there any danger of prsam-tk overwriting comments I've already made on a PDF on my ereader? Put differently, does one need to start the process with prsam or can add pdf's that have already been annotated on the PRS-T1? |
06-27-2012, 07:12 PM | #18 | |||
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
Quote:
Quote:
Good luck, and let me know if you have any more problems or questions. |
|||
06-29-2012, 04:10 PM | #19 |
Enthusiast
Posts: 37
Karma: 16
Join Date: Nov 2011
Device: Sony PRS-T1
|
It seems that onecan't pull annotations from an already-annotated PDF on the reader. You have to set up the PDF with prsam before annotating. Is that correct?
|
06-30-2012, 06:20 PM | #20 | |
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
If it's not working, you can use the getannotations program to get an annotated version without messing about with the library manager. But let me know specifically what you did and I'll see if I can track down the bug. |
|
09-12-2012, 11:40 AM | #21 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2012
Device: PRS-T1
|
Hi Robert,
first of all, thank you for creating this awesome program! This is exactly what I needed . Are you still working on this program at the moment? Because I have a lot of PDFs where your program can't find the text to be highlighted, and instead adds is as a note to the page. I think this often has to do with linebreaks. I was thinking, would it be possible to 'break up' highlights, line per line, so that problem is averted? Or, if linebreaks are not identifiable, just making the program try every possible way of breaking the highlighted text up into different segments. These are just ideas from someone with almost no programming experience, but it would be really awesome if PRSAnnots worked for all my PDFs . Best, Arnoud |
09-13-2012, 04:59 AM | #22 | |
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
I'm hoping to get the pdfloc method for identifying highlighed text working, since this should solve the problems you've been having. But I haven't had a free weekend to sit down and work it out. If you check out that bug report, you'll see a link to a small program to spit out the pdfloc information. You're welcome to give that a go and see if you can find a pattern. If we can't figure out this new method, something like what you suggest is a good idea that should fix many of the problems. Thanks for the kind words and suggestions! |
|
10-05-2012, 07:08 AM | #23 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2012
Device: sony prs-t1
|
I have to start by thanking you so much for this. This new sony reader revealed itself useless to me until you made it "work".
I have only one big problem for now. I use a mscard with books aside from the internal memory of the reader and I've only managed to import the pdf notes on the main memory. Is there an easy way to access the notes on the mscard, given its folders are very different from the ones in the internal memory? |
10-06-2012, 10:31 AM | #24 | ||
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
Quote:
1) What operating system are you using? Do you use the command line programs (prsam / getannotations) or the graphical program (prsam-tk)? (I'm interested just so that I can speak the right language.) 2) Have you used the getannotations program? If so, does it list PDFs on the microSD card? If so, what happens when you select one of them? 3) Can you browse the contents of the microSD card when it's in the Reader and the Reader is plugged in to your computer? If so, does the card show up as a subdirectory of the Reader, or does it show up as a separate drive? If you're not sure what I'm asking, just say so, and I'll try to explain further. Edit: I've opened an issue for this. If you want to help, please comment there or here, whichever you prefer. Last edited by Schrollini; 10-13-2012 at 11:03 PM. Reason: Add link to issue |
||
10-22-2012, 12:10 AM | #25 |
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Version 0.2
I'm pleased to announce version 0.2 of PRSAnnots, the PDF annotation manager for the Sony PRS-T1 ereader (and maybe others). This version provides new features, including:
Those of you following development on Github can pull to get the new version. It's also available as a tarball and a Windows installer. I've also crated a Google Group for announcements and discussion about PRSAnnots. But don't worry, I also plan to make announcments here as well. There's still work to be done to improve PRSAnnots. Here's some areas where I could use some help:
|
11-03-2012, 01:34 AM | #26 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T2
|
Testing on PRS-T2
Hi Schrollini,
thank you for the great effort you have put in to this tool! It looks very promising. Unfortunately, it does not yet function on the T2. Loading PDFs on to the device works fine with prsam-tk (once I manually created the Download directory on the ereader) and the database file is also created. Unfortunately, that's where it stops. Once the database has been created, prsam-tk doesn't start again, unless I delete the database file. I am no good at python programing, so I am not sure which test-parameters would help you the most to fix the issues. I am running python 2.7 on windows 7. When I start the prsam.py file from within the python GUI, I receive the following error message: Usage: prsam [init|config|add|import|remove|ls|sync|clean] Traceback (most recent call last): File "C:\Python27\Scripts\prsam.py", line 408, in <module> main(sys.argv[1:]) File "C:\Python27\Scripts\prsam.py", line 403, in main sys.exit(1) SystemExit: 1 If I run getannotations.py in the python GUI, I receive the following error message: C:\Python27\Scripts\getannotations.py mount-point Find all annotated PDFs on the Sony PRS-T1 mounted at the specified mount point, and present a menu to let the user chose to export one of them with annotations. Currently, only the freehand annotations drawn directly on the page are supported. Traceback (most recent call last): File "C:\Python27\Scripts\getannotations.py", line 63, in <module> sys.exit(0) SystemExit: 0 >>> Please let me know how I can assist you trouble shooting this to enable your tool on the sony T2. Cheers. |
11-04-2012, 05:58 PM | #27 | ||||
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
Quote:
Quote:
The errors you are seeing are actually not big problems. Mostly it's showing that Python on Windows is behaving a bit differently than I'm used to. I can fix that on my own though. Let's focus here, first: Quote:
This will likely be a bit of work to get things fixed, but I'm 90% sure we can get it to work in the end. |
||||
11-05-2012, 05:17 AM | #28 | ||||
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T2
|
Thanks for getting back so quickly!
Quote:
Quote:
The errors you are seeing are actually not big problems. Mostly it's showing that Python on Windows is behaving a bit differently than I'm used to. I can fix that on my own though. Let's focus here, first: Quote:
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 Quote:
Cheers! |
||||
11-05-2012, 09:54 AM | #29 | |||
Member
Posts: 23
Karma: 14
Join Date: Apr 2012
Device: Sony PRS-T1
|
Quote:
Quote:
Quote:
Code:
where mime_type = "application/pdf" and markup_type != 0 Code:
where books.mime_type = "application/pdf" and markups.markup_type != 0 |
|||
11-05-2012, 03:35 PM | #30 | ||
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T2
|
Quote:
Quote:
Thanks a lot for fixing it! Anything else you'd like to try on the T2? |
||
Tags |
annotation, pdf, sync |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't load unprotected PDF files on PRS-300 | rsbrux | Sony Reader | 3 | 11-21-2010 03:26 AM |
Can PRS-950 download pdf files using wifi? | mgriffiths | Sony Reader | 1 | 10-18-2010 06:50 AM |
eBook for PDF files? If so, Sony PRS 600? Alternatives? | jferreir | Which one should I buy? | 4 | 08-12-2009 12:25 PM |
PRS-700 vs PRS-505 for PDF files? | LucidDreams | Sony Reader | 10 | 01-31-2009 05:16 AM |
PRS-500 doesn't display .pdf files | Big Brother | Sony Reader | 1 | 10-12-2007 10:02 PM |