?

Maybe I do not understand you command line, but trac.cgi is supposed
to be run by the web server, not from the command line !

You need to either use the tracd standalone server if you want to run
Trac from the command line, or use a web server (such as Apache) to
use trac.cgi

HTH,
Manu

On 2/1/06, Karl Heinz Marbaise <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> i have tried to setup Trac but i get the following error on the command
> line:
>
> h5593:/usr/share/trac/cgi-bin # export
> TRAC_ENV=/usr/local/tracenv/antsvk; ./trac.cgi
> Status: 500
> Content-Type: text/plain
>
> Oops...
>
> Trac detected an internal error:
>
> unsubscriptable object
> Traceback (most recent call last):
>    File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py",
> line 131, in run
>      dispatch_request(req.path_info, req, env)
>    File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 128,
> in dispatch_request
>      base_url = absolute_url(req)
>    File "/usr/lib/python2.3/site-packages/trac/web/api.py", line 263, in
> absolute_url
>      return urlparse.urlunparse((req.scheme, host, path, None, None, None))
>    File "/usr/lib/python2.3/urlparse.py", line 125, in urlunparse
>      return urlunsplit((scheme, netloc, url, query, fragment))
>    File "/usr/lib/python2.3/urlparse.py", line 128, in urlunsplit
>      if netloc or (scheme and scheme in uses_netloc and url[:2] != '//'):
> TypeError: unsubscriptable object
> h5593:/usr/share/trac/cgi-bin #
>
>
> Does someone have any hint what's going wrong here?
>
> Kind Regards
> Karl Heinz Marbaise
> --
> Software Entwicklungs- und Beratungs Service  http://www.soebes.de
> Dipl.Ing.(FH) Karl Heinz Marbaise            email: [EMAIL PROTECTED]
> Tel.: +49 (0) 241 / 16 91 210                 ICQ#: 135949029
>
> _______________________________________________
> Trac mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac
>


--
Manu
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to