PDA

View Full Version : Error 2101 in installation Log


nancyp
10-02-2009, 10:31 AM
I am getting the following error in the installation log for the Screen Actions for selecting an install folder. I did not change these from default.

0/02/2009 10:13:01] Error Script: Select Install Folder > On Ctrl Message, Line 269 (2101)

I do not see a Line 269 in the On Ctrl Message Actions, in fact there are only 43 lines total.

Could anyone enlighten me about this error? It does not cause any issue but I wanted to check all the errors just in case.

SetupJuggler
10-02-2009, 10:53 AM
Hi nancyp,

I don't have a solution, but some hints for those error messages.
The line number might also mean an included lua file, this is sometimes very confusing. This could be Setup Factorys '_SUF70_Global_Functions.lua' file. In line 269, function g_GetFreeSpaceInBytes(), Drive.GetFreeSpace(strDrive) is called.

My question, did you enter a folderpath within the Select Install Folder dialog? This dialog calls g_GetFreeSpaceInBytes().

Best regards,
Udo

jassing
10-02-2009, 11:37 AM
I am getting the following error in the installation log for the Screen Actions for selecting an install folder. I did not change these from default.

0/02/2009 10:13:01] Error Script: Select Install Folder > On Ctrl Message, Line 269 (2101)

I do not see a Line 269 in the On Ctrl Message Actions, in fact there are only 43 lines total.

Could anyone enlighten me about this error? It does not cause any issue but I wanted to check all the errors just in case.

This is a problem with the error reporting in Indigorose proudcts.
it reports the 'code area' (pre install, post install, on next, etc)
and the absolute line #. This line # does not need to be in the code area it's being reported in.

For instance, if you are experience an error being reorted "on Ctrl message" at line 269; you need to look at all line 269's that could be involved.
ie: Global Functions, line 269 (if a function is called in "on ctrl message" that resides in global functions) and _SUF70_Global_Functions.lua line 269; and any other script files you may be using.

nancyp
10-02-2009, 11:54 AM
Hi nancyp,

I don't have a solution, but some hints for those error messages.
The line number might also mean an included lua file, this is sometimes very confusing. This could be Setup Factorys '_SUF70_Global_Functions.lua' file. In line 269, function g_GetFreeSpaceInBytes(), Drive.GetFreeSpace(strDrive) is called.

My question, did you enter a folderpath within the Select Install Folder dialog? This dialog calls g_GetFreeSpaceInBytes().

Best regards,
Udo

Yes the Screen is used to Select an Install Folder. How should I give it the value of the folder or whatever it is looking for? Or can I just ignore this, it does not seem to bother the install.

Thanks

jassing
10-02-2009, 12:13 PM
any code after the error line in that same code-area will be skipped.

so if you have this:

global function
1: function MyTest(a,b)
2: local c = a*b;
3: return fish.Scales
4: end

"On ctrl message"
1: -- this is line #1
2: MyTest(12,33) -- "error On Ctrl Messageline #3"
3: for x=1,10 do
4: -- Some very important processing
5: end

everything AFTER "mytest(12,33) will not be run; it'll be skipped.

SO: you can ignore it if you dont' care about the code running; in that case, you should delete the call that is generating the error so the end user doesn't see the error, or b) fix the problem....