drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Uncaught exception: Invalid type in JSON write (CLLocation) in Ensembles 2 #174

Closed wojteklembryk closed 10 years ago

wojteklembryk commented 10 years ago

Hi Drew, I got the following exception when trying to sync. The entity contains an location attribute (CLLocation, transformable).

2014-08-08 11:19:00.113 Klaser[3980:6303] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (CLLocation)' * First throw call stack: (0x2ef7ffd3 0x397f8ccf 0x2ef7ff15 0x2f9c6581 0x2f9c80ff 0x2eebc093 0x2eebbfb7 0x2f9c7d85 0x2f9c64bf 0x2f9c8029 0x2eec4b0d 0x2eec4a3d 0x2f9c7f71 0x2f9c64fd 0x2f9c80ff 0x2eebc093 0x2eebbfb7 0x2f9c7d85 0x2f9c64bf 0x2f9c8029 0x2eec4b0d 0x2eec4a3d 0x2f9c7f71 0x2f9c64fd 0x2f9c80ff 0x2eebc093 0x2eebbfb7 0x2f9c7d85 0x2f9c64bf 0x2f9c80ff 0x2eebc093 0x2eebbfb7 0x2f9c7d85 0x2f9c64bf 0x2f9c6617 0x2f9c734d 0x22bdd5 0x22c7db 0x234efd 0x2ed58935 0x39ce081f 0x39ce67cb 0x2ed58a73 0x234485 0x2f8b35ab 0x2f95776d 0x39ce6f11 0x39ce6c97 0x39ce7a45 0x39ce7d29 0x39e22bd3 0x39e22a98) libc++abi.dylib: terminating with uncaught exception of type NSException Signal: 6 (signal SIGABRT)

Please help.

Cheers, Wojtek

drewmccormack commented 10 years ago

Thanks. I'll look into this.

drewmccormack commented 10 years ago

What version do you have? I think I fixed an issue like this in master.

wojteklembryk commented 10 years ago

I have Ensembles 2 Bins. Probably master branch :)

drewmccormack commented 10 years ago

So you probably don't have the very latest with the fix included.

I will issue a new release in a few days, and that will fix it.

If you need to work on it now, I can send you binaries. Just let me know if you are on Mac or iOS.

Drew

On 13 Aug 2014, at 09:27, wojteklembryk notifications@github.com wrote:

I have Ensembles 2 Bins. Probably master branch :)

— Reply to this email directly or view it on GitHub.

wojteklembryk commented 10 years ago

That would be great. I use iOS version.

Thanks, Wojtek

On 13 sie 2014, at 09:35, Drew McCormack notifications@github.com wrote:

So you probably don't have the very latest with the fix included.

I will issue a new release in a few days, and that will fix it.

If you need to work on it now, I can send you binaries. Just let me know if you are on Mac or iOS.

Drew

On 13 Aug 2014, at 09:27, wojteklembryk notifications@github.com wrote:

I have Ensembles 2 Bins. Probably master branch :)

— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/174#issuecomment-52018290.

drewmccormack commented 10 years ago

Just need an email address. Can you email info@mentalfaculty.com?

On Aug 13, 2014, at 9:36, wojteklembryk notifications@github.com wrote:

That would be great. I use iOS version.

Thanks, Wojtek

On 13 sie 2014, at 09:35, Drew McCormack notifications@github.com wrote:

So you probably don't have the very latest with the fix included.

I will issue a new release in a few days, and that will fix it.

If you need to work on it now, I can send you binaries. Just let me know if you are on Mac or iOS.

Drew

On 13 Aug 2014, at 09:27, wojteklembryk notifications@github.com wrote:

I have Ensembles 2 Bins. Probably master branch :)

— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/174#issuecomment-52018290.

— Reply to this email directly or view it on GitHub.