Topic: Virtual Chumby vs Actual Chumby vs Configuration Widget

I'm working on the FlashDevelop version of the Banner widget.  I got the configuration widget running and decided to see what would happen if I ran that as the normal widget.  It doesn't look like it should have any problems.

1) When I run it as a Configuration widget, it loads the parameter XML, and updates it fine.

2) When I run it as a normal widget on the Chumby, instead of XML, I get some HTML back.
<html><body><img src="/image/application/chumby_error.png"/></body></html>

3) When I do a "Now Playing" in my virtual chumby, I get an error return from the XML load (as if the URL was bad, or I wasn't authorized).

I figure if I can't load it, the outlook isn't good for sending an updated version back up..

Anybody got some suggestions?

Thanks...

Nick

Re: Virtual Chumby vs Actual Chumby vs Configuration Widget

If I understand what you are saying it sounds like the data returned from your feed is bad. If you are having problems getting a widget to run on the chumby you may want to ssh in and post your traces like this  http://forum.chumby.com/viewtopic.php?pid=7639#p7639

3 (edited by bLiTzJoN 2008-01-08 05:46:37)

Re: Virtual Chumby vs Actual Chumby vs Configuration Widget

I ran into a similar issue with IE and an AJAX component I was working on and it ended up being whitespace before the XML declaration. Don't ask me why, but from now on, I read my XML streams as TEXT, trim and then create XML documents from the results.  While I realize IE and AJAX doesn't directly relate to what you are dealing with, but looking into the whitespace issue could be something not to overlook.  My 2¢.

Re: Virtual Chumby vs Actual Chumby vs Configuration Widget

There is a parameter in Flash that will tell it to ignore the whitespace.

ignoreWhite=true;

It is false by default... see the documentation for XML in the liveDocs at http://livedocs.adobe.com/flash/8/main/ … ASLR2.html