#738 xmaxima --help gives error in start up script

closed
nobody
5
2006-06-30
2005-05-08
Dietmar
No

calling xmaxima --help results in following error message:

~> xmaxima --help
Error in startup script: invalid command name "options"
while executing
"options"
(procedure "vMaxUsage" line 3)
invoked from within
"vMaxUsage"
(procedure "lMaxInitSetOpts" line 6)
invoked from within
"lMaxInitSetOpts"
(procedure "vMAXSetMaximaCommand" line 4)
invoked from within
"vMAXSetMaximaCommand"
(procedure "MAXTkmaxima:install" line 25)
invoked from within
"MAXTkmaxima:install tkmaxima"
("uplevel" body line 1)
invoked from within
"uplevel [concat $object(__class__):$method tkmaxima $args]"
(procedure "tkmaxima" line 3)
invoked from within
"tkmaxima install"
(file "/usr/local/bin/xmaxima" line 15072)

~> xmaxima (without any parameter) starts fine

version of use parts
Maxima version: 5.9.1
Maxima build date: 18:25 12/19/2004
host type: i686-pc-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.33.2 (2004-06-02) (built
3312465522) (memory 3312465933)

tcl-8.4.7-3
tk-8.4.7-3.1

Discussion

  • Robert Dodier
    Robert Dodier
    2005-11-13

    Logged In: YES
    user_id=501686

    Another datum. I don't see an error when I execute "xmaxima
    --help"; I see a pop up window containing some text about
    command line options, which I think is as it is supposed to
    be. No idea what the cause of the error might be.

    Maxima version: 5.9.2.7cvs
    Maxima build date: 10:38 11/13/2005
    host type: i686-redhat-linux-gnu
    lisp-implementation-type: CLISP
    lisp-implementation-version: 2.34 (2005-07-20)

    tk-8.3.5-93
    tcl-8.3.5-93

     
  • Logged In: YES
    user_id=28692

    That bug appeared in old versions of Xmaxima. It was fixed
    by Vadim V. Zhytnikov on October 2004.
    (the square backets in "Usage: xmaxima [options].." should
    be escaped.

     
  • Robert Dodier
    Robert Dodier
    2006-06-30

    Logged In: YES
    user_id=501686

    Marking this report closed & fixed per comments by Jaime V.

     
  • Robert Dodier
    Robert Dodier
    2006-06-30

    • status: open --> closed