Weird error message 
Author Message
 Weird error message

I am using Sun Lucid Common Lisp v4.0.1 and am getting the following
error message from this code. I have added format statements because I
couldn't understand the step output and am still confused.

(defun myfun ()
   (let* ((val myval)
          (otherval (if (eq val 'something)
                        nil
                        'something-else))
          (tmp (format t "Last let statement done~%" nil)))
      (format t "Have exited the let" nil)
      ... more forms

The last let produces the required text and then I get the message..

Last let statement done

Quote:
>>Error: The argument list of a call to NIL does not match the lambda

list (TEST THEN &OPTIONAL ELSE)

ADD-FEATURE-VALUE:
Original code: (NAMED-LAMBDA ADD-FEATURE-VALUE (PATHNAME FEATURE VALUE
TIME)
(BLOCK ADD-FEATURE-VALUE (LET* # # #)))
   Required arg 0 (PATHNAME): "/usr4/pg/cah/tmp/ftp/newfile"
   Required arg 1 (FEATURE): EXISTS
   Required arg 2 (VALUE): YES
   Required arg 3 (TIME): 4
:A  0: Abort to De{*filter*} Level 1
    1: Abort to Lisp Top Level

The actual code I can provide, and other dummy functions in the same
style work. Maybe someone can make sense of the error message and its
probable cause.

Ceri
--
Ceri Hopkins                                    

University of Birmingham                          Tel. +44-21-414-3743



Thu, 19 Oct 1995 03:13:31 GMT  
 Weird error message

Ceri> I am using Sun Lucid Common Lisp v4.0.1 and am getting the following
Ceri> error message from this code. I have added format statements because I
Ceri> couldn't understand the step output and am still confused.

Ceri> (defun myfun ()
Ceri>    (let* ((val myval)
Ceri>          (otherval (if (eq val 'something)
Ceri>                         nil
Ceri>                         'something-else))
Ceri>          (tmp (format t "Last let statement done~%" nil)))
Ceri>       (format t "Have exited the let" nil)
Ceri>       ... more forms

Ceri> The last let produces the required text and then I get the message..

Ceri> Last let statement done

Quote:
>>Error: The argument list of a call to NIL does not match the lambda

Ceri> list (TEST THEN &OPTIONAL ELSE)

Yes yes, so where it says "... more forms" there was a badly formed
"if" statement. I didn't expect it to break at that point without
evaluating the format. My error -- sorry. Will be less hasty in
future.

Ceri
--
Ceri Hopkins                                    

University of Birmingham                          Tel. +44-21-414-3743



Fri, 20 Oct 1995 03:38:20 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. memory bounds error and weird compilation messages

2. weird error (X error of failed request)

3. Help: NAMELIST input on DEC ALPHA produces weird message

4. weird message in hotmail

5. ERROR MESSAGE: Internal Error: tpsbt.cpp line 2172

6. Network error Message Error 50

7. Error message dbcommital internal error 19

8. Error message Ordlistadd (0) Internal error 1010

9. Error message Internal error 1010

10. spelling error in [scan] error message :)

11. Weird Runtime Error

12. weird entry field error

 

 
Powered by phpBB® Forum Software