Message from discussion
import yql causing Error 500 on appspot but works locally
Received: by 10.100.96.6 with SMTP id t6mr621230anb.23.1287281498917;
Sat, 16 Oct 2010 19:11:38 -0700 (PDT)
X-BeenThere: google-appengine-python@googlegroups.com
Received: by 10.101.131.11 with SMTP id i11ls788669ann.5.p; Sat, 16 Oct 2010
19:11:35 -0700 (PDT)
Received: by 10.100.152.15 with SMTP id z15mr83and.53.1287281495167;
Sat, 16 Oct 2010 19:11:35 -0700 (PDT)
Date: Sat, 16 Oct 2010 19:11:34 -0700 (PDT)
From: Pete <pto...@gmail.com>
Reply-To: google-appengine-python@googlegroups.com
To: google-appengine-python@googlegroups.com
Message-ID: <28364090.47.1287281494275.JavaMail.geo-discussion-forums@yqn30>
Subject: import yql causing Error 500 on appspot but works locally
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_45_24181492.1287281494271"
------=_Part_45_24181492.1287281494271
Content-Type: multipart/alternative;
boundary="----=_Part_46_7057162.1287281494272"
------=_Part_46_7057162.1287281494272
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I'm working on my first gae application. I'm also new to Python.
The app uses Python-YQL to get some info from another website. The main
module of Python-YQL is yql which seems to also import a module called
httplib2 and another called oauth2. I copied all three folders to my
application folder.
Got the app working nicely locally but the deployed version shows 500
server error when I run it.
I narrowed the problem down to the "import yql" line. I put a
try/except around the import statement. Locally it succeeds. Deployed,
the exception clause fires. I don't know how to get more detail about
the exception other than that it fired.
Any help would be appreciated!
Incidentally, I'm kind of surprised that nobody in the forum is talking
about using yql with gae.
------=_Part_46_7057162.1287281494272
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
I'm working on my first gae application. I'm also new to Python.<div><br></div><div>The app uses Python-YQL to get some info from another website. The main module of Python-YQL is yql which seems to also import a module called httplib2 and another called oauth2. I copied all three folders to my application folder.</div><div><br></div><div>Got the app working nicely locally but the deployed version shows 500 server error when I run it.<div><br></div><div>I narrowed the problem down to the "import yql" line. I put a try/except around the import statement. Locally it succeeds. Deployed, the exception clause fires. I don't know how to get more detail about the exception other than that it fired.</div></div><div><br></div><div>Any help would be appreciated!<br></div><div><br></div><div>Incidentally, I'm kind of surprised that nobody in the forum is talking about using yql with gae. </div><div><br></div>
------=_Part_46_7057162.1287281494272--
------=_Part_45_24181492.1287281494271--