Comments (3)
curl calls on the API seem to work, and I was getting this error with a python
script I'd written this week. The script definitely worked last week.
Original comment by [email protected]
on 29 Sep 2011 at 12:40
from pydelicious.
Same error, but from my web app:
The code:
from pydelicious import DeliciousAPI
[...]
delicious = DeliciousAPI(settings.DELICIOUS_USER, settings.DELICIOUS_PWD)
delicious.posts_add(url=self.url,
description=self.title,
extended=strip_tags(self.description_html),
tags=self.tags,
dt=self.posted_iso(),
replace=True)
This defintely worked on Sept 21st but broke as of AVOS relaunch (on Sept 27th)
part of the stack trace:
[...]
File "/home/userid/lib/python2.5/pydelicious/__init__.py", line 842, in
posts_add
replace=replace, shared=shared, **kwds)
File "/home/userid/lib/python2.5/pydelicious/__init__.py", line 660, in request
fl = self._api_request(path, params=params, opener=self._opener)
File "/home/userid/lib/python2.5/pydelicious/__init__.py", line 303, in dlcs_api_request
fl = http_request(url, opener=opener)
File "/home/userid/lib/python2.5/pydelicious/__init__.py", line 223, in http_request
return opener.open(request)
File "/usr/local/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/local/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/local/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/userid/lib/python2.5/pydelicious/__init__.py", line 182, in http_error_401
raise PyDeliciousUnauthorized, "Check credentials."
PyDeliciousUnauthorized: Check credentials.
pydelicious 0.6 and python 2.5.?
Original comment by [email protected]
on 29 Sep 2011 at 8:17
from pydelicious.
Perhaps should have given it the week before reporting for AVOS to straighten
themselves out. This issue isn't happening anymore.
Original comment by [email protected]
on 4 Oct 2011 at 4:46
from pydelicious.
Related Issues (20)
- pydelicious under google app engine HOT 5
- md5 module is deprecated HOT 1
- ValueError in setup.py when you run python setup.py install HOT 1
- Add support for proxy HOT 5
- pydelicious svn installs, but can't import pydelicious HOT 1
- Can't use API with yahoo id (user id as an email) ! HOT 4
- Improper error on bad user HOT 9
- timeoutsocket HOT 1
- Should not re-encode unicode data HOT 1
- Proxy settings are only set for http, not https HOT 1
- ability to combine more than one tag in the method get_popular HOT 1
- Mismatch of the return value of pydelicious.get_popular() HOT 3
- I get 404 not found erros. HOT 4
- HTTP Error 404: Not Found HOT 3
- dlcs_rss_request() does not work
- How do you install it? HOT 1
- Cannot install using Python 3.2 HOT 12
- Only one tag returned by older API methods HOT 1
- ImportError: No module named tools.dlcs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydelicious.