Trac Error: Python / Neon Error




Just after I got so excited about Trac I ran into this python error:

/var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_util:
This Python has API version 1013, module neo_util has version 1012.
  import neo_cgi
/var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_cs:
This Python has API version 1013, module neo_cs has version 1012.
  import neo_cgi
/var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_cgi:
This Python has API version 1013, module neo_cgi has version 1012.
  import neo_cgi

I upgraded to libneon26-dev, will that fix it? Odd, I’m still getting the warning, but its working again. Oh well.

4 Responses to “Trac Error: Python / Neon Error”


  1. 1 Ole

    I just started to play around with Trac, and I ran into the exact same problem as you. Installing the libneon26-dev package fixed the problem! Thanks for sharing!

  2. 2 admin

    Glad you got it worked out! I think you’ll like Trac a lot - I know I do!

  3. 3 Sam

    I had the same problem on Ubuntu, installing libneon26-dev did not work for me. The problem is actually in the clearsilver package which gets confused between python2.4 and python2.5 when both are installed.

    The solution which worked for me was:

    download package:

    python-clearsilver_0.10.4-1ubuntu1_i386.deb

    from:
    http://packages.ubuntu.com/hardy/i386/python-clearsilver/download

    install using:

    sudo dpkg -i python-clearsilver_0.10.4-1ubuntu1_i386.deb

    I hope this solution will help many other desperate souls who are come across this error after installing Trac on Ubuntu.

  4. 4 Albert

    Thanks for helping Sam!

Leave a Reply