Wan-YunPeng / pydelicious

Automatically exported from code.google.com/p/pydelicious
Other
0 stars 0 forks source link

pydelicious under google app engine #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Code up an app engine module complete with deps
2. Test locally - works ok
3. Deploy to app engine

What is the expected output? What do you see instead?
Bookmarks added, but instead delicious always returns #403 - Forbidden

What version of the product are you using? On what operating system?
http://www.facebook.com/event.php?eid=62187991351&ref=mf

Please provide any additional information below.
Everything seems to work fine on local test, but fails when deployed to
google app engine server. Sure it's something in the app engine
environment, but am new to python. Any pointers as to how to fix this would
be really appreciated. Many thanks.

Original issue reported on code.google.com by iani...@gmail.com on 15 Feb 2009 at 6:22

GoogleCodeExporter commented 8 years ago
Ack.. sorry meant to be a comment not a defect.

Original comment by iani...@gmail.com on 15 Feb 2009 at 6:22

GoogleCodeExporter commented 8 years ago
Interesting. Any source code? what are you trying to accomplish by running on
Google's engine?

Original comment by berend.v...@gmail.com on 19 Feb 2009 at 2:05

GoogleCodeExporter commented 8 years ago
Works fine for me.
But i'm new to app engine, dunno how you setup your deps.. i just linked in the
src-dir. I'm also mostly stuck on py 2.4

http://dotmpe.appspot.com/

/hack

If you had some code.. i wonder what would break here.. perhaps restricted
environment i thought but thats obviously not true in this case.

Original comment by berend.v...@gmail.com on 22 Mar 2009 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by berend.v...@gmail.com on 27 Apr 2009 at 2:17

GoogleCodeExporter commented 8 years ago
In my case, I get 403 Forbidden error when I test the application locally on 
Google App Engine Launcher. 
However, when I deploy the application on Google servers, it works successfully.

To use pydelicious client library within App Engine application, I simply place 
the library source file in the 
application's directory, and import it as usual.

The code executed by App Engine application is that from the example:
    a = DeliciousAPI('username', 'password')
    a.posts_add("http://my.url/", "title", extended="description", tags="my tags")

Original comment by kask...@gmail.com on 1 Jul 2009 at 1:56