Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 9
kulfi
1900 Views, 8 Replies

Message

Hi,

Can i know that from which lisp file is this message coming please so that i can remove this message also tell me if i remove base.dcl file from the directory what effect AutoCAD.

; error: bad argument type: stringp nil
AutoCAD menu utilities loaded.; error: LOAD failed: "acadappp.lsp"

Kulfi
Electronics Engineer

Pind Saudi Arabia



8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: kulfi

K,

 

It's very difficult to find the cause of the error without seeing the code. However, it appears that somewhere you are using a string with a nil value. See the couple of examples below to get you started:

 

(setq filename nil)
(strcat (getvar "DWGPREFIX") filename)

 

nil
; error: bad argument type: stringp nil

 

(setq filename (getvar "DWGNAME"))
(strcat (getvar "DWGPREFIX") filename)

 

"Drawing1.dwg"
"C:\\Users\\scottb\\Documents\\Drawing1.dwg"

Regarding base.dcl I'll let somebody else answer that, although I'm sure they'll ask "why?"

 

S

Message 3 of 9
kulfi
in reply to: kulfi

Thanks but this is not what i am asking i am asking from which file this message is coming up.

thanks

Kulfi
Electronics Engineer

Pind Saudi Arabia



Message 4 of 9
Anonymous
in reply to: kulfi

Hmmm. I'd really need to know what files you're loading and what their contents are before I can tell you what the problem is. Surely you must know that.

Message 5 of 9
kulfi
in reply to: kulfi

Ok if u want to know the exact problem than i will like to tell u that there is file acadppp.lsp which exist in the acad path and i know that this is not acad application file tell me who to remove this file because if i remove it comes back again.

thanks

Kulfi
Electronics Engineer

Pind Saudi Arabia



Message 6 of 9
scot-65
in reply to: kulfi

base.dcl is AutoCAD's definition file for it's core dialog boxes as well as defining some basic element groups.

Deleting or renaming this file will have serious consequences to the behavior of those windows that have the "OK". "OK/CANCEL", and/or the "OK/CANCEL/HELP" buttons along the bottom...

 

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Message 7 of 9
kulfi
in reply to: kulfi

OK i agree with u but what about the solution to my problem.

thanks

Kulfi
Electronics Engineer

Pind Saudi Arabia



Message 8 of 9
Anonymous
in reply to: kulfi

There is a virus for cad files that creates this acadappp.lsp and also some acad.lsp you can identify them by the size 110kb

 

delete in all your computers and networks files with those characteristics to solve your problem

 

avast antivirus detects it but panda and others does not

 

Pedro

Message 9 of 9
kulfi
in reply to: kulfi

I have deleted all file acadappp.p but i have dew questions

1. how it is crerated

2. what is the cause of this

3. what is the best solution of removing so that it does not come back.

thanks

Kulfi
Electronics Engineer

Pind Saudi Arabia



Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost