Hi,

a collegue of mine checked out Trac-1.1.1 and Python 2.7 for Windows. We 
installed easy_install and babel. Starting Trac by trac/web/standalone.py 
and options -p 8000 C:\Projekte\Trac\locale_env works fine (first three log 
entries). But when we try to access Trac instance by a browser it throws 
"error: option -p not recognized " with Traceback below. I use the same 
environment (eclipse with PyDev, Windows 7, Python 2.7) and it works fine.

Does anyone has a clue, why this Traceback is thrown?

Thanks in advance,
Franz

***** TRACEBACK / STACKTRACE *****

Server starting in PID 4716.

Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/

Using HTTP/1.1 protocol version

----------------------------------------

Exception happened during processing of request from ('127.0.0.1', 50777)

Traceback (most recent call last):

  File "C:\Python27\lib\SocketServer.py", line 595, in 
process_request_thread

    self.finish_request(request, client_address)

  File "C:\Python27\lib\SocketServer.py", line 334, in finish_request

    self.RequestHandlerClass(request, client_address, self)

  File "C:\Python27\lib\SocketServer.py", line 651, in __init__

    self.handle()

  File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle

    self.handle_one_request()

  File "build\bdist.win32\egg\trac\web\wsgi.py", line 191, in 
handle_one_request

    gateway.run(self.server.application)

  File "build\bdist.win32\egg\trac\web\wsgi.py", line 91, in run

    response = application(self.environ, self._start_response)

  File "C:\Projekte\Trac\TracCore\trac\web\standalone.py", line 91, in 
__call__

    return self.application(environ, start_response)

  File "build\bdist.win32\egg\trac\web\main.py", line 397, in 
dispatch_request

    env_paths)

  File "build\bdist.win32\egg\trac\web\main.py", line 665, in 
send_project_index

    use_cache=not environ['wsgi.run_once'])

  File "build\bdist.win32\egg\trac\env.py", line 842, in open_environment

    env = env_cache.setdefault(env_path, open_environment(env_path))

  File "build\bdist.win32\egg\trac\env.py", line 846, in open_environment

    env = Environment(env_path)

  File "build\bdist.win32\egg\trac\core.py", line 124, in __call__

    self.__init__(*args, **kwargs)

  File "build\bdist.win32\egg\trac\env.py", line 284, in __init__

    self.setup_config()

  File "build\bdist.win32\egg\trac\env.py", line 611, in setup_config

    load_components(self, plugins_dir and (plugins_dir,))

  File "build\bdist.win32\egg\trac\loader.py", line 114, in load_components

    loadfunc(env, search_path, auto_enable=plugins_dir)

  File "build\bdist.win32\egg\trac\loader.py", line 90, in _load_py_files

    module = imp.load_source(plugin_name, plugin_file)

  File "c:\projekte\trac\locale_env\plugins\setup.py", line 24, in <module>

    'locale/**/LC_MESSAGES/**.*']}

  File "C:\Python27\lib\distutils\core.py", line 139, in setup

    raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg

----------------------------------------

SystemExit: usage: standalone.py [global_opts] cmd1 [cmd1_opts] [cmd2 
[cmd2_opts] ...]

   or: standalone.py --help [cmd1 cmd2 ...]

   or: standalone.py --help-commands

   or: standalone.py cmd --help



error: option -p not recognized


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to