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

Uncaught exception #2019

Closed es2337 closed 2 weeks ago

es2337 commented 2 weeks ago

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/vorta/views/schedule_tab.py", line 92, in on_scheduler_change self.app.scheduler.set_timer_for_profile(profile.id) File "/usr/lib/python3/dist-packages/vorta/scheduler.py", line 111, in set_timer_for_profile timer.setInterval(int(timer_ms)) OverflowError: argument 1 overflowed: value must be in the range -2147483648 to 2147483647

running Ubuntu 22.04.4 LTS and installed vorta via apt.

just created a third profile to backup files already captured by one of the other 2 but to backup in a different location and with more frequency. when I launch vorta it taken to the new profile and get this error when I try to switch to my other 2 profiles. when i switch i can see the corresponding screen that i was in my new third profile, and my archives still show, but vorta freezes and ubuntu asks to force quit.

unsure why I am getting this error.

I also changed the backup frequency of the new and one of the 2 older profiles recently.

shivansh02 commented 2 weeks ago

@es2337 This error was already fixed a long time ago, are you using the latest Vorta version?

es2337 commented 2 weeks ago

@es2337 This error was already fixed a long time ago, are you using the latest Vorta version? believe I set it to 2 weeks other should have been 2 days and 125min.

Just check it, they are all set to 125, but 12min, 125 days, 125 weeks respectively. I'm positive i didn't set it to that.

running vorta 0.8.3 from apt search ... vorta/jammy,jammy,now 0.8.3-1 all [installed] Desktop Client for Borg Backup

shivansh02 commented 2 weeks ago

Just check it, they are all set to 125, but 12min, 125 days, 125 weeks respectively. I'm positive i didn't set it to that.

That's odd. While I can't think of a reason why this discrepancy would occur, upgrading to a newer release should solve the freezing issue. The fix was released in v0.8.4.

es2337 commented 2 weeks ago

Thanks, I'll have a look into why apt is saying i'm on the latest version.

user@ubuntu:~$ apt-cache policy vorta vorta: Installed: 0.8.3-1 Candidate: 0.8.3-1 Version table: *** 0.8.3-1 500 500 http://au.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 500 http://au.archive.ubuntu.com/ubuntu jammy/universe i386 Packages 100 /var/lib/dpkg/status

es2337 commented 2 weeks ago

I ended up nuking it and installing from flatpack. could see an easy way to recover my profiles so just rebuilt based off my backups.

lesson learned to keep backups of everything, including profiles XD