Kovid:
I've had some success. I can now talk to the reader via the command line interface. However, I get some interesting errors from the 'books' command and the ls -lh command:
Code:
[Scipio:~] dfsuther% prs500 books
Books in main memory:
Miles, Mystery & Mayhem by Lois McMaster Bujold at /Data/media/books/Miles Mystery and Mayhem.rtf
Thraxas and the Dance of Death by Martin Scott at /Data/media/books/Thraxas_and_the_Dance_of_D.rtf
Thraxas and the Sorcerers by Martin Scott at /Data/media/books/Thraxas_and_the_Sorcerers.rtf
Brilliance of the Moon by Lian Hearn at /Data/media/books/cbuscepgi000260u.lrx
A Mankind Witch by Dave Freer at /Data/media/books/A_Mankind_Witch.rtf
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/Current/bin/prs500", line 8, in <module>
load_entry_point('libprs500==0.3.2', 'console_scripts', 'prs500')()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/libprs500-0.3.2-py2.5.egg/libprs500/cli/main.py", line 211, in main
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 11: ordinal not in range(128)
[Scipio:~] dfsuther% prs500 ls /Data/media/books
Grantville_Gazette_Volume_6.rtf March_Upcountry.rtf
Go Tell the Spartans.rtf cbuscerhi001ku04.lrx
Komarr.rtf We_Few.rtf
The_Far_Side_of_The_Stars.rtf This_Rough_Magic.rtf
1633.rtf cbuscehcl0016o08.lrx
cbuscerhi002mx0a.lrx Grantville_Gazette-Volume_VIII.rtf
Grantville_Gazette_Volume_I.rtf Miles Mystery and Mayhem.rtf
Grantville_Gazette_Volume_V.rtf Thraxas_and_the_Dance_of_D.rtf
1632.rtf Thraxas_and_the_Sorcerers.rtf
Convergent Series.rtf cbuscepgi000260u.lrx
Grantville_Gazette-Volume_IX.rtf A_Mankind_Witch.rtf
Resurgence.rtf Grantville_Gazette_Volume_IIdt.rtf
1635-The_Cannon_Law.rtf CBUS12510000200K.lrf
Transvergence.rtf Miles Errant.rtf
Thraxas_at_War (7).rtf March to the Sea.rtf
PRS500_OG.pdf cbuscerhi002f60c.lrx
Turn_The_Other_Chick.rtf Chicks n Chained Males.rtf
CBUS12510000400M.lrf 1634_-_The_Galileo_Affair.rtf
cbuscehcl0015i01.lrx Prince of Mercenaries.rtf
Thraxas.rtf 1634-The_Ram_Rebellion.rtf
High Justice.rtf King Davids Spaceship.rtf
With the Lightnings.rtf Grantville_Gazette_Volume_IV.rtf
Some_Golden_Harbor.rtf Grantville_Gazette-Volume_VII.rtf
The Shadow of the Lion.rtf cbuscerhi002o60l.lrx
Young Miles.rtf Diplomatic_Immunity.rtf
The Chicks in the Mail.rtf Thraxas_Under_Siege (8).rtf
Prince of Sparta.rtf The Mote In Gods Eye.rtf
cbuscerhi001ke0o.lrx The Gripping Hand.rtf
The Mercenary.rtf Lt. Leary, Commanding.rtf
CBUS12511000600P.lrf March to the Stars.rtf
West of Honor.rtf cbuscepgi000mo0w.lrx
The_Way_to_Glory.rtf Cordelia's Honor.rtf
cbuscepgi000cg0e.lrx Universe_v1n2.rtf
CBUS12510000300L.lrf Universe_v1n1.rtf
Death_and_Thraxas.rtf A Civil Campaign.rtf
[Scipio:~] dfsuther% prs500 ls -lh /Data/media/books
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/Current/bin/prs500", line 8, in <module>
load_entry_point('libprs500==0.3.2', 'console_scripts', 'prs500')()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/libprs500-0.3.2-py2.5.egg/libprs500/cli/main.py", line 231, in main
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/libprs500-0.3.2-py2.5.egg/libprs500/cli/main.py", line 139, in ls
TypeError: object of type 'NoneType' has no len()
[Scipio:~] dfsuther%
Interesting that I can ls the contents of the directory that holds books in main memory, but I can't either ls -lh it or succeed with a prs500 books command.
Suggestions?