Fri 28 Dec 2007 04:25:46 PM UTC, comment #3:
That's correct, they were created by Gorm in older versions.
I'm working on improving that method to the point where it will check on inconsistencies whenever a gorm is loaded. The reason it's "hidden" is because the method is experimental at this point and I didn't want people using it all of the time.
I'm also aware of the issue with it finding inconsistencies each time. I believe I know what that is, but I haven't had a chance to correct it.
GJC
|
Fri 28 Dec 2007 03:14:34 PM UTC, comment #2:
Thanks Greg, it works great. However, the inconsistencies are, as far as I know, created by Gorm so it's a little strange to have that 'hidden' parameter to fix them.
Another thing : I can open/save Agenda.gorm (or any other Gorm file of SimpleAgenda for the matter) with GormRepairFileOnLoad YES multiple times, it always finds inconsistencies.
|
Fri 28 Dec 2007 04:06:30 AM UTC, comment #1:
This can be corrected by using:
defaults write Gorm GormRepairFileOnLoad YES
and letting Gorm correct the inconsistencies in the file.
Don't run with this turn on yes all of the time, since it's not well tested.
The nib that gets created has some issues. That's separate from this issue and is being handled in another bug.
|
Sat 22 Dec 2007 02:00:54 PM UTC, original submission:
With svn trunk from 2007/12/22 (and earlier releases too I think) for GNUstep and Gorm, exporting the appended Gorm document to nib gives me the following:
#0 0xb7fea410 in __kernel_vsyscall ()
#1 0xb76089a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb760a2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7bb4b9a in _NSAppKitUncaughtExceptionHandler (exception=0x83d1b48) at NSApplication.m:148
#4 0xb788196c in -[NSException raise] (self=0x83d1b48, _cmd=0xb7ab08a0) at NSException.m:832
#5 0xb7881445 in +[NSException raise:format:arguments:] (self=0xb7ab06a0, _cmd=0xb7ab0888, name=0xb7ab09b8, format=0xb7a8bd30,
argList=0xbfffdd90 "\020ßb\bØ\226_\b\b\e=\b\b\e=\b`\035") at NSException.m:753
#6 0xb788137d in +[NSException raise:format:] (self=0xb7ab06a0, _cmd=0xb7a8bc00, name=0xb7ab09b8, format=0xb7a8bd30) at NSException.m:739
#7 0xb77db257 in -[GSMutableArray addObject:] (self=0x83d1b28, _cmd=0xb7eaa700, anObject=0x0) at GSArray.m:409
#8 0xb7daed51 in -[NSIBObjectData _valuesForKeys:inMap:] (self=0x875b6f8, _cmd=0xb7eaa740, keys=0x83d1b08, map=0x862df10)
at GSNibCompatibility.m:1208
#9 0xb7daeefd in -[NSIBObjectData encodeWithCoder:] (self=0x875b6f8, _cmd=0xb7ab90e0, coder=0x857c228) at GSNibCompatibility.m:1224
#10 0xb789a94a in -[NSKeyedArchiver(Private) _encodeObject:conditional:] (self=0x857c228, _cmd=0xb7ab9078, anObject=0x875b6f8,
conditional=0 '\000') at NSKeyedArchiver.m:338
#11 0xb789d962 in -[NSKeyedArchiver encodeObject:forKey:] (self=0x857c228, _cmd=0xb7fc4c40, anObject=0x875b6f8, aKey=0xb7fc4d44)
at NSKeyedArchiver.m:619
#12 0xb7f5c5af in -[GormNibWrapperBuilder buildFileWrapperDictionaryWithDocument:] (self=0x8372000, _cmd=0xb7fe2380, doc=0x859b1c8)
at GormNibWrapperBuilder.m:367
#13 0xb7f90e2b in -[GormWrapperBuilder buildFileWrapperWithDocument:] (self=0x8372000, _cmd=0xb7fae008, doc=0x859b1c8)
at GormWrapperBuilder.m:50
#14 0xb7f390a2 in -[GormDocument fileWrapperRepresentationOfType:] (self=0x859b1c8, _cmd=0xb7e19d18, type=0x8182c20) at GormDocument.m:3246
This is on Ubuntu 6.10 x86 with gcc 4.0.3.
Tell me if you need more I can try patches if needed.
|