Skip to content

VortaBackUp restart #2511

@fliteshare

Description

@fliteshare

Uncaught exception, please file a report with this text at
https://github.com/borgbase/vorta/issues/new
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/peewee.py", line 7160, in get
return clone.execute(database)[0]
~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 4510, in getitem
return self.row_cache[item]
~~~~~~~~~~~~~~^^^^^^
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/peewee.py", line 6754, in get_or_create
return query.get(), False
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 7163, in get
raise self.model.DoesNotExist('%s instance matching query does '
vorta.store.models.RepoModelDoesNotExist: <Model: RepoModel> instance matching query does not exist:
SQL: SELECT "t1"."id", "t1"."url", "t1"."added_at", "t1"."encryption", "t1"."unique_size", "t1"."unique_csize", "t1"."total_size", "t1"."total_unique_chunks", "t1"."create_backup_cmd", "t1"."extra_borg_arguments" FROM "repomodel" AS "t1" WHERE ("t1"."url" = ?) LIMIT ? OFFSET ?
Params: ['/timeshift/VortaBackUp', 1, 0]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vorta/views/repo_add_dialog.py", line 246, in run
self.thread.run()
File "/usr/lib/python3/dist-packages/vorta/borg/borg_job.py", line 326, in run
self.process_result(result)
File "/usr/lib/python3/dist-packages/vorta/borg/info_repo.py", line 56, in process_result
new_repo, _ = RepoModel.get_or_create(url=result['cmd'][-1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 6756, in get_or_create
raise exc
File "/usr/lib/python3/dist-packages/peewee.py", line 6751, in get_or_create
return cls.create(**kwargs), True
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 6620, in create
inst.save(force_insert=True)
File "/usr/lib/python3/dist-packages/playhouse/signals.py", line 71, in save
ret = super(Model, self).save(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 6830, in save
pk = self.insert(**field_dict).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 1972, in inner
return method(self, database, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 2043, in execute
return self._execute(database)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 2848, in _execute
return super(Insert, self)._execute(database)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 2561, in _execute
cursor = database.execute(self)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 3260, in execute
return self.execute_sql(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/peewee.py", line 3250, in execute_sql
with exception_wrapper:
File "/usr/lib/python3/dist-packages/peewee.py", line 3020, in exit
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/lib/python3/dist-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/peewee.py", line 3252, in execute_sql
cursor.execute(sql, params or ())
peewee.IntegrityError: NOT NULL constraint failed: repomodel.name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions