Problem with locations.view in social_project

1 view
Skip to first unread message

Patrick Stainier

unread,
Dec 21, 2009, 4:59:34 PM12/21/09
to Pinax Users
Hello from Barcelona
I am having no luck making the social_project work in Pinax 0.71. From
what I could see it looks like locations views won't import
geopy.units, which is actually the case when I try to import it with
the python console. Any hint? I worked fine with earlier versions.
All the other projects work. I tried with the Django 1.04, then
upgraded to 1.1, reinstalled geopy and locations, but it didn't change
a thing.
Dev environment is virtualenvwrapper on a Mac Pro running OS 10.5.8.

geraldmc

unread,
Dec 24, 2009, 7:28:01 PM12/24/09
to Pinax Users
Patrick,

I had the same issue and fixed it by installing the reverse-geocode
branch of geopy. Make sure it's first on your PYTHONPATH.

svn checkout http://geopy.googlecode.com/svn/branches/reverse-geocode
geopy

cd geopy/
sudo python setup.py install

The version of geopy distributed with Pinax 0.71 seems to be broken
for our platform.

-g

Patrick Stainier

unread,
Dec 26, 2009, 10:33:33 AM12/26/09
to Pinax Users
Merry X-Mas and a Happy New year to you all. Just a quick reply to say
that Gerald's solution worked. He nicely sent it to me via PM just in
case. Thought I'd give some feedback here.

On Dec 25, 1:28 am, geraldmc <gmccol...@gmail.com> wrote:
> Patrick,
>
> I had the same issue and fixed it by installing the reverse-geocode
> branch of geopy. Make sure it's first on your PYTHONPATH.
>

> svn checkouthttp://geopy.googlecode.com/svn/branches/reverse-geocode

Reply all
Reply to author
Forward
0 new messages