thuban and wxwidgets 2.8
Jachym Cepicky
jachym.cepicky at gmail.com
Tue May 22 11:47:38 CEST 2007
Hi,
helped.
Now, when I try to add raster layer, new window appears with:
An unhandled exception occurred:
global name 'filename' is not defined
(please report to http://thuban.intevation.org/bugtracker.html)
Traceback (most recent call last):
File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 299, in
invoke_command
command.Execute(self.Context())
File "/usr/lib/thuban/Thuban/UI/command.py", line 121, in Execute
apply(self.function, (context,) + self.args + args, kw)
File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 1071, in
call_method
apply(getattr(context.mainwindow, methodname), args)
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
and gdalinfo says:
gdalinfo ~/data/krnap/rez_ta37.tif
Driver: GTiff/GeoTIFF
Size is 1179, 1054
Coordinate System is `'
Origin = (-659287.500000000000000,-975219.000000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)
Metadata:
TIFFTAG_XRESOLUTION=300
TIFFTAG_YRESOLUTION=300
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Corner Coordinates:
Upper Left ( -659287.500, -975219.000)
Lower Left ( -659287.500, -975746.000)
Upper Right ( -658698.000, -975219.000)
Lower Right ( -658698.000, -975746.000)
Center ( -658992.750, -975482.500)
Band 1 Block=1179x1 Type=Byte, ColorInterp=Red
Band 2 Block=1179x1 Type=Byte, ColorInterp=Green
Band 3 Block=1179x1 Type=Byte, ColorInterp=Blue
is this common?
jachym
Bernhard Herzog píše v Út 22. 05. 2007 v 10:56 +0200:
> On Tuesday 22 May 2007 10:47, Jachym Cepicky wrote:
> > exactly, python 2.5 here
> >
> > what should I do?
>
> I've just checked in a fix (rev. 2770). Please try again.
>
> Bernhard
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
--
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/1fd513b2/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)