this patch solves the problem::
--- a/pyliblo3/_liblo.pyx
+++ b/pyliblo3/_liblo.pyx
@@ -271,7 +271,7 @@ cdef int _msg_callback(const_char *path, const_char *types,
lo_arg **argv,
elif t == 'm': v = (argv[i].m[0], argv[i].m[1], argv[i].m[2],
argv[i].m[3])
elif t == 't': v = _timetag_to_double(argv[i].t)
elif t == 'b':
- v = bytes(<unsigned char*>lo_blob_dataptr(argv[i]))
+ v = bytes(<unsigned char*>lo_blob_dataptr(<lo_blob*>argv[i]))
else:
v = None # unhandled data type
Regards
Martin
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue