← Back to team overview

openlp-core team mailing list archive

[Bug 1299837] Re: OpenLP crashes when importing songs from EasyWorship

 

Hi Jonas

Thanks for your fast reply! I think I've found the program you mentioned here: http://www.folkbibeln.se/ladda-ner?id=422&iad=110
I think this also explains how the unexpected formatting and encoding got into the DB.
I'm not sure we can handle this in a proper way, so there is a good change the my fix will just chose to skip these "songs" with unexpected formatting and encoding.

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

Title:
  OpenLP crashes when importing songs from EasyWorship

Status in OpenLP - Worship Presentation Software:
  In Progress

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

  --- Details of the Exception. ---

  When I try to import a songdatabase from EasyWorship 2009, OpenLP
  crashes after 61% of the database has been imported.

   --- Exception Traceback ---
  Traceback (most recent call last):
    File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.wizard", line 190, in onCurrentIdChanged
    File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.forms.songimportform", line 391, in performWizard
    File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.lib.ewimport", line 191, in doImport
    File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.songs.lib", line 596, in strip_rtf
  UnicodeDecodeError: 'ascii' codec can't decode byte 0x86 in position 0: ordinal not in range(128)

  --- System information ---
  Plattform: Windows-7-6.1.7601-SP1 Home Premium
  Office version 2010

  --- Library Versions ---
  Python: 2.7.3
  Qt4: 4.8.3
  Phonon: 4.4.0
  PyQt4: 4.9.5
  QtWebkit: 534.34
  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: -

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


Follow ups

References