Inkscape: Perspective Hell
Friday, August 31st, 2007Ever since I had formatted my computer and reloaded openSUSE 10.2, I have not been able to get the perspective effect in Inkscape v0.45-1 working. This has always been of a hit or miss for me in the past . Before I formatted I was somewhat pleased with the perspective effect. Although it threw up an error dialog it would always work after I just “okayed” the error. This time around I cannot get it to work at all. Frustrating since it’s one of my favorite features of Inkscape. I use it often. Richard and I use it to create the graphics for screencasters.heathenx.org.
A workaround for me has been using Windows XP virtually on top of openSUSE and using Inkscape in that. It’s not my preferred method but at least I’m not completely S.O.L. Now that I think of it, I cannot remember a time when the perspective effect wasn’t working for me in Windows. Uh! I hate even acknowledging that.
Honestly, I am confused by the python-numpy and python-numeric packages. Apparently, you need at least numpy so that the perspective effect will work. Not sure why I installed numeric but at this point too many packages depend on it so I cannot uninstall it. Numpy on the other hand can be installed and uninstalled all day long. Numpy is installed but me thinks openSUSE is not properly symlinking to it. The two modules that I need are just not loading or cannot be found by the perspective.py script. Richard and I spent spent a few (and probably drank a few) last night trying to troubleshoot it. Of course he is an Ubuntu Feisty user (I am too, just not on my main desktop) and I am an openSUSE user. Our packages do not match and are in different locations. It’s tough to fix when you are using different distros.
So if it helps anyone, I have recorded a short screencast (no sound) illustrating the errors that I am getting. I am using two perspective.py scripts. One is the original script that ships with Inkscape and the other is a patched script that looks like was authored by Aaron Spike. The patched script pretty much suppresses the exact errors and gives you a “friendly” error stating that numpy module is not found or loaded.
If anyone would like to help, PLEASE! I’m floating out at sea here. I would appreciate any help in the matter.
Screenshot of the original perspective.py script:
Screenshot of the patched perspective.py script:

