Trac-admin always takes the path to an env as the first argument. Your first argument was "resync" so it is using that as an env path (which fails). The command should be `trac-admin . resync` assuming the current directory is the environment.
--Noah > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > On Behalf Of joe dot murray at jmaconsulting dot biz > Sent: Monday, October 27, 2008 8:37 PM > To: Trac Users > Cc: [EMAIL PROTECTED] > Subject: [Trac] problem running trac-admin resync after changing > repositories > > > We have rearranged our svn repositories significantly, moving from 3 > to 9 of them. When I change the address in trac.ini for the > repository, it wants me to run trac-admin resync. When I do that from > the command line I get a trac-admin prompt: > > Trac[/dir_where_I_ran_trac-admin/resync]> > > I'm not sure what to enter at this point. If I enter resync, then I > get an error and traceback: > Failed to open environment. [Errno 2] No such file or directory: '/ > dir_where_I_ran_trac-admin/resync/VERSION' > .... > Traceback (most recent call last): > .... > fd = open(os.path.join(self.path, 'VERSION'), 'r') > > What should I be doing? The documentation seemed to suggest that no > parameter was necessary for this command. > > TIA, > Joe > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
