[8.0.3] ini-file reading error ...

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

[8.0.3] ini-file reading error ...

Postby marten » Sun Feb 13, 2011 1:36 pm

I copy the text from my posting http://schrievkrom.wordpress.com/2011/02/09/vasmalltalk-8-03-ini-file-reading-bug:

I think, that a new (?) bug has been entered the handling of the ini file. I have several directory defined under:

[CommonGraphics]
bitmapPath=D:\Program Files (x86)\Instantiations\VA Smalltalk\8.0\bitmaps\pum;D:\Program Files (x86)\Instantiations\VA Smalltalk\8.0\bitmaps;D:\Program Files (x86)\Instantiations\VA Smalltalk\8.0\bitmaps\icons;D:\Program Files (x86)\Instantiations\VA Smalltalk\8.0\bitmaps\resources;

and the system only reads the first 256 (?) bytes of this line ...

Any idea ?
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: [8.0.3] ini-file reading error ...

Postby wembley » Sun Feb 13, 2011 2:01 pm

The limit on .INI line length is (and always has been) 256. I suggest you try using short names to overcome your problem.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Re: [8.0.3] ini-file reading error ...

Postby marten » Sun Feb 13, 2011 10:02 pm

John,

I only add ONE path (VA had added three paths by installation) and broke the limit !

* one could remove the primitive and use Smalltalk code to do the parsing ...
* one could change the installer to insert relative paths (at least under Windows)
* but all bitmaps of the product in ONE directory

Marten

wembley wrote:The limit on .INI line length is (and always has been) 256. I suggest you try using short names to overcome your problem.
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: [8.0.3] ini-file reading error ...

Postby wembley » Mon Feb 14, 2011 2:56 am

Marten -

Yes, I understand all that. I was only suggesting a way for you to work around the problem until we can provide a permanent solution. You forgot
* raise the limit on line length (only a partial solution, I think)
* change to use relative path (i.e., ..\bitmaps) -- not a good solution since the image doesn't need to be at the same subdirectory level in the same parent directory

I think a combination of reducing our use of bitmap subdirectories combined with increasing the size of the .INI file line buffer is the best solution. Case 48169 opened.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest

cron