Thanks Marius. This will need testing if/when it hits -propsed.

motu-sru: does this qualify for an SRU?

Thanks,

James


** Description changed:

  Old versions of python-clearsilver are broken on amd64 with python2.5 as the
  default python.
  
  The build system was broken such that it just built the extension for 
python2.4 and
  copied it for python2.5. This was resolved in
  
      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452612
  
  This makes python-clearsilver, and hence trac unusable for amd64 users on 
releases
  where python2.5 is default.
  
  It has been fixed in the development release by syncing that fix from
  Debian.
  
  The patch attached cherry-picks the fix to the hardy package.
  
  TEST CASE:
-   * Instructions to reproduce
+   * Install trac
+   * Run "python -c 'import neo_cgi'"
+ Expected:
+   * Exit code 0, no error messages
+ Currently:
+   * "neo_cgi.so: undefined symbol: Py_InitModule4"
+   * Non-zero exit code.
  
  There should not be any regression as the module is completely broken for 
amd64 users,
  and wrong for other architectures as well.
  
  === 
  Original report:
  
  Binary package hint: python-clearsilver
  
  I created a new Trac environment and run tracd. After accessing it the
  first time I received following output on the console:
  
  [EMAIL PROTECTED] ogloszenia]$ tracd --port 8000 
/home/bragi/projects/ogloszenia/trac
  ----------------------------------------
  Exception happened during processing of request from ('127.0.0.1', 43756)
  Traceback (most recent call last):
    File "SocketServer.py", line 463, in process_request_thread
      self.finish_request(request, client_address)
    File "SocketServer.py", line 254, in finish_request
      self.RequestHandlerClass(request, client_address, self)
    File "SocketServer.py", line 521, in __init__
      self.handle()
    File "BaseHTTPServer.py", line 316, in handle
      self.handle_one_request()
    File "/var/lib/python-support/python2.5/trac/web/wsgi.py", line 174, in 
handle_one_request
      gateway.run(self.server.application)
    File "/var/lib/python-support/python2.5/trac/web/wsgi.py", line 87, in run
      response = application(self.environ, self._start_response)
    File "/var/lib/python-support/python2.5/trac/web/standalone.py", line 88, 
in __call__
      return self.application(environ, start_response)
    File "/var/lib/python-support/python2.5/trac/web/main.py", line 352, in 
dispatch_request
      env_paths)
    File "/var/lib/python-support/python2.5/trac/web/main.py", line 436, in 
send_project_index
      req.hdf = HDFWrapper(loadpaths)
    File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 135, 
in __init__
      raise TracError, "ClearSilver not installed (%s)" % e
  TracError: ClearSilver not installed 
(/usr/lib/python2.5/site-packages/neo_cgi.so: undefined symbol: Py_InitModule4)
  ----------------------------------------
  
  Tracd used Python 2.5 by default. When run against 2.4 there is no such
  error.
  
  Ubuntu Feisty AMD64, python-clearsilver 0.10.3-4.1

-- 
trac BROKEN on AMD64: "neo_cgi.so: undefined symbol: Py_InitModule4"
https://bugs.launchpad.net/bugs/86685
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to