quait / madcow

Automatically exported from code.google.com/p/madcow
GNU General Public License v3.0
0 stars 0 forks source link

error in delicious module #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use http auth for delicious module
2. post a link
3. get 401 unauthorized error

What is the expected output? What do you see instead?
expect to see a link in delicious account, get following error:
problem with module: args=(u'http://slashdot.org',)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/madcow/util/__init__.py", line 
107, in get_response
  return self.response(nick, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/madcow/modules/delicious.py", line 
120, in response
  self.delicious.post(url, tags=[nick])
File "/usr/local/lib/python2.7/dist-packages/madcow/modules/delicious.py", line 
47, in post
  self.process(parameters)
File "/usr/local/lib/python2.7/dist-packages/madcow/modules/delicious.py", line 
50, in process
  self.ua.open(self.posturl, opts=parameters)
File "/usr/local/lib/python2.7/dist-packages/madcow/util/http.py", line 75, in 
open
  response = self.opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 397, in open
  response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
  'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 435, in error
  return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
  result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

What version of the product are you using? On what operating system?
2.10, ubuntu 11.04 

Please provide any additional information below.
if i switch to oath, i no longer get errors, but links still do not appear in 
delicious, so I don't know where they are going.

I use madcow mainly for collecting links so I can peruse all the NSFW ones when 
I get home. I would greatly appreciate it if you could correct this issue for 
the community! 

Thanks!

-j

Original issue reported on code.google.com by wimpan...@gmail.com on 30 Sep 2011 at 3:50