More FreeCAD follies

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

More FreeCAD follies

Ross Boylan
I got the 20081125 image and am filing in FreeCAD-kayef.21.mcz.  A few
bumps, and then the problem loading GL extensions that I keep hitting
(#3 below).

1.
I get lots of obsolete reference windows popping up (as I did before).
When I checked them before, it wasn't clear to me what the cause was.
For example, I got a report for this method in MyTreeWidget
initialize

        super initialize.

        self harnessSet: false.
but after everything the MyTreeWidget clas exists as does harnessSet:.


2.
Then I get the error shown below.  I hit proceed; everything else in
FreeCAD and CADSM filed in OK.

3.
When I drag out KayefFreeCAD I see a colored window which then turns
black. Nothing else happens.  When I killed it I discovered (again) an
error stack with glLoadTransposeMatrixf in it; the extension manager
attempts to load extensions but fails with an invalid value fromCstring.
 See the stack trace I posted to croquet-dev.

Hoping this was a timing issue, I tried again, but got the same result.

I suspect the problem is not particular to glLoadTransposeMatrix but
that there is a general problem loading the gl C code and
glLoadTransposeMatrix is the first one that hits it.

4.
Would it make more sense to start from the 1211 image that is now out?
Does it
already have these things filed in?

5.
I am interested in keeping things from overlapping when I move them
around.
I'll have boxes stacked on shelves, and I'd like to be able to position
them without worrying that they are in the shelving or the box below
them.  Will the motion engine help with that?

6.
Perhaps this discussion would fit better on croquet-dev.

Thanks.
Ross

Trace for item 2.
29 December 2008 4:12:40 pm

VM: unix - a SmalltalkImage
Image: Croquet1.0beta [latest update: #2]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /usr/local/src/CAD/cobalt-base-current-build-20081125
Trusted Dir /usr/local/src/CAD/cobalt-base-current-build-20081125/secure
Untrusted Dir /usr/local/src/CAD/cobalt-base-current-build-20081125/My
Squeak

ClassBuilder(Object)>>error:
        Receiver: a ClassBuilder
        Arguments and temporary variables:
                aString: 'extruded is already defined in a subclass of MyMainMesh'
        Receiver's instance variables:
                environ: a SystemDictionary(lots of globals)
                classMap: nil
                instVarMap: an IdentityDictionary()
                progress: nil
                maxClassIndex: nil
                currentClassIndex: nil

[] in ClassBuilder>>validateInstvars:from:forSuper: {[:iv |  (usedNames
includes: iv)   ifTrue: [self error: iv , ' is already de...]}
        Arguments and temporary variables:
                instVarArray: #('zStart' 'zEnd' 'renderMode' 'zLength' 'angle'
'fixedPointSet' ...etc...
                oldClass: MyMainMesh
                newSuper: TFrame
                instVars: #('zStart' 'zEnd' 'renderMode' 'zLength' 'angle'
'fixedPointSet' 'fix...etc...
                usedNames: a Set('epHandle' 'extentZ' 'rotationHandle' 'endPoint'
'xLength' 'bo...etc...
                temp: nil
                var: nil
                iv: 'extruded'
                cl: MyRectangle

Array(SequenceableCollection)>>do:
        Receiver: #('zStart' 'zEnd' 'renderMode' 'zLength' 'angle'
'fixedPointSet' 'fixedPoint' 'basePoint' ...etc...
        Arguments and temporary variables:
                aBlock: [] in ClassBuilder>>validateInstvars:from:forSuper: {[:iv |
(usedNames...etc...
                index: 12
                indexLimiT: 34
        Receiver's instance variables:
#('zStart' 'zEnd' 'renderMode' 'zLength' 'angle' 'fixedPointSet'
'fixedPoint' 'basePoint' ...etc...

ClassBuilder>>validateInstvars:from:forSuper:
        Receiver: a ClassBuilder
        Arguments and temporary variables:
                instVarArray: #('zStart' 'zEnd' 'renderMode' 'zLength' 'angle'
'fixedPointSet' ...etc...
                oldClass: MyMainMesh
                newSuper: TFrame
                instVars: #('zStart' 'zEnd' 'renderMode' 'zLength' 'angle'
'fixedPointSet' 'fix...etc...
                usedNames: a Set('epHandle' 'extentZ' 'rotationHandle' 'endPoint'
'xLength' 'bo...etc...
                temp: nil
                var: nil
                iv: 'extruded'
                cl: MyRectangle
        Receiver's instance variables:
                environ: a SystemDictionary(lots of globals)
                classMap: nil
                instVarMap: an IdentityDictionary()
                progress: nil
                maxClassIndex: nil
                currentClassIndex: nil


--- The full stack ---
ClassBuilder(Object)>>error:
[] in ClassBuilder>>validateInstvars:from:forSuper: {[:iv |  (usedNames
includes: iv)   ifTrue: [self error: iv , ' is already de...]}
Array(SequenceableCollection)>>do:
ClassBuilder>>validateInstvars:from:forSuper:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:c
lassVariableNames:poolDictionaries:category:unsafe:
ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:c
lassVariableNames:poolDictionaries:category:
ClassBuilder>>superclass:subclass:instanceVariableNames:classVariableNam
es:poolDictionaries:category:
TFrame
class(Class)>>subclass:instanceVariableNames:classVariableNames:poolDict
ionaries:category:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
[] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
{[val := (self peekFor: $!)     ifTrue: [(Compiler evaluate: self
nextChunk l...]}
BlockContext>>on:do:
[] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
{[:bar |  [self atEnd]   whileFalse: [bar value: self position.    self
skipS...]}
[] in ProgressInitiationException>>defaultMorphicAction {[result :=
workBlock value: progress]}
BlockContext>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
[] in MczInstaller>>installMember: {[str := member contentStream text.
str setConverterForCode.  str fileInAnno...]}
...etc...