← Back to team overview

openlp-core team mailing list archive

[Bug 1742910] Re: first time wizard crashes

 

The issue seems to be that the threads are all stored in the mainwindow
which isn't always there.

If you run the first time wizard in the very beginning, no mainwindow
exists.

So the threads should probably be attached to something that is created
much earlier, before anything else is done, so it's guaranteed to be
always there.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1742910

Title:
  first time wizard crashes

Status in OpenLP:
  New

Bug description:
  Traceback (most recent call last):
    File "/home/sim/dev/openlp/better-threading/openlp/core/ui/firsttimeform.py", line 307, in on_current_id_changed
      self._download_index()
    File "/home/sim/dev/openlp/better-threading/openlp/core/ui/firsttimeform.py", line 260, in _download_index
      run_thread(worker, thread_name)
    File "/home/sim/dev/openlp/better-threading/openlp/core/threading.py", line 54, in run_thread
      if thread_name in main_window.threads:
  AttributeError: 'NoneType' object has no attribute 'threads'


  Using the better-threading branch, with no data or configs for OpenLP
  present in my home running on Archlinux.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1742910/+subscriptions


References