← Back to team overview

openlp-core team mailing list archive

[Bug 794971] Re: User can not import songs from1.9.4 to 1.9.5

 

** Changed in: openlp
    Milestone: None => 1.9.7

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/794971

Title:
  User can not import songs from1.9.4 to 1.9.5

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  As reported here: http://support.openlp.org/issues/198 a user was
  attemtping to import her songs from 1.9.4 to 1.9.5. she came up with
  the following traceback on Windows XP:

  Traceback (most recent call last):

  File
  "d:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.ui.wizard",
  line 160, in onCurrentIdChanged

  File
  "d:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.forms.songimportform",
  line 736, in performWizard

  File
  "d:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib.olpimport",
  line 214, in do_import

  File
  "d:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib",
  line 270, in clean_song

  AttributeError: 'buffer' object has no attribute 'replace'

  I attempted to import with  Windows build 1620 on Windows XP and
  received the same traceback. I attempted to import on Arch linux using
  build 1621 and received this:

  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/openlp/core/ui/wizard.py", line 191, in onCurrentIdChanged
      self.performWizard()
    File "/usr/lib/python2.7/site-packages/openlp/plugins/songs/forms/songimportform.py", line 754, in performWizard
      importer.do_import()
    File "/usr/lib/python2.7/site-packages/openlp/plugins/songs/lib/olpimport.py", line 215, in do_import
      clean_song(self.manager, new_song)
    File "/usr/lib/python2.7/site-packages/openlp/plugins/songs/lib/__init__.py", line 269, in clean_song
      if song.lyrics.find(u'<lyrics language="en">') != -1:
  AttributeError: 'buffer' object has no attribute 'find'

  With Linux the songs that had been converted up to the point of
  failure where available in Windows they were not. The user also had
  difficulty with the database going from 1.9.3 to 1.9.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/794971/+subscriptions


References