GithubHelp home page GithubHelp logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.