Thread: [Aimmath-developers] problems with zone administration
Brought to you by:
gustav_delius,
npstrick
From: Gustav W D. <gw...@yo...> - 2003-07-11 13:53:06
|
I have some problems with doing the zone administration in the new AiM. For example I get the error message: "There was an untrapped error while processing your command. string expected for string format" when I try to show the hidden subjects. I don't know if only I have the problems because I did something wrong during installation or whether they are genuine bugs. Please let me know if you have similar problems. If you have the same problem and are wondering how you can make any new subjects visible in spite of the problem: you have to edit the file WEB-INF\root\DefaultZone.mpl by hand and include the new subject in the SubjectNames list, as in for example (SubjectNames)=["Presentation", "Numerical", "nonlinear"] Gustav ---------------------------------------- Dr Gustav W Delius, Department of Mathematics University of York, York YO10 5DD, United Kingdom Tel.: +44 (1904) 433 077, Fax.: +44 (1904) 433 071, office: G/110 http://www.york.ac.uk/mathematics/physics/delius/ |
From: Neil S. <N.P...@sh...> - 2003-07-11 14:19:48
|
I have just committed a fix for this. Neil > -----Original Message----- > From: aim...@li... > [mailto:aim...@li...]On Behalf Of > Gustav W Delius > Sent: 11 July 2003 14:53 > To: AIM developers > Subject: [Aimmath-developers] problems with zone administration > > > I have some problems with doing the zone administration in the > new AiM. For > example I get the error message: > "There was an untrapped error while processing your command. > string expected for string format" > when I try to show the hidden subjects. > > I don't know if only I have the problems because I did something wrong > during installation or whether they are genuine bugs. Please let > me know if > you have similar problems. > > If you have the same problem and are wondering how you can make any new > subjects visible in spite of the problem: you have to edit the file > WEB-INF\root\DefaultZone.mpl by hand and include the new subject in the > SubjectNames list, as in for example (SubjectNames)=["Presentation", > "Numerical", "nonlinear"] > > Gustav > > > ---------------------------------------- > Dr Gustav W Delius, Department of Mathematics > University of York, York YO10 5DD, United Kingdom > Tel.: +44 (1904) 433 077, Fax.: +44 (1904) 433 071, office: G/110 > http://www.york.ac.uk/mathematics/physics/delius/ > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Aimmath-developers mailing list > Aim...@li... > https://lists.sourceforge.net/lists/listinfo/aimmath-developers |
From: Neil S. <N.P...@sh...> - 2003-07-11 15:53:24
|
I have just added and committed some new files: OS0Win.mpl OSWin.c OSWin.dll newDate.mpl Currently, these are isolated: the main AIM code does not refer to them at all. The idea is to get the operating system to handle times and time zones, which AIM currently tries to do for itself, not very successfully. The file OSWin.dll is obtained by compiling OSWin.c; the precise command used (with the Visual Studio C++ compiler) is recorded as a comment in OSWin.c. The file OS0Win.mpl calls define_external() to build a Maple reference to the functions defined in OSWin.dll. The file newDate.mpl, which is intended as a replacement for Date.mpl, uses these references in the FillFromRaw and FillFromCooked methods of the Date class. If anyone is feeling keen, you could work on the following: (1) Check that this works properly under Windows 98 etc. My reading of the documentation suggests that it should. (2) Work out how to do the analogous thing under Linux and OSX. (3) Fit everything together: remove references to time zones in AutoConf.mpl and Config.mpl, make sure that define_external gets called in the right place (I don't think it works to just store the result of define_external in lib/OSWin.m), and so on. (4) Implement the rest of the functions in OS0DOS.mpl in the same way. The time functions are documented at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/bas e/time.asp?frame=true and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/ _crt_asctime.2c_._wasctime.asp?frame=true I presume that the relevant filesystem functions are documented somewhere close by. Neil |
From: Greg G. <gr...@ma...> - 2003-07-11 16:50:20
|
On Fri, 11 Jul 2003, Neil Strickland wrote: > ... > newDate.mpl > > Currently, these are isolated: the main AIM code does not refer to them > at all. > > The idea is to get the operating system to handle times and time zones, > which AIM currently tries to do for itself, not very successfully. ... > ... > The file newDate.mpl, which is intended as a replacement for Date.mpl, ... So this will dispense with the need for a SummerTime hack? Regards, Greg |