PDA

View Full Version : Startup Error Messaging



JvonTungeln
2005-05-04, 10:10 PM
:::AutoCad 2002:::
Regenerating model.
Initializing....
.Done.
AutoCAD Express Tools Copyright ? Autodesk, Inc.
; error: Invalid attempt to access a compiled function definition. You may
want to define it using defun-q: #
GuidSIGN 4.2 menu utilities loaded.
AutoCAD menu utilities loaded.; error: bad argument type: stringp nil

Command: burst
BURST----½«Í¼¿éÖеÄÎÄ×ÖÕ¨¿ªºó³ÉΪʵÌå

:::Autocad 2005:::
AutoCAD Express Tools Copyright ?-2004 Autodesk, Inc.
; error: Invalid attempt to access a compiled function definition. You may
want to define it using defun-q: #

AutoCAD menu utilities loaded.
Command: Initializing VBA System...; error: bad argument type: stringp nil[/code]



We have quite a few machines on 2002, and a handful on 2005. This error seems to have spread like wildfire through all 2002 machines now. I don't know exactly what to make of it. Any help would be great.

Mike.Perry
2005-05-04, 10:16 PM
Hi

Please note I've *moved* this thread from the Software (http://forums.augi.com/forumdisplay.php?f=117) Forum Forum to this one as I believe it would be better served here.

Thanks, Mike

Forum Moderator

RobertB
2005-05-05, 02:14 AM
A couple of items to note.

Menus compiled in 2005 are not compatible with 2002. When I had to support dual installations I placed a copy of the .mns file in two separate folders not located on AutoCAD's support paths. Then load the menu in one file for 2005, and load the menu in the other location for 2002. (This compiles the menus in the two different flavors.)

Also, make sure that any definition of S::Startup uses (defun-q) and not (defun).

JvonTungeln
2005-05-05, 03:54 PM
Ya, I saw that defun-q fix around. I just did it on 2002 on my machine, that takes care of the first defun-q startup issue, but the "AutoCAD menu utilities loaded.; error: bad argument type: stringp nil" has remained. and in my 2005 folders, I can't find S::startup anywhere.

RobertB
2005-05-05, 10:41 PM
Somewhere in your menu lisp or Acad*.lsp you are attempting to set something that expects a string but is get nil instead. Check for misspelled variable names in particular.