I am new to trac also. I saw this error, or several variants due to the following:
in my case, I set up in the following way: c:\projects --toplevel 'projects directory' c:\projects\trac --toplevel trac stuff c:\projects\svn -- toplevel subversion stuff I think created a subverion repository called 'TestProject' in c: \projects\svn\TestProject. after that, I repeatedly used that directory mistakenly for the all TRAC related stuff fist, I tried to trac-admin c:\project\svn\TestProject initenv -- wrong I finally did that step correctly trac-admin c:\project\trac \TestProject initenv I then had similar issues trying to set up the auth file, etc. again because I was passing c:\projects\svn\TestProject instead of c: \projects\trac\TestProject for that, and various other things. I don't know if that helps, but what Stephen said, you 'likely' passed the wrong directory (maybe a top level directory?) instead of the directory used in the initenv command. On Apr 3, 7:53 am, "Stephen Moretti" <[EMAIL PROTECTED]> wrote: > When you did "trac-admin initenv" what was the path for the trac > environment you set up? > > On 02/04/2008, Dave <[EMAIL PROTECTED]> wrote: > > > > > > > Hi to all , > > I'm new to Trac , and i need a very big help with giving permissions > > to a user step ,When i run the "trac-admin" command after I > > successfully got the "digst.txt" file with "trac-digest.py" > > > (Davet:trac:8822a036e3a2ea5c3560249f1aef35c8) > > > trac-admin E:\myproj permission add Dave TRAC-ADMIN > > > The error i got is this: > > Failed to open environment. [Errno 2] No such file or directory: 'E:\ > > \myproj,\\VERSION' > > Traceback (most recent call last): > > File "E:\python25\lib\site-packages\trac\admin\console.py", line > > 142, in env_open > > self.__env = Environment(self.envname) > > File "E:\python25\lib\site-packages\trac\env.py", line 189, in > > __init__ > > self.verify() > > File "E:\python25\lib\site-packages\trac\env.py", line 242, in > > verify > > fd = open(os.path.join(self.path, 'VERSION'), 'r') > > IOError: [Errno 2] No such file or directory: 'E:\\myproj,\\VERSION' > > > Can someone please help me ????. I need it a.s.a.p > > > My Platform is: Windows 2003 Server + IIS 6 > > > My Installation files and steps are: > > > 1)Python-2.5.msi > > > 2)SetupTools: setuptools-0.6c7.win32-py2.X.exe (2.5, 2.4, 2.3) > > > 3)Genshi 0.4.4 Genshi-0.4.4.win32.exe (works for Python 2.3, 2.4 and > > 2.5) > > > 4)Trac 0.11 trac-0.11b2.win32.exe (works for Python 2.3, 2.4 and > > 2.5) > > > * Everything was successfully installed to E:\ Python25 dir * > > > 5) After that i use the "ez_setup.py" that installed successfully > > the scripts to E:\ Python25\Scripts > > > 6)And here i use the "trac-digest.py" script to create the usr\pwd : > > (trac-digest.py -u Davet -p 12345678 >> c:digest.txt) > > -- > Stephen Moretti > Blog :http://nil.checksite.co.uk/ > Twitter :http://twitter.com/mr_nil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
