View Single Post
Old 11-30-2006, 08:55 AM   #47
seamusfp
Enthusiast
seamusfp has a complete set of Star Wars action figures.seamusfp has a complete set of Star Wars action figures.seamusfp has a complete set of Star Wars action figures.seamusfp has a complete set of Star Wars action figures.seamusfp has a complete set of Star Wars action figures.
 
Posts: 43
Karma: 432
Join Date: Nov 2006
Location: Connecticut
Device: Sony PRS-500
You may already know this, but I just tried to run the gui and got this error

Quote:
File "/Users/seamus/prs-500/trunk/libprs500/gui/main.py", line 514, in timerEvent
self.establish_connection()
File "/Users/seamus/prs-500/trunk/libprs500/gui/main.py", line 550, in establish_connection
space = self.dev.available_space()
File "/Users/seamus/prs-500/trunk/libprs500/communicate.py", line 205, in run_session
res = func(*args, **kwargs)
File "/Users/seamus/prs-500/trunk/libprs500/communicate.py", line 495, in available_space
res = self._send_validated_command(FreeSpaceQuery(path), timeout=5000) # Timeout needs to be increased as it takes time to read card
File "/Users/seamus/prs-500/trunk/libprs500/communicate.py", line 300, in _send_validated_command
PRS500Device._validate_response(res, type=command.type, number=cnumber)
File "/Users/seamus/prs-500/trunk/libprs500/communicate.py", line 245, in _validate_response
"\nrnumber: expected="+hex(number)+" actual="+hex(res.rnumber))
libprs500.errors.ProtocolError: Inavlid response.
type: expected=0x1 actual=0xfffffffe00000000L
rnumber: expected=0x53 actual=0x53
actually as I read the code that's throwing the error, it looks like you already know this can happen.

but it looks nice!
seamusfp is offline   Reply With Quote