-
Notifications
You must be signed in to change notification settings - Fork 272
DFU BLE returns "Fatal Python Error" on MacOS #46
Comments
@solomonomeister do you still see this issue? Sorry for the late response. |
@bihanssen if there haven't been any updates to nrfutil then yeah, its still happening. |
Ok, will try to reproduce the issue. |
I'm not able to reproduce the issue. Maybe you could provide some additional info:
|
Closing the issue due to can't reproduce. Please comment if there is more information available. |
Getting the same issue still. Python installed through homebrew. macOS Sierra |
Hello guys, I'm also getting this issue. Python installed through Homebrew. macOS HIgh Sierra |
Hi, thanks for reporting. Reopening the issue so we can check it out. |
Thank you. As far as I know, yes. |
I am also seeing this issue, was anyone able to resolve this?
|
I was able to reproduce this issue on Python version 2.7.11 using pyenv. Nrfutil depends on a pc-ble-driver-py to communicate with CDC devices, but the the version you get by with "pip install pc_ble_driver_py" may not be compatible with Homebrew Python. The simplest way to work around this is by switching to system Python. https://github.com/NordicSemiconductor/pc-ble-driver-py/ |
Closing this issue as answered by #46 (comment). |
@mathiasap I am running into a similar error, I was using virtualenv so decided to try your suggestion of switching back to system Python but that is giving me the same error. Any ideas? I don't quite understand what the problem is. From the virtualenv I get:
From system python I get something similar:
|
I can't fix it. Even by switching to system python on MacOS 10.14.5. |
I'm having this issue as well on Mac Catalina, both on virtualenv / Python 2.7 and system Python 3.x |
@ojousima please try with a python.org release: https://www.python.org/downloads/. |
After installing 3.8, here's what I get:
Should I open another issue as this isn't anymore related to the original topic? |
Getting hard Python crashes when trying to run a DFU BLE command using nrfutil.
Sample command:
nrfutil dfu ble -ic NRF51 -pkg dfu_test_app_hrm_s132.zip -n "DfuTest"
Return:
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
All versions of PIP, Python & nrfutil are up to date and freshly installed as of 02 Feb 2017. Running MacOS 10.12.3 Beta (16D30a).
Any ideas how to resolve?
The text was updated successfully, but these errors were encountered: