Hey guys.  Finally writing to this group using the google interface
instead of just email.  So apologies in the past for my massive
includes of previous posts.  Still getting used to usenet not in a
shell.  :)

1.  Yes, I am using 0.10.3 and not 0.10.4 as advertised.  This was an
oversight on my part.
2.  I am presuming that everything in regards to the python bindings
was working fine, as Trac was working wonderfully up until this error
message, but how can I tell for sure?
3.  I was able to solve the problem.  I'm not sure if this is the
recommended solution, but this worked for me.

I ended up going into sqlite and deleting the entries in the
node_change table.  Surfing to my Trac instance runs the resync/sync
process against the SVN repository and repopulates that table
spontaneously.  Life is better now.  As near as I can figure, some
sort of data corruption occurred where the sync got "out of sync" and
attempted to populate the table with a duplicate entry.  It seems that
I could have done some trace statements to figure out exactly which
entry was the duplicate (sqlite's db interface - command line - isn't
the most user friendly), but blowing the whole table away seems to
have done the trick.

Vincent

On Jul 10, 2:41 pm, cobwebsmasher <[EMAIL PROTECTED]> wrote:
> Receiving the following error message in Trac all of a sudden:
>
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 387, 
> in dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 191, 
> in dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 263, 
> in _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/api.py", 
> line 73, in pre_process_request
>     self.get_repository(req.authname) # triggers a sync if applicable
>   File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/api.py", 
> line 101, in get_repository
>     repos = self._connector.get_repository(rtype, rdir, authname)
>   File 
> "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 
> 260, in get_repository
>     crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
>   File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/cache.py", 
> line 34, in __init__
>     self.sync()
>   File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/cache.py", 
> line 101, in sync
>     base_path, base_rev))
>   File "/usr/local/lib/python2.5/site-packages/trac/db/util.py", line 50, in 
> execute
>     return self.cursor.execute(sql_escape_percent(sql), args)
>   File "/usr/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py", 
> line 56, in execute
>     args or [])
>   File "/usr/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py", 
> line 48, in _rollback_on_error
>     return function(self, *args, **kwargs)
>
> I have attempted to do a resync on the repository, but get an error message 
> that "version control 'svn' is unsupported"
>
> HELP?
>
> Vincent
> IntegrityError: columns rev, path, change_type are not unique
>
> ---------------------------------
> Need a vacation? Get great deals to amazing places on Yahoo! Travel.


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