be88ex / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
1 stars 0 forks source link

Source results in Server Error 500 #244

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Greetings, I don't know if this problem only concerns me but I have 
downloaded every source file listed and uploaded them into a /test folder.

Whatever file I bring up, I can't get any to work. And the one ending 
with .py ends up giving out a Server Error 500. As for the other html 
file, it shows up, but displays all the {% %} code. (Wich is normal since 
its a .html) Is there something that I'm doing wrong?

I have verified, and my host (1and1) does support Python, CGI, PHP etc. (I 
mostly use PHP myself).

Original issue reported on code.google.com by axise1...@gmail.com on 16 May 2009 at 2:37

GoogleCodeExporter commented 8 years ago
I'm assuming you're referring to the sample code? How are you download these 
files? 
You should use svn checkout for best results. Click 'Checkout' in the 'Source' 
tab 
for more details.

Original comment by api.roman.public@gmail.com on 18 May 2009 at 6:20

GoogleCodeExporter commented 8 years ago
Thats exactly the files I downloaded.
I downloaded all the files here:
http://earth-api-samples.googlecode.com/svn/trunk/demos/earthpad/
And uploaded them to its own /test folder. You can view it on
www.x-raiders.net/world/test

Is there something I'm supposed to edit? When I just try to open the files:
http://www.x-raiders.net/world/test/earthpad.py --> Error 500
http://www.x-raiders.net/world/test/main.html --> Displays the HTML only
Other files only shows the code when I enter their URL in my browser.

Original comment by axise1...@gmail.com on 19 May 2009 at 3:15

GoogleCodeExporter commented 8 years ago
Hum?

Original comment by axise1...@gmail.com on 28 May 2009 at 7:11

GoogleCodeExporter commented 8 years ago
The EarthPad source is written to run on Google App Engine:
http://code.google.com/appengine

So you'll need to use the source with the App Engine development server for 
testing.

Original comment by api.roman.public@gmail.com on 29 May 2009 at 7:52

GoogleCodeExporter commented 8 years ago
Thank you! I wasn't aware of this... erm... technical detail ;)

Original comment by axise1...@gmail.com on 29 May 2009 at 9:47