Bug 1164776 - [abrt] gdal-python: gdal.py:784:WriteRaster:TypeError: not a string
Summary: [abrt] gdal-python: gdal.py:784:WriteRaster:TypeError: not a string
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gdal
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4b27b32e4e6ff285ee0a5c9d136...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-17 12:52 UTC by DefteZ
Modified: 2015-02-18 11:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:52:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (891 bytes, text/plain)
2014-11-17 12:52 UTC, DefteZ
no flags Details
File: environ (3.12 KB, text/plain)
2014-11-17 12:52 UTC, DefteZ
no flags Details

Description DefteZ 2014-11-17 12:52:31 UTC
Description of problem:
gdal2tiles.py --s_srs=EPSG:4326   --zoom=16-18 --title="Bykovnia" --copyright="tiles=Andrii Danyleiko, map=VikNick"  bykovnia.tif

Version-Release number of selected component:
gdal-python-1.9.2-8.fc19

Additional info:
reporter:       libreport-2.2.2
cmdline:        python /usr/bin/gdal2tiles.py --s_srs=EPSG:4326 --zoom=16-18 --title=Bykovnia '--copyright=tiles=Andrii Danyleiko, map=VikNick' bykovnia.tif
executable:     /usr/bin/gdal2tiles.py
kernel:         3.14.22-100.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
gdal.py:784:WriteRaster:TypeError: not a string

Traceback (most recent call last):
  File "/usr/bin/gdal2tiles.py", line 2241, in <module>
    gdal2tiles.process()
  File "/usr/bin/gdal2tiles.py", line 478, in process
    self.generate_base_tiles()
  File "/usr/bin/gdal2tiles.py", line 1276, in generate_base_tiles
    dsquery.WriteRaster(wx, wy, wxsize, wysize, data, band_list=list(range(1,self.dataBandsCount+1)))
  File "/usr/lib64/python2.7/site-packages/osgeo/gdal.py", line 784, in WriteRaster
    buf_pixel_space, buf_line_space, buf_band_space )
TypeError: not a string

Local variables in innermost frame:
band_list: [1, 2, 3]
buf_xsize: 0
self: <osgeo.gdal.Dataset; proxy of <Swig Object of type 'GDALDatasetShadow *' at 0x2d82930> >
ysize: 0
buf_line_space: None
buf_pixel_space: None
buf_ysize: 0
xsize: 0
buf_string: None
buf_type: 1
xoff: 205
yoff: 685
buf_band_space: None

Comment 1 DefteZ 2014-11-17 12:52:36 UTC
Created attachment 958230 [details]
File: backtrace

Comment 2 DefteZ 2014-11-17 12:52:40 UTC
Created attachment 958231 [details]
File: environ

Comment 3 Fedora End Of Life 2015-01-09 21:33:04 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-02-18 11:52:55 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.