thuban and wxwidgets 2.8

Bernhard Herzog bh at intevation.de
Tue May 22 12:23:45 CEST 2007


On Tuesday 22 May 2007 11:47, Jachym Cepicky wrote:
>   File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 595, in
> AddRasterLayer
>     title = os.path.splitext(os.path.basename(filename))[0]
> NameError: global name 'filename' is not defined

You stumbled onto another Thuban bug.  AFAICT, this one was introduced with 
rev. 2761.  I don't have the time to debug this further or to fix it.  A fix 
would likely simply loop over the list of the filenames in filenames just as 
in the AddLayer method.

   Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/2c7b1205/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)