Locale problem ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Locale problem ?

Maarten Mostert

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Maarten Mostert

On top of the error log I get the following message from Windows XP :

 

error.png

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Holger Guhl
Hmm, this looks strange. For those who don't speak French: The error dialog says
An error occurred.
Do you want to debug?
Line: 42
Error: Object expected
<Yes> <No>
I have never seen an error message from Windows about a VisualWorks crash which refers to a code line and is so specific about expecting an object. The normal thing that I know is the trivial message that VisualWorks has a problem or has been terminated etc. The dialog looks more like something of your own...

Regards,
Holger

Am 13.03.2012 11:17, schrieb [hidden email]

On top of the error log I get the following message from Windows XP :

 

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 

_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


Holger Guhl
-- 
Senior Consultant * Certified Scrum Master * [hidden email]
Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20
Georg Heeg eK Dortmund
Handelsregister: Amtsgericht Dortmund  A 12812

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Kooyman, Les
In reply to this post by Maarten Mostert
It does seem curious.
 
Do I infer from comments made that this is a runtime deployed image? If so, how was it made, RTP or other?
 
What is the answer to 'Locale current name' ? (If a runtime app, it would be nice if that app could tell us, otherwise a development image. Do you have reason to suspect the app's locale is different?)
 
Do you have your own message catalog for your application?
 
The home directory issue is notable as well. Do you have an environment variable set?
 
Thanks,
Les


From: [hidden email] on behalf of [hidden email]
Sent: Tue 3/13/2012 3:17 AM
To: [hidden email]
Cc: VWNC
Subject: Re: [vwnc] Locale problem ?

On top of the error log I get the following message from Windows XP :

 

error.png

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Steven Kelly
In reply to this post by Holger Guhl
That error dialog is what Internet Explorer shows for errors in running JavaScript. If no IE is open it's possible that the same script engine is being used by Windows more directly, e.g. by Windows Scripting Host.
 
Steve


From: [hidden email] on behalf of Holger Guhl
Sent: Tue 13/03/2012 15:23
To: [hidden email]
Cc: VWNC
Subject: Re: [vwnc] Locale problem ?

Hmm, this looks strange. For those who don't speak French: The error dialog says
An error occurred.
Do you want to debug?
Line: 42
Error: Object expected
<Yes> <No>
I have never seen an error message from Windows about a VisualWorks crash which refers to a code line and is so specific about expecting an object. The normal thing that I know is the trivial message that VisualWorks has a problem or has been terminated etc. The dialog looks more like something of your own...

Regards,
Holger

Am 13.03.2012 11:17, schrieb [hidden email]

On top of the error log I get the following message from Windows XP :

 

<IMG alt=error.png src="https://www.metacase.com/exchange/metaedit.support/Drafts/RE:%20[vwnc]%20Locale%20problem%20_x003F_.EML/error.png@1331633859.2612">

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 

_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


Holger Guhl
-- 
Senior Consultant * Certified Scrum Master * [hidden email]
Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20
Georg Heeg eK Dortmund
Handelsregister: Amtsgericht Dortmund  A 12812

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Maarten Mostert
In reply to this post by Maarten Mostert

Oké I cannot reproduce this for the moment, I was suspecting a net request in this matter.

 

On initializing my application does something like:

 

request := Net.HttpRequest get: 'http://stakepoint.com/files/support/stakepointupdateBeta.cfgx'.

 

And as I am behind a proxy server this fails.

 

By the way, did anyone manage to deal with proxy scripts in VW:

 

I have one which is like:

 

http://webproxycfg.intranet.ntbs.net/ntbs-in.pac

 

which states:

 

function FindProxyForURL(url,host) { if ( isPlainHostName(host) || shExpMatch(host,"*.ntbs.net") || shExpMatch(host,"localhost") || isInNet(host,"89.147.200.82", "255.255.255.255") || isInNet(host,"10.0.0.0", "255.0.0.0") || isInNet(host,"127.0.0.0", "255.255.255.0") || isInNet(host,"192.168.0.0", "255.255.0.0") ) return "DIRECT"; else return "PROXY 10.160.193.14:8080";


Regards,

Maarten,

 

Author Said: "Steven Kelly" <[hidden email]> |

That error dialog is what Internet Explorer shows for errors in running JavaScript. If no IE is open it's possible that the same script engine is being used by Windows more directly, e.g. by Windows Scripting Host.
Steve


From: [hidden email] on behalf of Holger Guhl
Sent: Tue 13/03/2012 15:23
To: [hidden email]
Cc: VWNC
Subject: Re: [vwnc] Locale problem ?
Hmm, this looks strange. For those who don't speak French: The error dialog says

An error occurred. Do you want to debug? Line: 42 Error: Object expected <Yes> <No> I have never seen an error message from Windows about a VisualWorks crash which refers to a code line and is so specific about expecting an object. The normal thing that I know is the trivial message that VisualWorks has a problem or has been terminated etc. The dialog looks more like something of your own...

Regards,
Holger

Am 13.03.2012 11:17, schrieb [hidden email]

On top of the error log I get the following message from Windows XP :

 

error.png

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 

_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


Holger Guhl -- Senior Consultant * Certified Scrum Master * [hidden email] Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20 Georg Heeg eK Dortmund Handelsregister: Amtsgericht Dortmund A 12812

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Locale problem ?

Maarten Mostert
In reply to this post by Maarten Mostert

Hi Les,

 

My runtime images are made with James's Building tools. On launching my application the Windows registry gets changed from:

 

2012-03-18_2151_001.png

 

To something like this:

 

2012-03-18_2209.png

 

 

I did not at all asks the application to change the windows registry !!!   This seems to be done by the VM is that correct ??


I actually try to deliver my application with its own message catalogs, but here is where the problems starts:

Before saving the final image I have the vanilla build image loaded with a runtime settings file specifying my runtime message directory:    $(VISUALWORKS)\messages

As it find's the message catalogs the application will break before getting to my application. This is what happened in the error.log

However, if I simply rename my message directory, the messages are not found the Application will open correctly and provide the correct local:  #'fr_FR.Windows-1252'  in my case.

 

You can grab my application from here to see for yourself, http://dl.dropbox.com/u/5848367/StakePoint_0.6070_Setup_CNIM.exe

 

and some example planning to import in the default acces file from here: http://dl.dropbox.com/u/5848367/Planning%20APM%202012%20%2013%20mars%202012%20-%202.stp

 

If started corrrectly (without finding its catalogs) it will create a transcript log with the local. It would be interesting to know what behaviour it has under other then french locals.


This problems with the registry raises some additional questions. Is the key automatically created  by any VW application on windows ? How can I avoid or by pass this ? Shall I create my own

VISUALWORKS key within a Software sub directory of the registry ?


Thanks in advance,

 

Maarten,

 

 

 

Author Said: "Kooyman, Les" <[hidden email]> |

It does seem curious.
Do I infer from comments made that this is a runtime deployed image? If so, how was it made, RTP or other?
What is the answer to 'Locale current name' ? (If a runtime app, it would be nice if that app could tell us, otherwise a development image. Do you have reason to suspect the app's locale is different?)
Do you have your own message catalog for your application?
The home directory issue is notable as well. Do you have an environment variable set?
Thanks,
Les


From: [hidden email] on behalf of [hidden email]
Sent: Tue 3/13/2012 3:17 AM
To: [hidden email]
Cc: VWNC
Subject: Re: [vwnc] Locale problem ?

On top of the error log I get the following message from Windows XP :

 

error.png

 

Author Said: [hidden email] |

Hi,

My applicatgion seems to get mixed up in locale directories.

When I start up Visualworks in a Windows XP session first my runtime application seems to startup correctly.

If I don't its get stuck with the enclosed error log:

Another thing I noticed is that the whenever I start the runtime, the Visualworks home directory is changed ??

Any explanation help ??

Regards,

Maarten,

 

 

 

 

 

==2012/3/13==9:18:23==BEGIN RUNTIME DIAGNOSTIC DUMP

Note: this file stored in VisualWorks #source (UTF-8) encoding


Cause of Dump: UndefinedObject with unknown description

Smalltalk Version: 'VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier 2012'

Object Memory versionId: #[70 47 71 192 78 1 0 0 70 47 70 128]

Class creating this dump: ErrorDumper

------------------------------------------------------------

Active Process

Process named: 'Unnamed Process'

Process priority: 100

Process identity hash: 3286

Context Stack:

[1] IdentityDictionary(Dictionary)>>keyNotFoundErrorFor:index:

[2] optimized [] in Dictionary>>at:

[3] IdentityDictionary>>at:ifAbsent:

[4] IdentityDictionary(Dictionary)>>at:

[5] StreamEncoder class>>lookupEncoderDirectory:

[6] StreamEncoder class>>new:

[7] FileEncodedStreamConstructor(EncodedStreamConstructor)>>findEncoding:

[8] FileEncodedStreamConstructor(EncodedStreamConstructor)>>addEncodingTo:

[9] FileEncodedStreamConstructor>>readStream

[10] IndexedFileMessageCatalog>>files:

[11] optimized [] in [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[12] BlockClosure>>on:do:

[13] optimized [] in IndexedFileMessageCatalog class>>updateFilesForDirectory:

[14] OrderedCollection>>do:

[15] IndexedFileMessageCatalog class>>updateFilesForDirectory:

[16] optimized [] in [] in IndexedFileMessageCatalog class>>updateDirectories

[17] OrderedCollection>>do:

[18] optimized [] in IndexedFileMessageCatalog class>>updateDirectories

[19] OrderedCollection>>do:

[20] IndexedFileMessageCatalog class>>updateDirectories

[21] IndexedFileMessageCatalog class>>update:with:from:

[22] DependentsCollection>>update:with:from:

[23] Locale class(Object)>>changed:with:

[24] Locale class>>platformHookup

[25] LocaleSystem>>setUp

[26] LocaleSystem(Subsystem)>>runActivationActions

[27] LocaleSystem(Subsystem)>>privateActivate

[28] LocaleSystem class(Subsystem class)>>activate

[29] optimized [] in Subsystem>>ensurePrerequisitesAreActive

[30] Set>>do:

[31] EarlyInterestNotificationSystem(Subsystem)>>ensurePrerequisitesAreActive

[32] EarlyInterestNotificationSystem(Subsystem)>>privateActivate

[33] EarlyInterestNotificationSystem class(Subsystem class)>>activate

[34] EarlyInterestNotificationSystem class(Subsystem class)>>reactToEvent:

[35] optimized [] in Subsystem class>>signalEvent:to:

[36] OrderedCollection>>do:

[37] Subsystem class>>signalEvent:to:

[38] Subsystem class>>signalEvent:

[39] Snapshot>>signalSystemEvent:

[40] Snapshot>>postSnapshotBootstrap

[41] Snapshot>>privateSnapshot

[42] optimized [] in [] in Snapshot>>snapshot

[43] BlockClosure>>ensure:

[44] Cursor>>showWhile:

[45] optimized [] in Snapshot>>snapshot

[46] BlockClosure>>ensure:

[47] Snapshot class>>withSnapshot:do:

[48] Snapshot>>snapshot

[49] Snapshot>>saveAs:thenQuit:

[50] ObjectMemory class>>permSaveAs:thenQuit:

[51] optimized [] in UndefinedObject>>unboundMethod

[52] BlockClosure>>on:do:

[53] optimized [] in Process class>>forBlock:priority:


------------------------------------------------------------

Exception information is not available


==2012/3/13==9:18:23==END RUNTIME DIAGNOSTIC DUMP

 

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc