← Back to team overview

openlp-core team mailing list archive

[Bug 1220832] Re: Exception when passed a service file as command line parameter

 

In my OpenLP.conf was the following line:

recent%20files=/home/oli/Programmierung/openlp/openlp/service.osz

After I deleted this line and restarted openlp, the program started without any problems.
The line in OpenLP.conf was then

recent%20files=@Variant(\0\0\0\t\0\0\0\x1\0\0\0\n\0\0\0\x64\0/\0h\0o\0m\0\x65\0/\0o\0l\0i\0/\0P\0r\0o\0g\0r\0\x61\0m\0m\0i\0\x65\0r\0u\0n\0g\0/\0o\0p\0\x65\0n\0l\0p\0/\0o\0p\0\x65\0n\0l\0p\0/\0s\0\x65\0r\0v\0i\0\x63\0\x65\0.\0o\0s\0z)

I loaded another service file, after that:

recent%20files=/home/oli/Lobpreisabend/Ablauf 15.06.2013.osz,
/home/oli/Programmierung/openlp/openlp/service.osz

The bug doesn't occure now anymore.


I guess, the original line was written in openlp 2.0.2, so this might be an upgrade issue.

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

Title:
  Exception when passed a service file as command line parameter

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  $ uname -a
  Linux desktop 3.8.0-29-generic #42-Ubuntu SMP Tue Aug 13 19:40:39 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  $ bzr revno
  2291

  $ python3 openlp.py service.osz
  ...
  Traceback (most recent call last):
    File "/usr/lib/python3.3/logging/__init__.py", line 937, in emit
      msg = self.format(record)
    File "/usr/lib/python3.3/logging/__init__.py", line 808, in format
      return fmt.format(record)
    File "/usr/lib/python3.3/logging/__init__.py", line 554, in format
      record.exc_text = self.formatException(record.exc_info)
    File "/usr/lib/python3.3/logging/__init__.py", line 504, in formatException
      traceback.print_exception(ei[0], ei[1], tb, None, sio)
    File "/usr/lib/python3.3/traceback.py", line 156, in print_exception
      for value, tb in values:
    File "/usr/lib/python3.3/traceback.py", line 122, in _iter_chain
      context = exc.__context__
  AttributeError: 'NoneType' object has no attribute '__context__'
  Logged from file __init__.py, line 186
  Error in sys.excepthook:
  RuntimeError: super-class __init__() of type ExceptionForm was never called

  Original exception was:
  Traceback (most recent call last):
    File "openlp.py", line 45, in <module>
      main()
    File "/home/oli/Programmierung/openlp/openlp/trunk/openlp/core/__init__.py", line 326, in main
      sys.exit(application.run(qt_args))
    File "/home/oli/Programmierung/openlp/openlp/trunk/openlp/core/__init__.py", line 139, in run
      self.main_window.show()
    File "/home/oli/Programmierung/openlp/openlp/trunk/openlp/core/ui/mainwindow.py", line 602, in show
      self.service_manager_contents.load_file(filename)
    File "/home/oli/Programmierung/openlp/openlp/trunk/openlp/core/ui/servicemanager.py", line 729, in load_file
      self.main_window.add_recent_file(file_name)
    File "/home/oli/Programmierung/openlp/openlp/trunk/openlp/core/ui/mainwindow.py", line 1267, in add_recent_file
      self.recent_files.remove(filename)
  AttributeError: 'str' object has no attribute 'remove'

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


References