Postr 0.3
Postr 0.3 is out. A few typo fixes in my code, and an update to the latest flickrapi.py to fix uploads after the Flickr servers decided to be more pedantic. This was proof that I am the only user of Postr, as it didn't work for a good week or so.
- Update flickrapi.py to version 10
- Fix references to the token
You can follow the development in the Bazaar branch, or get the Postr 0.3 tarball.
I plan on adding a nautilus extension, so you can add images from the context menu.
A couple of errors came up. I'm running Debian unstable (apparently using python 2.4 these days), and the 0.3 tarball.
I had to comment out the first "import gtk" line to get it to not crash ("AssertionError: pygtk.require() must be called before importing gtk")
After that was done, I get the following error when trying to run it: rsp: error 108: Invalid frob
After googling around for that error, it seems that flickr isn't liking your API key, or something. Do I have to get my own key to use postr?
I've no idea why you get invalid frob, as I've been uploading with those keys recently. You don't need to use your own keys, the keys are per-app not per-user. Did Postr pop up a web browser to get you to authenticate it? Ah. I bet you don't have a binary called "firefox" any more, as Sid has "iceweasel" instead. That would break it. I shall work up a fix.
postr seems to bail with the complaint about "invalid frob" just after popping up the browser window.
I'm going to hack around a little & see what I can see. I'll post another comment if I find anything, if not I'll pull the bzr branch (once I figure out how :) and try that.
I don't know why that would be a huge problem, given that on the second run of the program flickr should have noticed that the permissions have been granted and allowed it throught, but I don't know anything about the flickr api.
I had to fix things up a little from my previous "fix", and add an "import gtk" line at line 17 of the file postr. I imagine your fix for the import gtk stuff was more elegant than my hack.
So it works for me now. Whee! Hopefully my experience helps you out. If I make any changes I'll send 'em along to you.
I uploaded one of eight photos. Unfortunately, it segfaulted with no useful information after completing the first image. shrug
I'll probably try again later, but for now, it's back to using the web form for me. Thanks, though, for your effort on this app (and sound juicer, for that matter, I use it all the time).