phetsims / build-an-atom

"Build an Atom" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/build-an-atom
GNU General Public License v3.0
11 stars 10 forks source link

CT phetioID #205

Closed KatieWoe closed 4 years ago

KatieWoe commented 4 years ago
build-an-atom : phet-io-fuzz : require.js : load
Query: brand=phet-io&phetioStandalone&ea&phetioValidateTandems&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: phetioID already registered: buildAnAtom.atomScreen.model.particleAtom.protons.lengthProperty
Error: Assertion failed: phetioID already registered: buildAnAtom.atomScreen.model.particleAtom.protons.lengthProperty
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/assert/js/assert.js:22:13)
    at PhetioEngine.phetioObjectAdded (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/phet-io/js/phetioEngine.js?:365:36)
    at Object.addPhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/phet-io/js/phetioEngine.js?:482:51)
    at Tandem.addPhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/Tandem.js?:146:40)
    at NumberProperty.initializePhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/PhetioObject.js?:300:19)
    at new PhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/PhetioObject.js?:131:12)
    at new Property (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/Property.js?:69:7)
    at new NumberProperty (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/NumberProperty.js?:56:7)
    at new ObservableArray (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/ObservableArray.js?:52:27)
    at ObservableArray.map (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/ObservableArray.js?:310:31)
id: Bayes Chrome
Approximately 9/13/2019, 2:48:20 PM
build-an-atom : phet-io-fuzz : require.js : run
Query: brand=phet-io&phetioStandalone&ea&phetioValidateTandems&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: phetioID already registered: buildAnAtom.atomScreen.model.particleAtom.protons.lengthProperty
Error: Assertion failed: phetioID already registered: buildAnAtom.atomScreen.model.particleAtom.protons.lengthProperty
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/assert/js/assert.js:22:13)
    at PhetioEngine.phetioObjectAdded (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/phet-io/js/phetioEngine.js?:365:36)
    at Object.addPhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/phet-io/js/phetioEngine.js?:482:51)
    at Tandem.addPhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/Tandem.js?:146:40)
    at NumberProperty.initializePhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/PhetioObject.js?:300:19)
    at new PhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/tandem/js/PhetioObject.js?:131:12)
    at new Property (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/Property.js?:69:7)
    at new NumberProperty (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/NumberProperty.js?:56:7)
    at new ObservableArray (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/ObservableArray.js?:52:27)
    at ObservableArray.map (https://bayes.colorado.edu/continuous-testing/snapshot-1568407700856/axon/js/ObservableArray.js?:310:31)
id: Bayes Chrome
Approximately 9/13/2019, 2:48:20 PM
jbphet commented 4 years ago

On Slack, @samreid said that he had a potential fix. Assigning to him.

samreid commented 4 years ago

Thanks @jbphet, it looks like the potential fix is working nicely. Closing.