SDK 1.1.9 breaks google-app-engine-django?

105 views
Skip to first unread message

mcobrien

unread,
Feb 10, 2009, 5:00:25 AM2/10/09
to Google App Engine
Hi,

now that sdk 1.1.9 disallows access to "skipped" files, the
LoadAppengineEnvironment() function in the django helper isn't
working. It makes a call to LoadAppConfig, which tries to read
app.yaml. Since this is a skipped file (it's actually marked as
skipped when LoadAppConfig is first called), the read fails.

Is anyone else having this issue, or is something strange about my
config? I'm using the latest google-app-engine-django from svn, and
Vista x64.

thanks!
Michael

Ian Lewis

unread,
Feb 10, 2009, 5:21:26 AM2/10/09
to google-a...@googlegroups.com
Michael,

Hmm, it seems to be running ok here for me.
--
=======================================
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianm...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
=======================================

Matt Brown

unread,
Feb 10, 2009, 5:35:57 AM2/10/09
to google-a...@googlegroups.com
Hi Michael,

Yes, this was a problem.

I've just committed r72 and r73 to make the helper compatible with the
new SDK release.

Please let us know (file an issue in the tracker) if you encounter any
more instances of the helper attempting to access files that would not
be present in a production environment.

Cheers

Matt Brown

Ian Lewis

unread,
Feb 10, 2009, 5:38:53 AM2/10/09
to google-a...@googlegroups.com
Michael,

Ah, I may not have been running the current version from svn.

Matt,

Thanks for fixing it,

mcobrien

unread,
Feb 10, 2009, 5:58:30 AM2/10/09
to Google App Engine
Matt,

thanks a lot, that fixed it for me. I'll be sure to file an issue if I
see anything else strange.

cheers
M

Nuno Maltez

unread,
Feb 10, 2009, 7:47:49 AM2/10/09
to google-a...@googlegroups.com
Hi,

I have a similar problem, except that I'm using Django 0.96 included
in the SDK and App Engine Helper for Django rev 53 (following the
instructions in the README, it's the latest revision that works with
0.96). Updating to r73 would mean having to update to a more recent
version of Django and include it in my project, which was not in my
plans.

I get the following Warning followed by an Error when I try to access my app:

WARNING:root:Blocking access to skipped file
"/home/nuno/tmp/work-i18n/.google_appengine/lib/django/django/foo"
ERROR:root:Exception encountered handling request
Traceback (most recent call last):
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 2711, in _HandleRequest
base_env_dict=env_dict)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 380, in Dispatch
base_env_dict=base_env_dict)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1998, in Dispatch
self._module_dict)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1916, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1812, in ExecuteOrImportScript
exec module_code in script_module.__dict__
File "/home/nuno/tmp/work-i18n/main.py", line 28, in <module>
from appengine_django import InstallAppengineHelperForDjango
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 982, in decorate
return func(self, *args, **kwargs)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1572, in load_module
return self.FindAndLoadModule(submodule, fullname, search_path)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 982, in decorate
return func(self, *args, **kwargs)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1480, in FindAndLoadModule
description)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 982, in decorate
return func(self, *args, **kwargs)
File "/home/nuno/tmp/work-i18n/.google_appengine/google/appengine/tools/dev_appserver.py",
line 1430, in LoadModuleRestricted
description)
File "/home/nuno/tmp/work-i18n/appengine_django/__init__.py", line
118, in <module>
from django import VERSION
ImportError: No module named django
INFO:root:"GET / HTTP/1.1" 500 -


Anyone else with the same problem? Any pointers to what need to be
changed in order to fix this?

I tried the zip from
http://code.google.com/p/google-app-engine-django/ but got the same
error.

thanks,
Nuno

jtaylor

unread,
Feb 12, 2009, 1:28:45 AM2/12/09
to Google App Engine
I am also getting the same error. Upgraded GAE and I get the below
error. This is very annoying and makes me wary about upgrading the
app engine and deploying my code. Now I am stuck and unable to do my
development.

