[google-appengine] Unexpected errors importing Django 1.2

2011-03-09 Thread Nathanael Abbotts
Can anyone identify what is causing the following error?

class 'google.appengine.dist._library.UnacceptableVersionError': django 1.2 
was requested, but 0.96.4.None is already in use
Traceback (most recent call last):
  File /base/data/home/apps/nat-abbotts/17.348887611921242050/article.py, 
line 6, in module
use_library('django', '1.2')
  File 
/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py, 
line 291, in use_library
InstallLibrary(name, version, explicit=True)
  File 
/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py, 
line 250, in InstallLibrary
CheckInstalledVersion(name, version, explicit=True)
  File 
/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py, 
line 194, in CheckInstalledVersion
(name, desired_version, installed_version))
class 'google.appengine.dist._library.UnacceptableVersionError': django 1.2 
was requested, but 0.96.4.None is already in use

-- 
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.



[google-appengine] Re: URL Handler RegExp

2011-03-05 Thread Nathanael Abbotts
You can't pass parameter values to scripts. 

-- 
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.



[google-appengine] Re: URL Handler RegExp

2011-03-05 Thread Nathanael Abbotts
You don't need to. If you are using WSGIApp, just enter index.py in 
app.yaml, then in your WSGIApp handler, you can access the url 
with self.request.url. Perform whatever filtering you want to extract the 
number from the url.

-- 
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.



[google-appengine] Python Admin pages no longer recognised

2011-02-15 Thread Nathanael Abbotts
I have an admin page in my app. In the app.yaml, it is configured to be 
accessible only to project admins by use of the login: admin line.

But when I visit the url that this is set up for, I see this (in Chrome):

Error: Not FoundThe requested URL 
/_ah/login_required?continue=http://nat-abbotts.appspot.com/post was not 
found on this server.

-- 
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.



[google-appengine] Re: Python Admin pages no longer recognised

2011-02-15 Thread Nathanael Abbotts
Thought some additional details would be helpful:

All other pages on the app respond.
The logs have no errors displayed regarding this, but one warning appears:

/_ah/login_required?continue=http://nat-abbotts.appspot.com/post

   1. 
   
   No handlers matched this URL.
   
   
Changing the version had no effect. 

-- 
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.



Re: [google-appengine] Re: Python Admin pages no longer recognised

2011-02-15 Thread Nathanael Abbotts
Ah, Thanks! I'll just switch back to google account authentication. That's 
fixed the problem. 

Thank you :) 

-- 
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.