"D:\SVNRepository\trac.db\" seems like an odd env path. Are you sure this is your Trac env? You need to use the same path you gave trac-admin when you did the initenv.

--Noah

Jani Tiainen wrote:
Jeff Chastain kirjoitti:
Let me start off by saying I am new to Trac, so this may be obvious. I am trying to install Trac on a Windows 2003 IIS 6 box. I have been working through the install instructions found on the Trac wiki at http://projects.edgewall.com/trac/wiki/TracOnWindowsIis6. On step 26 when I try to initialize the Trac database, I am getting an error stating ...

    AttributeError: 'module' object has no attribute
    'svn_commit_info_t_revision_set'

I went ahead and tried to bring up Trac in a web browser and got the following error message ...

    Oops...

    Trac detected an internal error:

    [Errno 13] Permission denied: 'D:\\SVNRepository\\trac.db\\VERSION'

    Traceback (most recent call last):
      File "C:\Python\share\trac\cgi-bin\trac.cgi", line 24, in ?
        cgi_frontend.run()
      File "c:\python\lib\site-packages\trac\web\cgi_frontend.py", line
    126, in run
        env = get_environment(req, os.environ, threaded=False)
      File "C:\Python\Lib\site-packages\trac\web\main.py", line 335, in
    get_environment
        return _open_environment(env_path, threaded)
      File "C:\Python\Lib\site-packages\trac\web\main.py", line 44, in
    _open_environment
        return open_environment(env_path)
      File "C:\Python\Lib\site-packages\trac\env.py", line 374, in
    open_environment
        env = Environment(env_path)
File "C:\Python\Lib\site-packages\trac\env.py", line 81, in __init__
        self.verify()
      File "C:\Python\Lib\site-packages\trac\env.py", line 129, in verify
        fd = open(os.path.join(self.path, 'VERSION'), 'r')
    IOError: [Errno 13] Permission denied:
    'D:\\SVNRepository\\trac.db\\VERSION'

Does anybody have any idea what I am missing here?

Step 16... :D

16. Fix up permissions

Change the ownership of, or give Full-Control permissions on F:\tracsvn to Service-Trac. You may also need to change the ownership or grant write/modify on F:\Python23\Lib\site-packages\trac to Service-Trac (so it can write pyc files). Service-Trac will need read access to F:\Python23\share\trac



... In your case you have to fix D:\SVNRepository permissions


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

Reply via email to