[LispM] ASDF 3.2.1 Anyone?

Steven Nunez steven.nunez at illation.com.hk
Thu Aug 31 20:23:51 PDT 2017


I see. By modifying the asdf code to read:

 

  ;;; Override previous methods (from 3.1.7 and earlier) and add proper error checking.

  (defmethod initialize-instance :after ((o operation) &rest initargs &key &allow-other-keys)

    (unless (null initargs)

      (parameter-error "~S does not accept initargs~%Operation class:~S~%Initargs: ~S" 'operation (class-of 'operation) initargs))))

 

I get the following as output:

 



 

Upon inspection, I can see that 20340540254 is actually a negative number.

 

 

Cheers,

*	Steve

 

 

From: Faré [mailto:fahree at gmail.com] 
Sent: 31 August, 2017 21:06
To: Steven Núñez <steven.nunez at illation.com>
Cc: <lispm at tunes.org> <lispm at tunes.org>
Subject: Re: [LispM] ASDF 3.2.1 Anyone?

 

On Thu, Aug 31, 2017 at 10:37 AM, Steven Nunez <steven.nunez at illation.com.hk <mailto:steven.nunez at illation.com.hk> > wrote:

Dear Fare,

 

Forgive my ignorance, but how do I print the initargs when the error happens at compile time?

I told you already: you edit asdf.lisp, you search for that error message, you add ~S to it, and the initargs as arguments.

 

>From my original answer:

 

"1- can you identify what initargs are being passed? Modify the asdf.lisp source code around that error string to also show the initargs and the class of the operation in the error message and/or get a backtrace.

 

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org

"Politics" is made up of two words, "Poli", which is Greek for "many",

and "tics", which are blood sucking insects. — Gore Vidal

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </archives/lispm/attachments/20170901/7de124da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2736 bytes
Desc: not available
URL: </archives/lispm/attachments/20170901/7de124da/attachment.png>


More information about the LispM mailing list