I've been playing with the git HEAD of F-Spot trying to see where this bug is coming from and it appears to be a bug in Mono.Facebook. The GetAlbums call is erroring with "Input string was not in the correct format: Did not parse entire string. pos = 15 s.Length = 18"
The fun part now is that to get any further I'd have to debug part of mono itself. I think I'm going to "neuter" the album listing so that F-Spot can only add new albums. At least that functionality would work.
[ EDIT ]
Haha. Mono.Facebook/ is right in the FacebookExport dir. Looks like Facebook changed something so it can't add pics either, so I'm going to have some fun with this tonight.
[ EDIT ]
Looks like I got it. Albums and Photos now have non-numeric IDs... mostly underscores but I saw a dash. I patched Mono.Facebook to use "string" instead of "long" and it seems like album listing and creation and photo uploading is fully operational. If I find no further issues, I plan to post a patch. (is there a bugtracker I should post this on? ubuntu, fspot, mono.facebook? I'm not sure which)
[ EDIT ]
I got it working with the git version of F-Spot, but when I try packaging up a version of the addin and putting it on a reop so others can just install it, it can't by default because the broken version is in /usr/lib, and then once that's sorted out the addin just doesn't want to work. It's probably due to me building it against the git F-Spot and using it against the apt-get one (ubuntu 9.10). I couldn't `make` the `apt-get source` version, which is why I couldn't build the fixed version against it.
(copied from another topic; I replied to the wrong one)



Adv Reply

Bookmarks