#143014 - 2005-07-05 10:10 PM
Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Had a weird error come up..
Quote:
Login Script Change. Users in <branch> getting message: "ERROR: doubly defined UDF [branchlog]! Script: \\DC\NETLOGON\newscript\NTBKFUN.KX"
Removal of BRANCHLOG UDF from FUNCTION.KIX/FUNCTION/KX.
Even after commenting this out, it still happened to the next UDF in FUNCTION.KX. Re-Tokenized NTBKFUN.KIX, which appears to have resolved the issue for now.
Kent
|
Top
|
|
|
|
#143018 - 2005-07-05 11:57 PM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I could have very well have been "my bad." But, when I converted over all of our scripts, I did them all with the same EXE.
Very strange.
Kent
|
Top
|
|
|
|
#143020 - 2005-07-06 07:00 AM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Quote:
one question... is a UDF part of global namespace? if yes that could explain a lot too...
Yes, it is part of a common function list (but was not used at the time) used for the entire enterprise.
Kent
Edited by kdyer (2005-07-06 07:01 AM)
|
Top
|
|
|
|
#143022 - 2005-07-06 03:13 PM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
No.. Just tokenize one at a time.
Kent
|
Top
|
|
|
|
#143025 - 2005-07-06 06:20 PM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
No.. Only using CALL.
In fact: Code:
; -- LOAD FUNCTIONS IF SPLIT(@scriptname,'.')[1]='kx' CALL @ldrive+'newscript\function.kx' ELSE CALL @ldrive+'newscript\function.kix' ENDIF
But, you know what is interesting is that I CALL function.kix twice. That is it is loaded in the KIXTART.KIX/KIXTART.KX as well as NTBKFUN.KIX/NTBKFUN.KX again. The reason I did this initially is that the functions were lost when NTBKFUN.KIX was loaded.
Kent
Edited by kdyer (2005-07-06 06:33 PM)
|
Top
|
|
|
|
#143027 - 2005-07-06 07:49 PM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Quote:
oh, so it was your bad. k, thanks for finding it out.
It is how it is right now. That is the FUNCTION.KIX/KX file is still being loaded again. This being said, is where the duplicate definition is coming from.
Kent
|
Top
|
|
|
|
#143028 - 2005-07-07 12:20 AM
Re: Weird Error with KiX
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I feel like a complete idiot. What happend was is that I did a system rollback on my workstation before Ruud did the final release. Because of this, we were getting all sorts of odd errors.
I broke the cardinal rule about not running any compiled code from previous versions with the new W/KIX executables.
Sheesh,
Kent
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 2366 anonymous users online.
|
|
|