Ticket #345 (new defect)
Opened 3 years ago
Entry point name not set correctly during setup-app with 'filter-with' clause
| Reported by: | davidi | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | script | Version: | released-version |
| Severity: | normal | Keywords: | |
| Cc: |
Description
After fixing #344, having a 'filter-with' clause in your app causes the following error. Apparently, appconfig can return an object with a context.entry_point_name of None. It seems like this should cause a default of 'main' to be selected. I'm not sure if this is the best place to do it, but it does work : )
File "/Library/Python/2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line 454, in command
installer = self.get_installer(dist, ep_group, ep_name)
File "/Library/Python/2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/appinstall.py", line 234, in get_installer
'paste.app_install', ep_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 2178, in load_entry_point
ep_map = self._ep_map
ImportError?: Entry point ('paste.app_install', None) not found

