← Back to team overview

openlp-core team mailing list archive

[Bug 1416703] Re: Exception when saving a service

 

I can reproduce this on trunk r2494

Delete OpenLP files in ~/.local/share/ &  ~/.config 
Start OpenLP 2.0.5
Save a service
Close OpenLP
Start Trunk
Save a servce
Exception occurs:

Traceback (most recent call last):
  File "/home/phill/Projects/openlp/trunk/openlp/core/ui/servicemanager.py", line 501, in save_file
    return self.save_file_as()
  File "/home/phill/Projects/openlp/trunk/openlp/core/ui/servicemanager.py", line 707, in save_file_as
    self.decide_save_method()
  File "/home/phill/Projects/openlp/trunk/openlp/core/ui/servicemanager.py", line 719, in decide_save_method
    return self.save_file()
  File "/home/phill/Projects/openlp/trunk/openlp/core/ui/servicemanager.py", line 604, in save_file
    self.main_window.add_recent_file(path_file_name)
  File "/home/phill/Projects/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'


 

** Changed in: openlp
   Importance: Undecided => Medium

** Changed in: openlp
       Status: New => Confirmed

** Changed in: openlp
   Importance: Medium => High

-- 
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:
  Confirmed

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