Following the page
which I have called "tutorial" and run it behind a virtualenv called   
"repozeenv "
I'm having trouble starting a repoze shell.

geomacbk:~ georgewr$ cd /Users/georgewr/repozeenv
geomacbk:repozeenv georgewr$ source ./bin/activate
(repozeenv)geomacbk:repozeenv georgewr$ cd tutorial
(repozeenv)geomacbk:tutorial georgewr$ ../bin/paster -- 
plugin=repoze.bfg bfgshell tutorial.ini main
Traceback (most recent call last):
   File "../bin/paster", line 8, in <module>
     load_entry_point('PasteScript==1.7.3', 'console_scripts',  
   File "/Users/georgewr/repozeenv/lib/python2.5/site-packages/ 
PasteScript-1.7.3-py2.5.egg/paste/script/", line 84, in run
     invoke(command, command_name, options, args[1:])
   File "/Users/georgewr/repozeenv/lib/python2.5/site-packages/ 
PasteScript-1.7.3-py2.5.egg/paste/script/", line 123, in  
     exit_code =
   File "/Users/georgewr/repozeenv/lib/python2.5/site-packages/ 
PasteScript-1.7.3-py2.5.egg/paste/script/", line 218, in run
     result = self.command()
   File "/Users/georgewr/repozeenv/lib/python2.5/site-packages/ 
repoze.bfg-1.0a3-py2.5.egg/repoze/bfg/", line 82, in command
     root, closer = get_root(app)
   File "/Users/georgewr/repozeenv/lib/python2.5/site-packages/ 
repoze.bfg-1.0a3-py2.5.egg/repoze/bfg/", line 11, in  
     registry = app.registry
AttributeError: EnvironmentDeleterMiddleware instance has no attribute  
(repozeenv)geomacbk:tutorial georgewr$

OR if I do it without the "--plugin=repoze.bfg" :

(repozeenv)geomacbk:tutorial georgewr$ ../bin/paster bfgshell  
tutorial.ini main
Command 'bfgshell' not known (you may need to run egg_info)
Known commands:
   create       Create the file layout for a Python distribution
   exe          Run #! executable files
   help         Display help
   make-config  Install a package and create a fresh config file/ 
   points       Show information about entry points
   post         Run a request for the described application
   request      Run a request for the described application
   serve        Serve the described application
   setup-app    Setup an application, given a config file

following the suggested "(you may need to run egg_info)"  
makes no difference.


George Wright

Repoze-dev mailing list

Reply via email to