openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #17005
[Bug 1046508] Re: OSError on changing theme background image
** Branch linked: lp:openlp
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1046508
Title:
OSError on changing theme background image
Status in OpenLP - Worship Presentation Software:
Fix Committed
Bug description:
See http://support.openlp.org/issues/1133
Version: {u'full': u'1.9.11', u'version': u'1.9.11', u'build': None}
--- Details of the Exception. ---
Running the latest trunk (2044) from source. I copied a theme and
changed the picture in it (to DSC_7565.jpg). I then assigned the theme
to a service item. After previewing the song, I changed my mind, went
back in to the theme and changed the picture (to DSC_7565_v1.jpg) - when
I went to save the theme again it crashed.
--- Exception Traceback ---
Traceback (most recent call last):
File "/home/jonathan/openlp/trunk/openlp/core/ui/servicemanager.py",
line 1437, in updateThemeList
self.regenerateServiceItems()
File "/home/jonathan/openlp/trunk/openlp/core/ui/servicemanager.py",
line 1155, in regenerateServiceItems
repaint=False, selected=item[u'selected'])
File "/home/jonathan/openlp/trunk/openlp/core/ui/servicemanager.py",
line 1211, in addServiceItem
item.render()
File "/home/jonathan/openlp/trunk/openlp/core/lib/serviceitem.py", line
179, in render
self.renderer.set_item_theme(self.theme)
File "/home/jonathan/openlp/trunk/openlp/core/lib/renderer.py", line
221, in set_item_theme
self._set_theme(item_theme_name)
File "/home/jonathan/openlp/trunk/openlp/core/lib/renderer.py", line
145, in _set_theme
QtGui.QColor(theme_data.background_border_color))
File "/home/jonathan/openlp/trunk/openlp/core/lib/imagemanager.py", line
298, in addImage
if image.path == path and image.timestamp != os.stat(path).st_mtime:
OSError: [Errno 2] No such file or directory:
'/home/jonathan/.local/share/openlp/themes/Song - Jonquil/DSC_7565.JPG'
--- System information ---
Platform: Linux-3.2.0-29-generic-pae-i686-with-Ubuntu-12.04-precise
Desktop: KDE SC
--- Library Versions ---
Python: 2.7.3
Qt4: 4.8.1
Phonon: 4.6.0
PyQt4: 4.9.1
QtWebkit: 534.34
SQLAlchemy: 0.7.4
SQLAlchemy Migrate: 0.7.2
BeautifulSoup: 3.2.0
lxml: 2.3.2
Chardet: 2.0.1
PyEnchant: 1.6.5
PySQLite: 1.0.1
Mako: 0.5.0
pyUNO bridge: 3.5
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1046508/+subscriptions
References