New stable version is almost here: Staging-2210

Hi @pau !

I think i don’t understand your problem. I’ve tried to save new ZS3 on top of your snapshot and it works for me. Please, give me the steps for reproducing your problem, including the observed & expected behaviour. A video would be cool too :wink:

cheers

Legacy-New Mix Snapshot conflict

Hello. Here you are, hope it helps!

Pau

1 Like

Hi Pau! It works for me. I was testing with the same programs, 13 & 14 and i have no problem learning new ZS3 on top of the legacy ones. I tested several ones and no problem at all.

Please, could you check again with a fresh snapshot from stable? Note if you save the legacy snapshot in the staging, it get converted to the new format and it can’t be used in stable never more.

Regards,

Be sure to start from a clear all if you are building it again…

I tried just upgrading from ‘stable’ (old, but almost clean installation anyway) and ended up with the infamous ‘ERROR’ screen. The UI log is full of complaints about ‘NoneType’ objects or missing files. Probably really better to start with a new image…?

-- Logs begin at Mon 2022-10-24 23:21:45 BST. -- 
Oct 24 23:21:54 zynthian startx[473]: libzynmixer: Registering as 'zynmixer'. 
Oct 24 23:21:54 zynthian startx[473]: libzynmixer: Created input ports 
Oct 24 23:21:54 zynthian startx[473]: libzynmixer: Registered output ports 
Oct 24 23:21:54 zynthian startx[473]: libzynmixer: Activated client 
Oct 24 23:21:54 zynthian startx[473]: New instance of zynseq 
Oct 24 23:21:54 zynthian startx[473]: **zynseq initialising as zynseq** 
Oct 24 23:22:05 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:05 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:07 zynthian startx[473]: ERROR:zynthian_gui.init_midi: ERROR initializing MIDI : 'NoneType' object has no attribute 'set_midi_filter_tuning_freq' 
Oct 24 23:22:10 zynthian startx[473]: WARNING:zynthian_engine.proc_get_output: Command Prompt is not defined! 
Oct 24 23:22:15 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller 'volume' => 'NoneType' object has no attribute 'ui_send_ccontrol_change' 
Oct 24 23:22:15 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller feedback 'volume' => Val='NoneType' object has no attribute 'ctrlfb_send_ccontrol_change' 
Oct 24 23:22:15 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller 'sostenuto' => 'NoneType' object has no attribute 'ui_send_ccontrol_change' 
Oct 24 23:22:15 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller feedback 'sostenuto' => Val='NoneType' object has no attribute 'ctrlfb_send_ccontrol_change' 
Oct 24 23:22:15 zynthian startx[473]: ERROR:zynthian_gui_layer.load_snapshot: Invalid snapshot: 'NoneType' object has no attribute 'set_midi_filter_clone' 
Oct 24 23:22:15 zynthian startx[473]: Traceback (most recent call last): 
Oct 24 23:22:15 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1743, in load_snapshot 
Oct 24 23:22:15 zynthian startx[473]: self._load_snapshot_layers(snapshot) 
Oct 24 23:22:15 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1819, in _load_snapshot_layers 
Oct 24 23:22:15 zynthian startx[473]: self.restore_state_snapshot(snapshot) 
Oct 24 23:22:15 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1522, in restore_state_snapshot 
Oct 24 23:22:15 zynthian startx[473]: self.set_clone(state['clone']) 
Oct 24 23:22:15 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 544, in set_clone 
Oct 24 23:22:15 zynthian startx[473]: lib_zyncore.set_midi_filter_clone(i,j,clone_status[i][j]['enabled']) 
Oct 24 23:22:15 zynthian startx[473]: AttributeError: 'NoneType' object has no attribute 'set_midi_filter_clone' 
Oct 24 23:22:15 zynthian startx[473]: ERROR:zynthian_gui.init_midi: ERROR initializing MIDI : 'NoneType' object has no attribute 'set_midi_filter_tuning_freq' 
Oct 24 23:22:27 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:28 zynthian startx[473]: ERROR:zynthian_gui.refresh_status: main thread is not in main loop 
Oct 24 23:22:28 zynthian startx[473]: Traceback (most recent call last): 
Oct 24 23:22:28 zynthian startx[473]: File "./zynthian_gui.py", line 2220, in refresh_status 
Oct 24 23:22:28 zynthian startx[473]: self.screens[self.current_screen].refresh_status(self.status_info) 
Oct 24 23:22:28 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_base.py", line 462, in refresh_status 
Oct 24 23:22:28 zynthian startx[473]: self.status_canvas.coords(self.status_peak_bA, (lA, 0, self.status_l, self.status_rh - 2)) 
Oct 24 23:22:28 zynthian startx[473]: File "/usr/lib/python3.7/tkinter/__init__.py", line 2469, in coords 
Oct 24 23:22:28 zynthian startx[473]: self.tk.call((self._w, 'coords') + args))] 
Oct 24 23:22:28 zynthian startx[473]: RuntimeError: main thread is not in main loop 
Oct 24 23:22:28 zynthian startx[473]: Can't init zyncore library: /home/pi/zyncoder/build/libzyncore.so: cannot open shared object file: No such file or directory 
Oct 24 23:22:28 zynthian startx[473]: Traceback (most recent call last): 
Oct 24 23:22:28 zynthian startx[473]: File "./zynthian_gui.py", line 2469, in <module> 
Oct 24 23:22:28 zynthian startx[473]: lib_zyncore.setup_zynpot_cb(zynpot_cb) 
Oct 24 23:22:28 zynthian startx[473]: AttributeError: 'NoneType' object has no attribute 'setup_zynpot_cb' 
Oct 24 23:22:29 zynthian startx[473]: /zynthian/config/img/fb_zynthian_message.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit 
Oct 24 23:22:29 zynthian startx[473]: Zooming image by 100%...done 
Oct 24 23:22:29 zynthian startx[473]: Merging...done 
Oct 24 23:22:29 zynthian startx[473]: Building XImage...done 
Oct 24 23:22:40 zynthian startx[473]: ERROR:zynthian_gui_config.<module>: ERROR configuring control I/O subsytem: 'NoneType' object has no attribute 'get_num_zynswitches' 
Oct 24 23:22:42 zynthian startx[473]: libzynmixer: Registering as 'zynmixer'. 
Oct 24 23:22:42 zynthian startx[473]: libzynmixer: Created input ports 
Oct 24 23:22:42 zynthian startx[473]: libzynmixer: Registered output ports 
Oct 24 23:22:42 zynthian startx[473]: libzynmixer: Activated client 
Oct 24 23:22:42 zynthian startx[473]: New instance of zynseq 
Oct 24 23:22:42 zynthian startx[473]: **zynseq initialising as zynseq** 
Oct 24 23:22:44 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:44 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:46 zynthian startx[473]: ERROR:zynthian_gui.init_midi: ERROR initializing MIDI : 'NoneType' object has no attribute 'set_midi_filter_tuning_freq' 
Oct 24 23:22:48 zynthian startx[473]: WARNING:zynthian_engine.proc_get_output: Command Prompt is not defined! 
Oct 24 23:22:53 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller 'volume' => 'NoneType' object has no attribute 'ui_send_ccontrol_change' 
Oct 24 23:22:53 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller feedback 'volume' => Val='NoneType' object has no attribute 'ctrlfb_send_ccontrol_change' 
Oct 24 23:22:53 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller 'sostenuto' => 'NoneType' object has no attribute 'ui_send_ccontrol_change' 
Oct 24 23:22:53 zynthian startx[473]: WARNING:zynthian_controller.set_value: Can't send controller feedback 'sostenuto' => Val='NoneType' object has no attribute 'ctrlfb_send_ccontrol_change' 
Oct 24 23:22:53 zynthian startx[473]: ERROR:zynthian_gui_layer.load_snapshot: Invalid snapshot: 'NoneType' object has no attribute 'set_midi_filter_clone' 
Oct 24 23:22:53 zynthian startx[473]: Traceback (most recent call last): 
Oct 24 23:22:53 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1743, in load_snapshot 
Oct 24 23:22:53 zynthian startx[473]: self._load_snapshot_layers(snapshot) 
Oct 24 23:22:53 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1819, in _load_snapshot_layers 
Oct 24 23:22:53 zynthian startx[473]: self.restore_state_snapshot(snapshot) 
Oct 24 23:22:53 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 1522, in restore_state_snapshot 
Oct 24 23:22:53 zynthian startx[473]: self.set_clone(state['clone']) 
Oct 24 23:22:53 zynthian startx[473]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_layer.py", line 544, in set_clone 
Oct 24 23:22:53 zynthian startx[473]: lib_zyncore.set_midi_filter_clone(i,j,clone_status[i][j]['enabled']) 
Oct 24 23:22:53 zynthian startx[473]: AttributeError: 'NoneType' object has no attribute 'set_midi_filter_clone' 
Oct 24 23:22:53 zynthian startx[473]: ERROR:zynthian_gui.init_midi: ERROR initializing MIDI : 'NoneType' object has no attribute 'set_midi_filter_tuning_freq' 
Oct 24 23:22:55 zynthian startx[473]: ERROR:zynthian_gui_controller.setup_zynpot: 'NoneType' object has no attribute 'setup_behaviour_zynpot' 
Oct 24 23:22:55 zynthian startx[473]: Can't init zyncore library: /home/pi/zyncoder/build/libzyncore.so: cannot open shared object file: No such file or directory 
Oct 24 23:22:55 zynthian startx[473]: Traceback (most recent call last): 
Oct 24 23:22:55 zynthian startx[473]: File "./zynthian_gui.py", line 2469, in <module> 
Oct 24 23:22:55 zynthian startx[473]: lib_zyncore.setup_zynpot_cb(zynpot_cb) 
Oct 24 23:22:55 zynthian startx[473]: AttributeError: 'NoneType' object has no attribute 'setup_zynpot_cb' 
Oct 24 23:22:56 zynthian startx[473]: /zynthian/config/img/fb_zynthian_message.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit 
Oct 24 23:22:56 zynthian startx[473]: Zooming image by 100%...done 
Oct 24 23:22:56 zynthian startx[473]: Merging...done 
Oct 24 23:22:56 zynthian startx[473]: Building XImage...done 

