You need to resync your trac env.

Where did you create it? F.ex. I have my envs in /misc/tracprojects/, Manuel
had his env in /var/trac

Cheers / Erik

On Wed, May 14, 2008 at 8:40 AM, aank_d <[EMAIL PROTECTED]> wrote:

>
> I just try trac-admin /var/trac resync
> and i got same error:
>
> Resyncing repository history...
> Failed to open environment. [Errno 2] No such file or directory: '/var/
> trac/VERSION'
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line
> 149, in env_open
>     self.__env = Environment(self.envname)
>   File "/usr/lib/python2.4/site-packages/trac/env.py", line 81, in
> __init__
>    self.verify()
>  File "/usr/lib/python2.4/site-packages/trac/env.py", line 129, in
> verify
>    fd = open(os.path.join(self.path, 'VERSION'), 'r')
> IOError: [Errno 2] No such file or directory: '/var/trac/VERSION'
>
>
> What can I do ?
>
>
> On Apr 25, 5:30 pm, "Erik Andersson" <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Try: trac-admin /var/trac resync
> >
> > Cheers / Erik
> >
> > On Fri, Apr 25, 2008 at 11:21 AM, J. Manuel Velasco - UBILIBET <
> >
> > [EMAIL PROTECTED]> wrote:
> > >  Hello,
> > > I have changed the repository and when I have edited trac.ini to update
> the
> > > repository I get this message in trac.
> >
> > > Warning: Can't synchronize with the repository (The 'repository_dir'
> has
> > > changed, a 'trac-admin resync' operation is needed.)
> >
> > > I run the command, but I found this error:
> > > Trac [/var/trac/conf/resync]> resync
> > > Failed to open environment. [Errno 2] No such file or directory:
> > > '/var/trac/conf/resync/VERSION'
> > > Traceback (most recent call last):
> > >   File
> > >
> "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/admin/console.py",
> > > line 141, in env_open
> > >     self.__env = Environment(self.envname)
> > >   File
> > > "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/env.py",
> line
> > > 189, in __init__
> > >     self.verify()
> > >   File
> > > "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/env.py",
> line
> > > 242, in verify
> > >     fd = open(os.path.join(self.path, 'VERSION'), 'r')
> > > IOError: [Errno 2] No such file or directory:
> > > '/var/trac/conf/resync/VERSION'
> >
> > > I don't have this directory but even if I create it and put the VERSIOn
> > > file in it I got anther similar error.
> >
> > > What can I do ?
> > > Any help ?
> >
> > > Thanks in advan
> > > --
> >
> >
> >
> >  Manucastellano.jpg
> > 26KViewDownload
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to