[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSDate dateWithNaturalLanguageString: problem
From: |
Miguel Morales |
Subject: |
NSDate dateWithNaturalLanguageString: problem |
Date: |
Tue, 7 Aug 2001 15:21:21 -0700 |
Dear all,
This is my first message to the list, and I'd like to first mention how
pleased I've been with GNUStep. I'm writing a fairly large
multi-threading/DO application for searching for Gamma Ray Bursts in the
Milagro gamma ray observatory, and so far everything has cross compiled
with OS X almost flawlessly (I use foundation only, see below for only
problem).
The line of code is:
NSDate *tomorrowMorn = [NSDate dateWithNaturalLanguageString:@"tomorrow
6 AM"];
and the error (on a Pentium Linux 6.2 machine) is:
Uncaught exception NSInvalidArgumentException, reason: GSArray does not
recognize length
No matter what string I enter, I get the same error. I checked out the
code, and I suspect that for some reason the correct localization
library is not getting loaded, but I'm not at all sure where exactly the
error is coming from (and it works fine in OS X). Has anyone out there
seen this kind of problem or have suggestions?
Thanks in advance,
-Miguel
- NSDate dateWithNaturalLanguageString: problem,
Miguel Morales <=