svgexport "bug"

Didrik Pinte dpinte at
Wed Apr 12 13:51:22 CEST 2006

Le mercredi 12 avril 2006 à 12:35 +0200, Bernhard Reiter a écrit :
> There should be an extra top level menu "Extensions"
> which should have "Write SVG Map" and "Write SVG Legend".

The Extensions  menu is there but nothing related to SVG in it.

Normal, here is the problem : svgexport/ :
    dummy = environ["DISPLAY"]
    import svgsaver
    import maplegend
    pass # we don't have a DISPLAY, so don't import the modules
         # (we probably are in test-mode)
         # Not sure whether this is the best method to avoid problems
         # in the global test routine.

There is no DISPLAY variable on my Windows system. Commenting the line,
it works fine and seems to export without any error messages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url :

More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)