Hi Tomas. SFB stands for "Svenska FolkBibeln" and it is imported by an exe-file packed by the translators, so I don't know how it is built up. If you want I can upload the exe-file to.
regards/ Jonas Den 5 maj 2014 11:05 skrev "Tomas Groth" <[email protected]>: > Hi Jonas > > The reason for the crash/traceback is that the titles starting with > "SFB" has packed the text in an unexpected way. I've found a way to > handle this which fixes the crash, but the SFB titles also uses a > different character encoding than the rest of the DB, and this means > that the special characters (like å, ö and ä) gets messed up, since the > entire DB is expected to use the same encoding. > > So I hope you can help me understand how this mixed encoding could happen: > How did you get the SFB titles into the DB? I assume you used some import > feature? > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > -- 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 _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : [email protected] Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp

