exporting song

Bug #1088459 reported by Tsvetan Stoitsev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
New
Undecided
Unassigned

Bug Description

Kubuntu 12.10
OpenLP 2.0
It gieves me an erorr masage when I try to export a song. Song exporting wizart don't start at all.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openlp/plugins/songs/songsplugin.py", line 167, in onSongExportItemClicked
    self.mediaItem.onExportClick()
  File "/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/mediaitem.py", line 383, in onExportClick
    self.exportWizard.exec_()
  File "/usr/lib/pymodules/python2.7/openlp/core/ui/wizard.py", line 170, in exec_
    self.setDefaults()
  File "/usr/lib/pymodules/python2.7/openlp/plugins/songs/forms/songexportform.py", line 257, in setDefaults
    cmp=locale_direct_compare, key=lambda song: song.sort_string)
  File "/usr/lib/pymodules/python2.7/openlp/plugins/songs/forms/songexportform.py", line 257, in <lambda>
    cmp=locale_direct_compare, key=lambda song: song.sort_string)
AttributeError: 'Song' object has no attribute 'sort_string'

Revision history for this message
Derek Robin Chambers (derek-chambers) wrote :

I get the same on 64-bit windows 7 machine:

**OpenLP Bug Report**
Version: {u'full': u'2.0', u'version': u'2.0', u'build': None}

--- Details of the Exception. ---

Start OpenLP 2.0 on freshly booted 64-bit Windows 7 machine and click File>Export>Song
Appears rock-solid repeatable

 --- Exception Traceback ---
Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenLP\plugins\songs\songsplugin.py", line 167, in onSongExportItemClicked
    self.mediaItem.onExportClick()
  File "D:\OpenLP_Code\release-2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.lib.mediaitem", line 383, in onExportClick
  File "D:\OpenLP_Code\release-2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.wizard", line 170, in exec_
  File "D:\OpenLP_Code\release-2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.forms.songexportform", line 257, in setDefaults
  File "D:\OpenLP_Code\release-2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.forms.songexportform", line 257, in <lambda>
AttributeError: 'Song' object has no attribute 'sort_string'

--- System information ---
Platform: Windows-7-6.1.7601-SP1

--- Library Versions ---
Python: 2.7.3
Qt4: 4.7.3
Phonon: 4.4.0
PyQt4: 4.8.5
QtWebkit: 533.3
SQLAlchemy: 0.7.7
SQLAlchemy Migrate: 0.7.2
BeautifulSoup: 3.2.1
lxml: 2.3.0
Chardet: 1.0.1
PyEnchant: 1.6.5
PySQLite: 1.0.1
Mako: 0.7.0
pyUNO bridge: -

I am attaching my debug log

Revision history for this message
Derek Robin Chambers (derek-chambers) wrote :

Backstep to 1.9.12; no other change to machine: Problem disappears.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.