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

Power Profiler on Win7 64bit, no graph

I've had a sequene of problems attempting to install the power profiler software on my Lenovo T420 Win7 64 bit machine.

First Issue When attempting to run the python_packages.bat install files I kept getting this error.

install pyside Collecting pyside Could not fetch URL pypi.python.org/.../: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIF AILED] certificate verify failed (_ssl.c:661) - skipping Could not find a version that satisfies the requirement pyside (from versions: ) No matching distribution found for pyside

I got past this issue by changing the command lines in the bat file to this style. python -m pip install --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org

Second Issue When ever I attempted to start ppk.py the two windows for the app would briefly flash on the screen and the command line window would give me the following message.

C:\Users\Dennis\Documents\Dennis\Components\Nordic_BLE\nRF6707 Power Profiler Kit - Software files 1_0_0>python ppk.py Checking installed packages pyside: 1.2.4 pyqtgraph: 0.10.0 numpy: 1.11.3 pynrfjprog: 9.0.0 Warning: The software is tested with PyQtGraph 0.9.10, and may not work with your version (0.10.0) Warning: The software is tested with np 1.9.2, and may not work with your version (1.11.3) Power Profiler Kit started, initializing... Unable to connect to the PPK, check debugger connection and make sure pynrfjprog is up to date.

I got past this issue by upgrading pynrfjprog from 9.0.0 to the latest which is 9.2.1.

Third Issue After upgrading from pynrfjprog from 9.0.0 to 9.2.1 the application would start and I would get the two windows. I would get activity in the 'settings' window but the 'graph' window is blank with no graphs being shown. The setting window controls appear to function but no graph display is shown. I can change the background color of the graph pane but still no graph.

I don't have access to another windows machine that isn't 64 bit to try as an alternative.

Thanks

  • Update: I tried the install as above on another machine which was a desktop Win7 64bit machine. I did not get First Issue above but did get Second Issue and Third Issue.

  • Just press edit on original thread and add new information next time :)

  • Sorry to hear this. The installer issue is most likely a pip issue, since I see that downgrading has worked for some people. That is unfortunately out of our hands. I see that you get a lot of warnings, can you try downgrading the mentioned packages to the ones the software reports it is tested with? In the mean time, we will also try installing the same packages as you have. New API's etc in external references may break the software, so this will be fixed. pynrfjprog should definately work with pynrfjprog 9.0.0, and 9.1.0. It hasn't been thoroughly tested with 9.2.0+ so I would advice against that for now. The graph being blank means that no data is coming through, are you sure that the console is not reporting any warnings or errors?

    EDIT: To downgrade pynrfjprog, do pip install pynrfjprog==9.1.0

  • I installed the packages with the versions you are using

    pyside:		 1.2.4 
    pyqtgraph:	 0.10.0
    numpy:		 1.11.3 
    pynrfjprog:	 9.2.1
    

    and no, it did not produce an error but no data was coming through. Downgrading pynrfjprog to 9.1.0 made it work again

    pip install pynrfjprog=9.1.0

    the pip issue you are seeing is an issue with pip itself, and is out of our hands. We will look into what causing pynrfjprog 9.2.x to break it.

  • I tried pynrfjprog 9.1.0 with the following results. C:\Users\Dennis\Documents\Dennis\Components\Nordic_BLE\nRF6707 Power Profiler Kit - Software files 1_0_0>python -m pip install --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org pynrfjprog==9.1.0 Collecting pynrfjprog==9.1.0 Downloading pynrfjprog-9.1.0.zip (262kB) 100% |################################| 266kB 2.3MB/s Requirement already satisfied: enum34 in c:\python27\lib\site-packages (from pynrfjprog==9.1.0) Requirement already satisfied: future in c:\python27\lib\site-packages (from pynrfjprog==9.1.0) Installing collected packages: pynrfjprog Running setup.py install for pynrfjprog ... done Successfully installed pynrfjprog-9.1.0

    C:\Users\Dennis\Documents\Dennis\Components\Nordic_BLE\nRF6707 Power Profiler Kit - Software files 1_0_0>python ppk.py Checking installed packages pyside: 1.2.4 pyqtgraph: 0.9.10 numpy: 1.11.3 pynrfjprog: 9.1.0 Warning: The software is tested with np 1.9.2, and may not work with your version (1.11.3) Power Profiler Kit started, initializing... Unable to connect to the PPK, check debugger connection and make sure pynrfjprog is up to date.

    The screen flashed both windows and then the disappeared.

    I then tried the next version up of pynrfjprog which is 9.2.0.

    It starts but again a blank graph.

    I also tried to downgrade numpy to 1.9.2 but it won't install on my system. I get a message that starts like this below. C:\Users\Dennis\Documents\Dennis\Components\Nordic_BLE\nRF6707 Power Profiler Kit - Software files 1_0_0>python -m pip install --ind ex-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org numpy==1.9.2 Collecting numpy==1.9.2 Downloading numpy-1.9.2.zip (4.5MB) 100% |################################| 4.5MB 2.9MB/s Installing collected packages: numpy Running setup.py install for numpy ... error Complete output from command C:\Python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\dennis\appdata\loc al\temp\pip-build-lkaluy\numpy\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close ();exec(compile(code, file, 'exec'))" install --record c:\users\dennis\appdata\local\temp\pip-slsqe8-record\install-record.txt - -single-version-externally-managed --compile: Running from numpy source directory. non-existing path in 'numpy\distutils': 'site.cfg' non-existing path in 'numpy\f2py': 'docs' non-existing path in 'numpy\f2py': 'f2py.1' F2PY Version 2 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['C:\Python27\lib', 'C:\', 'C:\Python27\libs'] NOT AVAILABLE

    The next version of numpy that will install on my system is 1.10.4 which also give me a blank graph.

Related