Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception - even after reinstallation #2157

Open
SprickW opened this issue Dec 3, 2024 · 3 comments
Open

Uncaught exception - even after reinstallation #2157

SprickW opened this issue Dec 3, 2024 · 3 comments

Comments

@SprickW
Copy link

SprickW commented Dec 3, 2024

With the client I can't get rid of former use of vorta/borg. Even after complete de- and re-installation (apt) the GUI shows formerly used profile names. Trying to define a new profile are add an existing repository to an existing profile leads to exceptions.

Fixing might cause time. So it would be of help to have some documentation to completely remove borg/vorta to allow a clean setup.

Uncaught exception, please file a report with this text at
https://github.com/borgbase/vorta/issues/new
Traceback (most recent call last):
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 3246, in execute_sql
cursor.execute(sql, params or ())
sqlite3.IntegrityError: NOT NULL constraint failed: backupprofilemodel.compaction_on

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sprickw/.local/lib/python3.10/site-packages/vorta/views/profile_add_edit_dialog.py", line 38, in save
File "/home/sprickw/.local/lib/python3.10/site-packages/playhouse/signals.py", line 71, in save
ret = super(Model, self).save(*args, **kwargs)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 6787, in save
pk = self.insert(**field_dict).execute()
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 1966, in inner
return method(self, database, *args, **kwargs)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 2037, in execute
return self._execute(database)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 2842, in _execute
return super(Insert, self)._execute(database)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 2555, in _execute
cursor = database.execute(self)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 3254, in execute
return self.execute_sql(sql, params)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 3244, in execute_sql
with exception_wrapper:
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 3014, in exit
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/home/sprickw/.local/lib/python3.10/site-packages/peewee.py", line 3246, in execute_sql
cursor.execute(sql, params or ())
peewee.IntegrityError: NOT NULL constraint failed: backupprofilemodel.compaction_on

@m3nu
Copy link
Contributor

m3nu commented Dec 3, 2024

Your settings DB may still be around. You can find it in ~/.config/Vorta/settings.db or similar on Linux.

@SprickW
Copy link
Author

SprickW commented Dec 3, 2024

Your settings DB may still be around. You can find it in ~/.config/Vorta/settings.db or similar on Linux.

That was my first idea also. But there is no ~/.config/Vorta directory - which is a bit strange.

@madeddy
Copy link

madeddy commented Dec 3, 2024

... there is no ~/.config/Vorta directory - which is a bit strange.

Strange? No, why should it be.
AFAIK it depends also on the install method and location and from the look of it you installed Vorta like myself with PIP. Try to look in ~/.local/share/Vorta/, thats my cfg location.

I think you could try to remove/backup your cfg, restart Vorta so it makes a new cfg and re-add your repos. The old cfg could be somehow broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants