shapelib bug ?

Didrik Pinte lists at dipole-consulting.com
Fri Oct 23 11:52:07 CEST 2009


Hi Bram,

Using latest Thuban trunk, when opening a shapefile, I have the
following error :

An unhandled exception occurred:
3
(please report to http://thuban.intevation.org/bugtracker.html)

Traceback (most recent call last):
  File
"/home/did/source/python/thuban/current/thuban/Thuban/UI/mainwindow.py",
line 334, in invoke_command
    command.Execute(self.Context())
  File
"/home/did/projets/python/thuban/current/thuban/Thuban/UI/command.py",
line 121, in Execute
  File
"/home/did/source/python/thuban/current/thuban/Thuban/UI/mainwindow.py",
line 1109, in call_method
    apply(getattr(context.mainwindow, methodname), args)
  File
"/home/did/source/python/thuban/current/thuban/Thuban/UI/mainwindow.py",
line 610, in AddLayer
    store = self.application.Session().OpenShapefile(filename)
  File
"/home/did/projets/python/thuban/current/thuban/Thuban/Model/session.py", line 296, in OpenShapefile
  File
"/home/did/projets/python/thuban/current/thuban/Thuban/Model/data.py",
line 201, in __init__
  File
"/home/did/source/python/thuban/current/thuban/Thuban/Model/table.py",
line 102, in __init__
    ftype = dbflib_fieldtypes[ftype]
KeyError: 3


I have no time to check if it is related to the new changes. Would you
have some minute to check that  ?

Thanks

-- Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20091023/58884141/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)