TuxCoder / rhythmbox-ampache

Automatically exported from code.google.com/p/rhythmbox-ampache
0 stars 0 forks source link

Handshake fails with KeyError #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.checkout current svn
2.add debian/ubuntu packaging
3.build package and install
4.launch RB and configure plugin

What is the expected output? What do you see instead?

expected to see music info appear.  Got this instead

(21:58:54) [0x9c87480] [AmpacheBrowser.update] 
/usr/lib/rhythmbox/plugins/ampache/AmpacheBrowser.py:850: downloading 
handshake: 
http://192.168.1.107/ampache/server/xml.server.php?action=handshake&auth=a05c305
316953b3526ccb603186eb9eb87c8dcb4c250b564aab1f5208f3164da&timestamp=1383101934&u
ser=admin&version=350001
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent 
call last):
  File "/usr/lib/rhythmbox/plugins/ampache/AmpacheBrowser.py", line 542, in handshake_cb
    handshake['update'][0:18],
KeyError: 'update'

What version of the product are you using? On what operating system?

rhythmbox-3.0.1-1ubuntu2
svn co http://rhythmbox-ampache.googlecode.com/svn/branches/for_rhythmbox-gtk+3
r-42

Original issue reported on code.google.com by porthose...@gmail.com on 30 Oct 2013 at 3:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
'update' time is the first xml tag used from the handshake.
A handshake that doesn't contain 'update' points to an erroneous configuration 
of the plugin like wrong authentication.

Sorry for the late answer.  I'm just a contributor to this repository so I'm 
not notified on issues so I see issues just by chance when browsing.

I'll move this branch to github...

Original comment by lotan...@gmx.de on 18 Dec 2013 at 10:44