03-25-2012, 12:52 PM | #1 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
[GUI Plugin] Sony PRS-T1 notes (handwriting) exporter
The Sony PRS-T1 notes plugin allows you to export the notes from your Sony PRS-T1 ereader, by merging the notes with the original book/document and creating a new PDF.
Main features of Sony PRS-T1 notes plugin:
Special Notes:
Installation procedure:
Paypal donations: If you find this plugin useful please feel free to show your appreciation. Version History: Spoiler:
Last edited by sjvs; 04-20-2012 at 08:11 AM. Reason: Clarification |
03-26-2012, 08:04 PM | #2 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
Hello, thank you for developing the plugin.
When I click on "Create PDF" I get the following error. calibre, version 0.8.44 ERROR: Unhandled exception: <b>ValueError</b>:invalid literal for int() with base 10: '' Traceback (most recent call last): File "calibre_plugins.prst1_notes.main", line 173, in createPdf File "calibre_plugins.prst1_notes.PRST1NotesMergeInterf ace", line 22, in __init__ File "calibre_plugins.prst1_notes.PRST1NotesMergeInterf ace", line 81, in initialiseInterface File "calibre_plugins.prst1_notes.PRST1NotesMerger" , line 195, in getBookNumPages File "calibre_plugins.prst1_notes.PRST1NotesMerger" , line 34, in getPyPDFBook File "site-packages\pyPdf\pdf.py", line 279, in __init__ File "site-packages\pyPdf\pdf.py", line 635, in read File "site-packages\pyPdf\generic.py", line 87, in readObject File "site-packages\pyPdf\generic.py", line 232, in readFromStream ValueError: invalid literal for int() with base 10: '' |
Advert | |
|
03-28-2012, 06:28 AM | #3 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
It looks like pyPdf (the PDF library of Calibre) has problems reading your PDF file. Would it be possible for you to send me the file so I can investigate? I tried it with multiple PDF files, haven't encounter this error message before.
Also: which platform are you on? |
03-28-2012, 10:54 AM | #4 |
I Do Like Ebooks
Posts: 145
Karma: 1006
Join Date: May 2009
Location: Prague, Czech rep.
Device: Pocketbook Ultra 650
|
Hello, I tried this plugin and got a different error:
calibre, version 0.8.44 ERROR: Unhandled exception: <b>PdfReadError</b>:EOF marker not found Traceback (most recent call last): File "calibre_plugins.prst1_notes.main", line 173, in createPdf File "calibre_plugins.prst1_notes.PRST1NotesMergeInterf ace", line 22, in __init__ File "calibre_plugins.prst1_notes.PRST1NotesMergeInterf ace", line 81, in initialiseInterface File "calibre_plugins.prst1_notes.PRST1NotesMerger" , line 195, in getBookNumPages File "calibre_plugins.prst1_notes.PRST1NotesMerger" , line 34, in getPyPDFBook File "site-packages\pyPdf\pdf.py", line 279, in __init__ File "site-packages\pyPdf\pdf.py", line 610, in read PdfReadError: EOF marker not found Previously, the same happened with Calibre 0.8.40. It's on Windows XP. My test file itself is pretty simple (I'm attaching it). Apart from that, I tried two other files that I cannot share; one gave me the same result as above, the other one got past this point and seems to be merging, but it has been running for maybe 20 minutes, is that normal (about 60 small pages sized for my reader, 25 of them with notes)? |
03-28-2012, 11:00 AM | #5 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
Are you using an SD card in your PRS-T1? If so: does the merging work for books that are on the internal memory of your e-reader? Unfortunately, I was unable to test it with an SD card.
I'll publish an update soon which should provide some more information regarding the things going on in there. Hopefully, that'll make clear what the problem is exactly. Regarding the merge time: no, it should be very fast. I tested it with 500 A4 pages (about 15 megabytes), completed within at most 30 seconds. How many pages contain handwritten notes? How big is the original book (in megabytes)? |
Advert | |
|
03-28-2012, 11:13 AM | #6 |
I Do Like Ebooks
Posts: 145
Karma: 1006
Join Date: May 2009
Location: Prague, Czech rep.
Device: Pocketbook Ultra 650
|
There's an SD card in my reader but I'm not using it - the file is in the internal memory. The size is about 230 kB, notes are on 25 pages according to the plugin.
I might try it again at home on Debian, to see if it's a Windows thing or not. |
03-28-2012, 11:15 AM | #7 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
Thanks, let me know whether that works or not. I'll do some additional testing using Windows as well.
|
03-28-2012, 02:47 PM | #8 |
I Do Like Ebooks
Posts: 145
Karma: 1006
Join Date: May 2009
Location: Prague, Czech rep.
Device: Pocketbook Ultra 650
|
OK, now I tried it at home with the same files and everything works fine. (Debian, Calibre version 0.8.41)
So I guess the trouble will be Windows-related. Now that I know how it's supposed to work I'm adding that the moment things went wrong, in both cases, was at the moment I selected a file to be merged and clicked the button, before the other dialog is displayed (the one where I can choose whether to merge the whole file or just the annotated pages - I didn't even know there was one). |
03-30-2012, 12:34 PM | #9 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
Thanks! My OS is Vista.
|
03-31-2012, 06:40 PM | #10 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
I'm not used to programming under Windows - it took me an entire evening to discover that there's a special flag to open files in "binary" mode under Windows. This flag was missing in the plugin code, which confused PyPDF - the PDF reading/writing library.
A new version of the plugin is almost ready. It definitely works under Windows, I should be able to test it under Linux later tonight. Watch this space! |
03-31-2012, 06:53 PM | #11 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
New version uploaded! The first post of this thread has been updated with a new file and version history. Please let me know whether or not this works for you.
|
04-05-2012, 12:10 PM | #12 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
It does work like a charm! Thanks.
|
04-06-2012, 06:15 AM | #13 |
Connoisseur
Posts: 62
Karma: 10
Join Date: Sep 2010
Location: Indianapolis, IN
Device: Sony PRS-350
|
How do I actually use the plugin after successfully installing it?
|
04-06-2012, 07:16 AM | #14 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
On the bar on the top there should be a button called "Sony PRS-T1 Notes".
|
04-09-2012, 05:24 PM | #15 |
Junior Member
Posts: 2
Karma: 10
Join Date: Apr 2012
Device: Sony PRS-T1
|
Thank you very much for this plugin.
It seems like it only works for PDFs that are stored in the main memory. |
Tags |
handwriting, notes, prs-t1, prst1, sony |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Copy book covers as Standby images (Sony/Kindle/Nook) | jackie_w | Plugins | 136 | 06-18-2020 04:27 AM |
PRS-T1 PRS-T1 Annotations Exporter | Yoths | Sony Reader | 52 | 12-15-2016 06:14 AM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 09:23 PM |
Developing plugin to process notes from Sony PRS-T1: no module named | sjvs | Development | 19 | 03-25-2012 12:53 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |