[OGo-GNUstep-Port] experiences with OGo and gunstep-base on OpenBSD
Sebastian Reitenbach
gnustep-port@opengroupware.org
Thu, 31 May 2007 20:16:50 +0200
Hi,
there was another exception that I recognized while entering the the
Scheduler for the first time. There while parsing the Holidays.plist, an
exception is thrown. The culprit is the trailing ; in the last line after
the }
Don't know whether it is correct behaviour to ignore the trailing semicolon,
or not.
175 74756d5f 686f6c69 64617922 3b202020 20202020 2f2f0a20 20202020 20223132
2d323322 203d2022 73746172 745f6368 72697374 6d61735f 686f6c69 64617922
3b202f2f 20576569 686e6163 68747366 65726965 6e0a2f2f 20202020 20202231
322d3331 22203d20 22656e64 5f636872 6973746d 61735f68 6f6c6964 6179223b
2020202f 2f205765 69686e61 63687473 66657269 656e0a20 2020207d 3b0a2020
7d3b0a7d 3b0a>
2007-05-31 19:58:37.189 ogo-webui-1.1[14181] Source/NSPropertyList.m: format
is 1
2007-05-31 19:58:37.201 ogo-webui-1.1[14181] Source/NSPropertyList.m: error
Parse failed at line 1465 (char 65741) - extra data after parsed string
2007-05-31 19:58:37.202 ogo-webui-1.1[14181] Source/NSString.m: result (nil)
Breakpoint 2, -[NSException raise] (self=0x88199da8, _cmd=0x2ad33598) at
NSException.m:782
782 if (GSPrivateEnvironmentFlag("GNUSTEP_STACK_TRACE", NO) == YES
(gdb) bt
#0 -[NSException raise] (self=0x88199da8, _cmd=0x2ad33598) at
NSException.m:782
#1 0x0ad13542 in +[NSException raise:format:arguments:] (self=0x2ad333a0,
_cmd=0x2ad33580, name=0x2ad336c4, format=0x2ad493cc,
argList=0xcfbcc8b0 "\b �}") at NSException.m:753
#2 0x0ad13493 in +[NSException raise:format:] (self=0x2ad333a0,
_cmd=0x2ad48bc8, name=0x2ad336c4, format=0x2ad493cc) at NSException.m:739
#3 0x0ad9d04a in -[NSString propertyList] (self=0x851d7c68,
_cmd=0x2ad31458) at NSString.m:4493
#4 0x0ad0a567 in -[NSDictionary initWithContentsOfFile:] (self=0x8a479a48,
_cmd=0x2510de10, path=0x7f3c6408) at NSDictionary.m:595
#5 0x051117bf in +[SkyHolidayCalculator initialize] (self=0x2510dd00,
_cmd=0x2ad52988) at SkyHolidayCalculator.m:97
#6 0x0ced9c0c in __objc_send_initialize (class=0x2510dd00)
at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:324
#7 0x0ced9aa4 in __objc_init_install_dtable (receiver=0x2510dd00,
op=0x2685d1a8) at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:266
#8 0x0cedaa28 in objc_msg_lookup (receiver=0x2510dd00, op=0x2685d1a8)
at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:184
#9 0x068620b4 in -[SkySchedulerPage _newHolidaysCalculator]
(self=0x7ffc8008, _cmd=0x2685d278) at SkySchedulerPage.m:107
#10 0x06862879 in -[SkySchedulerPage init] (self=0x7ffc8008,
_cmd=0x2f677de8) at SkySchedulerPage.m:177
#11 0x0f67b4cb in WOGetKVCValueUsingMethod ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#12 0x0f68083d in WOComponent_syncToParent ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#13 0x0f680a97 in WOComponent_syncToParent ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#14 0x0f681ce3 in WOComponent_syncToParent ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#15 0x0f6a1d34 in OWGetProperty () from /usr/local/lib/libNGObjWeb.so.4.7.9
#16 0x0f676931 in WOGetKVCValueUsingMethod ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#17 0x0f676a42 in WOGetKVCValueUsingMethod ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#18 0x1c0052b2 in -[OpenGroupware pageWithName:inContext:] (self=0x8728f108,
_cmd=0x2f683bf0, _name=0x7ffc7848, _ctx=0x80234808)
at OpenGroupware.m:631
#19 0x0f6ac4b9 in WOApplicationMain ()
from /usr/local/lib/libNGObjWeb.so.4.7.9
#20 0x086ae08c in -[WODirectAction(SkyDockActions) dockAction]
(self=0x7ffc7908, _cmd=0x84787ab0) at WODirectAction+SkyDock.m:80
---Type <return> to continue, or q <return> to quit---q
These files here also have a trailing semicolon in the last line of the
file, all the other *.plist files of OGo do not have one. I suggest removing
them from the Holidays.plist and from these five files below.
/usr/local/lib/opengroupware.org-1.1/webui/AdminUI.lso/Resources/Skyrix.plist
/usr/local/lib/opengroupware.org-1.1/webui/AdminUI.lso/Resources/NSGlobalDomain.plist
/usr/local/lib/opengroupware.org-1.1/webui/AdminUI.lso/Resources/skyxmlrpcd.plist
/usr/local/lib/opengroupware.org-1.1/webui/AdminUI.lso/Resources/snsd.plist
/usr/local/lib/opengroupware.org-1.1/webui/AdminUI.lso/Resources/skyaptnotify.plist
kind regards
Sebastian