On Thu, 2022-05-26 at 18:06 +0200, Ing. Gabriele Oberhammer wrote:
>
> [ ... ]
> srd: ImportError: Failed to load decoder ir_irmp: import by name failed: No 
> module named '_ctypes'

A duplicate of bug 1684?
https://sigrok.org/bugzilla/show_bug.cgi?id=1684

Has somebody checked the AppImage's content? Is it really the
case that ctypes(3) is present but _ctypes(3) is not? Or are the
files present yet some path needs adjusting?

> srd: Failed to load decoder iec: missing or malformed 'tags' attribute
> srd: Failed to load decoder gpib: missing or malformed 'tags' attribute

What's this? Mix of old and new installation? The 'iec' and
'gpib' decoders have long gone from mainline, where ieee488
replaced both of them. Check the decoders search path and
eliminate these obsolete copies.

> Note that the application starts regardless of those errors and seems to work 
> ok
> (tested with a cheap fx2lafw compatible using SPI decoder)

Of course. The messages are non-fatal in the sense that they
prevent individual decoders from loading, but would not break any
other part of the application. So all that you are "missing" is
the ir_irmp decoder. I know from first hand experience that it
works with local builds. It's an AppImage specific issue that
_ctypes would not be found, or considered to fail loading.


virtually yours
Gerhard Sittig
--
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to