Nick,

I have my site up now - thank you. However I cannot see WHICH line was
causing the problem. Can you point it out to me? I only got it working
by deleting all XML calls. All of them appeared to be fine, but I
couldn't take a chance. It would really help me if you could let me
know how you zeroed in on the problem!





On Oct 12, 9:04 pm, Kate <mss.ka...@gmail.com> wrote:
> Nick,
>
> thanks for the quick reply. Here is the log of when I run it locally.
> 2011-10-12 20:04:27 Running command: "['C:\\Python27\\pythonw.exe', 'C:
> \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
> port=8080', u'C:\\wwwhome\\aussieclouds']"
> Warning: You are using a Python runtime (2.7) that is more recent than
> the production runtime environment (2.5). Your application may use
> features that are not available in the production environment and may
> not work correctly when deployed to production.
> INFO     2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
> SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
> \dev_appserver.rdbms'
> WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
> initialize images API; you are likely missing the Python "PIL" module.
> ImportError: No module named _imaging
> INFO     2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
> Running application aussieclouds on port 8080:http://localhost:8080
> WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
> default Django version (0.96). The default Django version will change
> in an App Engine release in the near future. Please call use_library()
> to explicitly select a Django version. For more information 
> seehttp://code.google.com/appengine/docs/python/tools/libraries.html#Django
> ERROR    2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
> line 1, column 0
> Traceback (most recent call last):
>   File "C:\google_appengine\google\appengine\ext\webapp\_webapp25.py",
> line 701, in __call__
>     handler.get(*groups)
>   File "C:\wwwhome\aussieclouds\index.py", line 396, in get
>     doRender(self,'index.htm')
>   File "C:\wwwhome\aussieclouds\index.py", line 111, in doRender
>     theevents=frontpage.getevents()
>   File "C:\wwwhome\aussieclouds\frontpage.py", line 240, in getevents
>     dom = parse("http://www.gumnut.com/clouds/getevents.cfm";)
>   File "C:\wwwhome\aussieclouds\frontpage.py", line 229, in parse
>     return minidom.parseString(r.content)
>   File "C:\Python27\lib\xml\dom\minidom.py", line 1924, in parseString
>     return expatbuilder.parseString(string)
>   File "C:\Python27\lib\xml\dom\expatbuilder.py", line 940, in
> parseString
>     return builder.parseString(string)
>   File "C:\Python27\lib\xml\dom\expatbuilder.py", line 223, in
> parseString
>     parser.Parse(string, True)
> ExpatError: no element found: line 1, column 0
> INFO     2011-10-13 00:05:23,405 dev_appserver.py:4143] "GET / HTTP/
> 1.1" 500 -
> INFO     2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
> C:\wwwhome\aussieclouds\index.yaml
> INFO     2011-10-13 00:07:26,358 dev_appserver.py:4143] "GET /_ah/
> admin HTTP/1.1" 302 -
> INFO     2011-10-13 00:07:26,500 dev_appserver.py:4143] "GET /_ah/
> admin/datastore HTTP/1.1" 200 -
> INFO     2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
> C:\wwwhome\aussieclouds\index.yaml
> INFO     2011-10-13 00:07:26,703 dev_appserver.py:4143] "GET /_ah/
> admin/images/google.gif HTTP/1.1" 200 -
> 2011-10-12 20:09:43 (Process exited with code -1)
>
> 2011-10-12 20:09:47 Running command: "['C:\\Python27\\pythonw.exe', 'C:
> \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
> port=8080', u'C:\\wwwhome\\aussieclouds']"
> Warning: You are using a Python runtime (2.7) that is more recent than
> the production runtime environment (2.5). Your application may use
> features that are not available in the production environment and may
> not work correctly when deployed to production.
> INFO     2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
> SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
> \dev_appserver.rdbms'
> WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
> initialize images API; you are likely missing the Python "PIL" module.
> ImportError: No module named _imaging
> INFO     2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
> Running application aussieclouds on port 8080:http://localhost:8080
> WARNING  2011-10-13 00:10:32,078 __init__.py:97] You are using the
> default Django version (0.96). The default Django version will change
> in an App Engine release in the near future. Please call use_library()
> to explicitly select a Django version. For more information 
> seehttp://code.google.com/appengine/docs/python/tools/libraries.html#Django
> INFO     2011-10-13 00:10:32,203 dev_appserver.py:4143] "GET /_ah/
> admin HTTP/1.1" 302 -
> INFO     2011-10-13 00:10:32,203 dev_appserver_index.py:255] Updating
> C:\wwwhome\aussieclouds\index.yaml
> INFO     2011-10-13 00:10:32,250 dev_appserver.py:4143] "GET /_ah/
> admin HTTP/1.1" 302 -
> INFO     2011-10-13 00:10:32,328 dev_appserver.py:4143] "GET /_ah/
> admin/datastore HTTP/1.1" 200 -
> INFO     2011-10-13 00:10:32,342 dev_appserver_index.py:255] Updating
> C:\wwwhome\aussieclouds\index.yaml
> INFO     2011-10-13 00:10:32,437 dev_appserver.py:4143] "GET /_ah/
> admin/datastore HTTP/1.1" 200 -
> INFO     2011-10-13 00:10:32,562 dev_appserver.py:4143] "GET /_ah/
> admin/images/google.gif HTTP/1.1" 200 -
>
> BUT this is using the newest SDK for Python.
>
> Last time I deployed my site was about 5 days ago. All was fine then.
>
> How can I see the live log?
>
> On Oct 12, 8:36 pm, Nick Johnson <nickjohn...@google.com> wrote:
>
> > Hi Kate,
>
> > You haven't included the complete stacktrace, including the all important
> > last line that tells us what actually went wrong. Can you paste the whole
> > thing, please?
>
> > -Nick Johnson
>
> > On Thu, Oct 13, 2011 at 11:35 AM, Kate <mss.ka...@gmail.com> wrote:
> > > This is what I am getting.
>
> > > Traceback (most recent call last):
> > >  File "C:\google_appengine\google\appengine\ext\webapp\_webapp25.py",
> > > line 701, in __call__
> > >    handler.get(*groups)
> > >  File "C:\wwwhome\aussieclouds\index.py", line 396, in get
> > >    doRender(self,'index.htm')
>
> > > I read the blogs and found that a new version of the SDK was deployed
> > > yesterday. So I downloaded the new version to help me troubleshoot but
> > > it was of no help.
>
> > > I do not have any idea as to how to proceed with this!
>
> > > On Oct 12, 8:25 pm, Nick Johnson <nickjohn...@google.com> wrote:
> > > > Hi Kate,
>
> > > > Your app appears to be returning a 500 server error (with no text in the
> > > > body) when fetching the base URL (/) of your app. It's impossible to say
> > > why
> > > > this is without seeing your code and logs. Have you checked the logs in
> > > the
> > > > App Engine admin console to see what is being logged for these requests?
>
> > > > -Nick Johnson
>
> > > > On Thu, Oct 13, 2011 at 10:42 AM, Kate <mss.ka...@gmail.com> wrote:
> > > > > I haven't touched a thing, yet suddenly my site throws an error when
> > > > > the url does not contain the filename.
>
> > > > > e.g.
> > > > >http://www.coolabah.comgivesaserver error while
> > > > >http://www.coolabah.com/index.htmworksfine.
>
> > > > > Can anyone help me!
>
> > > > > The error is
> > > > > The website cannot display the page
> > > > >  HTTP 500
> > > > >   Most likely causes:
> > > > > •The website is under maintenance.
> > > > > •The website has a programming error.
>
> > > > > --
> > > > > You received this message because you are subscribed to 
> > > > > theGoogleGroups
> > > > > "GoogleApp Engine" group.
> > > > > To post to this group, send email togoogle-appeng...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > >google-appengine+unsubscr...@googlegroups.com.
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-appengine?hl=en.
>
> > > > --
> > > > Nick Johnson, Developer Programs Engineer, App Engine
>
> > > --
> > > You received this message because you are subscribed to theGoogleGroups
> > > "GoogleApp Engine" group.
> > > To post to this group, send email togoogle-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > >google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to