george hu wrote: > ../bin/paster --plugin=repoze.bfg bfgshell sqlroute.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 > "/home/systemadmin/bfg11/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", > line 84, in run > invoke(command, command_name, options, args[1:]) > File > "/home/systemadmin/bfg11/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", > line 123, in invoke > exit_code = runner.run(args) > File > "/home/systemadmin/bfg11/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", > line 218, in run > result = self.command() > File > "/home/systemadmin/bfg11/lib/python2.5/site-packages/repoze.bfg-1.1a4-py2.5.egg/repoze/bfg/paster.py", > line 79, in command > root, closer = get_root(app) > File > "/home/systemadmin/bfg11/lib/python2.5/site-packages/repoze.bfg-1.1a4-py2.5.egg/repoze/bfg/scripting.py", > line 11, in get_root > registry = app.registry > AttributeError: TM instance has no attribute 'registry' > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev >
It's probably not "main", it's whatever your "app" section is named in your .ini file. - C _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev