AssertionError uploading images to Facebook

Bug #231995 reported by David Johnston
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
conduit (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: conduit

I've set up a conduit from a local folder of JPEGs to Facebook. After authorising on Facebook, the sync begins but crashes immediately with the following trace:

Exception in thread Wrapper: Files source (UID: FileSource-dave@leela) |--> [<conduit.ModuleWrapper.ModuleWrapper instance at 0x89b68ec>]:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 701, in run
    self.one_way_sync(self.source, sink)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 468, in one_way_sync
    self._put_data(source, sink, data, dataRid)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 302, in _put_data
    put_data(source, sink, sourceData, sourceDataRid, False)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 41, in put_data
    sinkDataLUID)
  File "/var/lib/python-support/python2.5/conduit/dataproviders/Image.py", line 152, in put
    return self._upload_photo (uploadInfo)
  File "/usr/lib/conduit/modules/FacebookModule/FacebookModule.py", line 48, in _upload_photo
    return Rid(uid=rsp["pid"])
  File "/var/lib/python-support/python2.5/conduit/datatypes/__init__.py", line 32, in __init__
    assert (type(uid) == str or type(uid) == unicode or uid == None), "UID must be unicode,string or None not %s" % type(uid)
AssertionError: UID must be unicode,string or None not <type 'long'>

At this point, Conduit appears to stop transferring further images (net usage at 0b/s and progress stays at 3% or so)

Revision history for this message
paulus.h (paulus-h) wrote :

Bump. Same here! Although only 1 image uploads before it fails.
I even upgraded to version 0.3.15 via source and error still occurs.

Revision history for this message
Michael W. (hotdog003-gmail) wrote :

Sadly, this fails for me too.
The last line on my console is this:
If you'd like, I can provide the full log of what happens.

Revision history for this message
nicky.7 (nickkkk7) wrote :

same for me... only one image is uploaded.

Julien Lavergne (gilir)
Changed in conduit (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for your bug report. I can't reproduce it with the 0.3.16 release on Karmic.

Could you still reproduce this bug using Ubuntu Karmic or the last upstream snapshot (https://launchpad.net/~conduit/+archive/ppa) ?

Changed in conduit (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Michael W. (hotdog003-gmail) wrote :

Oho, what's this? It seems to work perfectly on the 0.3.17 release from that PPA (the conduit-trunk package).

Copying a folder with three jpegs uploads just fine to my facebook account, and after I approve them, they show right up in that album.

Many thanks for getting this fixed, Conduit developers..

Changed in conduit (Ubuntu):
status: Incomplete → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package conduit - 0.3.17-0ubuntu1

---------------
conduit (0.3.17-0ubuntu1) lucid; urgency=low

  * New upstream release
   - Fix uploading images to Facebook (LP: #231995)
  * debian/control:
   - Reorganize and wrap build-depends, depends and recommends.
   - Remove python-glade2 depend, Conduit was ported to gtkbuilder.
   - Recommends python-flickrapi (>= 1.2), Conduit now use system flickr API.
   - Remove python-gnome2 and python-gnome2-desktop, replaced by python-gconf
     and python-evolution (LP: #495355).
 -- Julien Lavergne <email address hidden> Sat, 23 Jan 2010 15:53:20 +0100

Changed in conduit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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