Friday, March 14, 2008

New Dynamic Silverlight site!

http://dynamicsilverlight.net has got a shiny new look! Well, it just got it's first look, since before it was worse-looking than a 1990's-style website. Anyway, it's been bombarded with useful links, so let us walk through them: /see Here you'll find links to sample apps written in Ruby and Python. There's only 3 up there now, but we'll be adding more ... I promise. =) /get Download pointers to the Dynamic Silverlight SDK, Silverlight 2, Silverlight SDK, Visual Studio Tools, etc etc etc. Basically anything you could ever want to use to develop a Silverlight app is there. /learn Links to documentation, walk-throughs, blogs, talks, specs, and anything else to make you a browser ninja. /contribute So, when you're done getting and learning all about this stuff, time to actually talk to people! Here you'll find pointers to IronRuby/IronPython project information. Enjoy! =)

7 comments:

francois schnell said...

Tahnks Jimmy it looks great :)

All examples works great for me except the dlrconsole:
http://dynamicsilverlight.net/see/dlrconsole/

Whatever the bowser I'm using (IE7 or Firefox) the page reports:

"""SyntaxError: Input string was not in a correct format."""
with line 475 showing in red:
"Line 475: tb.Opacity = 0.5"

I'm not yet familiar with SL2, I'm maybe missing something very obvious.

For information I think I have the latest runtime engine (2.0.30226.2) running on a Vista Premium box with the MS silverlight SDK 2.0

Jimmy Schementi said...

@francois: As long as you have SL2 installed (2.0.30226.2 is the right version) it should just work.

I'm not sure what could cause that error, since I can't reproduce it. If you'd like to reproduce it locally, you can:

1.) Download dlrconsole and extract it.
2.) Make sure the Silverlight 2 SDK is installed.
3.) Make sure "C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Tools\Chiron" is on your path.
4.) Open a command window, navigate to dlrconsole, and type "Chiron.exe /b"

If you get the same error as before, then something is borked with your machine and I suggest reinstalling Silverlight and clearing your browser cache. If you don't get an error, than something crazier is happening (!) and we'll take it from there.

~Jimmy

P.S. The reason you need to use the Silverlight SDK version of Chiron is simply because dlrconsole does not work with the DLR shipped on our website =(

P.S.S. Anyone using a mac can just grab the SL2 SDK version of the DLR here (it's where the live dlrconsole version pulls them from). However, I suggest you always use the version shipped on our website, not the SDK version. Only use the SDK version if you want to run dlrconsole locally.

francois schnell said...

Thanks for your quick reply Jimmy.

I followed each step and have the same result on local host.

You can see a screenshot here

I additionally (without success):
- tried with the full path of chiron to be sure
- uninstall/reinstall the runtime and SDK
- cleared cache and relaunched browser

Not sure what I'm messing.
Thanks for reading.

francois

Jimmy Schementi said...

Try simply commenting out line 475 of dlrconsole/app/app.rb ... so it looks like

#tb.Opacity = 0.5

That's the best idea I have on a Saturday afternoon. =P

francois schnell said...

""" Try simply commenting out line 475 of dlrconsole/app/app.rb """

I guess you meant app.py
Unfortunately it's not just an 'opaque' related story for me but a never-ending one. Event stuff like this doesn't go through:

Line 624: inputPercents = 0.0
Result: SyntaxError: Input string was not in a correct format.

Time to sleep on this part of the glob. Thanks and have a good WE. I'll probably try SL2/IPy another day.

Jimmy Schementi said...

Yep, I meant app.py =P ... sorry about that Francois. I have all public bits installed and everything works fine for me , and we've never seen a failure like this on any of the platforms we tests (Vista and Mac), so I'm at a loss right now.

Have a good weekend yourself, and we'll get you up and running soon enough =)

Anonymous said...

That's i18n problem,if windows has set decimal separator to anything other than '.',you're in trouble.It's very strange and seems to be python compiler bug-c# always using dot as decimal separator.

Regards.