svgexport "bug"

Didrik Pinte dpinte at itae.be
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/__init__.py :
------------------------------------------------------------------------
try:
    dummy = environ["DISPLAY"]
    import svgsaver
    import maplegend
except:
    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.

Didrik
-------------- 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 : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/06bdef85/attachment.bin


More information about the Thuban-devel mailing list

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