Skip to content

scheduler_create_backup test failing on my machine #2320

@cincodenada

Description

@cincodenada

Description

Trying to run tests on the master branch, I got the attached failure in scheduler_create_backup

Reproduction

  • I tried to reproduce the issue.
  • I was able to reproduce the issue.

OS

Ubuntu 25.04 / xfce

Version of Vorta

0.11

What did you install Vorta with?

Other

Version of Borg

1.4.0

Logs

tests/unit/test_scheduler.py::test_scheduler_create_backup Get profile <vorta.views.schedule_page.SchedulePage object a
t 0x7c039b791590>
Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
  File "/home/ell/clone/vorta/src/vorta/views/schedule_page.py", line 64, in <lambda>
    self.app.scheduler.schedule_changed.connect(lambda pid: self.draw_next_scheduled_backup())
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/ell/clone/vorta/src/vorta/views/schedule_page.py", line 114, in draw_next_scheduled_backup
    status = self.app.scheduler.next_job_for_profile(self.profile().id)
                                                     ~~~~~~~~~~~~^^
  File "/home/ell/clone/vorta/src/vorta/store/models.py", line 273, in profile
    print("Window", self.window())
                    ~~~~~~~~~~~^^
RuntimeError: wrapped C/C++ object of type SchedulePage has been deleted
________________________________________________________________________________
Get profile <vorta.views.schedule_page.SchedulePage object at 0x7c039858d8b0>
Window <vorta.views.main_window.MainWindow object at 0x7c039b7b84b0>
FAILED                                               [100%]

====================================================== FAILURES =======================================================
______________________________________

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething doesn't work as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions