Anonymous | Login | 2024-04-20 10:47 CEST |
Main | My View | View Issues |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0004500 | [trac] packaging | minor | have not tried | 2010-07-28 23:50 | 2011-01-02 08:15 | ||
Reporter | dpretlor | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | unable to reproduce | Platform | |||
Status | closed | OS | |||||
Projection | none | OS Version | |||||
ETA | none | Product Build | |||||
Summary | 0004500: Error when trying to initenv | ||||||
Description |
I installed the package from the OpenCSW site, when I tried to run the initenv for a folder, I get the following error: ./trac-admin /usr/local/trac/testenv initenv /opt/csw/lib/python/site-packages/trac/util/compat.py:150: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Traceback (most recent call last): File "./trac-admin", line 8, in <module> load_entry_point('Trac==0.11.7', 'console_scripts', 'trac-admin')() File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 318, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 2221, in load_entry_point return ep.load() File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/opt/csw/lib/python/site-packages/trac/admin/console.py", line 30, in <module> from trac import perm, util, db_default File "/opt/csw/lib/python/site-packages/trac/perm.py", line 22, in <module> from trac.config import ExtensionOption, OrderedExtensionsOption File "/opt/csw/lib/python/site-packages/trac/config.py", line 20, in <module> from trac.util import AtomicFile File "/opt/csw/lib/python/site-packages/trac/util/__init__.py", line 33, in <module> from trac.util.compat import md5, reversed, sha1, sorted, tee File "/opt/csw/lib/python/site-packages/trac/util/compat.py", line 150, in <module> from md5 import md5 File "/opt/csw/lib/python/md5.py", line 10, in <module> from hashlib import md5 File "/opt/csw/lib/python/hashlib.py", line 136, in <module> md5 = __get_builtin_constructor('md5') File "/opt/csw/lib/python/hashlib.py", line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 |
||||||
Steps To Reproduce | |||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Notes | |
(0008552) rupert (manager) 2010-12-12 08:25 |
can it be you use an old version of trac? the version in the log says 0.11.7, while it should be 0.12.1 ? |
Copyright © 2000 - 2008 Mantis Group |