zynthian / zynthian-issue-tracking

Centralized Issue Tracking for Zynthian Project
https://github.com/orgs/zynthian/projects/1
11 stars 3 forks source link

Master channel program change error #697

Open riban-bw opened 2 years ago

riban-bw commented 2 years ago

Describe the bug The first time a program change is sent to master channel there is an error in the log: 'No such file or directory: '/zynthian/zynthian-my-data/snapshots/Last State'

To Reproduce Steps to reproduce the behaviour:

  1. Start Zynthian from cold
  2. Enable master channel
  3. Send MIDI program change message on master channel

Expected behaviour No error

Setup:

Additional context This occurs in stable 2109 and current testing, i.e. an historical issue.

riban-bw commented 2 years ago

zynthian_gui_snapshot: midi_program_change self.bank_dir=self.list_data[0][2] is setting bank to "Last Saved" which is plainly wrong. I wonder if it was supposed to be self.bank_dir=self.list_data[2][0]