borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
1.93k stars 127 forks source link

DB error when adding new profile #2024

Closed m3nu closed 1 week ago

m3nu commented 1 week ago

Description

We have a bug in the current master branch that's blocking an important feature: When adding a new profile, there is an error related to a DB constraint (see logs).

Reproduction

  1. Select + > New profile
  2. Then enter any name and confirm
  3. Error will appear

OS

macOS

Version of Vorta

master branch

What did you install Vorta with?

Pip

Version of Borg

No response

Logs

sqlite3.IntegrityError: NOT NULL constraint failed: backupprofilemodel.allow_new_networks

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/manu/Workspace/vorta/src/vorta/views/profile_add_edit_dialog.py", line 39, in save
    new_profile.save()
shivansh02 commented 1 week ago

@m3nu I couldn't reproduce this, did not get any error. Also, we don't have any column called allow_new_networks in BackupProfileModel?

m3nu commented 1 week ago

Never mind then. Maybe it's a leftover in my local test DB. I'll go and edit it manually.