Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Setmapping2 broken in 1.5.0

0 votes

I'm attempting to launch DarknetYOLO module with the latest version of JeVois (1.5.0) with USB Video disabled using:

setmapping2 YUYV 640 480 0.4 JeVois DarknetYOLO

When I run info I see:

INFO: OUT: NONE 0x0 @ 0fps CAM: NONE 0x0 @ 0fps MOD: 

When I enable logs I get the following exceptions:

INF Camera::setFormat: Camera set video format to 640x480 YUYV
ERR Log::warnAndIgnoreException: Caught exception from the Python interpreter:
ERR Log::warnAndIgnoreException:    Python traceback (most recent calls last):
ERR Log::warnAndIgnoreException:    File <string>
ERR Log::warnAndIgnoreException:    Line 5, in <module>:
ERR Log::warnAndIgnoreException:    ImportError: dynamic module does not define module export function (PyInit_DarknetYOLO)
ERR Engine::setFormatInternal: Module [DarknetYOLO] startup error and not operational.

Looking a bit more deeply it seems that setmapping2 work with any of the modules I've tried.   Any ideas what's going on?

asked Oct 6, 2017 in User questions by djwilday (140 points)
edited Oct 6, 2017 by djwilday

1 Answer

0 votes
Yes, thanks, that bug was introduced after we added support for python modules, it has been fixed in github and the fix will be included in future releases.
answered Oct 10, 2017 by jvroot (360 points)