Opened 18 years ago
Closed 17 years ago
#11926 closed defect (fixed)
BUG: trac unusable
Reported by: | bahamat@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
- Install trac via ports.
- Follow trac setup instructions found at http://trac.edgewall.org/wiki/TracInstall
mkdir -p /Users/me/Sites/trac/env /Users/me/Sites/trac/svn
svnadmin create /Users/me/Sites/trac/svn
trac-admin /Users/me/Sites/trac/env initenv
(using default sqlite and svn, and using /Users/me/Sites/trac/svn as /path/to/repo)tracd --port 8000 /Users/bahamat/Sites/trac/env
- Browse to http://localhost:8000/
- Click project
- The following error is displayed in browser:
Traceback (most recent call last): File "/opt/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/opt/local/lib/python2.4/site-packages/trac/web/main.py", line 207, in dispatch populate_hdf(req.hdf, self.env, req) File "/opt/local/lib/python2.4/site-packages/trac/web/main.py", line 75, in populate_hdf hdf['trac'] = { File "/opt/local/lib/python2.4/site-packages/trac/util/datefmt.py", line 61, in format_datetime encoding = locale.getpreferredencoding() or sys.getdefaultencoding() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/locale.py", line 399, in getpreferredencoding import _locale ImportError: No module named _locale
Change History (2)
comment:1 Changed 17 years ago by ralf.ebert@…
comment:2 Changed 17 years ago by roederja
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed in r25391. Please re-open if not
Note: See
TracTickets for help on using
tickets.
see #11972
workaround for this problem: installing python24 with +puredarwin before installing trac