Hi, I never found anything on the Web Server (a website is hosted on this machina, with Microsoft IIS, but there is nothing about TRAC in IIS...), so TracStandalone, I guess. (Do you have a way to check it ? I found nothing in the task manager...)
To add a new environment, : - I open cmd.exe - I go to "C:\Python24\Scripts\", in order to be able to use "python.exe" - Then I create my new environment with the command : python.exe trac-admin "D:\Trac\MyNewEnvironment" initenv Thanks for your time ! Le vendredi 28 février 2014 19:49:50 UTC+1, RjOllos a écrit : > > On Friday, February 28, 2014 7:47:47 AM UTC-8, Nicolas Duperret wrote: >> >> Hello world, >> >> I have some trouble with an old TRAC plateform (isntalled in 2008) that I >> have to "manage". However, I didn't install it, and the guy who did it >> isn't in the company anymore... >> I succeed in creating new environment, however I failed some thing(s) >> because one of the project is currently unaccessible. Maybe because of the >> conf file ? >> >> >> The error is (when I try access to http://mydomain/trac/myproject1) : >> >> Traceback (most recent call last): >> File "C:\Python24\lib\site-packages\trac\web\main.py", line 387, in >> dispatch_request >> dispatcher.dispatch(req) >> File "C:\Python24\lib\site-packages\trac\web\main.py", line 208, in >> dispatch >> chrome.populate_hdf(req, chosen_handler) >> File "C:\Python24\lib\site-packages\trac\web\chrome.py", line 319, in >> populate_hdf >> for category, name, text in contributor.get_navigation_items(req): >> File "build\bdist.win32\egg\projectmenu\web_ui.py", line 21, in >> get_navigation_items >> File "C:\Python24\lib\site-packages\trac\web\main.py", line 58, in >> _open_environment >> env_cache[env_path] = open_environment(env_path) >> File "C:\Python24\lib\site-packages\trac\env.py", line 434, in >> open_environment >> env = Environment(env_path) >> File "C:\Python24\lib\site-packages\trac\env.py", line 126, in __init__ >> self.verify() >> File "C:\Python24\lib\site-packages\trac\env.py", line 176, in verify >> assert fd.read(26) == 'Trac Environment Version 1' >> AssertionError >> >> > Are you running a Web server or TracStandalone? It looks like the problem > is that you aren't pointing to an environment directory, either when > running tracd or in your web server configuration. > > It would probably be easiest to help you if you listed the steps you took > to add a Trac environment. > -- You received this message because you are subscribed to the Google Groups "Trac Users" 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-users. For more options, visit https://groups.google.com/groups/opt_out.
