how do i fix perspective?

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
gf

how do i fix perspective?

Postby gf » Thu Nov 13, 2008 12:28 pm

im using the linux version of inkscape .46, when i try to use perspective it says to use the subprocess module:

Code: Select all

/usr/local/share/inkscape/extensions/perspective.py:76: DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
  f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]


so how do i do that?

Guest

Re: how do i fix perspective?

Postby Guest » Wed Feb 11, 2009 10:46 pm

I am also getting this error.
I am using openSUSE 11.1 with KDE4.3Beta and Inkscape 0.46.
I have installed python-numpy 1.2.1-0.pm.1

simone

Re: how do i fix perspective?

Postby simone » Tue May 19, 2009 12:22 am

I too have this error on Ubuntu 9.04 Jaunty Jackalope.

guest

Re: how do i fix perspective?

Postby guest » Thu May 28, 2009 1:21 am

Hello,

I'm using Ubuntu 9.04 and Inkscape 0.46.

This problem I've too using perspective.py and summersnight.py.

Is there a solution?

wbailey
Posts: 1
Joined: Fri Oct 16, 2009 5:07 am

Re: how do i fix perspective?

Postby wbailey » Wed Oct 28, 2009 11:44 am

I too receive the same warning message when applying the perspective effect. However, when I click the Ok box, the effect completes correctly.

Here are the steps I use to achieve a successful perspective transformation, using Ubuntu 9.04/Inkscape .46:

1. Use :tool_text: to create some text.
2. Convert the text to a path [Path>Object to Path(Shift+Ctrl+C)].
3. Starting with the bottom left corner, draw a box with the :tool_pen: with exactly 4 nodes.
4. Select the text, press shift and select the box.
The order you select the text and the perspective box is important. Make sure you select the text first.
5. Then apply the perspective, Effects->Modify Path-> Perspective

The warning message box will pop up, press ok.

Code: Select all

/usr/share/inkscape/extensions/perspective.py:71: DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
  _,f,err = os.popen3("inkscape --query-%s --query-id=%s %s" % (query,id,file))


First post, hope this helps everybody.
Last edited by wbailey on Wed Oct 28, 2009 2:40 pm, edited 1 time in total.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: how do i fix perspective?

Postby ~suv » Wed Oct 28, 2009 2:36 pm

The warning message is just that - warning, but not indicating a failure. You get these messages from Python 2.6 because the extension scripts included in 0.46 are somewhat dated and were written with older Python versions in mind. Windows and OS X users don't see them because their default Python version available in Inkscape is still 2.5.x.

Inkscape 0.47 will include updated versions of many scripts - including those that are known to cause these messages (Perspective, Envelope, Restack). For details see bug #387446 in Inkscape: “Extension deprecation warnings”.

sfp
Posts: 1
Joined: Fri Mar 18, 2011 9:49 pm

Re: how do i fix perspective?

Postby sfp » Fri Mar 18, 2011 10:29 pm

bug still existing in version 0.47 :(
----------------------------------------------------------
Inkscape 0.47 r22583, built Apr 4 2010
Ubuntu 10.04 LTS x86_64


Return to “Discuss Software Issues”