Wednesday, January 18, 2012

Shed Skin 0.9.1

I have just released version 0.9.1 of Shed Skin, a restricted-Python (2.4-2.6) to C++ compiler. This is a maintenance release, so no new major features were added. Most interesting perhaps are optimizations for itertools.product and str.join. Other than that, it's mostly bugfixes and a new (hq2x image scaling) example. Please see the release notes for more details.

In the meantime, Paul Boddie has succeeded in getting Shed Skin 0.9 accepted into the Debian repositories, which is awesome for me personally.

Looking at which, it seems like some file named "gc_allocator.h" is missing. I cannot figure out how to fix this. I have libstdc++6-4.5-dev installed.Please help !!I desperately want to try Shed Skin. Thanks

@raghavalu: this is because disco 0.3 mixes ints and bools, which is not allowed anymore. please see go.py in the shedskin examples package, which changes a single line so it works again. I should probably put out a disco 0.4 with this line changed! thanks for mentioning in any case.

I followed as you suggested, but when I type gogui in terminal its throwing following error

java.awt.HeadlessExceptionjava.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) at java.awt.Window.(Window.java:535) at java.awt.Frame.(Frame.java:420) at java.awt.Frame.(Frame.java:385) at javax.swing.JFrame.(JFrame.java:174) at net.sf.gogui.gogui.GoGui.(GoGui.java:159) at net.sf.gogui.gogui.Main$2.run(Main.java:146) at java.lang.Thread.run(Thread.java:722)

Exception: java.awt.HeadlessException thrown from the UncaughtExceptionHandler in thread "Thread-2"

yeah, the instructions in disco 0.3 are wrong. I uploaded a 0.4 version in the meantime with the one-line improvement and better instructions. you have to use 'python disco.py' as the command, and set the working dir to where disco.py etc. are located. don't forget to set the board to 9x9. perhaps you also have to give disco black at this point, not sure.