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

  1. Install trac via ports.
  2. Follow trac setup instructions found at http://trac.edgewall.org/wiki/TracInstall
    1. mkdir -p /Users/me/Sites/trac/env /Users/me/Sites/trac/svn
    2. svnadmin create /Users/me/Sites/trac/svn
    3. trac-admin /Users/me/Sites/trac/env initenv (using default sqlite and svn, and using /Users/me/Sites/trac/svn as /path/to/repo)
    4. tracd --port 8000 /Users/bahamat/Sites/trac/env
  3. Browse to http://localhost:8000/
  4. Click project
  5. 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@…

see #11972

workaround for this problem: installing python24 with +puredarwin before installing trac

comment:2 Changed 17 years ago by roederja

Resolution: fixed
Status: newclosed

Should be fixed in r25391. Please re-open if not

Note: See TracTickets for help on using tickets.