On Mon, 16 Jan 2012, Jeremy Sanders wrote:
On 16/01/12 16:27, M. Ignacio Monge García wrote:
Hi Jeremy,
I'm extensively using Veusz in my Windows, Mac and Linux machines.
However, every time I imported a file and linking to the veus file I
have problems using it in the other machines. My linux machine did no
recognize the Windows path to file, so I can't use in Linux. I think it
would be a nice idea to use relative path to the linked file, don't you
think so?
Hi Ignacio
I think if you look at your saved file in a text editor, you should see
that Veusz is using relative paths (plus including a default import
path). I think the trouble is that Windows has paths with "\" separators
and Unix has "/", so Linux can't interpret the Windows relative paths.
I could replace the "\"s with "/"s in the paths, but I don't know how
many Windows users are out there with the character "/" in file names
(or whether that is allowed).
Maybe Veusz could include the type of system which generated the path
and try to convert that, or write paths as ("..", "mydir", "test.dat")
in the saved file.
I think in python you can abstract the directory separator using
os.pathsep
from the os module
best,
Ricardo Reis
'Non Serviam'
Computational Fluid Dynamics, High Performance Computing, Turbulence
http://www.lasef.ist.utl.pt
Cultural Instigator @ Rádio Zero
http://www.radiozero.pt
http://www.flickr.com/photos/rreis/
contacts: gtalk: [email protected] skype: kyriusan
Institutional Address:
Ricardo J.N. dos Reis
IDMEC, Instituto Superior Técnico, Technical University of Lisbon
Av. Rovisco Pais
1049-001 Lisboa
Portugal
- email sent with alpine 2.00 -_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss