Originally Posted by
woodorw
postr is great,i have installed it and it works very well
But it seems there is a problem with postr in Ubuntu Karmic. I installed it but it gives the following error with traceback:
Code:
/usr/lib/pymodules/python2.6/postr/flickrest.py:18: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import logging, md5, os, mimetools, urllib
Traceback (most recent call last):
File "/usr/bin/postr", line 34, in <module>
p = postr.Postr()
File "/usr/lib/pymodules/python2.6/postr/postr.py", line 162, in __init__
self.flickr.authenticate_1().addCallbacks(self.auth_open_url, self.twisted_error)
File "/usr/lib/pymodules/python2.6/postr/flickrest.py", line 274, in authenticate_1
return self.__get_frob()
File "/usr/lib/pymodules/python2.6/postr/flickrest.py", line 240, in __get_frob
return self.auth_getFrob().addCallback(gotFrob)
File "/usr/lib/pymodules/python2.6/postr/flickrest.py", line 126, in proxy
return self.__call(method, kwargs).addCallback(self.__cb, method)
File "/usr/lib/pymodules/python2.6/postr/flickrest.py", line 108, in __call
postdata=urllib.urlencode(kwargs))
File "/usr/lib/pymodules/python2.6/postr/proxyclient.py", line 400, in getPage
scheme, host, port, path = _parse(proxy)
File "/usr/lib/pymodules/python2.6/postr/proxyclient.py", line 384, in _parse
host, port = host.split(':')
ValueError: too many values to unpack
Any workarounds?
Bookmarks