New submission from Andrew Groom <and...@reurbanise.co.nz>:

When I try to run an interactive shell in a bfg_alchemy or bfg_routesalchemy
project, I get:

and...@spud:newsplace_alchemy$ ../bin/paster --plugin=repoze.bfg bfgshell
newsplace_alchemy.ini main
Traceback (most recent call last):
  File "../bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File
"/opt/bfgenv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 84, in run
    invoke(command, command_name, options, args[1:])
  File
"/opt/bfgenv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 123, in invoke
    exit_code = runner.run(args)
  File
"/opt/bfgenv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 218, in run
    result = self.command()
  File
"/opt/bfgenv/lib/python2.6/site-packages/repoze.bfg-1.0.1-py2.6.egg/repoze/bfg/paster.py",
line 82, in command
    root, closer = get_root(app)
  File
"/opt/bfgenv/lib/python2.6/site-packages/repoze.bfg-1.0.1-py2.6.egg/repoze/bfg/scripting.py",
line 11, in get_root
    registry = app.registry
AttributeError: TM instance has no attribute 'registry'

This works fine in a bfg_starter project created in the same virtualenv.

----------
messages: 250
nosy: andrewjg
priority: bug
status: unread
title: Can't start shell in bfg_alchemy or bfg_routesalchemy projects

__________________________________
Repoze Bugs <b...@bugs.repoze.org>
<http://bugs.repoze.org/issue94>
__________________________________
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to