rendered paste bodyegj@egj:~/zenv/tasktracker$ paster setup-app development.ini
Traceback (most recent call last):
File "/home/egj/zenv/bin/paster", line 7, in ?
sys.exit(
File "/home/egj/zenv/lib/python/PasteScript-1.3.1dev_r6365-py2.4.egg/paste/script/ command.py", line 76, in run
invoke(command, command_name, options, args[1:])
File "/home/egj/zenv/lib/python/PasteScript-1.3.1dev_r6365-py2.4.egg/paste/script/ command.py", line 115, in invoke
exit_code = runner.run(args)
File "/home/egj/zenv/lib/python/PasteScript-1.3.1dev_r6365-py2.4.egg/paste/script/ appinstall.py", line 65, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/home/egj/zenv/lib/python/PasteScript-1.3.1dev_r6365-py2.4.egg/paste/script/ command.py", line 210, in run
result = self.command()
File "/home/egj/zenv/lib/python/PasteScript-1.3.1dev_r6365-py2.4.egg/paste/script/ appinstall.py", line 448, in command
raise pkg_resources.DistributionNotFound(
AttributeError: 'ConfigLoader' object has no attribute 'spec'
---
(Pdb) list
444 ep_name = conf.context.entry_point_name
445 ep_group = conf.context.protocol
446 dist = conf.context.distribution
447 if dist is None:
448 import pdb; pdb.set_trace()
449 -> raise pkg_resources.DistributionNotFound(
450 "No distribution found with spec %r"
451 % (conf.context.loader.spec))
452 installer = self.get_installer(dist, ep_group, ep_name)
453 installer.setup_config(
454 self, config_file, section, self.sysconfig_install_vars(installe r))
(Pdb) conf.context.loader
<paste.deploy.loadwsgi.ConfigLoader object at 0x2b1c0305d490>
(Pdb) dir(conf.context.loader)
['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__s etattr__', '__str__', '__weakref__', '_absolute_re', '_context_from_explicit', '_con text_from_use', '_filter_app_context', '_find_sections', '_pipeline_app_context', 'a bsolute_name', 'app_context', 'filename', 'filter_context', 'find_config_section', ' get_app', 'get_context', 'get_filter', 'get_server', 'parser', 'server_context', 'up date_defaults']