Comment 6 for bug 445879

Revision history for this message
Mikko Rönkkö (mikko-ronkko) wrote :

I have the same problem. When I copied over database from my previous installation that had MythWeather installed to a new installation that did not have MythWeather, the code fails because database indicates that MythWeather exists but it does not.

This was fixed with the following

cat << "EOF" | mysql -umythtv -p mythconverg
DELETE TABLE IF EXISTS weathersourcesettings;
DELETE TABLE IF EXISTS weatherscreens;
DELETE TABLE IF EXISTS weatherdatalayout;
DELETE FROM settings WHERE value = 'WeatherDBSchemaVer';
EOF

Apart from running this manually, I have no idea of what would be the proper fix for this bug.