#27960: ds = DataSource('/path/to/your/cities.shp') fails on first try
(GDALException Unknown error code: "198770787"), but works on second
-----------------------------------+--------------------------------------
Reporter: Etiënne Thomassen | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.10
Severity: Normal | Resolution:
Keywords: DataSource, GIS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Comment (by Etiënne Thomassen):
Replying to [comment:5 Sergey Fedoseev]:
> Replying to [ticket:27960 Etiënne Thomassen]:
>
> I can't reproduce it. I tried both on master and on 1.10.
>
> Could you try to replace
> {{{
> register_all = void_output(std_call('GDALAllRegister'), [])
> }}}
> with
> {{{
> register_all = void_output(std_call('GDALAllRegister'), [],
errcheck=False)
> }}}
> in `django/contrib/gis/gdal/prototypes/raster.py` and say if it works
for you?
This works!
--
Ticket URL: <https://code.djangoproject.com/ticket/27960#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/074.1b6b373af276620320272e4a6abe919f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.