#7126: select_related(field) doesn't correctly SELECT GIS fields on MySQL/Oracle
------------------------------------------+---------------------------------
          Reporter:  [email protected]  |         Owner:  jbronn              
           
            Status:  reopened             |     Milestone:                      
           
         Component:  GIS                  |       Version:  gis                 
           
        Resolution:                       |      Keywords:  select_related gis 
oracle mysql
             Stage:  Accepted             |     Has_patch:  1                   
           
        Needs_docs:  0                    |   Needs_tests:  1                   
           
Needs_better_patch:  0                    |  
------------------------------------------+---------------------------------
Changes (by sdonk):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I'm getting the same error using Python2.6, Django 1.2.4 and MySQL 5.1.49

 {{{
 Traceback (most recent call last):
   File "<console>", line 2, in <module>
   File "/usr/local/lib/python2.6/dist-
 packages/django/contrib/gis/db/models/proxy.py", line 38, in __get__
     geom = self._klass(geom_value)
   File "/usr/local/lib/python2.6/dist-
 packages/django/contrib/gis/geos/geometry.py", line 73, in __init__
     raise ValueError('String or unicode input unrecognized as WKT EWKT,
 and HEXEWKB.')
 ValueError: String or unicode input unrecognized as WKT EWKT, and HEXEWKB.

 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7126#comment:9>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to