What is the fix?

-JT

<class 'google.appengine.tools.dev_appserver.InvalidAppConfigError'>
Python 2.5.1: /System/Library/Frameworks/Python.framework/Versions/2.5/
Resources/Python.app/Contents/MacOS/Python
Thu Feb 12 06:13:14 2009

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in _HandleRequest
(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler
instance at 0x1078a58>)

etc.
> I tried the zip fromhttp://code.google.com/p/google-app-engine-django/but got the same
> error.
>
> thanks,
> Nuno

Brett C.

unread,
Feb 12, 2009, 3:07:52 PM2/12/09
to Google App Engine


On Feb 10, 4:47 am, Nuno Maltez <nuno.li...@gmail.com> wrote:
> Hi,
>
> I have a similar problem, except that I'm using Django 0.96 included
> in the SDK and App Engine Helper for Django rev 53 (following the
> instructions in the README, it's the latest revision that works with
> 0.96). Updating to r73 would mean having to update to a more recent
> version of Django and include it in my project, which was not in my
> plans.
>
> I get the following Warning followed by an Error when I try to access my app:
>
> WARNING:root:Blocking access to skipped file
> "/home/nuno/tmp/work-i18n/.google_appengine/lib/django/django/foo"

That WARNING line is what is causing your trouble. SDK 1.1.9 blocks
relying on files that will not be uploaded with your application,
including anything in a directory starting with a dot,
e.g. .google_appengine. Thus when the Django helper tries to import
django it gets blocked by dev_appserver since the SDK is living in a
place that will not be uplaoded with your application.

The fix should be not use the Django helper's little trick of keeping
your SDK in .google_appengine but instead actually install it, or at
least keep it outside of your app directory. That should prevent the
skipped file blocking from interfering with your imports.

Nuno Maltez

unread,
Feb 16, 2009, 9:51:35 AM2/16/09
to google-a...@googlegroups.com

Thanks. I installed the SDK on /usr/local and this particular problem
was solved. I still had to apply the changes made in r72 and r73 in
__init__.py to my version of the helper to stop it from trying to
access app.yaml. Now everything's working with the Django version
included on the SDK.

Nuno

techmonkey

unread,
Feb 16, 2009, 3:54:06 AM2/16/09
to Google App Engine
The same problem occurs in me.
Django included in appengine(1.1.9) is 0.96.1.
http://code.google.com/intl/ja/appengine/articles/django.html

However, django of version 1.0.0 or more is necessary for r73.
Therefore, it is not possible to operate.
How should I do?

R Warren

unread,
Feb 15, 2009, 11:28:40 PM2/15/09
to Google App Engine
Hi,

I am also encountering the same problem as jtaylor and I am running
the same configuration as the poster in this thread:

http://groups.google.com/group/google-appengine/browse_frm/thread/9e9f3715a866b754

(Installed GAE SDK 1.1.9 on Mac OS X 10.5.6 running Python 2.5.1)

I had no problems with GAE prior to this update.

I have posted relevant code/error msgs below, the primary error msg
(the bottom line) is as follows:

<class 'google.appengine.tools.dev_appserver.InvalidAppConfigError'>:
Application configuration could not be read from "/Users/robertwarren/
Documents/workspace/BioVenturist/BioVenturist/bioventurist_v0.2/
app.yaml"

Any suggestions as to how to begin fixing this issue would be
appreciated.

Here is my app.yaml:

application: bioventurist
version: 1
runtime: python
api_version: 1

handlers:
- url: /media
static_dir: media

- url: /static
static_dir: static

- url: /bvapp/static
static_dir: bvapp/static

- url: /img
static_dir: static/img

- url: /img/(.*)
static_files: static/img/\1
upload: static/img/(.*)

- url: /.*
script: common/appenginepatch/main.py

