Bug 625549 - [abrt] OpenLP-1.9.2.1-1.fc13: theme.py:156:__init__:AttributeError: 'Theme' object has no attribute '_set_from_xml'
Summary: [abrt] OpenLP-1.9.2.1-1.fc13: theme.py:156:__init__:AttributeError: 'Theme' o...
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: OpenLP
Version: 13
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: TR Bentley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4d981964
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-19 19:43 UTC by Bug Reporter
Modified: 2010-10-08 10:38 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-10-08 10:38:17 UTC


Attachments (Terms of Use)
File: backtrace (1.35 KB, text/plain)
2010-08-19 19:43 UTC, Bug Reporter
no flags Details

Description Bug Reporter 2010-08-19 19:43:13 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python /usr/bin/openlp
component: OpenLP
executable: /usr/bin/openlp
kernel: 2.6.33.6-147.2.4.fc13.i686.PAE
package: OpenLP-1.9.2.1-1.fc13
reason: theme.py:156:__init__:AttributeError: 'Theme' object has no attribute '_set_from_xml'
release: Fedora release 13 (Goddard)
time: 1282246953
uid: 500

backtrace
-----
theme.py:156:__init__:AttributeError: 'Theme' object has no attribute '_set_from_xml'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openlp/core/ui/thememanager.py", line 303, in onImportTheme
    self.unzipTheme(file, self.path)
  File "/usr/lib/python2.6/site-packages/openlp/core/ui/thememanager.py", line 433, in unzipTheme
    filexml = self.migrateVersion122(xml_data)
  File "/usr/lib/python2.6/site-packages/openlp/core/ui/thememanager.py", line 485, in migrateVersion122
    theme = Theme(xml_data)
  File "/usr/lib/python2.6/site-packages/openlp/core/theme/theme.py", line 156, in __init__
    self._set_from_xml(BLANK_STYLE_XML)
AttributeError: 'Theme' object has no attribute '_set_from_xml'

Local variables in innermost frame:
xml: u'<?xml version="1.0" encoding="iso-8859-1"?>\r\n<Theme>\r\n  <Name>harvest</Name>\r\n  <BackgroundType>2</BackgroundType>\r\n  <BackgroundParameter1>03harvest.jpg</BackgroundParameter1>\r\n  <BackgroundParameter2/>\r\n  <BackgroundParameter3/>\r\n  <FontName>Franklin Gothic Demi</FontName>\r\n  <FontColor>clWhite</FontColor>\r\n  <FontProportion>48</FontProportion>\r\n  <Shadow>1</Shadow>\r\n  <ShadowColor>clBlack</ShadowColor>\r\n  <Outline>1</Outline>\r\n  <OutlineColor>clBlack</OutlineColor>\r\n  <FontAlign>31</FontAlign>\r\n</Theme>\r\n'
self: <openlp.core.theme.theme.Theme object at 0xa6f74ac>

Comment 1 Bug Reporter 2010-08-19 19:43:15 UTC
Created an attachment (id=439761)
File: backtrace

Comment 2 TR Bentley 2010-08-21 10:31:16 UTC
Can you provide a file this happens on and how to reproduce.
Where you upgrading a theme from 1.x?


Thanks

Comment 3 Nils Philippsen 2010-08-27 11:26:52 UTC
Setting needinfo flag.

Comment 4 TR Bentley 2010-10-08 10:38:17 UTC
OpenLP 1.9.3 has been released and will fix this bug.


Note You need to log in before you can comment on or make changes to this bug.