geodjango application in rhel 6

17 views
Skip to first unread message

Anju SB

unread,
Nov 5, 2014, 1:52:48 AM11/5/14
to django...@googlegroups.com

Friends,

     I have developed a geodjango application using python 2.7, django 1.4, mapnik, tilecache and postgis enabled postgresql in ubuntu 12.04. After completing the development I installed the same application in RHEL 6, but postgis query using geodjango API is not working. The query is

the_geom is geometry value from another table

placeDet = MyModel.objects.filter(thegeom__dwithin=(the_geom, 250)).distance(the_geom).order_by('distance')

and in the Excepton it shows the error as,

'NoneType' object has no attribute 'group'


Please help me to solve this issue!

 

Collin Anderson

unread,
Nov 12, 2014, 3:05:52 PM11/12/14
to django...@googlegroups.com
Hello,

It could help to post a traceback if you are still running into the problem.

Thanks,
Collin

Reply all
Reply to author
Forward
0 new messages