Error on creating backups
I'm using the Macro Deck for the first time. Thx 4 all the great work!
Describe the bug I've installed v2.4.1 just for the current user, and I'm getting an error when I try to create a backup.
To Reproduce Steps to reproduce the behavior:
- Go to 'Settings'
- Click on 'Backups'
- Click on 'Create backup'
- See the error notification
Screenshots
Additional context The log file seems to have been created, but I don't know if it keeps all the necessary data.
Log file
...
23:37:29 [Macro Deck] [Trace] >> Clear
23:37:29 [Macro Deck] [Trace] >> Clear
23:40:18 [Macro Deck] [Info] >> Starting creation of backup: backup_25-05-05_23-40-18.zip
23:40:19 [Macro Deck] [Info] >> Backup successfully created: backup_25-05-05_23-40-18.zip
23:40:19 [Macro Deck] [Error] >> Backup creation failed: Não é possível chamar Invoke ou BeginInvoke em um controle antes da criação do identificador de janela.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Action method)
at SuchByte.MacroDeck.GUI.MainWindowContents.SettingsView.BackupManager_BackupSaved(Object sender, EventArgs e) in D:\a\Macro-Deck\Macro-Deck\MacroDeck\GUI\MainWindowViews\SettingsView.cs:line 260
at SuchByte.MacroDeck.Backups.BackupManager.CreateBackup() in D:\a\Macro-Deck\Macro-Deck\MacroDeck\Backup\BackupManager.cs:line 221
Also, same problem.
7:57:53 AM [Macro Deck] [Trace] >> Saved 2 profiles 7:58:19 AM [Macro Deck] [Info] >> Starting creation of backup: backup_25-08-08_07-58-19.zip 7:58:20 AM [Macro Deck] [Info] >> Backup successfully created: backup_25-08-08_07-58-19.zip 7:58:20 AM [Macro Deck] [Error] >> Backup creation failed: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at System.Windows.Forms.Control.Invoke(Action method) at SuchByte.MacroDeck.GUI.MainWindowContents.SettingsView.BackupManager_BackupSaved(Object sender, EventArgs e) in D:\a\Macro-Deck\Macro-Deck\MacroDeck\GUI\MainWindowViews\SettingsView.cs:line 260 at SuchByte.MacroDeck.Backups.BackupManager.CreateBackup() in D:\a\Macro-Deck\Macro-Deck\MacroDeck\Backup\BackupManager.cs:line 221