#6173 closed defect (fixed)
gdalmove.py unpack error
Reported by: | dustymugs | Owned by: | hobu |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.2 |
Component: | PythonBindings | Version: | 2.0.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
Seeing the following with 2.0.1
Traceback (most recent call last): File "/usr/local/bin/gdalmove.py", line 266, in <module> move( filename, t_srs, s_srs, pixel_threshold ) File "/usr/local/bin/gdalmove.py", line 118, in move (x,inv_new_gt) = gdal.InvGeoTransform( new_gt ) ValueError: too many values to unpack
Fix is to change the value of line 118 to
inv_new_gt = gdal.InvGeoTransform( new_gt )
Change History (3)
comment:1 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.0.1 → 2.0.0 |
comment:2 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
Thanks
trunk r31140, branches/2.0 r31142 "gdalmove.py: fix to run with GDAL 2.0 gdal.InvGeoTransform() signature (fix by dustymugs)"
trunk r31141 "Add gdalmove.py testing (#6173)"