Opened 16 years ago
Closed 16 years ago
#7549 closed defect (invalid)
.egg-cache file stored in the project directory
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.1 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I just installed Trac 0.11.1 on Centos 5.2. I configured Apache (mod_python) and restarted and all looks ok. I can browse http://localhost/trac and I see:
Available Projects
* .egg-cache: Error ('module' object has no attribute 'ChangeSet')
But I get an exception when I run trac-admin with no parameters:
trac-admin Traceback (most recent call last): File "/usr/bin/trac-admin", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097, in load_entry_point return ep.load() File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ admin/console.py", line 34, in ? from trac.ticket.model import * File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ ticket/__init__.py", line 3, in ? from trac.ticket.model import * AttributeError: 'module' object has no attribute 'ChangeSet'
Installing Trac 0.11 works fine.
Attachments (0)
Change History (8)
comment:1 by , 16 years ago
Component: | admin/console → general |
---|---|
Summary: | AttributeError: 'module' object has no attribute 'ChangeSet' Options There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. There was an error processing your request. Please try again. Standard view View as tree Proportional text Fixed text [Click the envelope to receive email updates] → .egg-cache file stored in the project directory |
comment:2 by , 16 years ago
I hadn't created an environment at this point. I'd forgotten the syntax for the trac-admin command so I ran it with no parameters.
comment:3 by , 16 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:4 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:6 by , 16 years ago
Hi,
I have a simular problem:
I'm using Apache with "PythonOption TracEnvParentDir /data/trac". When ich see the project index ther is always
.egg-cache: Error ([Errno 2] No such file or directory: '/data/trac/.egg-cache/VERSION')
i can delete /data/trac/.egg-cache but it will created again
comment:7 by , 16 years ago
Keywords: | needinfo added |
---|
comment:8 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The only way I could reproduce the original backtrace:
from trac.ticket.model import * AttributeError: 'module' object has no attribute 'ChangeSet'
is by adding 'ChangeSet'
to the __all__
list in trac/ticket/model.py …
Somehow that Trac installation got messed up.
As for the problem with the .egg-cache, see comment:7 above.
Where (path) did you create your Trac environment ?