Surface.create_for_data: Not Implemented yet.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
py3cairo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Kazam Screen caster, written in Python3, is using Cairo for doing graphics. Now, I've run into this:
File "../kazam/
surface = cairo.ImageSurf
NotImplementedE
It appears that Surface.
static PyObject *
image_surface_
cairo_surface_t *surface;
cairo_format_t format;
unsigned char *buffer;
int width, height, stride = -1, res;
Py_ssize_t buffer_len;
PyObject *obj;
// buffer function disabled
PyErr_
return NULL; /* By BigW: Everything past here is dead code */
if (!PyArg_
return NULL;
However, after checking couple of other repositories with pycairo, create_for_data() function is different, without the weird return call.
I've checked:
http://
git://git.
Can this patch from 2011 be included in Ubuntu?
http://
And why am I the first one running into this? :)
Status changed to 'Confirmed' because the bug affects multiple users.