[x3d-public] AttributeErrors we can and can't fix in X3D Python

John Carlson yottzumm at gmail.com
Tue Apr 9 21:45:36 PDT 2019


I’d like us together to analyze if the previous files generating AttributeErrors can be fixed.   I don’t know if they can, or if we can.

Soon, before we waste a lot of build time.

Are you going to make these filenames distinct in the pyjnius folder?  Thanks, John

PythonPipeliningSerializer.js:          str += "\n"+element.nodeName+stack[0]+".toFileX3D(\""+clazz+"_RoundTrip.x3d\")\n";
PythonSerializer.js:            str += element.nodeName+stack[0]+".toFileX3D(\""+clazz+"_RoundTrip.x3d\")\n";


Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, April 9, 2019 11:21 PM
To: X3D Graphics public mailing list; Don Brutzman
Subject: AttributeErrors we can and can't fix in X3D Python

  Here are the interface errors generated by  *.future.py.  I suggest we try to figure out how to fix these before proceeding with *.future.py, or if we decide we want to stop work on the Pipelining Serializer which generates the *.future.py files.  Can we add these methods to the interface standard and have it work?  Or between jsail and sai packagates in the call sequence.

IDK

John

   [exec] AttributeError: 'org.web3d.x3d.jsail.X3DConcreteNode' object has no attribute 'addChild'
     [exec] AttributeError: 'org.web3d.x3d.sai.Core.ProtoInstance' object has no attribute 'addFieldValue'
     [exec] AttributeError: 'org.web3d.x3d.sai.Core.X3DMetadataObject' object has no attribute 'setValue'
     [exec] AttributeError: 'org.web3d.x3d.sai.Core.X3DNode' object has no attribute 'setName'
     [exec] AttributeError: 'org.web3d.x3d.sai.Core.X3DNode' object has no attribute 'setTitle'
     [exec] AttributeError: 'org.web3d.x3d.sai.EnvironmentalEffects.X3DBackgrou' object has no attribute 'setFrontTexture'
     [exec] AttributeError: 'org.web3d.x3d.sai.EnvironmentalEffects.X3DBackgrou' object has no attribute 'setLeftUrl'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.Transform' object has no attribute 'addChild'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'addChild'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'setCenter'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'setIS'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'setScale'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'setTranslation'
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object has no attribute 'setWhichChoice'
     [exec] AttributeError: 'org.web3d.x3d.sai.Lighting.X3DLightNode' object has no attribute 'setLocation'
     [exec] AttributeError: 'org.web3d.x3d.sai.Navigation.LOD' object has no attribute 'addChild'
     [exec] AttributeError: 'org.web3d.x3d.sai.Navigation.X3DViewpointNode' object has no attribute 'setCenterOfRotation'
     [exec] AttributeError: 'org.web3d.x3d.sai.Navigation.X3DViewpointNode' object has no attribute 'setFieldOfView'
     [exec] AttributeError: 'org.web3d.x3d.sai.Navigation.X3DViewpointNode' object has no attribute 'setPosition'
     [exec] AttributeError: 'org.web3d.x3d.sai.Networking.X3DUrlObject' object has no attribute 'addChild'
     [exec] AttributeError: 'org.web3d.x3d.sai.Rendering.X3DGeometricPropertyNo' object has no attribute 'setPoint'
     [exec] AttributeError: 'org.web3d.x3d.sai.Rendering.X3DGeometryNode' object has no attribute 'setCoord'
     [exec] AttributeError: 'org.web3d.x3d.sai.Scripting.X3DScriptNode' object has no attribute 'addField'
     [exec] AttributeError: 'org.web3d.x3d.sai.Shape.X3DAppearanceNode' object has no attribute 'setMaterial'
     [exec] AttributeError: 'org.web3d.x3d.sai.Shape.X3DMaterialNode' object has no attribute 'setDiffuseColor'
     [exec] AttributeError: 'org.web3d.x3d.sai.Shape.X3DMaterialNode' object has no attribute 'setIS'
     [exec] AttributeError: 'org.web3d.x3d.sai.Sound.X3DSoundNode' object has no attribute 'setLocation'
     [exec] AttributeError: 'org.web3d.x3d.sai.Time.X3DTimeDependentNode' object has no attribute 'setCycleInterval'

Sent from Mail for Windows 10


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190409/4a6c3dd9/attachment-0001.html>


More information about the x3d-public mailing list