Program crash on connect

edited September 21 in Python

Hi,

I have noticed that sometimes my Python script randomly crashes on connect. I have added a try catch block in an attempt to fix this issue, however, this does not help as this issue is not from my code but the MetaWear package (during the async connection). I have attached a picture of the console output when this happens as well as an image of my connect method. It crashed on the highlighted line 'device.connect'. I think this is due to lookups sharing memory space when attempting to connect asynchronously. Exception is - mbientlab.warble.WarbleException: The object has been closed.

Can you tell me what I can do about this issue so it doesn't break my script? Thanks!

Comments

  • Do you have any suggestions as to what I can do to fix this issue? Please let me know if you need any clarification.

    Thanks.

  • Have you been able to fix the issue?

Sign In or Register to comment.