[Bug 114930] Re: Python C API version mismatch

2008-10-14 Thread James Westby
Hi,

This is fixed in Intrepid. It should be fixed by the same fix
as bug 86685, so if that is accepted for Hardy this should
be fixed in Hardy.

Thanks,

James


** Changed in: clearsilver (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2008-06-11 Thread Tim Hatch
Not Trac's bug

** Changed in: trac (Ubuntu)
   Status: New = Invalid

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2008-04-29 Thread Josh Green
I was also having this problem, but I fixed it by adding '--with-
python=/usr/bin/python' to the configure flags.  Seems both Python 2.4
and 2.5 are installed and it was getting built against 2.4.

Here is what I did to build a deb package (if anyone is interested):
apt-get source python-clearsilver
apt-get build-dep python-clearsilver
cd clearsilver-0.10.4
nano -w debian/rules # Add '--with-python=/usr/bin/python \' to the 
DEB_CONFIGURE_EXTRA_FLAGS, save and exit
dpkg-buildpackage -rfakeroot -uc -b
cd ..
sudo dpkg -i python-clearsilver_0.10.4-1ubuntu1_i386.deb

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2008-04-27 Thread Jens Jahnke
I can confirm this bug using trac on Ubuntu 8.04 (Hardy Heron).
My logs are flooded like this:

/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

Searching the internet I came accross a solution that recommends
installing the dev package for libneon but that did not work for me.


** Also affects: trac (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2007-10-27 Thread Samuel Huckins
Having the same issue, and my logs are definitely being flooded by this.

I downloaded clearsilver-0.10.5, unpacked it, tried to configure and got:
/tmp/clearsilver-0.10.5$ sudo ./configure --disable-wdb --disable-compression 
--disable-perl --with-python=$(which python)
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.

Log is attached. Did not see anything useful, except configure: exit
77.

Any one know what is causing this?


** Attachment added: Log file produced by configure
   http://launchpadlibrarian.net/10191302/config.log

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2007-08-31 Thread Victor Stinner
I get the same error and it does fill my error.log (near 6 lines per
second). It would be great to fix it :-)

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2007-08-28 Thread Jeremy Visser
** Changed in: clearsilver (Ubuntu)
   Status: New = Confirmed

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 114930] Re: Python C API version mismatch

2007-06-09 Thread Anthony Durity
I get the same.

I installed Trac which installed python-clearsilver. The offending shared lib 
is neo_cgi.so
You can see from locate neo_cgi.so that it is located
/usr/lib/python2.4/site-packages/neo_cgi.so
/usr/lib/python2.5/site-packages/neo_cgi.so
(or you could check in the properties of the package python-clearsilver in 
Synaptic or whichever)

A fix is to download the latest clearsilver sources from
http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz

tar zxvf it, yadda yadda yadda and then configure it using ./configure
--disable-wdb --disable-compression --disable-perl --with-python=$(which
python)

(I disable wdb because I don't know what it is and I disable compression 
because it complains about not finding libz even though it is there - grrr - 
dpkg-query -S /usr/lib/libz.so.1 gives zlib1g: /usr/lib/libz.so.1 and I disable 
perl because perl scares me)

then make and now there is a python directory, go into it and cp -i
neo_cgi.so /usr/lib/python2.5/site-packages/neo_cgi.so to overwrite the
2.5 version which in Gutsy development is the latest python (I suppose
you could build a 2.4 version because  python2.4 -c 'import neo_cgi'
gives the same errors as reported above but as trac uses 2.5 so meh...

I would attach the .so but it's 1/2 a meg :)
-rw-r--r-- 1 root root 496350 2007-06-09 15:25 
/usr/lib/python2.5/site-packages/neo_cgi.so

-- 
Python C API version mismatch
https://bugs.launchpad.net/bugs/114930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs