TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: lamarn on March 14, 2018, 06:25:24 PM
-
I am getting errors on different computers where a Base.dcl error keeps popping up in every function that has a dcl (through a vlx file) I tried it with fresh profiles and different settings, nothing seems to work.
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/DCL-errors-when-starting-AutoCAD-products.html
Any other suggestions than this one?
-
verify that it is missing....then place a known good copy in the location it's supposed to be in.
-
correction for the title. It is not missing, there is something wrong with it in relation with the vlx. I can't be checking all and every autocad install. It really seems there is something wrong with how the vlx ia made. When I rum the lsp/dcl separate the is not a problem.
-
I see someone else was having this issue....
they were directed to delete a particular registry key to clear it up:
HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6018:409
It is version specific....so you would want to look under whatever version you are having the issue with.
-
I see someone else was having this issue....
they were directed to delete a particular registry key to clear it up:
HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6018:409
It is version specific....so you would want to look under whatever version you are having the issue with.
Aaahhhh yeah. No, don't do that. That registry key points to the top-level of the AutoCAD settings for that user. It will nuke *all* settings, profiles, everything, for that user. Deleting that is the same as doing a re-install.
-
I see someone else was having this issue....
they were directed to delete a particular registry key to clear it up:
HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6018:409
It is version specific....so you would want to look under whatever version you are having the issue with.
Aaahhhh yeah. No, don't do that. That registry key points to the top-level of the AutoCAD settings for that user. It will nuke *all* settings, profiles, everything, for that user. Deleting that is the same as doing a re-install.
Which might be exactly the cure for the problem...
-
(http://www.scottburkett.com/wp-content/uploads/2007/12/sledgehammer-guy.gif)
-
(http://www.scottburkett.com/wp-content/uploads/2007/12/sledgehammer-guy.gif)
Sometime....it is the right tool for the job....
sometimes it just feels good to use it. ;)
-
LOL 😁 would you believe today I got a brand new laptop after 4 years of good service.
First I need to get AutoCAD installed, than I will try again. Maybe start with just one lsp in one vlx to load.. To be continued
-
Maybe start with just one lsp in one vlx to load.
-
.. 1 DCL..
-
New Laptop, new installations, Same shit.
My tools installed on 2017 work but not on 2019 pre release on laptop 1 (new), and 2017 doesn't works but 2018 works on laptop 2 (old)
This can be found in acad.dce about when testing one of the dcl files.
I'm now looking into difference between base.dcl in the different versions, are there any differences?
====== DCL semantic audit of C:\Users\hala6\AppData\Local\Temp\$VL~~001.DCL ======
Error. Widget named "row" is undefined.
Widgets of this type cannot have children.
Error. Widget named "column" is undefined.
Error. Widget named "boxed_row" is undefined.
Error. Widget named "boxed_column" is undefined.
-
previewing in *: no result, ..
; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD Pi Release Candidate Beta/$vld$.dcl"
(other warning because apparently it needs administer rights..)
Previewing the same dcl in Vlide in 2018, it's ok
What am i doing 'illegal' ??
-
Ermmm... BETA content should never be discussed in a public forum. Check the date for the embargo being lifted.
Also, BETA installs have a tendency to bugger up some of the VLISP registry stuff - in the past I've had to do a full-reinstall of previous commercial releases (a repair install didn't work).
-
NDAs, how do they work?
-
AutoCAD can be run 'as Administrator' or not.
I think this can be the reason for this behaviour. Could it? (needs more testing)
Whats to disclose about AutoCAD 2019? Haven't spotted anything noteworthy..
-
AutoCAD can be run 'as Administrator' or not.
I think this can be the reason for this behaviour. Could it? (needs more testing)
Whats to disclose about AutoCAD 2019? Haven't spotted anything noteworthy..
one typically has fewer issue IF it is installed and or run by the user as Administrator
-
bummer
:no:
Not the answer to my problem
-
Whats to disclose about AutoCAD 2019? Haven't spotted anything noteworthy..
Irrelevant, and not what you agreed to. :police: Not to mention, it's a BETA - it might actually work on the commercially released product.
-
..Finally, finally i got it to work!!!
step 1. Delete
C:\Users\hala6\AppData\Roaming\Autodesk\C3D 2017\enu\support
from the support path (or AutoCAD 2019)
step 2. close AutoCAD
step 3. open AutoCAD
step 4. Add to support path
C:\Users\hala6\AppData\Roaming\Autodesk\C3D 2017\enu\support
as a support path (or AutoCAD 2019)
I makes no sense but it works here!
(Posted for the next soul searching for a answer)
-
..Finally, finally i got it to work!!!
[...]I makes no sense but it works here![...]
I've had a similar problem in 2018 where the printer configuration couldn't be found.
I didn't remove the search path, but used the browse button and pointed to the same location: problem solved.
-
What i did was to 'hardcode' all paths and resources so i didn't have to work with support paths at all.
But i think the problem that caused it was the use of this code.
It is really strange because you see the roaming path where base.dcl is located is THERE in options but it just doesn't work
I don't really know.. did not bother to investigate
At least i solved it by NOT using it anymore !!
;; *** check & add lisp support directory ***
;;;(defun gxl-Sys-AddSupportPath (dir pos / tmp c)
;;; (setq tmp ""
;;; c -1
;;; )
;;; (if (not pos)
;;; (setq tmp (strcat (getenv "ACAD") ";" dir))
;;; (mapcar '(lambda (x)
;;; (setq tmp (if (= (setq c (1+ c)) pos)
;;; (strcat tmp ";" dir ";" x)
;;; (strcat tmp ";" x)
;;; )
;;; )
;;; )
;;; (gxl-StrParse (getenv "ACAD") ";")
;;; )
;;; )
;;; (setenv "ACAD" tmp)
;;; (princ)
;;;)
;;;(defun gxl-StrParse (Str Delimiter / SearchStr StringLen return n char nn)
;;; (setq SearchStr Str)
;;; (setq StringLen (strlen SearchStr) nn StringLen)
;;; (setq return '())
;;;
;;;
;;; (while (> StringLen 0)
;;; (setq n 1)
;;; (setq char (substr SearchStr 1 1))
;;; (while (and (/= char Delimiter) (<= n nn))
;;; (setq n (1+ n))
;;; (setq char (substr SearchStr n 1))
;;; ) ;_ end of while
;;; (setq return (cons (substr SearchStr 1 (1- n)) return))
;;; (setq SearchStr (substr SearchStr (1+ n) StringLen))
;;; (setq StringLen (strlen SearchStr))
;;; ) ;_ end of while
;;; (if (= " " Delimiter)
;;; (setq return (vl-remove "" return))
;;; )
;;; (reverse return)
;;;)
;;;(gxl-Sys-AddSupportPath "C:\\_Data\\Heijmans\\AutoCAD_Tool\\user\\" 2)
;;;(gxl-Sys-AddSupportPath "C:\\_Data\\Heijmans\\AutoCAD_Tool\\support\\" 2)
-
One thing that may be problematic:
If pos is non-nil the new search path tmp created by the gxl-Sys-AddSupportPath function will start with the ";" delimiter.