phetsims / energy-skate-park-basics

"Energy Skate Park: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/energy-skate-park-basics
GNU General Public License v3.0
2 stars 9 forks source link

Assertion failed: Incorrect type in phet-io wrapper #436

Closed pixelzoom closed 6 years ago

pixelzoom commented 6 years ago

From CT:

energy-skate-park : phet-io-fuzz : require.js : load Uncaught Error: Assertion failed: Incorrect type in phet-io wrapper. Expected , received EnergySkateParkModel Error: Assertion failed: Incorrect type in phet-io wrapper. Expected , received EnergySkateParkModel at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/assert/js/assert.js:22:13) at assertInstanceOf (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/phet-io/js/assertInstanceOf.js?bust=1534857737626:57:17) at new EnergySkateParkModelIO (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/model/EnergySkateParkModelIO.js?bust=1534857737626:26:15) at EnergySkateParkModel.initializePhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/tandem/js/PhetioObject.js?bust=1534857737626:147:30) at EnergySkateParkModel.PhetioObject [as constructor] (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/tandem/js/PhetioObject.js?bust=1534857737626:80:12) at new EnergySkateParkModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/model/EnergySkateParkModel.js?bust=1534857737626:284:18) at EnergySkateParkScreen.createModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/EnergySkateParkScreen.js?bust=1534857737626:40:16) at EnergySkateParkScreen.initializeModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Screen.js?bust=1534857737626:241:26) at Array. (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Sim.js?bust=1534857737626:677:18) at https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Sim.js?bust=1534857737626:688:27 Approximately 8/21/2018, 6:59:52 AM

zepumph commented 6 years ago

Assigning to @jessegreenberg because he is the lead developer on this sim. Let me know if you need any help on this.

pixelzoom commented 6 years ago

Sorry @zepumph, I assigned to you because it looks like a pheti-io-wrapper issue.

zepumph commented 6 years ago

Understood and very reasonable!

jessegreenberg commented 6 years ago

I think this issue was meant for energy-skate-park, and was fixed in https://github.com/phetsims/energy-skate-park/commit/ad2bbe6f7cf865039afe08d274d4a17b18101dde. Closing.