Pysense module error



  • Hi, I'm new to using any pycom devices and can't find a solution to my problem anywhere online. The pysense has been working but has now stopped working, showing the error below:

    0_1548370596960_dc4a9117-2e88-4b41-ba61-e93e0c78052a-image.png

    However, nowhere in the main file or in any of the files stored in the library folder contains the string 'SI7006A0'. Here is the line it is referencing in the main file:
    0_1548370682286_be63672c-9556-4540-bdd9-94a3d20e54fd-image.png

    If i change the line where it is importing the module to contain two 2's, then hit upload and run, it will throw the same error but with 'SI7006A220'. Reverting back to just one 2 ('SI7006A20') will throw the original error with the missing 2. Could anyone suggest what is casuing the program to ignore the '2' in the module name?

    Many thanks,

    T



  • Hey.

    Could you try reflashing the latest firmware. Including using the checkbox to wipe flash. And reupload and try the code again.

    Thanks



  • @tr234__ I would start by adding traces just before and after that import statement to check that it’s indeed the one triggering the error.

    You may want to check your boot.py.

    You can also try clearing the file system and re-uploading your files to make sure there aren’t any unneeded leftovers from previous attempts.



Pycom on Twitter