Source: python-dbussy
Version: 1.3-1
Severity: important
Tags: patch upstream

Hi,

Since the upgrade from version 1.2.1-1 to 1.3-1, my code crashes with the
following error:

| Exception in callback Connection._notify_objects_added()
| handle: <Handle Connection._notify_objects_added()>
| Traceback (most recent call last):
|   File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
|     self._context.run(self._callback, *self._args)
|   File "/usr/lib/python3/dist-packages/ravel.py", line 993, in 
_notify_objects_added
|     self.send_signal \
|   File "/usr/lib/python3/dist-packages/ravel.py", line 1325, in send_signal
|     message.append_objects(call_info["in_signature"], *args)
|   File "/usr/lib/python3/dist-packages/dbussy.py", line 4451, in 
append_objects
|     append_sub(parse_signature(signature), args, self.iter_init_append())
|   File "/usr/lib/python3/dist-packages/dbussy.py", line 4408, in append_sub
|     append_sub([elttype.keytype, elttype.valuetype], [key, value], subsubiter)
|   File "/usr/lib/python3/dist-packages/dbussy.py", line 4408, in append_sub
|     append_sub([elttype.keytype, elttype.valuetype], [key, value], subsubiter)
|   File "/usr/lib/python3/dist-packages/dbussy.py", line 4442, in append_sub
|     append_sub([actual_type], [elt[1]], subiter)
|   File "/usr/lib/python3/dist-packages/dbussy.py", line 4415, in append_sub
|     if type_is_fixed_array_elttype(arrelttype.code.value) :
| AttributeError: 'StructType' object has no attribute 'code'

This issue has been fixed upstream by the following commit:
https://github.com/ldo/dbussy/commit/e131d819ea832bec7cfc9e27e27af9c71f701a5a

Would it be possible to backport it?

Thanks,
Aurelien

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Reply via email to