Opened 15 years ago

Closed 8 years ago

#5 closed defect (invalid)

ZeroDivisionError: float division in reproject

Reported by: h4ck3rm1k3 Owned by: jef
Component: QGIS Severity: critical
Keywords: Cc:

Description

Friday, February 19, 2010 /usr/share/qgis/python/plugins/fTools/tools/doReProject.py

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/fTools/tools/doReProject.py", line 58, in accept
    if self.reProject(inName, unicode(outPath), unicode(outProj), self.rdoProjection.isChecked(), self.progressBar):
  File "/usr/share/qgis/python/plugins/fTools/tools/doReProject.py", line 122, in reProject
    if self.pointReproject(vlayer, xform, writer, progressBar): return True
  File "/usr/share/qgis/python/plugins/fTools/tools/doReProject.py", line 157, in pointReproject
    count = 90.00 / provider.featureCount()
ZeroDivisionError: float division

Python version:
2.6.4 (r264:75706, Dec  7 2009, 19:02:09)
[GCC 4.4.1]

Python path: ['/usr/share/qgis/python', '/home/mdupont/.qgis//python', '/home/mdupont/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', '/usr/share/qgis/python/plugins/fTools/tools']

Change History (1)

comment:1 by Bas Couwenberg, 8 years ago

Resolution: invalid
Status: newclosed

Apparently nobody handles Trac tickets. Closing this ancient issue as the Ubuntu release in question is EOL.

Note: See TracTickets for help on using tickets.