trikon / growl

Automatically exported from code.google.com/p/growl
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Growl gets stuck on old notification's history #263

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Previously have run Growl with an old version of the history rollup
2. Run Growl

What is the expected output?

Growl starts up normally

What do you see instead?

Growl does not start up and instead logs an error to the console.

09/15/11 10:56:39.701 Growl: Unresolved error Error Domain=NSCocoaErrorDomain 
Code=134100 "The managed object model version used to open the persistent store 
is incompatible with the one that was used to create the persistent store." 
UserInfo=0x7f9c40544d80 {metadata=<CFBasicHash 0x7f9c405567d0 
[0x7fff7345eea0]>{type = immutable dict, count = 6,
entries =>
    0 : <CFString 0x7f9c4057a740 [0x7fff7345eea0]>{contents = "NSStoreModelVersionIdentifiers"} = <CFArray 0x7f9c4057ab00 [0x7fff7345eea0]>{type = immutable, count = 0, values = ()}
    2 : <CFString 0x7f9c4057a770 [0x7fff7345eea0]>{contents = "NSPersistenceFrameworkVersion"} = <CFNumber 0xfbc3 [0x7fff7345eea0]>{value = +251, type = kCFNumberSInt64Type}
    3 : <CFString 0x7f9c4057aa70 [0x7fff7345eea0]>{contents = "NSStoreModelVersionHashesVersion"} = <CFNumber 0x3c3 [0x7fff7345eea0]>{value = +3, type = kCFNumberSInt64Type}
    4 : <CFString 0x7f9c4057aab0 [0x7fff7345eea0]>{contents = "NSStoreModelVersionHashes"} = <CFBasicHash 0x7f9c4057ac10 [0x7fff7345eea0]>{type = immutable dict, count = 2,
entries =>
    0 : <CFString 0x7fff73454540 [0x7fff7345eea0]>{contents = "Image"} = <CFData 0x7f9c4057ab50 [0x7fff7345eea0]>{length = 32, capacity = 32, bytes = 0xb67fbd1d671fe624833f11c046d8bae0 ... aeba0a175e44cb30}
    2 : <CFString 0x7f9c4057ab30 [0x7fff7345eea0]>{contents = "Notification"} = <CFData 0x7f9c4057abb0 [0x7fff7345eea0]>{length = 32, capacity = 32, bytes = 0x3f9576202f6a524cac8a4ccb8d83ddb7 ... f904e8903c802f72}
}

    5 : <CFString 0x7fff72bb4228 [0x7fff7345eea0]>{contents = "NSStoreUUID"} = <CFString 0x7f9c4056d810 [0x7fff7345eea0]>{contents = "F5F993DC-8B53-4D47-93A1-7D5A2C80C0AF"}
    6 : <CFString 0x7fff72bb43c8 [0x7fff7345eea0]>{contents = "NSStoreType"} = <CFString 0x7fff72bb4028 [0x7fff7345eea0]>{contents = "SQLite"}
}
, reason=The model used to open the store is incompatible with the one used to 
create the store}, {
    metadata =     {
        NSPersistenceFrameworkVersion = 251;
        NSStoreModelVersionHashes =         {
            Image = <b67fbd1d 671fe624 833f11c0 46d8bae0 7fa0ce05 a00e5d5c aeba0a17 5e44cb30>;
            Notification = <3f957620 2f6a524c ac8a4ccb 8d83ddb7 2c2b1ea6 da039bfa f904e890 3c802f72>;
        };
        NSStoreModelVersionHashesVersion = 3;
        NSStoreModelVersionIdentifiers =         (
        );
        NSStoreType = SQLite;
        NSStoreUUID = "F5F993DC-8B53-4D47-93A1-7D5A2C80C0AF";
    };
    reason = "The model used to open the store is incompatible with the one used to create the store";
}

What version of the product are you using? On what operating system?

1.3 Beta on OSX Lion

Please provide any additional information below.

As a manual fix, you can remove ~/Library/Application\ 
Support/Growl/notifications.history

Original issue reported on code.google.com by kungfudi...@gmail.com on 15 Sep 2011 at 7:45

GoogleCodeExporter commented 8 years ago
Very few people would have run the code prior to us closing the repo for 1.3. 
We would need to create a lot of compatibility updating code in order to 
address this issue, for a very small amount of people.

If we change the CoreData schema or anything like that, we'll need to make that 
code then. However, the workaround will have to do for now.

Original comment by ch...@growl.info on 15 Sep 2011 at 10:20