Occasional ValueError or XmlRpcException

Bug #905204 reported by Adam Porter
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Pithos
Fix Released
Undecided
Unassigned

Bug Description

This happens sometimes when logging in. Restarting Pithos usually fixes it.

ERROR - pandora:xmlrpc_call:144 - fault: org.apache.xmlrpc.XmlRpcException: For input string: "21197882029"
WARNING - pithos:eb:314 - Traceback (most recent call last):
  File "./pithos/gobject_worker.py", line 34, in _run
    result = command(*args)
  File "./pithos/pandora/pandora.py", line 178, in connect
    user = self.xmlrpc_call('listener.authenticateListener', [user, password], [], secure=True)
  File "./pithos/pandora/pandora.py", line 145, in xmlrpc_call
    code, msg = fault.split('|')[2:]
ValueError: need more than 0 values to unpack

Adam Porter (alphapapa)
Changed in pithos:
status: New → In Progress
Revision history for this message
Adam Porter (alphapapa) wrote :

If anyone is willing to test this branch or apply it to the current trunk and test it, that would be great. We need to know if this properly catches the bad response and if using the retry button works.

Revision history for this message
Brennan Sellner (brennan-sellner) wrote :

I'd be happy to test it, but the release packaging script is failing on Ubuntu 11.04. I'm afraid my Debian python packaging fu isn't up to this one. Oddly, the problematic line (python setup.py build...) runs fine (and exits with status 0) if executed by hand.

test -x debian/rules
mkdir -p "."
mkdir -p debian/python-module-stampdir
cd . && \
  python setup.py build \
  --build-base="/home/brennan/src/pithos/pithos-0.3.14~bzr185/./build"
/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/lib/pymodules/python2.7/keybinder/__init__.py:26: GtkWarning: IA__gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  from _keybinder import *
/usr/lib/pymodules/python2.7/keybinder/__init__.py:26: GtkWarning: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  from _keybinder import *
/bin/sh: line 2: 13924 Segmentation fault python setup.py build --build-base="/home/brennan/src/pithos/pithos-0.3.14~bzr185/./build"
make: *** [debian/python-module-stampdir/pithos] Error 139
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Revision history for this message
Brennan Sellner (brennan-sellner) wrote :

Bah, never mind: I didn't realize you were mangling the path if pithos was run from a checkout. Unfortunately, my regular installation is back to working. I'll test this as soon as it's in a failing state again.

Changed in pithos:
status: In Progress → Fix Committed
Changed in pithos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.