If have an application that used to work just fine under
bfg+google appengine - cf. the tutorial at
  
  http://docs.repoze.org/bfg/1.3/tutorials/gae/index.html

There is a

   <scan package="." />

in its configure file (which recently caused me no problems
under gae)

Now with a recent bfg (1.3a4) on gae 1.3.5 when running the dev_appserver.py
script (under py25) I get this error if I have a 
scan like above (<scan package="." />) in my configuration, any idea?:

(This app runs just fine, when run under my system python,
i. e. without gae.)

By the way: is there a possibility to run bfg on gae under python2.6?
- My system python is 2.6 already, but the bottleneck seems to
be, that appengine-monkey insists on 2.5.



-Andreas



Traceback (most recent call last):
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
3199, in _HandleRequest
    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
3142, in _Dispatch
    base_env_dict=env_dict)
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
524, in Dispatch
    base_env_dict=base_env_dict)
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
2401, in Dispatch
    self._module_dict)
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
2311, in ExecuteCGI
    reset_modules = exec_script(handler_path, cgi_path, hook)
  File 
"/opt/appengine/google_appengine/google/appengine/tools/dev_appserver.py", line 
2207, in ExecuteOrImportScript
    exec module_code in script_module.__dict__
  File "/home/reuleaux/work/website/gae/app/runner.py", line 63, in <module>
    application = application(*(config_args or ()), **(config_kwargs or {}))
  File "/home/reuleaux/work/website/gae/app/website/run.py", line 13, in app
    config.load_zcml(zcml_file)
  File 
"/home/reuleaux/work/website/gae/app/lib/python/repoze/bfg/configuration.py", 
line 519, in load_zcml
    xmlconfig.file(filename, package, execute=True)
  File 
"/home/reuleaux/work/website/gae/app/lib/python/zope/configuration/xmlconfig.py",
 line 653, in file
    context.execute_actions()
  File 
"/home/reuleaux/work/website/gae/app/lib/python/zope/configuration/config.py", 
line 606, in execute_actions
    callable(*args, **kw)
  File 
"/home/reuleaux/work/website/gae/app/lib/python/repoze/bfg/configuration.py", 
line 1232, in scan
    scanner.scan(package, categories=categories)
  File "/home/reuleaux/work/website/gae/app/lib/python/venusian/__init__.py", 
line 47, in scan
    module_type = loader.etc[2]
ConfigurationExecutionError: <type 'exceptions.TypeError'>: 'NoneType' object 
is unsubscriptable
  in:
  File "/home/reuleaux/work/website/gae/app/website/configure.zcml", line 
18.2-18.22
    <scan package="." />

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to