castle icon indicating copy to clipboard operation
castle copied to clipboard

.cdb file failing to open (after removing all List fields)

Open kkukshtel opened this issue 5 years ago • 4 comments

Was working in a totally fine file and then I deleted a column or something and now when I try to open the file it won't open. It clearly does something to the editor though as I can't switch between sheets or anything once I try to load the file. Having some sort of debug output here would be great.

kkukshtel avatar Jul 28 '18 20:07 kkukshtel

Actually zooming out it looks like the basic file loaded when Castle is opened is no longer navigate-able. Can't make new sheets/rows/columns, etc.

Also tried to rebuild from source on this repo and am getting:

src/JqPages.hx:50: characters 21-32 : Type not found : vdom.Server

kkukshtel avatar Jul 28 '18 20:07 kkukshtel

Yes, there was some issue about column deletion where it was not properly removed everywhere. You need to edit manually your .cdb file using text editor and remove the object that has "sheetname@columnName" that was removed.

ncannasse avatar Jul 30 '18 10:07 ncannasse

Okay I just cleared out all List fields and it seems to load properly now. Do you know what directly causes it so I can avoid doing it again? Also, is this issue fixed in the 1.6 release?

kkukshtel avatar Jul 30 '18 15:07 kkukshtel

Oh that might be an open bug, I'll look at fixing it thanks.

On Mon, Jul 30, 2018 at 5:58 PM, Kyle Kukshtel [email protected] wrote:

Okay I just cleared out all List fields and it seems to load properly now. Do you know what directly causes it so I can avoid doing it again? Also, is this issue fixed in the 1.6 release?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ncannasse/castle/issues/76#issuecomment-408915389, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-bwNIOVkEaSZTtCoSNUgY4Ef0ZC6HNks5uLy0ygaJpZM4VlLL4 .

ncannasse avatar Aug 19 '18 08:08 ncannasse