Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2792

Python bindings broken with multiple subinterpreters [Trac #2611]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.4.x
    • unscheduled
    • bindings_swig_python
    • None

    Description

      when using current http://blastwave.org solaris package with python-2.3 we 
      receive the following error when accessing the repository via edgewall trac 
      and openssl:
      
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/mod_python/importer.py", line 1229, 
      in _process_target\n    result = _execute_target(config, req, object, arg)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/mod_python/importer.py", line 1128, 
      in _execute_target\n    result = object(arg)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/web/modpython_frontend.py", 
      line 87, in handler\n    gateway.run(dispatch_request)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in 
      run\n    response = application(self.environ, self._start_response)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 377, in 
      dispatch_request\n    env = _open_environment(env_path, run_once=run_once)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 58, in 
      _open_environment\n    env_cache[env_path] = open_environment(env_path)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/env.py", line 434, in 
      open_environment\n    env = Environment(env_path)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/env.py", line 121, in 
      __init__\n    load_components(self)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/loader.py", line 140, in 
      load_components\n    __import__(module)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", 
      line 56, in ?\n    from svn import fs, repos, core, delta
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/svn/fs.py", line 19, in ?\n    from libsvn.fs 
      import *
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/libsvn/fs.py", line 29, in ?\n    import core
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/libsvn/core.py", line 3342, in ?\n    
      svn_pool_create()
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37]   
      File "/opt/csw/lib/python2.3/libsvn/core.py", line 1137, in 
      svn_pool_create\n    return apply(_core.svn_pool_create, args)
      [Sun Jun 03 11:05:17 2007] [error] [client 169.37.103.37] TypeError: argument 
      number 0: a 'apr_pool_t *' is expected, 'instance
      (<libsvn.core.GenericSWIGWrapper instance at 0x3645580>)' is received
      

      Original issue reported by thurnerrupert

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: