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

cmd Terminal prints "In [..]" in the middle of the output stream

When using the script interactive_pyaci.py together with ipython and the serial example, I observe a strange formatting in the command window, because the "In [..]" is often printed out somewhere in the middle of the output data stream of the device. I think, the terminal itself, as well as the example code on the nrf, do not cause this problem. What I do understand, is, which part of software is responsible for printing out the "in [..]" expression. Please help, thanks.

The following screenshot shows a sequence from the "Sending mesh packets" example...

The formatting that I am expecting, is like this...

In [1]: for dev in d: dev.quick_setup()
2018-10-08 10:01:53,154 - INFO - COM17: SubnetAdd: {'subnet_handle': 0}
2018-10-08 10:01:53,157 - INFO - COM17: AppkeyAdd: {'appkey_handle': 0} 
2018-10-08 10:01:53,158 - INFO - COM17: Success
2018-10-08 10:01:53,161 - INFO - COM33: SubnetAdd: {'subnet_handle': 0}
2018-10-08 10:01:53,162 - INFO - COM33: AppkeyAdd: {'appkey_handle': 0}
2018-10-08 10:01:53,166 - INFO - COM33: Success



Parents Reply
  • Hi Joakim

    Thank you for trying to reproduce it. To your question: The effect is indepedent from the console (how it should be). Firstly I was using the Windows command line too. This is behaving the same way. In the mean time I installed the complete toolchain on a colleague's computer and he had the same problems. I will try it on my private notebook.

    It would be helpful to me if you let me know which versions of python and OS you are using, with your working Installation.

    Best regards

Children
Related