Bug 625549 - [abrt] OpenLP- theme.py:156:__init__:AttributeError: 'Theme' object has no attribute '_set_from_xml'
Summary: [abrt] OpenLP- theme.py:156:__init__:AttributeError: 'Theme' o...
Alias: None
Product: Fedora
Classification: Fedora
Component: OpenLP
Version: 13
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: TR Bentley
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:4d981964
Depends On:
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)

Clone Of:
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
package: OpenLP-
reason: theme.py:156:__init__:AttributeError: 'Theme' object has no attribute '_set_from_xml'
release: Fedora release 13 (Goddard)
time: 1282246953
uid: 500

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__
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?


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.