[Trac-tickets] [The Trac Project] #1265: Fatal Python error in Log.py

The Trac Project noreply at edgewall.com
Tue Mar 8 17:42:16 EST 2005


#1265: Fatal Python error in Log.py
----------------------+-----------------------------------------------------
       Id:  1265      |      Status:  new                     
Component:  log view  |    Modified:  Tue Mar  8 17:42:16 2005
 Severity:  normal    |   Milestone:                          
 Priority:  normal    |     Version:  0.8.1                   
    Owner:  jonas     |    Reporter:  ralphv at gmx.de           
----------------------+-----------------------------------------------------
 Hi,

 try to view a Revision Log i get a
 {{{
 Fatal Python error: PyThreadState_Get: no current thread
 }}}

 on the webserver (tested with apache and tracd)

 after change line Log.py:68 from
 {{{
  svn.repos.svn_repos_get_logs (self.repos, [path],
                                     0, rev, 1, 0, self.log_receiver,
                                     self.pool)
 }}}
 to
 {{{
    def authz_cb(root, path, pool):
      return 1
    svn.repos.svn_repos_get_logs2 (self.repos, [path],
                                   0, rev, 1, 0, authz_cb,
 self.log_receiver,
                                   self.pool)
 }}}

 the error dissapear.

 all works fine until the last upgrade to
 trac 0.8.1 and subversion 1.1.3.

 this is my first line of code in python,
 so please forgive me this 'ugly' fix.
 i hope it is at least a hint ;o)

 bye
 ralph

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1265>
The Trac Project <>


More information about the Trac-Tickets mailing list