Re: All works well on PC Linux 2007
Originally Posted by
gorbehnare
I have just one problem thou: I cannot export to SVG and I get the following error (a bug perhabs?):
I've seen (and had) this problem in the past when trying to export SVG. If I'm remembering correctly, the problem is that xara can't find the xarasvgfilter executable properly, and then gives you the (potentially bogus) error saying that it returned an error.
In my case, this was caused by using the autopackage tool to install xaralx. I ran the tool as myself and not root, so instead of installing under /usr, it installs in $HOME/.local/ instead. When this happens, your .bashrc (or whatever you're using) is automatically updated to have a line at the end that adds $HOME/.local/ to your path.
The problem with this is that your .bashrc (or whatever) is only read when you initially log in, or when you open a new terminal. Your X window manager inherits the path that was in place at the time you started it, and doesn't update unless you restart it.
So if you run the autopackage installer to install xaralx as yourself and not root, and then use the icon that it makes for you to start xaralx, it uses the path that doesn't include where xaralx is stored, and xara works otherwise but the SVG export fails. If you restart your window manager, or start xara from a terminal that has the correct path, this error should be resolved.
A couple of notes on this, however:- I think this actually *is* a bug, because the code is supposed to look in the path that the xara executable is being stored in, but this doesn't seem to work if it's not installed under /usr (unless this has been fixed since I had this problem).
- I'm not entirely sure that SVG export actually works, so it may be moot. I've imported SVG before, but trying to export a simple SVG of a rectangle and then importing that doesn't work. I don't have anything else that might import an SVG, so I don't know if it's failing to export proper SVG or what.
This signature would be seven words long if it was six words shorter.
Bookmarks