Discussion:
WxWidgets installation
rtg at rochester.rr.com ()
2006-07-19 15:18:02 UTC
Permalink
Daria,

Did you use the Win32 wxSqueak VM? If not, you would probably get this
kind of error, since WxBootstrap loads up all of the constants from the
VM. You should also check the WxConstants dictionary in the WxBase
class -- this should have a couple thousand entries. If you are are
using wxSqueak.exe and still getting this error, I'll look into it
further; it might have something to do with the version of 3.7 that
you're using (I'm working with 3.8 update 6665 now).

Let's move the followup discussion to the wxSqueak mailing list.

.. Rob

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


On Jun 27, 2005, at 7:25 AM, Daria Spescha wrote:

From: ***@id.unibe.ch
To: squeak-***@lists.squeakfoundation.org
Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #asInteger

I was trying to load the monticello packages for wxSqueak as described
on the wxWidgets homepage. I first loaded WxBootstrap successfully.
On loading WxWidgets, the following error occured. (I tried it several
times and it was always the same). I looked in WxEvtHandler and noticed
that EventSymbols is a dictionary with just one entry for key "nil". Has
someone an idea what goes wrong?

Thanks!

27 June 2005 1:17:22 pm

VM: Win32 - a SmalltalkImage
Image: Squeak3.7 [latest update: #5989]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\squeak3.7\wxSqueak\wxsqueak0.4-win32-src
Trusted Dir C:\squeak3.7\wxSqueak\wxsqueak0.4-win32-src\dspescha
Untrusted Dir C:\My Squeak\dspescha

UndefinedObject(Object)>>doesNotUnderstand: #asInteger
Receiver: nil
Arguments and temporary variables:
aMessage: asInteger
Receiver's instance variables:
nil

Wx class>>getEventClassForType:
Receiver: Wx
Arguments and temporary variables:
eventType: nil
Receiver's instance variables:
superclass: WxBase
methodDict: a MethodDictionary()
format: 132
instanceVariables: nil
organization: nil
subclasses: nil
name: #Wx
classPool: a Dictionary(#DebugFlags->nil #PluginAvailable->nil
#UseWxTools->nil...etc...
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil

[] in WxEvtHandler class>>initializeEventClasses {[:eventType |
eventClassName := Wx getEventClassForType: eventType. eventC...]}
Arguments and temporary variables:
eventClassName: nil
eventClass: nil
eventType: nil

[] in Dictionary>>keysDo: {[:association | aBlock value: association key]}
Arguments and temporary variables:
aBlock: [] in WxEvtHandler class>>initializeEventClasses {[:eventType
| eventC...etc...
association: nil->'wxEvtWizardPageChanging'


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #asInteger
Wx class>>getEventClassForType:
[] in WxEvtHandler class>>initializeEventClasses {[:eventType |
eventClassName := Wx getEventClassForType: eventType. eventC...]}
[] in Dictionary>>keysDo: {[:association | aBlock value: association key]}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dictionary(Set)>>do:
Dictionary>>associationsDo:
Dictionary>>keysDo:
WxEvtHandler class>>initializeEventClasses
WxEvtHandler class>>initialize
MCMethodDefinition>>postload
MCMethodDefinition(MCDefinition)>>postloadOver:
[] in MCPackageLoader>>basicLoad {[:ea | ea postloadOver: (self
obsoletionFor: ea)]}
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:each :i | bar value: i. aBlock value: each]}
OrderedCollection(SequenceableCollection)>>withIndexDo:
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:bar | self withIndexDo: [:each :i | bar value: i. aBlock
value: e...]}
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
OrderedCollection(SequenceableCollection)>>do:displayingProgress:
[] in MCPackageLoader>>basicLoad {[additions do: [:ea | self
tryToLoad: ea] displayingProgress: 'Loading.....]}
BlockContext>>on:do:
[] in MCPackageLoader>>basicLoad {[[additions do: [:ea | self
tryToLoad: ea] displayingProgress: 'Loading....]}
BlockContext>>ensure:
MCPackageLoader>>basicLoad
[] in MCPackageLoader>>load {[self basicLoad]}
[] in MCPackageLoader>>useNewChangeSetDuring: {[aBlock value]}
BlockContext>>ensure:
MCPackageLoader>>useNewChangeSetDuring:
MCPackageLoader>>load
MCVersionLoader>>load
MCVersionLoader class>>loadVersion:
MCVersion>>load
MCFileRepositoryInspector(MCVersionInspector)>>load
MCFileRepositoryInspector>>load
MCFileRepositoryInspector(MCTool)>>performButtonAction:enabled:

Loading...