Please use, review and feedback on / update the development version of the user guide in the wiki. This has been updated to better match the staging version. It would be advantageous to hear of errors and omissions so that we can improve its accuracy. Note that we are considering new types of documentation which may arrive later but for now we need to ensure the current docs match the imminent new release.

I have reproduced this issue. Sending PC#13 during ZS3 MIDI learn with your snapshot is crashing PianoTeq.

This is not directly related to legacy snapshots. It happens when creating ZS3 from clean setup. I have raised an issue.

1 Like

Blockquote

Is there something wrong with it? How can I check the logs, sorry for the trivial question, maybe using VNC?

I enabled VNC and observed the crash dialog shown above. I will continue investigation and update the ticket (rather than clog this forum thread).

1 Like

Pau, @riban just fixed the issue with Pianoteq. Could you try if this solves your issue?
If not, i think the best is you bring your zynthian+controller here.

Thanks!

There is a new staging image that include all fixes from the last days:

https://os.zynthian.org/test/2022-10-26-zynthianos-staging-2210.zip

Of course, you can simply update your current staging :wink:

Enjoy!

1 Like

I think I’ll pay you a visit and accept that cold drink this weekend.
Something is not right, I’m not worried about my snapshot, I can recreate it again in a bitz, but there are some strange glitches that must be cau¡sed by something that escapes me.

See you soon

1 Like

OK! Let me know by PM.

Hi all,
after last update of stage version I have issue with start of Zynthian that go to neverending loop of restarts of UI.
I installed the system from a stage image and gradually updated the software via webconfig

Oct 28 09:03:12 zynthian startx[16413]: **zynseq initialising as zynseq**
Oct 28 09:03:12 zynthian startx[16413]: Invalid card number.
Oct 28 09:03:12 zynthian startx[16413]: ERROR:zynthian_engine_alsa_mixer.get_mixer_zctrls: Command 'amixer -M -c U192k' returned non-zero exit status 1.
Oct 28 09:03:13 zynthian startx[16413]: ZynCore->setup_behaviour_zyncoder(3, ...): Invalid index!
Oct 28 09:03:13 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 27 port_dst = 51
Oct 28 09:03:13 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 27 port_dst = 54
Oct 28 09:03:13 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 54
Oct 28 09:03:13 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 56
Oct 28 09:03:13 zynthian startx[16413]: Unknown destination port in attempted (dis)connection src_name [ttymidi:MIDI_in] dst_name [mod-host:midi_in]
Oct 28 09:03:13 zynthian startx[16413]: Unknown destination port in attempted (dis)connection src_name [a2j:Midi Through [14] (capture): Midi Through Port-0] dst_name [mod-host:midi_in]
Oct 28 09:03:14 zynthian startx[16413]: ZynCore->setup_behaviour_zyncoder(3, ...): Invalid index!
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 53 port_dst = 31
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 55 port_dst = 32
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 102 port_dst = 49
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 104 port_dst = 48
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 25 port_dst = 105
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 27 port_dst = 51
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 102 port_dst = 51
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 104 port_dst = 51
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 27 port_dst = 54
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 102 port_dst = 54
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 104 port_dst = 54
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Connect already connected port_src = 29 port_dst = 101
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 54
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 56
Oct 28 09:03:15 zynthian startx[16413]: Unknown destination port in attempted (dis)connection src_name [ttymidi:MIDI_in] dst_name [mod-host:midi_in]
Oct 28 09:03:15 zynthian startx[16413]: Unknown destination port in attempted (dis)connection src_name [a2j:Midi Through [14] (capture): Midi Through Port-0] dst_name [mod-host:midi_in]
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 99 port_dst = 61
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 99 port_dst = 62
Oct 28 09:03:15 zynthian startx[16413]: JackGraphManager::Disconnect not connected port_src = 100 port_dst = 61

Latest SD image:

https://os.zynthian.org/test/2022-10-28-zynthianos-staging-2210.zip

All related tickets are closed, so if no new serious issues are found, we are almost there and the stable-2210 will be out in the next few days.

1 Like

Something seems really broken on your SD image. I would try to update again or burn the latest one.

Yes, staging zynthian is back. I remove all my snapshoots, remove SD card from Raspberry . After playing with test version on other SD card I move back to staging SD card, update and all working.

1 Like

I did clean installation on new SD, but on Webconf “Advanced view” does not work on the Wiring board to configure the encoder pins. Am I wrong or is it normal? I don’t even see the drop-down menu to select the multiplexer. Thanks for your wonderful work.

Do you see this at the top of the wiring page?

Some config options are disabled. You may want to choose Custom Kit for enabling all options.

Thanks Riban, I have already selected Custom in the Kit window. Everything works, display, sound card … but in this Wiring window the Advanced mode does not open …


If I change Wiring and select Custom, it doesn’t ask me for confirmation …