error when importing from openlp2 sqlite database to openlp2 mysql database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
New
|
Undecided
|
Unassigned |
Bug Description
I have replaced the backend database with mysql. Then I have tried to import songs from the previous sqlite database, but I have encoutnered an error :
Traceback (most recent call last):
File "D:\OpenLP_
File "D:\OpenLP_
File "D:\OpenLP_
KeyError: u'media_
I am using the 1.9.7 version of OpenLP on Windows 7 Professional. I have used the WAMP server which contains the MySQL database. The sqlite database contained only english songs that had been downloaded through first time wizard.
steps :
1) installed the openlp2
2) downloaded the english songs from first time wizard
3)changed the database backend to mysql (in registry settings) - openlp2 has correctly connected to the mysql database and i was able to create songs
4) File -> Import - openlp2 database - pointed to the old sqlite database
5) error
I am sending the sqldump of mysql and sqlite database in the attachement
summary: |
- error when importing from openlp2 sqlite databaze to openlp2 mysql - databaze + error when importing from openlp2 sqlite database to openlp2 mysql + database |
Hello,
This should be fixed now....
Please try it again...
Regards, OpenLP team