Re: psconfig problem [message #42935] |
Mon, 28 February 2005 06:00 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Evan Mason writes:
> Compiling generates a lot of syntax errors, see below (the error
> message is very long and repetitive, so I've deleted all the middle
> bits). I've tried redownloading the zip file from your website, but
> to no avail.
> IDL> .compile FSC_PSCONFIG__DEFINE
> % Compiled module: FSC_PSCONFIG_RSTRPOS.
> % Compiled module: FSC_PSCONFIG_CENTERTLB.
>
> callingRoutine = (StrSplit(StrCompress(callStack[1])," ",
> /Extract))[0]
StrSplit was introduced in IDL 5.3, so that is the reason
for this error.
The other errors are inexplicable to me. Sorry. :-(
I guess this could be caused by a mixture of new and
old programs, or possibly multiple copies in your path,
something odd like that. But I have no other reports
of the program not working.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: psconfig problem [message #42940 is a reply to message #42935] |
Mon, 28 February 2005 02:55  |
emason
Messages: 4 Registered: May 2003
|
Junior Member |
|
|
> I can't imagine what this would be. If FSC_PSCONFIG__DEFINE
> got compiled, it will have a GUI method. Is is possible
> this file has been corrupted somehow?
>
> I'd try compiling it by hand to see just exactly what
> is in it:
>
> IDL> .compile FSC_PSCONFIG__DEFINE
>
> Cheers,
>
> David
Thanks David
Compiling generates a lot of syntax errors, see below (the error
message is very long and repetitive, so I've deleted all the middle
bits). I've tried redownloading the zip file from your website, but
to no avail.
Evan
IDL> .compile FSC_PSCONFIG__DEFINE
% Compiled module: FSC_PSCONFIG_RSTRPOS.
% Compiled module: FSC_PSCONFIG_CENTERTLB.
callingRoutine = (StrSplit(StrCompress(callStack[1])," ",
/Extract))[0]
^
% Syntax error.
At: C:\DOCUMENTS AND SETTINGS\EMASON\MY
DOCUMENTS\IDL_programs\IDL_stuff\FSC_PSCONFIG__DEFINE.pro, Line 289
% 1 Compilation errors in module FSC_PSCONFIG_ERROR_MESSAGE.
ok = FSC_PSConfig_Error_Message(Traceback=self.debug)
^
% Syntax error.
At: C:\DOCUMENTS AND SETTINGS\EMASON\MY
DOCUMENTS\IDL_programs\IDL_stuff\FSC_PSCONFIG__DEFINE.pro, Line 327
% 1 Compilation errors in module FSC_PSCONFIG_EVENTS.
% Compiled module: FSC_PSCONFIG_NORMALIZE.
% Compiled module: FSC_PSCONFIG_HELP_EVENT.
% Compiled module: FSC_PSCONFIG_RESTORE_DEVICE.
ok = FSC_PSConfig_Error_Message(Traceback=self.debug)
^
etc, etc, etc, until:
% Syntax error.
At: C:\DOCUMENTS AND SETTINGS\EMASON\MY
DOCUMENTS\IDL_programs\IDL_stuff\FSC_PSCONFIG__DEFINE.pro, Line 853
% 1 Compilation errors in module FSC_PSCONFIG::GUI.
ok = FSC_PSConfig_Error_Message(Traceback=self.debug)
^
etc, etc, etc, until:
^
% Syntax error.
At: C:\DOCUMENTS AND SETTINGS\EMASON\MY
DOCUMENTS\IDL_programs\IDL_stuff\FSC_PSCONFIG__DEFINE.pro, Line 2412
% 1 Compilation errors in module FSC_PSCONFIG::INIT.
% Compiled module: FSC_PSCONFIG__DEFINE.
|
|
|