I get a console error and my world freezes (with console error) when I try
to load it. I had evaluated some code which creates an ImageMorph and a custom component. I saved the world. When I reopen, the page freezes. The widget operates fine locally but of course I'm not saving to the wiki when I work locally. This was my first component ramping up. - Console Error: node g (parent [object SVGGElement]) cannot be a morph of RatingMorph World URL: http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets.xhtml Revert to previous revision script: http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets-revert.xhtml I'll keep working locally until this is solved. Help if you can - else I'll revisit. Philip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090223/534e89e3/attachment.html |
Actually, looking as this error text again: do I need to "install" my class
in the system? RatingMorph is a subclass of Morph which I am defining/evaluating dynamically and I'm now guessing that's why it freaks out when deserializing. ? Phil On Mon, Feb 23, 2009@8:54 PM, Philip Weaver <[hidden email]> wrote: > I get a console error and my world freezes (with console error) when I try > to load it. I had evaluated some code which creates an ImageMorph and a > custom component. I saved the world. When I reopen, the page freezes. The > widget operates fine locally but of course I'm not saving to the wiki when I > work locally. This was my first component ramping up. > > - Console Error: node g (parent [object SVGGElement]) cannot be a morph > of RatingMorph > > World URL: > http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets.xhtml > Revert to previous revision script: > http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets-revert.xhtml > > I'll keep working locally until this is solved. Help if you can - else I'll > revisit. > > Philip > An HTML attachment was scrubbed... URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090223/2765e804/attachment.html |
In reply to this post by Philip Weaver
Hi Phil,
I have saved your page so that the morph is deserialized correctly. I did this by selecting the class definitions of RatingMorph and RatingStarMorph, opened a text menu and selected 'text functions...'-- >'add as preamble to current ChangeSet'. Then I saved the page. Robert On Feb 23, 2009,@6:54 PM, Philip Weaver wrote: > I get a console error and my world freezes (with console error) when > I try to load it. I had evaluated some code which creates an > ImageMorph and a custom component. I saved the world. When I reopen, > the page freezes. The widget operates fine locally but of course I'm > not saving to the wiki when I work locally. This was my first > component ramping up. > Console Error: node g (parent [object SVGGElement]) cannot be a > morph of RatingMorph > World URL: http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets.xhtml > Revert to previous revision script: http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets-revert.xhtml > > I'll keep working locally until this is solved. Help if you can - > else I'll revisit. > > Philip > _______________________________________________ > General mailing list > [hidden email] > http://livelykernel.sunlabs.com/mailman/listinfo/general -------------- next part -------------- An HTML attachment was scrubbed... URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090223/83fd6b72/attachment.html |
I was taking things one step@a time. And I suppose the next step was
reading the instructions you had previously emailed me. :-) Thanks Robert and Dan. On Mon, Feb 23, 2009@10:19 PM, Robert Krahn < [hidden email]> wrote: > Hi Phil, > I have saved your page so that the morph is deserialized correctly. I did > this by selecting the class definitions of RatingMorph and RatingStarMorph, > opened a text menu and selected 'text functions...'-->'add as preamble to > current ChangeSet'. Then I saved the page. > > Robert > > > On Feb 23, 2009,@6:54 PM, Philip Weaver wrote: > > I get a console error and my world freezes (with console error) when I try > to load it. I had evaluated some code which creates an ImageMorph and a > custom component. I saved the world. When I reopen, the page freezes. The > widget operates fine locally but of course I'm not saving to the wiki when I > work locally. This was my first component ramping up. > > - Console Error: node g (parent [object SVGGElement]) cannot be a morph > of RatingMorph > > World URL: > http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets.xhtml > Revert to previous revision script: > http://livelykernel.sunlabs.com/repository/lively-wiki/pweaver-widgets-revert.xhtml > > I'll keep working locally until this is solved. Help if you can - else I'll > revisit. > > Philip > _______________________________________________ > General mailing list > [hidden email] > http://livelykernel.sunlabs.com/mailman/listinfo/general > > > An HTML attachment was scrubbed... URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090223/d024fe3d/attachment.html |
Free forum by Nabble | Edit this page |