Hello,
For a project i added support (api.c, protocol.h files) for the Tenma 72-2535
programmable powersupply.
I started with the libsigrok-0.5.1 tar and have it working. I now downloaded
the git repository (git://sigrok.org/libsigrok) and copied my changes so i
could contribue my changes but i keep getting issues with a code that was
working for 0.5.1:
Traceback (most recent call last):
File "./pwr.py", line 4, in <module>
from sigrok.core.classes import *
File
"/usr/local/lib/python3.6/dist-packages/libsigrok-0.6.0-py3.6-linux-x86_64.egg/sigrok/core/__init__.py",
line 20, in <module>
from . import classes
File
"/usr/local/lib/python3.6/dist-packages/libsigrok-0.6.0-py3.6-linux-x86_64.egg/sigrok/core/classes.py",
line 43, in <module>
_classes = swig_import_helper()
File
"/usr/local/lib/python3.6/dist-packages/libsigrok-0.6.0-py3.6-linux-x86_64.egg/sigrok/core/classes.py",
line 42, in swig_import_helper
return importlib.import_module('_classes')
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_classes'
Segmentation fault
if i link to 0.5.1 it seems to be working. i tried by removing sigrok
completely and recompiling and reinstalling everything but this issue stays.
Does anyone knows what could be causing this? sigrok-cli seems do work fine.
Is there also a guideline for commiting?
greetings
[http://www.nalys-group.com/theme/default-2017/img/logo.png]
Anthony Dewelde
Industrial Engineer electronics - ICT
Avenue de Tervueren, 270
1150 Brussels
Tel: +32 (0) 2 880 83 20
Gsm: +32 (0) 474 61 36 35
[email protected]<mailto:[email protected]>
www.nalys-group.com<http://www.nalys-group.com/>
[https://media.licdn.com/mpr/mpr/shrink_200_200/AAEAAQAAAAAAAANyAAAAJGRlZTNlZDQwLTk4YTItNDA1MS04MzBjLWJmNGQ5M2RmZGUxYw.png]<https://www.linkedin.com/company/1795380?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A1795380%2Cidx%3A3-1-11%2CtarId%3A1458304720363%2Ctas%3Analys>
[https://facebookbrand.com/wp-content/themes/fb-branding/prj-fb-branding/assets/images/fb-art.png]<https://www.facebook.com/Nalys-209972612375081/?fref=ts>
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel