I think Superkaramba doesn't like the way Python installs on RedHat. Even though I have Python 2.2, most of the Python scripts people write for Superkaramba just bomb out on my box. Does anybody have any insight into this general compatibility issue with RedHat?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-22
Yeah, i think you are right ....
the problem is a call to python for doing something with unicode.
possibly this routine is not in redhat version of python ...
i'll keep looking. ...
Cheers
Coomsie :3)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Every earlier version has compiled for me without trouble. But I got 0.27 today and it fails with this error:
karamba.cpp: In function `QString PyString2QString(PyObject*)':
karamba.cpp:33: no matching function for call to `QString::setUnicodeCodes(
Py_UNICODE*&, int&)'
/usr/local/qt/include/qstring.h:618: candidates are: QString&
QString::setUnicodeCodes(const ushort*, unsigned int)
make[3]: *** [karamba.o] Error 1
make[3]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27'
make: *** [all] Error 2
Any ideas on how to resolve this?
getting the same message on a RedHat 9.0 box with python 2.2.3
and i realy got no idea :-)
regards
compile it with
'make -i'
it works ... but ignore the warning message?
not sure what it about .. line 33 on
karamba.cpp
something to do with this function call to set the unicode to the text that your are passing?
Cheers
Coomsie :3)
sorry , my mistake actually it hasnt compiled the o file for karamba.cpp .....
bugger
i will have to solve the error code
Coomsie :3)
I think Superkaramba doesn't like the way Python installs on RedHat. Even though I have Python 2.2, most of the Python scripts people write for Superkaramba just bomb out on my box. Does anybody have any insight into this general compatibility issue with RedHat?
Yeah, i think you are right ....
the problem is a call to python for doing something with unicode.
possibly this routine is not in redhat version of python ...
i'll keep looking. ...
Cheers
Coomsie :3)
In line 33 of karamba.cpp, change:
qtext.setUnicodeCodes(t,length);
to
qtext.setUnicodeCodes((ushort*)t,length);
sk compiles right with changing this - but the rich text function doesn't work properly (as far as i can see on my rh -box)