Previous Thread
Next Thread
Print Thread
inix.sbx errors #28631 12 May 08 08:46 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Hi Jorge,

I'm getting errors from inix.sbx when saving in LEO.

The error's all say "Error in format of section header", and they all seem to be saving the [SETTINGS] section of the .leo file.

The version of inix.sbx I have is 5.0 (506).


Stephen Funkhouser
Diversified Data Solutions
Re: inix.sbx errors #28632 12 May 08 10:34 AM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
Regarding the INIX version, it's the same I'm using.
Are you sure you're using that one?
After you get the error, does LEO file get corrupted?
Can you please copy here the part of LEO file below the [SETTINGS] header? Or just send me the LEO file.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: inix.sbx errors #28633 12 May 08 11:25 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
I was running that version of inix.sbx.

I've sent you the LEO file, but it doesn't have any [SETTINGS] header in it now. It did have one before I saved it with the newest LEO updates.


Stephen Funkhouser
Diversified Data Solutions
Re: inix.sbx errors #28634 12 May 08 04:01 PM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
Sorry for delay on this, but it was tough to find out the reason behind this because I was following the wrong option.

Cause: filenames bigger than 13 characters (path doesn't matter)
Workaround: rename the file with a name less than 14 characters

Broken module: INIX.SBX; now I understand why Mr. Steve was in a hurry for the trip to the Grenada beaches :rolleyes:

The current updated version of INIX is in fact 5.0(506) released in March 5th, the earlier versions I have are 5.0(503) where the error still occur, and the 4.1(102) where the error disappear, BUT I don't advice to use old versions that do not support long lines for control settings.
I just don't know which version I had installed prior to 5.0(506) without this error.
Considering that INIX source is available, I'll try to find out the problem, but until a definite solution, I suggest you just rename the file.

Regards


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: inix.sbx errors #28635 12 May 08 06:28 PM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
I take a look into the INIX source (updated by Jack in the last releases), and found there some precious DEBUG messages.
One of each caught my attention:

Fn'Load'INI - copying C:\Users\jorge\Desenvolvimento\Leo_estudos\IPF\controlo pagamentos.leo to controlo pagam

Where "controlo pagam" is the name of the module created in memory to handle the file to update and, surprise, the vsriable that is used for the module name is:
map2 modname$,s,14

This shouldn't be a problem considering that is just the module name that could perfectly be a shortname of the original file.
But maybe the problem is here:

x = instr(1,modname$,".")
if x > 0 then ! temp file is .
modname$ = modname$[1,x] + str(jobno)
else
modname$ = strip(modname$) + "." + str(jobno)
endif

where, in this case, modname$ become w/o extension for the module name.

I stopped my search here expecting that this could point to the problem, but I guess that, somewhere in the code, a condition waiting for a full formed module name can got broken with the absence of the extension.

Jack, I think it was you who introduced the last changes on handling memory modules, correct?
Hopefully the above makes sense for you.

Thanks


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: inix.sbx errors #28636 21 May 08 12:45 AM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Indeed, that's exactly where the problem was. The fix is included in INIX.SBX 5.0(507) , which is also in the latest SOSLIB update (149), which you can get from the Update Center.

Re: inix.sbx errors #28637 25 May 08 04:11 AM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
Thanks Jack,

For Leo users, this version must be installed considering that INIX is not delivered in Leo updates.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: inix.sbx errors #28638 27 May 08 03:11 AM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline
Member
Offline
Member
Joined: Sep 2003
Posts: 4,135
Phew...Guess thats fixed its now safe to return back from Grenada smile well spotted guys.

Re: inix.sbx errors #28639 27 May 08 10:37 AM
Joined: Sep 2002
Posts: 5,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
Still in Grenada? Havent you either run out of money or sunblock yet?! smile

Re: inix.sbx errors #28640 27 May 08 11:01 AM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline
Member
Offline
Member
Joined: Sep 2003
Posts: 4,135
Sadly im now back in the office frown 2 weeks just was not long enough....


Powered by UBB.threads™ PHP Forum Software 7.7.3