And the error msg:

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in _HandleRequest
(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler
instance at 0x10c99e0>)
2709 infile,
2710 outfile,
2711 base_env_dict=env_dict)
2712 finally:
2713 self.module_manager.UpdateModuleFileModificationTimes
()
base_env_dict undefined, env_dict = {'APPLICATION_ID': 'bioventurist',
'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
'8082', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
1.0'}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in Dispatch
(self=<google.appengine.tools.dev_appserver.MatcherDispatcher object
at 0x10e5890>, relative_url='/', path=None, headers=<mimetools.Message
instance at 0x10f1148>, infile=<cStringIO.StringI object at
0x10d20e0>, outfile=<cStringIO.StringO object at 0x10e5820>,
base_env_dict={'APPLICATION_ID': 'bioventurist', 'CURRENT_VERSION_ID':
'1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
'SERVER_NAME': 'localhost', 'SERVER_PORT': '8082', 'SERVER_PROTOCOL':
'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
378 infile,
379 outfile,
380
base_env_dict=base_env_dict)
381
382 if forward:
base_env_dict = {'APPLICATION_ID': 'bioventurist',
'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
'8082', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
1.0'}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in Dispatch
(self=<google.appengine.tools.dev_appserver.CGIDispatcher object at
0x10e5af0>, relative_url='/', path='common/appenginepatch/main.py',
headers=<mimetools.Message instance at 0x10f1148>,
infile=<cStringIO.StringI object at 0x10d20e0>,
outfile=<cStringIO.StringO object at 0x10e5820>, base_env_dict=
{'APPLICATION_ID': 'bioventurist', 'CURRENT_VERSION_ID': '1.1',
'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME':
'localhost', 'SERVER_PORT': '8082', 'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'Development/1.0'})
1996 infile,
1997 outfile,
1998 self._module_dict)
1999 handler.AddDebuggingConsole(relative_url, env, outfile)
2000 finally:
self = <google.appengine.tools.dev_appserver.CGIDispatcher object at
0x10e5af0>, self._module_dict = {'__main__': <module
'common.appenginepatch.main' from '/User...bioventurist_v0.2/common/
appenginepatch/main.py'>, 'aecmd': <module 'aecmd' from '/Users/
robertwarren/Docume...oventurist_v0.2/common/appenginepatch/
aecmd.pyc'>, 'appenginepatcher.aecmd': None,
'appenginepatcher.google': None, 'appenginepatcher.os': None,
'appenginepatcher.sys': None, 'codecs': <module 'codecs' from '/System/
Library/Framework...framework/Versions/2.5/lib/python2.5/codecs.pyc'>,
'common': <module 'common' from '/Users/robertwarren/Docum...Venturist/
bioventurist_v0.2/common/__init__.pyc'>, 'common.appenginepatch':
<module 'common.appenginepatch' from '/Users/rob...nturist_v0.2/common/
appenginepatch/__init__.pyc'>, 'common.appenginepatch.main': <module
'common.appenginepatch.main' from '/User...bioventurist_v0.2/common/
appenginepatch/main.py'>, ...}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in ExecuteCGI(root_path='/
Users/robertwarren/Documents/workspace/BioVenturist/BioVenturist/
bioventurist_v0.2', handler_path='common/appenginepatch/main.py',
cgi_path='/Users/robertwarren/Documents/workspace/BioVentu...t/
bioventurist_v0.2/common/appenginepatch/main.py', env=
{'APPLICATION_ID': 'bioventurist', 'AUTH_DOMAIN': 'gmail.com',
'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form-
urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/
1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET':
'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_LANGUAGE': 'en-
us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', ...},
infile=<cStringIO.StringI object at 0x10d20e0>,
outfile=<cStringIO.StringO object at 0x10e5820>, module_dict=
{'__main__': <module 'common.appenginepatch.main' from '/
User...bioventurist_v0.2/common/appenginepatch/main.py'>, 'aecmd':
<module 'aecmd' from '/Users/robertwarren/Docume...oventurist_v0.2/
common/appenginepatch/aecmd.pyc'>, 'appenginepatcher.aecmd': None,
'appenginepatcher.google': None, 'appenginepatcher.os': None,
'appenginepatcher.sys': None, 'codecs': <module 'codecs' from '/System/
Library/Framework...framework/Versions/2.5/lib/python2.5/codecs.pyc'>,
'common': <module 'common' from '/Users/robertwarren/Docum...Venturist/
bioventurist_v0.2/common/__init__.pyc'>, 'common.appenginepatch':
<module 'common.appenginepatch' from '/Users/rob...nturist_v0.2/common/
appenginepatch/__init__.pyc'>, 'common.appenginepatch.main': <module
'common.appenginepatch.main' from '/User...bioventurist_v0.2/common/
appenginepatch/main.py'>, ...}, exec_script=<function
ExecuteOrImportScript at 0x10cbc70>)
1914 logging.debug('Executing CGI with env:\n%s', pprint.pformat
(env))
1915 try:
1916 reset_modules = exec_script(handler_path, cgi_path, hook)
1917 except SystemExit, e:
1918 logging.debug('CGI exited with status: %s', e)
reset_modules = True, exec_script = <function ExecuteOrImportScript at
0x10cbc70>, handler_path = 'common/appenginepatch/main.py', cgi_path =
'/Users/robertwarren/Documents/workspace/BioVentu...t/
bioventurist_v0.2/common/appenginepatch/main.py', hook =
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x10e5bf0>
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in ExecuteOrImportScript
(handler_path='common/appenginepatch/main.py', cgi_path='/Users/
robertwarren/Documents/workspace/BioVentu...t/bioventurist_v0.2/common/
appenginepatch/main.py',
import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook
object at 0x10e5bf0>)
1810 try:
1811 if module_code:
1812 exec module_code in script_module.__dict__
1813 else:
1814 script_module.main()
module_code = <code object <module> at 0x10b6bf0, file "/
Users...rist_v0.2/common/appenginepatch/main.py", line 2>,
script_module = <module 'common.appenginepatch.main' from '/
User...bioventurist_v0.2/common/appenginepatch/main.py'>,
script_module.__dict__ = {'__builtins__': {'ArithmeticError': <type
'exceptions.ArithmeticError'>, 'AssertionError': <type
'exceptions.AssertionError'>, 'AttributeError': <type
'exceptions.AttributeError'>, 'BaseException': <type
'exceptions.BaseException'>, 'DeprecationWarning': <type
'exceptions.DeprecationWarning'>, 'EOFError': <type
'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError':
<type 'exceptions.EnvironmentError'>, 'Exception': <type
'exceptions.Exception'>, 'False': False, ...}, '__doc__': None,
'__file__': '/Users/robertwarren/Documents/workspace/BioVentu...t/
bioventurist_v0.2/common/appenginepatch/main.py', '__loader__':
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x25f190>, '__name__': 'common.appenginepatch.main', 'current_dir': '/
Users/robertwarren/Documents/workspace/BioVentu...Venturist/
bioventurist_v0.2/common/appenginepatch', 'os': <module 'os' from '/
System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
os.pyc'>, 'setup_project': <function setup_project at 0x10eacf0>,
'sys': <module 'sys' (built-in)>}
/Users/robertwarren/Documents/workspace/BioVenturist/BioVenturist/
bioventurist_v0.2/common/appenginepatch/main.py in ()
7
8 from aecmd import setup_project
9 setup_project()
10
11 from appenginepatcher.patch import patch_all, setup_logging
setup_project = <function setup_project at 0x10eacf0>
/Users/robertwarren/Documents/workspace/BioVenturist/BioVenturist/
bioventurist_v0.2/common/appenginepatch/aecmd.py in setup_project()
107
108 def setup_project():
109 from appenginepatcher import on_production_server
110
111 # Remove the standard version of Django if the user wants to
override it.
appenginepatcher undefined, on_production_server undefined
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in decorate
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, *args=('appenginepatcher',), **kwargs={})
980 self._indent_level += 1
981 try:
982 return func(self, *args, **kwargs)
983 finally:
984 self._indent_level -= 1
func = <function load_module at 0x10cb9b0>, self =
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x10e5bf0>, args = ('appenginepatcher',), kwargs = {}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in load_module
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, fullname='appenginepatcher')
1570 search_path = parent_module.__path__
1571
1572 return self.FindAndLoadModule(submodule, fullname,
search_path)
1573
1574 @Trace
self = <google.appengine.tools.dev_appserver.HardenedModulesHook
object at 0x10e5bf0>, self.FindAndLoadModule = <bound method
HardenedModulesHook.decorate of <g...pserver.HardenedModulesHook
object at 0x10e5bf0>>, submodule = 'appenginepatcher', fullname =
'appenginepatcher', search_path = None
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in decorate
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, *args=('appenginepatcher', 'appenginepatcher', None),
**kwargs={})
980 self._indent_level += 1
981 try:
982 return func(self, *args, **kwargs)
983 finally:
984 self._indent_level -= 1
func = <function FindAndLoadModule at 0x10cb7b0>, self =
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x10e5bf0>, args = ('appenginepatcher', 'appenginepatcher', None),
kwargs = {}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in FindAndLoadModule
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, submodule='appenginepatcher',
submodule_fullname='appenginepatcher', search_path=None)
1478 source_file,
1479 pathname,
1480 description)
1481
1482 module.__loader__ = self
description = ('', '', 5)
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in decorate
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, *args=('appenginepatcher', None, '/Users/robertwarren/
Documents/workspace/BioVentu...urist_v0.2/common/appenginepatch/
appenginepatcher', ('', '', 5)), **kwargs={})
980 self._indent_level += 1
981 try:
982 return func(self, *args, **kwargs)
983 finally:
984 self._indent_level -= 1
func = <function LoadModuleRestricted at 0x10cb730>, self =
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x10e5bf0>, args = ('appenginepatcher', None, '/Users/robertwarren/
Documents/workspace/BioVentu...urist_v0.2/common/appenginepatch/
appenginepatcher', ('', '', 5)), kwargs = {}
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in LoadModuleRestricted
(self=<google.appengine.tools.dev_appserver.HardenedModulesHook object
at 0x10e5bf0>, submodule_fullname='appenginepatcher',
source_file=None, pathname='/Users/robertwarren/Documents/workspace/
BioVentu...urist_v0.2/common/appenginepatch/appenginepatcher',
description=('', '', 5))
1428 source_file,
1429 pathname,
1430 description)
1431 except:
1432 if submodule_fullname in self._module_dict:
description = ('', '', 5)
/Users/robertwarren/Documents/workspace/BioVenturist/BioVenturist/
bioventurist_v0.2/common/appenginepatch/appenginepatcher/__init__.py
in ()
7 from google.appengine.tools import dev_appserver
8 from aecmd import PROJECT_DIR
9 appconfig, unused = dev_appserver.LoadAppConfig(PROJECT_DIR,
{})
10 appid = appconfig.application
11 except ImportError:
appconfig undefined, unused undefined, dev_appserver = None,
dev_appserver.LoadAppConfig undefined, PROJECT_DIR = None
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in LoadAppConfig(root_path='/
Users/robertwarren/Documents/workspace/BioVenturist/BioVenturist/
bioventurist_v0.2', module_dict={}, cache=None, static_caching=True,
read_app_config=<function ReadAppConfig at 0x10ce470>,
create_matcher=<function CreateURLMatcherFromMaps at 0x10ce4b0>)
2928
2929 try:
2930 config = read_app_config(appinfo_path,
appinfo.LoadSingleAppInfo)
2931
2932 if static_caching:
config undefined, read_app_config = <function ReadAppConfig at
0x10ce470>, appinfo_path = '/Users/robertwarren/Documents/workspace/
BioVenturist/BioVenturist/bioventurist_v0.2/app.yaml', global appinfo
= <module 'google.appengine.api.appinfo' from '/Ap...ogle_appengine/
google/appengine/api/appinfo.pyc'>, appinfo.LoadSingleAppInfo =
<function LoadSingleAppInfo at 0x69be30>
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in ReadAppConfig
(appinfo_path='/Users/robertwarren/Documents/workspace/BioVenturist/
BioVenturist/bioventurist_v0.2/app.yaml', parse_app_config=<function
LoadSingleAppInfo at 0x69be30>)
2796 except IOError, e:
2797 raise InvalidAppConfigError(
2798 'Application configuration could not be read from "%s"' %
appinfo_path)
2799
2800
appinfo_path = '/Users/robertwarren/Documents/workspace/BioVenturist/
BioVenturist/bioventurist_v0.2/app.yaml'

<class 'google.appengine.tools.dev_appserver.InvalidAppConfigError'>:
Application configuration could not be read from "/Users/robertwarren/
Documents/workspace/BioVenturist/BioVenturist/bioventurist_v0.2/
app.yaml"

arbi

unread,
Mar 10, 2009, 9:36:48 AM3/10/09
to Google App Engine
Hi,

I had exactly the same problem of "importing django error". The
warning I got is :
[WARNING:root:Blocking access to skipped file "/Users/brouard/
mysite/.google_appengine/lib/django/django/foo"]

Can Brett or Nuno help me?
I have the 1.1.9 version of appengine. The SDK folder
(google_appengine) is already in /usr/local.

But I don't understand what Brett said :

"
The fix should be not use the Django helper's little trick of keeping
your SDK in .google_appengine but instead actually install it, or at
least keep it outside of your app directory. That should prevent the
skipped file blocking from interfering with your imports.
"

How can I fix this pb? (I am kind of newb)
Thx

Arbi

Coonay

unread,
Mar 14, 2009, 11:58:27 PM3/14/09
to Google App Engine
where can i get r72?
the latest is just r52
http://code.google.com/p/google-app-engine-django/downloads/list,

thanks for ur help


On Mar 10, 9:36 pm, arbi <arbin...@gmail.com> wrote:
> Hi,
>
> I had exactly the same problem of "importingdjangoerror". The
> warning I got is :
> [WARNING:root:Blocking access to skipped file "/Users/brouard/
> mysite/.google_appengine/lib/django/django/foo"]
>
> Can Brett or Nuno help me?
> I have the 1.1.9 version of appengine. The SDK folder
> (google_appengine) is already in /usr/local.
>
> But I don't understand what Brett said :
>
> "
> The fix should be not use theDjangohelper's little trick of keeping
> your SDK in .google_appengine but instead actually install it, or at
> least keep it outside of yourappdirectory. That should prevent the

Michael O'Brien

unread,
Mar 16, 2009, 4:55:28 AM3/16/09
to Google App Engine
The zip hasn't been updated in a while, so you'll need to get the
latest version from subversion:

http://code.google.com/p/google-app-engine-django/source/checkout

cheers
Michael

On Mar 15, 3:58 am, Coonay <fla...@gmail.com> wrote:
> where can i get r72?
> the latest is just r52http://code.google.com/p/google-app-engine-django/downloads/list,
>
> thanks for ur help
>
> On Mar 10, 9:36 pm, arbi <arbin...@gmail.com> wrote:
>
> > Hi,
>
> > I had exactly the same problem of "importingdjangoerror". The
> > warning I got is :
> > [WARNING:root:Blocking access to skipped file "/Users/brouard/
> > mysite/.google_appengine/lib/django/django/foo"]
>
> > Can Brett or Nuno help me?
> > I have the1.1.9version of appengine. The SDK folder
Reply all
Reply to author
Forward
0 new messages