Got this error when trying to connect to Calibre (running Sony firmware on the PRS505)
Code:
'NoneType' object has no attribute 'xpath'
Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 67, in run
File "site-packages\calibre\gui2\device.py", line 274, in _books
File "site-packages\calibre\devices\prs505\driver.py", line 133, in books
File "site-packages\calibre\devices\usbms\driver.py", line 158, in books
File "site-packages\calibre\devices\prs505\driver.py", line 141, in sync_booklists
File "site-packages\calibre\devices\prs505\driver.py", line 129, in initialize_XML_cache
File "site-packages\calibre\devices\prs505\sony_cache.py", line 89, in __init__
AttributeError: 'NoneType' object has no attribute 'xpath'
Deleted the custom firmware and now works fine with Calibre. Maybe it's just an isolated case