I just finished doing my happy dance. It wasn’t pretty but no one saw me so it’s cool. I finally got the perspective effect working again on my openSUSE 10.2 desktop with Inkscape v0.45-1. This effect has been the bane of my existence. It totally frustrates me at times when I cannot get it working. Out of all the effects that I use, I use this one the most. Perhaps the upcoming Inkscape with the new 3D box that Ryan Lerch blogged about recently will help for future projects. I hope so.
Like any other distro, openSUSE has some pros and cons. At times things just work so well on it and other times I get so frustrated with it that I want to chain my computer to the back of my car and drag it around for a while. Don’t worry…I’d make a back up first. It’s no secret that I am a big fan of Ubuntu and the pimped version Ubuntu Studio. Of the 6 or 7 computers in my house, Ubuntu is installed on the majority of them. But that is neither here nor there. I was using Suse long before there was an Ubuntu and old habits are sometimes hard to break.
Back to Inkscape. So I was cruising the Internet regarding numpy, the package that is needed for the perspective effect to work, and I came across a post by David Cournapeau (yes, I finally found out his last name and email address) in the numpy discussion group regarding a special repo that he had set up for openSUSE 10.2 users who needed the numpy (or python-numpy) package. Did anyone notice how long that last sentence was? Anyway, I uninstalled my python-numpy, lapack and blas packages with smart. I then downloaded his packages (oh yes…they’re keepers) and installed them. It was that easy. Now my perspective effect works. I still get the “normal” error that many of us are used to:
** (inkscape:18536): WARNING **: Format autodetect failed. The file is being opened as SVG.
** (inkscape:18537): WARNING **: Format autodetect failed. The file is being opened as SVG.
** (inkscape:18538): WARNING **: Format autodetect failed. The file is being opened as SVG.
** (inkscape:18539): WARNING **: Format autodetect failed. The file is being opened as SVG.
But after I click the “OK” the effect properly works. HORAY!
If you are an openSUSE user (are there any left after the Novell Deal?) and you have this problem then don’t fret. There is a fix. Head over to David’s repo and add it to Yast or smart or yum or just download the the packages so that you have a copy for later use.