[thuban-Bugs][87] svgexport bug for win32

thuban-bugs@wald.intevation.org thuban-bugs at wald.intevation.org
Wed Apr 12 15:21:36 CEST 2006


Bugs item #87, was opened at 2006-04-12 15:21
You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=87&group_id=6
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Status: Open
Priority: 3
Submitted By: Didrik Pinte (dpinte)
Assigned to: Nobody (None)
Summary: svgexport bug for win32 
Resolution: None
Version: None
Category: None


Initial Comment:
The __init__.py file prevents the use of svgexport on win32 computers :

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 a default win32 system.

Commenting the use of DISPLAY make the extension work fine on my win32 system

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=87&group_id=6




More information about the Thuban-devel mailing list

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