[bug #2966] (thuban) Crash on full map extent with postgis layer

Request Tracker thuban-bugs at intevation.de
Fri Feb 4 18:52:17 CET 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=2966
-------------------------------------------------------------------------

Subject: Crash on full map extent with postgis layer

Operating System: GNU/Linux, Debian sarge+unstable debiangis
Thuban version: 1.0.0, 1.0.0-1 .deb
wxPython version: other, libwxgtk2.4-python 2.4.2.6 .deb 
Python version: other, 2.3.4-4 .deb
PySQLite version: other, python-sqlite 1.0.1-1 .deb
SQLite version: other, 2.8.15-3 .deb
GDAL version: 1.2.5, libgdal1 1.2.5-1 .deb
proj version: other, 4.4.9-1 .deb



(Unhandled exception thrown: (approx translation))
Une exception non gérée a été déclenchée:
ERROR:  current transaction is aborted, commands ignored until end of transaction block

SELECT extent("wkb_geometry") FROM "prov_ab";
(veuillez faire un rapport à l'adresse http://thuban.intevation.org/bugtracker.html)
(Please submit bug report at:) 

Traceback (most recent call last):
  File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 282, 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 946, in call_method
    apply(getattr(context.mainwindow, methodname), args)
  File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 851, in FullExtent
    self.canvas.FitMapToWindow()
  File "/usr/lib/thuban/Thuban/UI/viewport.py", line 454, in FitMapToWindow
    bbox = self.map.ProjectedBoundingBox()
  File "/usr/lib/thuban/Thuban/Model/map.py", line 209, in ProjectedBoundingBox
    bbox = self.BoundingBox()
  File "/usr/lib/thuban/Thuban/Model/map.py", line 188, in BoundingBox
    bbox = layer.LatLongBoundingBox()
  File "/usr/lib/thuban/Thuban/Model/layer.py", line 168, in LatLongBoundingBox
    bbox = self.BoundingBox()
  File "/usr/lib/thuban/Thuban/Model/layer.py", line 161, in BoundingBox
    return self.store.BoundingBox()
  File "/usr/lib/thuban/Thuban/Model/postgisdb.py", line 425, in BoundingBox
    cursor.execute("SELECT extent(%s) FROM %s;"
ProgrammingError: ERROR:  current transaction is aborted, commands ignored until end of transaction block

SELECT extent("wkb_geometry") FROM "prov_ab";


-------------------------------------------- Managed by Request Tracker




More information about the Thuban-devel mailing list

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