Modify ↓
#11224 closed defect (cantfix)
Can't create new environment with Sqlite
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | |
Severity: | major | Keywords: | setuptools |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
After installing Trac 1.0 I wanted to create new environment but I get this error instead. I'm not sure if it's installation error or Trac error.
Creating and Initializing Project Initenv for 'c:\Sharq\Trac' failed. Failed to create environment. ResourceManager instance has no attribute '_warn_unsafe_extraction' Traceback (most recent call last): File "c:\users\user\appdata\local\temp\easy_install-0ritil\Trac-1.0-py2.7- win32.egg.tmp\trac\admin\console.py", line 455, in do_initenv options=options) File "c:\users\user\appdata\local\temp\easy_install-0ritil\Trac-1.0-py2.7- win32.egg.tmp\trac\core.py", line 124, in __call__ self.__init__(*args, **kwargs) File "c:\users\user\appdata\local\temp\easy_install-0ritil\Trac-1.0-py2.7- win32.egg.tmp\trac\env.py", line 288, in __init__ setup_participant.environment_created() File "c:\users\user\appdata\local\temp\easy_install-0ritil\Trac-1.0-py2.7- win32.egg.tmp\trac\ticket\default_workflow.py", line 141, in environment_created load_workflow_config_snippet(self.config, 'basic-workflow.ini') File "c:\users\user\appdata\local\temp\easy_install-0ritil\Trac-1.0-py2.7- win32.egg.tmp\trac\ticket\default_workflow.py", line 91, in load_workflow_config_snippet 'workflows/%s' % filename) File "build\bdist.win32\egg\pkg_resources.py", line 914, in resource_filename self, resource_name File "build\bdist.win32\egg\pkg_resources.py", line 1602, in get_resource_filename return self._extract_resource(manager, zip_path) File "build\bdist.win32\egg\pkg_resources.py", line 1629, in _extract_resource self.egg_name, self._parts(zip_path) File "build\bdist.win32\egg\pkg_resources.py", line 990, in get_cache_path self._warn_unsafe_extraction(extract_path) AttributeError: ResourceManager instance has no attribute '_warn_unsafe_extraction'
Attachments (0)
Change History (5)
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 11 years ago
Thanks, it was setuptools that caused the issue. This should be mentioned in the installation guide.
comment:4 by , 11 years ago
Keywords: | setuptools added |
---|---|
Resolution: | fixed → cantfix |
The issue has been fixed and pypi:setuptools 0.7.6 is released now.
Note:
See TracTickets
for help on using tickets.
That is the setuptools 0.7.5 issue. Try to downgrade 0.7.4 or 0.6.45
0.6.46. See https://bitbucket.org/pypa/setuptools/issue/28/attributeerror-for-_warn_unsafe_extraction.