openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21628
[Bug 1220832] [NEW] Exception when passed a service file as command line parameter
Public bug reported:
$ 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'
** Affects: openlp
Importance: Undecided
Status: New
--
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
Follow ups
References