Archives For July 2010

Not dead

July 27, 2010

Nope, I’m not dead. I just haven’t had a whole lot to report recently. This is going to change soon though as CubeCreate gears up for an alpha release and Haven goes live.

In the meantime, I’ll report on what I’ve been up too. Most of my work has been focused on Haven and a few small pylons applications which I’m making to split major features into smaller pieces. For example, BiosImg is a tinypic style website which I’m designing to test different ways of handling user uploaded images.

On a similar note, I think I’ve finally figured out the basics of repoze.who/what and that is very good for the future of Haven. A strong well-tested auth system is very important and repoze.who/what is for sure better quality code then I could work out in a few hours.

I’m continuing to look at Turbogears 2 but since the project seems frankly somewhat dead at the moment, not to mention their lack of support of Pylons 1.0, I think I’ll simply end up porting a few handy features over.

Running Dwarf Fortress on Fedora Linux is mostly straight forward however SELinux can cause some problems. Strangely, SELinux is what prevents it from running but I was unable to find any logs of the access denial. This is the error it returns:

./libs/Dwarf_Fortress: error while loading shared libraries: /home/william/.applications/df_linux/libs/libgraphics.so: cannot restore segment prot after reloc: Permission denied

The problem seems to be in SELinux. I found a workaround that seems to work just fine. I’m not sure if it’s best practice or anything but it got Dwarf Fortress running just fine. Be sure to replace the path so that it’s pointing to wherever you’ve put Dwarf Fortress.

sudo semanage fcontext -a -t textrel_shlib_t /home/william/.applications/df_linux/libs/libgraphics.so sudo restorecon -R -v /home/william/.applications/df_linux/libs/libgraphics.so

And you should be set. Please leave a comment if it helped.