#2472: Exception in Pool.__Del__
-----------------------------+----------------------------------------------
 Reporter:  [EMAIL PROTECTED]     |        Owner:  cmlenz
     Type:  defect           |       Status:  new   
 Priority:  normal           |    Milestone:  0.9.4 
Component:  version control  |      Version:  0.9.2 
 Severity:  major            |   Resolution:        
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by cboos):

 OK. The situation is clearer now:
  * on Windows, I did some mistakes, forget the `a 'apr_pool_t *' is
 expected`
    error that I reported above.
    It now works for me, excepted for the error reported in this ticket.
  * on Linux, it works flawlessly ... except that I also get the error
 reported
    in this ticket.

 ... which can be fixed by the following patch (from David James)
 {{{
 Index: subversion/bindings/swig/python/svn/core.py
 ===================================================================
 --- subversion/bindings/swig/python/svn/core.py (revision 17941)
 +++ subversion/bindings/swig/python/svn/core.py (working copy)
 @@ -189,7 +189,7 @@
    # app tries to destroy a pool during the shutdown process. Instead, we
    # check to make sure the application_pool is still around before
 calling
    # pool.destroy().
 -  if application_pool:
 +  if application_pool and application_pool.valid():
      pool.destroy()
  apr_pool_destroy = svn_pool_destroy
 }}}

 This patch will be integrated in a later 1.3.x release.

 So the only remaining problem are the
 `TypeError: argument number 0: a 'apr_pool_t *' is expected`
 errors reported in [./2472#change_6 pjenvey comment] above.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2472>
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