[thuban-Bugs][98] problem accessing database tables with 1.1.0 version : point layers

thuban-bugs@wald.intevation.org thuban-bugs at wald.intevation.org
Wed Apr 19 17:06:42 CEST 2006


Bugs item #98, was opened at 2006-04-19 17:06
You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=98&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: problem accessing database tables with 1.1.0 version : point layers 
Resolution: None
Version: None
Category: None


Initial Comment:
When trying to access a point layer in a postgis database, i get the following error : 

AttributeError: 'NoneType' object has no attribute 'vertices'
Traceback (most recent call last):
  File "/home/did/projets/python/thuban/thuban/Thuban/UI/view.py", line 209, in _do_redraw
    if self.render_iter.next():
  File "/home/did/projets/python/thuban/thuban/Thuban/UI/view.py", line 275, in _render_iterator
    for cont in renderer.draw_selection_incrementally(layer, shapes):
  File "/home/did/projets/python/thuban/thuban/Thuban/UI/renderer.py", line 279, in draw_selection_incrementally
    data = shape.Points()
  File "/home/did/projets/python/thuban/thuban/Thuban/Model/data.py", line 78, in Points
    points = shape.vertices()


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

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=98&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)