friture
friture copied to clipboard
After upgrade from v0.24 to v0.35.0.0 adding a dock does not work anymore
I just updated from version 0.24 without removing the settings.
First thing I noticed: the layout of the widgets is not the same as it used to be. Trying to add a new widget leads to this traceback:
2018-08-04 21:12:59,932 INFO friture.analyzer: Friture 0.35.0.0 starting on Windows (win32) 2018-08-04 21:12:59,935 INFO friture.analyzer: Applying Windows-specific setup 2018-08-04 21:13:02,712 INFO friture.audiobackend: Initializing audio backend 2018-08-04 21:13:02,713 INFO friture.audiobackend: Opening the stream for device 'CABLE Output (VB-Audio Virtual ' 2018-08-04 21:13:02,763 INFO friture.audiobackend: Device claims 32 ms latency 2018-08-04 21:13:02,764 INFO friture.audiobackend: Success 2018-08-04 21:13:02,811 INFO friture.spectrogram_image: palette preparation 2018-08-04 21:13:02,814 INFO friture.audioproc: audioproc: updating self.freq cache 2018-08-04 21:13:02,815 INFO friture.audioproc: audioproc: updating window 2018-08-04 21:13:02,815 INFO friture.audioproc: audioproc: will decimate 1 times 2018-08-04 21:13:02,815 INFO friture.audioproc: audioproc: updating self.freq cache 2018-08-04 21:13:02,817 INFO friture.audioproc: audioproc: updating window 2018-08-04 21:13:02,817 INFO friture.signal.frequency_resampler: freq scale changed to 1.000000 2018-08-04 21:13:02,817 INFO friture.signal.frequency_resampler: freq range changed 20.000000 24000.000000 2018-08-04 21:13:02,820 INFO friture.signal.frequency_resampler: freq range changed 20.000000 20000.000000 2018-08-04 21:13:02,821 INFO friture.audioproc: audioproc: updating window 2018-08-04 21:13:02,821 INFO friture.audioproc: audioproc: will decimate 1 times 2018-08-04 21:13:02,822 INFO friture.audioproc: audioproc: updating self.freq cache 2018-08-04 21:13:02,823 INFO friture.audioproc: audioproc: updating window 2018-08-04 21:13:02,823 INFO friture.audioproc: audioproc: will decimate 1 times 2018-08-04 21:13:02,823 INFO friture.audioproc: audioproc: updating self.freq cache 2018-08-04 21:13:02,825 INFO friture.audioproc: audioproc: updating window 2018-08-04 21:13:02,847 INFO friture.audiobackend: Trying to open input device #4 2018-08-04 21:13:02,848 INFO friture.audiobackend: Opening the stream for device 'CABLE Output (VB-Audio Virtual Cable)' 2018-08-04 21:13:02,855 INFO friture.audiobackend: Device claims 10 ms latency 2018-08-04 21:13:02,856 INFO friture.audiobackend: Success 2018-08-04 21:13:02,901 INFO friture.settings: Switching to difference between two inputs 2018-08-04 21:13:02,901 INFO friture.analyzer: Timer start 2018-08-04 21:13:02,902 INFO friture.analyzer: Init finished, entering the main loop 2018-08-04 21:13:03,208 INFO friture.plotting.glCanvasWidget: OpenGL format: version 4.5, Compatibility profile, Desktop OpenGL rendering 2018-08-04 21:13:03,210 WARNING OpenGL.arrays.numpymodule: Unable to load numpy_formathandler accelerator from OpenGL_accelerate 2018-08-04 21:13:03,211 INFO friture.plotting.glCanvasWidget: ATI Technologies Inc., AMD Radeon HD 5700 Series, Version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004, Shaders: 4.40, Extensions: 266 2018-08-04 21:13:03,410 INFO friture.plotting.glCanvasWidget: OpenGL format: version 4.5, Compatibility profile, Desktop OpenGL rendering 2018-08-04 21:13:03,411 INFO friture.plotting.glCanvasWidget: ATI Technologies Inc., AMD Radeon HD 5700 Series, Version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004, Shaders: 4.40, Extensions: 266 2018-08-04 21:13:03,437 INFO friture.timeplot: timeplot : changed canvas width 2018-08-04 21:13:03,442 INFO friture.timeplot: timeplot : changing x max 2018-08-04 21:13:03,442 INFO friture.timeplot: timeplot : changing x min 2018-08-04 21:13:03,445 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360 2018-08-04 21:13:03,448 INFO friture.timeplot: timeplot : changed canvas width 2018-08-04 21:13:03,511 INFO friture.signal.frequency_resampler: nsamples changed, now: 376 2018-08-04 21:13:03,512 INFO friture.spectrogram_image: Spectrogram image: canvas_height changed, now: 376 2018-08-04 21:13:03,519 INFO friture.spectrogram_image: Spectrogram image: canvas_width changed, now: 1067 2018-08-04 21:13:03,714 INFO friture.timeplot: timeplot : changed canvas width 2018-08-04 21:13:04,165 INFO friture.timeplot: timeplot : changed canvas width 2018-08-04 21:13:04,190 INFO friture.spectrogram_image: Spectrogram image: canvas_width changed, now: 1050 2018-08-04 21:15:08,601 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last): File "friture\dockmanager.py", line 44, in new_dock File "friture\dockmanager.py", line 44, inValueError: invalid literal for int() with base 10: ''
I suppose the config file format has been changed and the migration to the new version introduced some incompatibility.