Bug#1030588: isenkram: Segmentation error: invalid uninstantiatable type '(null)' in cast to 'AsProvided'

2023-02-05 Thread Petter Reinholdtsen
Control: reassign -1 appstream 0.16.0-1
Control: affects -1 isenkram-cli

[Davide Prina]
> I have just installed the package and try to run it:
>
> $ LANG=en_EN isenkram-lookup
> /usr/lib/python3/dist-packages/isenkram/lookup.py:85: Warning: invalid 
> uninstantiatable type '(null)' in cast to 'AsProvided'
>   provided = cpt.get_provided_for_kind(AppStream.ProvidedKind.MODALIAS)
> Errore di segmentazione
>
> it give a Segmentation Error 
>
> I don't know Python, so I don't know how to report you more
> information.

I discovered this too a few days ago, and it is actually a bug in
appstream, according to the appstream maintainer.  The fix has been
found in 
https://github.com/ximion/appstream/commit/631303a8d16c2f608428a89bb94511bc28ae5417
 >
and I eagerly await a fixed version in Debian.

-- 
Happy hacking
Petter Reinholdtsen



Bug#1030588: isenkram: Segmentation error: invalid uninstantiatable type '(null)' in cast to 'AsProvided'

2023-02-05 Thread Davide Prina
Package: isenkram
Version: 0.49
Severity: normal
X-Debbugs-Cc: davide.pr...@null.net

Dear Maintainer,

I have just installed the package and try to run it:

$ LANG=en_EN isenkram-lookup
/usr/lib/python3/dist-packages/isenkram/lookup.py:85: Warning: invalid 
uninstantiatable type '(null)' in cast to 'AsProvided'
  provided = cpt.get_provided_for_kind(AppStream.ProvidedKind.MODALIAS)
Errore di segmentazione

it give a Segmentation Error 

I don't know Python, so I don't know how to report you more information.

Ciao
Davide

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates-debug'), (500, 
'testing-debug'), (500, 'stable-security')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages isenkram depends on:
ii  gir1.2-gtk-3.0 3.24.36-2
ii  gir1.2-gudev-1.0   237-2
ii  gir1.2-notify-0.7  0.8.1-1
ii  gir1.2-packagekitglib-1.0  1.2.6-2
ii  isenkram-cli   0.49
ii  packagekit 1.2.6-2
ii  python33.11.1-3
ii  python3-gi 3.42.2-3+b1

isenkram recommends no packages.

isenkram suggests no packages.

-- no debconf information