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

Fatal Error at startup #1216

Closed
improve-code opened this issue Mar 8, 2022 · 2 comments
Closed

Fatal Error at startup #1216

improve-code opened this issue Mar 8, 2022 · 2 comments
Labels
status:needs details Needs more details before it can be solved. status:stale This item will be closed soon due to inactivity

Comments

@improve-code
Copy link

improve-code commented Mar 8, 2022

~Uncaught exception, please file a report with this text at

https://github.com/borgbase/vorta/issues/new
Traceback (most recent call last):
  File "/app/lib/python3.7/site-packages/vorta/application.py", line 185, in set_borg_details_result
    self.scheduler.reload_all_timers()  # Start timer after Borg version is set.
  File "/app/lib/python3.7/site-packages/vorta/scheduler.py", line 121, in reload_all_timers
    self.set_timer_for_profile(profile.id)
  File "/app/lib/python3.7/site-packages/vorta/scheduler.py", line 85, in set_timer_for_profile
    self.create_backup(profile.id)
  File "/app/lib/python3.7/site-packages/vorta/scheduler.py", line 165, in create_backup
    msg = BorgCreateJob.prepare(profile)
  File "/app/lib/python3.7/site-packages/vorta/borg/create.py", line 74, in prepare
    ret = super().prepare(profile)
  File "/app/lib/python3.7/site-packages/vorta/borg/borg_job.py", line 151, in prepare
    ret['password'] = cls.keyring.get_password('vorta-repo', profile.repo.url)
  File "/app/lib/python3.7/site-packages/vorta/keyring/secretstorage.py", line 35, in get_password
    if self.is_unlocked:
  File "/app/lib/python3.7/site-packages/vorta/keyring/secretstorage.py", line 50, in is_unlocked
    collection.unlock()
  File "/app/lib/python3.7/site-packages/secretstorage/collection.py", line 67, in unlock
    return unlock_objects(self.connection, [self.collection_path])
  File "/app/lib/python3.7/site-packages/secretstorage/util.py", line 151, in unlock_objects
    dismissed, (signature, unlocked) = exec_prompt(connection, prompt)
  File "/app/lib/python3.7/site-packages/secretstorage/util.py", line 138, in exec_prompt
    assert dismissed is not None
AssertionError

Vorta Version 0.8.3
Borg Version 1.1.15
Linux Mint Cinnamon 20.2

Vorta Settings:
starting vorta automatically at login
save repository passwords in keyring

Steps to reproduce:
Not entering the password of the keyring for which is asked after login. After a short time the error message appears.

  1. Power on PC
  2. Log in
  3. Not entering the password of the keyring
  4. Wait some time

Once after some time also the error window hang-up. I could not select the text.

@improve-code improve-code changed the title Fatal Error Fatal Error at startup Mar 8, 2022
@m3nu
Copy link
Contributor

m3nu commented Mar 8, 2022

Not sure this applies to Vorta, as the exception happens in a third party library. https://github.com/mitya57/secretstorage/blob/master/secretstorage/util.py#L140

Maybe something isn't unlocked or a prompt cancelled? Since it says "dismissed" there?

@m3nu m3nu added the status:needs details Needs more details before it can be solved. label Mar 8, 2022
@stale
Copy link

stale bot commented May 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:stale This item will be closed soon due to inactivity label May 30, 2022
@stale stale bot closed this as completed Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:needs details Needs more details before it can be solved. status:stale This item will be closed soon due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants