#2560: browser requests fail with an exception related to svn
---------------------------------------+------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  cboos   
     Type:  defect                     |       Status:  assigned
 Priority:  normal                     |    Milestone:          
Component:  tracd                      |      Version:  0.9.2   
 Severity:  normal                     |   Resolution:          
 Keywords:                             |  
---------------------------------------+------------------------------------
Comment (by cboos):

 to schuetze:

 The check program succeeds, even if there's a problem with the Pools,
 which can be ignored.  This means Trac should now be able to open the
 repository, provided it runs in the same environment (i.e. be careful
 to use the 1.3 bindings).

 to craig:

 You have certainly a similar problem than schuetze has: you're trying
 to open a 1.3 repository using older bindings. That's probably why it
 works when you're running Trac with mod_python (for some reason, it
 picks the correct bindings) and it doesn't work when running with
 `tracd`.

 Check this by enabling debug logging and add the following lines:
 {{{
 #!diff
 Index: trac/versioncontrol/svn_fs.py
 ===================================================================
 --- trac/versioncontrol/svn_fs.py       (revision 2797)
 +++ trac/versioncontrol/svn_fs.py       (working copy)
 @@ -175,6 +175,8 @@
      """

      def __init__(self, path, authz, log):
 +        log.debug('Using Subversion bindings %d.%d.%d' % \
 +                  (core.SVN_VER_MAJOR, core.SVN_VER_MINOR,
 core.SVN_VER_MICRO))
          if core.SVN_VER_MAJOR < 1:
              raise TracError, \
                    "Subversion >= 1.0 required: Found %d.%d.%d" % \
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2560>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to