Perspective Tool Operates Incorrectly

Asked by Logan

Hi there. I have started teaching myself Inkscape, however my programming skills are minimal.

I am trying to use the Perspective tool. I initially had the "The fantastic lxml wrapper for libxml2 is required..." error, which i have resolved using the method described by Suv at https://answers.launchpad.net/inkscape/+question/194132#comment-6 (Thanks by the way).

Having done this, the Perspective command executes, but it does so incorrectly. When the tool is used, the components making the image will break up into weird altered perspectives all over the canvas, scaled up or down ridiculously, or just dissappear completely.

I can only guess that the algorithm that performs this operation is being read incorrectly by the program.

I am running Inkscape 0.48.2, Mac OS X 10.9.2 and downloaded Python 2.7 and 3.3, though I do not know if I have them communicating with the software.

If there is someone who knows what is happening here, it would be great to hear your thoughts.

Thanks, regards.

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

You probably experienced this known issue (or a related variation of it):
- Bug #168942 (sf1807880) “perspective extension fails on group with transforms”
  <https://bugs.launchpad.net/inkscape/+bug/168942>

Unfortunately, the fix for that bug is not included in the Inkscape package currently available for Mac OS X (Inkscape 0.48.2) - it was included in the later bug-fix release 0.48.3. Until newer OS X packages are available of later bug-fix releases (we are sorry for the delay of new packages for OS X), try to avoid resizing the page before using this extension.

Revision history for this message
su_v (suv-lp) said :
#2

On 2014-03-17 10:26 +0100, Logan wrote:
> I am running Inkscape 0.48.2, Mac OS X 10.9.2 and downloaded Python
> 2.7 and 3.3, though I do not know if I have them communicating with
> the software.

Inkscape relies on the python installations by Apple which are part of the system. If you applied the one-line fix described in <https://answers.launchpad.net/inkscape/+question/194132#comment-6> Inkscape will use the system python (installed as part of Mavericks), specifically version 2.6 in 32bit mode.

Custom Python versions installed yourself (via Installer, or via package manager like MacPorts, Fink or homebrew) will not be used (nor work) without additional changes to the application package, and are not recommended nor needed for the available Inkscape package for Mac OS X.

As a side note: Inkscape's python-based extensions are not yet compatible with Python 3.

Revision history for this message
Logan (log-dog) said :
#3

I see, oh well, can't be helped.

I'll just have to be patient.

Thanks for the update.

Regards.

Revision history for this message
su_v (suv-lp) said :
#4

Since modifying files inside the Inkscape application bundle went well for you earlier, you could try yet another modification (to get the fixed version of the perspective extension (and other later bug fixes too) to your installed version of Inkscape.app):

0) quit any running Inkscape processes
1) download this zip file
<https://dl.dropboxusercontent.com/u/65084033/answers/245604-perspective-error/extensions-048x.zip>
(It contains the latest versions of the extensions from the stable release branch (0.48.x))
2) unzip it (it will create a folder named 'extensions-048x')
3) browse to the Inkscape.app you currently have installed
   (the one you fixed earlier to prevent the lxml error message)
4) Select Inkscape.app and choose 'Show Package Contents' from the context menu
5) browse to 'Contents/Resources'
6) rename the folder 'extensions' to 'extensions-orig'
   (to be able to restore the old version if needed)
7) move the folder 'extensions-048x' here ('Contents/Resources') and rename it to 'extensions'

Now test perspective again…

If other extensions fail after this update, let me know about it here, and I'll try to help…

Can you help with this problem?

Provide an answer of your own, or ask Logan for more information if necessary.

To post a message you must log in.