Opened 15 years ago

Closed 14 years ago

Last modified 12 years ago

#11609 closed (fixed)

Allow for long pointer format in django.contrib.gis.gdal.base

Reported by: rmkemker Owned by: nobody
Component: GIS Version: 1.1-beta
Severity: Keywords: gdal.base
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

My apache webserver is outputting long pointer types for the ESRI Driver. Adding a check for the long format and then converting it to int allows for the webserver to work correctly.

Attachments (2)

base.py (1.2 KB ) - added by rmkemker 15 years ago.
django.contrib.gis.gdal.base
base.2.py (1.1 KB ) - added by starsareblueandfaraway 15 years ago.
You do not need to type-cast the long into an integer

Download all attachments as: .zip

Change History (10)

by rmkemker, 15 years ago

Attachment: base.py added

django.contrib.gis.gdal.base

comment:1 by rmkemker, 15 years ago

milestone: 1.2

comment:2 by rmkemker, 15 years ago

Version: 1.01.1-beta-1

in reply to:  description comment:3 by starsareblueandfaraway, 15 years ago

Replying to rmkemker:

My apache webserver is outputting long pointer types for the ESRI Driver. Adding a check for the long format and then converting it to int allows for the webserver to work correctly.

I am having the same problem. Can someone please address this issue?

by starsareblueandfaraway, 15 years ago

Attachment: base.2.py added

You do not need to type-cast the long into an integer

comment:4 by Tobias McNulty, 14 years ago

Has patch: unset
Needs tests: set
Patch needs improvement: set

You need to provide a patch, not a copy of a source code file. http://docs.djangoproject.com/en/dev/internals/contributing/#patch-style

You will probably also need a test to demonstrate that there's a problem (and that your proposed fix actually fixes it).

comment:5 by Cliff Dyer, 14 years ago

Component: Contrib appsGIS
Triage Stage: UnreviewedAccepted

comment:6 by jbronn, 14 years ago

Resolution: fixed
Status: newclosed

(In [12006]) Fixed #11609 -- The check_pointer error checking routine and GDALBase._set_ptr are now able to handle the long pointer addresses used by some x86_64 platforms. Thanks, rmkemker, for the bug report.

comment:7 by jbronn, 14 years ago

(In [12007]) [1.1.X] Fixed #11609 -- The check_pointer error checking routine and GDALBase._set_ptr are now able to handle the long pointer addresses used by some x86_64 platforms. Thanks, rmkemker, for the bug report.

Backport of r12006 from trunk.

comment:8 by Jacob, 12 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top