← Back to team overview

openlp-core team mailing list archive

[Bug 1416703] Re: Exception when saving a service

 

I noticed, the service file will be saved, I attached it here.
When I try to load it, I get the following exception:

Traceback (most recent call last):
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 445, in on_load_service_clicked
    self.load_file(file_name)
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 767, in load_file
    self.main_window.add_recent_file(file_name)
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/mainwindow.py", line 1314, in add_recent_file
    self.recent_files.insert(0, filename)
AttributeError: 'str' object has no attribute 'insert'


** Attachment added: "Service file"
   https://bugs.launchpad.net/openlp/+bug/1416703/+attachment/4309432/+files/Service%202015-01-31%2016-49.osz

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

Title:
  Exception when saving a service

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Kubuntu 14.10
  OpenLP trunk

  On saving a service (it can be totally empty) I get an exception:
  Traceback (most recent call last):
    File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 715, in decide_save_method
      return self.save_file_as()
    File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 707, in save_file_as
      self.decide_save_method()
    File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 719, in decide_save_method
      return self.save_file()
    File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/servicemanager.py", line 604, in save_file
      self.main_window.add_recent_file(path_file_name)
    File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/mainwindow.py", line 1314, in add_recent_file
      self.recent_files.insert(0, filename)
  AttributeError: 'str' object has no attribute 'insert'

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


References