Perspective Effect - Format autodetect failed

Hi,
I'm getting a warning dialog every time I use the Perspective effect. The effect *does* work, but only after I click OK on the dialog box. This is happening on my Ubuntu Edgy box, but not on my XP installation at work.
While I can live with the dialog box popping up, I'd like to create another screencast which includes the perspective effect, but it doesn't look so hot when Inkscape throws a warning dialog up everytime I use it. Any clues as to what it might be? Or how I can avoid it?
Here's the warning message - which usually appears 4 times with slightly different numbers at the front:
** (inkscape:5984): WARNING **: Format autodetect failed. The file is being opened as SVG.

Richard Querin wrote:
I'm getting a warning dialog every time I use the Perspective effect. The effect *does* work, but only after I click OK on the dialog box. This is happening on my Ubuntu Edgy box, but not on my XP installation at work.
While I can live with the dialog box popping up, I'd like to create another screencast which includes the perspective effect, but it doesn't look so hot when Inkscape throws a warning dialog up everytime I use it. Any clues as to what it might be? Or how I can avoid it?
Here's the warning message - which usually appears 4 times with slightly different numbers at the front:
** (inkscape:5984): WARNING **: Format autodetect failed. The file is being opened as SVG.
I think we can fix this. I started looking at the perspective effect last night to fix up a few smaller issues (there is a patch in the patch tracker if you would be willing to try it). If you would like I could create a patch for you to test. I'm completely unable to get the perspective effect to work on my machine. (perhaps you could give me hints to why that may be too.)
If you are familiar with python, we need to change the calls in the script to inkscape so that they don't allow those messages to be passed out of the script to stderr. I think I noticed that someone had done this for one of the other effects, but I don't remember which one.
Aaron Spike

mine works flawlessly on windows xp but in opensuse 10.2 and ubuntu 6.10 i still get a numeric python error (numpy).
heathenx
Aaron Spike wrote the following on 3/29/2007 1:27 PM:
Richard Querin wrote:
I'm getting a warning dialog every time I use the Perspective effect. The effect *does* work, but only after I click OK on the dialog box. This is happening on my Ubuntu Edgy box, but not on my XP installation at work.
While I can live with the dialog box popping up, I'd like to create another screencast which includes the perspective effect, but it doesn't look so hot when Inkscape throws a warning dialog up everytime I use it. Any clues as to what it might be? Or how I can avoid it?
Here's the warning message - which usually appears 4 times with slightly different numbers at the front:
** (inkscape:5984): WARNING **: Format autodetect failed. The file is being opened as SVG.
I think we can fix this. I started looking at the perspective effect last night to fix up a few smaller issues (there is a patch in the patch tracker if you would be willing to try it). If you would like I could create a patch for you to test. I'm completely unable to get the perspective effect to work on my machine. (perhaps you could give me hints to why that may be too.)
If you are familiar with python, we need to change the calls in the script to inkscape so that they don't allow those messages to be passed out of the script to stderr. I think I noticed that someone had done this for one of the other effects, but I don't remember which one.
Aaron Spike
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user

On 3/29/07, Aaron Spike <aaron@...476...> wrote:
I think we can fix this. I started looking at the perspective effect last night to fix up a few smaller issues (there is a patch in the patch tracker if you would be willing to try it). If you would like I could create a patch for you to test. I'm completely unable to get the perspective effect to work on my machine. (perhaps you could give me hints to why that may be too.)
If you are familiar with python, we need to change the calls in the script to inkscape so that they don't allow those messages to be passed out of the script to stderr. I think I noticed that someone had done this for one of the other effects, but I don't remember which one.
Aaron Spike
I have written a few things with python and as a matter of fact I checked out the perspective.py script and was quite surprised at how short it was! Although I'm quite a newbie at python so I didn't try and delve into it at all. But I sure would be willing to test a patch. Let me know what I have to do and I'll check it out later tonight.
ps. I've found that the perspective effect does strange things if both objects aren't paths (not rectangles or shapes but paths) and if the object defining the perspective shape is not made of 4 straight lines.
@heathenx,
That's odd that it doesn't work at all. It works fine on both my linux and xp computers although the xp one doesn't give the warnings. Strange.
participants (3)
-
Aaron Spike
-
heathenx
-
Richard Querin