Test configuration:
I am running via https, authentication = false
I am running python unit-tests/test-streaming-socket.py -data ../../DataSpectrumBrowser/LTE_UL_bc17_ts109_stream_30m.dat
Steps to repeat:
Choose sensor on the map
Press "live streaming data" button
Press "show last capture"
Click on the map and see the following error on the server gunicorn terminal (I run gunicorn from the command line via: gunicorn -w 1 -k flask_sockets.worker flaskr:app -b '0.0.0.0:8000' --debug --log-file - --error-logfile -)
Unexpected error: <type 'exceptions.TypeError'>
(<type 'exceptions.TypeError'>, TypeError('range() integer end argument expected, got float.',), <traceback object at 0x7f229c0e4ef0>)
Traceback (most recent call last):
File "/home/jkub/Documents/SpectrumBrowser/flask/flaskr.py", line 2037, in generatePowerVsTimeWorker
return GeneratePowerVsTime.generatePowerVsTimeForFFTPower(msg, freqHz, sessionId)
File "/home/jkub/Documents/SpectrumBrowser/flask/GeneratePowerVsTime.py", line 97, in generatePowerVsTimeForFFTPower
timeArray = [(leftColumnsToExclude + i) * miliSecondsPerMeasurement for i in range(0, nM)]
TypeError: range() integer end argument expected, got float.
Unexpected error: <type 'exceptions.TypeError'>
(<type 'exceptions.TypeError'>, TypeError('range() integer end argument expected, got float.',), <traceback object at 0x7f229c0e4680>)
Traceback (most recent call last):
File "/home/jkub/Documents/SpectrumBrowser/flask/flaskr.py", line 167, in testcase_decorator
return original_function(_args, _kwargs)
File "/home/jkub/Documents/SpectrumBrowser/flask/flaskr.py", line 2037, in generatePowerVsTimeWorker
return GeneratePowerVsTime.generatePowerVsTimeForFFTPower(msg, freqHz, sessionId)
File "/home/jkub/Documents/SpectrumBrowser/flask/GeneratePowerVsTime.py", line 97, in generatePowerVsTimeForFFTPower
timeArray = [(leftColumnsToExclude + i) \ miliSecondsPerMeasurement for i in range(0, nM)]
TypeError: range() integer end argument expected, got float.
token = user-143031361446921374188:ECR16W4XS
Test configuration: I am running via https, authentication = false I am running python unit-tests/test-streaming-socket.py -data ../../DataSpectrumBrowser/LTE_UL_bc17_ts109_stream_30m.dat
Steps to repeat: