This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Master Control Panel doesn't work (python error).

It used to work, but now it says "Connected" but the rest of the GUI never changes and the mouse just shows a busy spinner. Here's the log file:

0;13:45:18.9900 [MainThread] Master Control Panel 3.5.0.8226
1;13:45:19.1430 [MainThread] SerialNumberToComport for serial 480108197 returned COM19.
2;13:45:19.1640 [MainThread] HciJLinkDriver opened (COM19, 115200-8-None-1-RequestToSend)
3;13:45:19.1680 [480108197][MainThread] SerialNumberToComport for serial 480108197 returned COM19.
4;13:45:20.1060 [480108197][MainThread] HCI command: BTLE_CMD_READ_BD_ADDR
5;13:45:20.1070 [480108197][MainThread] Serial port write: 01-09-10-00
6;13:45:20.1090 [480108197][MainThread] Waiting for event packet. Timeout is 500ms
7;13:45:20.1100 [480108197][ReadPacketQueueThread] Serial port read: 04-0E-0A-01-09-10-00-56-FF-99-00-CD-29
8;13:45:20.1230 [480108197][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: BTLE_CMD_READ_BD_ADDR, Status: BTLE_STATUS_CODE_SUCCESS, BdAddress: 0x29CD0099FF56
9;13:45:20.1230 [480108197][MainThread] Finished waiting for event packet. PacketReceived:True
10;13:45:20.1270 [480108197][MainThread] HCI command: NRF_CMD_SET_BD_ADDR, Address: 0x53-D1-6D-72-73-73
11;13:45:20.1270 [480108197][MainThread] Serial port write: 01-03-FC-06-53-D1-6D-72-73-73
12;13:45:20.1270 [480108197][MainThread] Waiting for event packet. Timeout is 500ms
13;13:45:20.1290 [480108197][ReadPacketQueueThread] Serial port read: 04-0E-04-01-03-FC-00
14;13:45:20.1290 [480108197][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: NRF_CMD_SET_BD_ADDR, Status: BTLE_STATUS_CODE_SUCCESS
15;13:45:20.1300 [480108197][MainThread] Finished waiting for event packet. PacketReceived:True
16;13:45:20.1310 [480108197][MainThread] HCI command: NRF_CMD_GET_VERSION_INFO
17;13:45:20.1310 [480108197][MainThread] Serial port write: 01-06-FC-00
18;13:45:20.1310 [480108197][MainThread] Waiting for event packet. Timeout is 500ms
19;13:45:20.1360 [480108197][ReadPacketQueueThread] Serial port read: 04-0E-2C-01-06-FC-00-6D-65-66-77-5F-6E-72-66-35-31-38-32-32-5F-30-2E-39-2E-30-2E-31-30-30-32-32-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
20;13:45:20.1370 [480108197][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: NRF_CMD_GET_VERSION_INFO, Status: BTLE_STATUS_CODE_SUCCESS, VersionInfo: mefw_nrf51822_0.9.0.10022
21;13:45:20.1370 [480108197][MainThread] Finished waiting for event packet. PacketReceived:True
22;13:45:21.5430 [480108197][ScriptThread] Python exception: No module named Nordicsemi 
Stacktrace:   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
   at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scriptCode)
   at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
   at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
   at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
   at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
   at IronPython.Runtime.Importer.ImportNestedModule(CodeContext context, PythonModule module, String name, List path)
   at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String name)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportWithNames(CodeContext context, String fullName, String[] names, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
   at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scriptCode)
   at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
   at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
   at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
   at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
   at IronPython.Runtime.Importer.ImportNestedModule(CodeContext context, PythonModule module, String name, List path)
   at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String name)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportWithNames(CodeContext context, String fullName, String[] names, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
   at IronPython.Compiler.PythonScriptCode.Run(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
   at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
   at Microsoft.Scripting.Hosting.ScriptEngine.ExecuteFile(String path, ScriptScope scope)
   at UlpbtIronPython.TesterScript.ScriptRun()
Related