Updating Sab+ from 0.6.15 to 0.7.1

zombu2
Posts: 7
Joined: Wed Aug 24, 2011 8:34 am

Re: Updating Sab+ from 0.6.15 to 0.7.1

Postby zombu2 » Sat Jul 21, 2012 7:28 am

thnx

i think the error is caused in python 2.7

Looks like a GTK input method is trying to write to a dictionary , it's trying to set the value for key "_PyGtk_API", but it's passing in a NULL value
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/_gtk.so

Python 2.7 raises a deprecation warning on usage of that API:

static int cobject_deprecation_warning(void)
{
return PyErr_WarnEx(PyExc_PendingDeprecationWarning,
"The CObject type is marked Pending Deprecation in Python 2.7. "
"Please use capsule objects instead.", 1);
}

PyObject *
PyCObject_FromVoidPtr(void *cobj, void (*destr)(void *))
{
PyCObject *self;

if (cobject_deprecation_warning()) {
return NULL;
}

(etc)

so if we can somehow patch python to ignore that warning i believe we can make sab work

or we could use 2.6 if that does not break anything else

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Updating Sab+ from 0.6.15 to 0.7.1

Postby bigfoot65 » Sat Jul 21, 2012 7:32 am

The app has been updated to allow 0.6.15 for Fedora. If you can find a solution, I would be glad to implement it. For now, Fedora is restricted to using 0.6.15.

I would think it is best to use the latest Python, but find a way to bypass that error. I have googled for hours and not found anything. If you do, please share.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 17 guests