librelist archives

« back to archive

GeoNode on a Mac

GeoNode on a Mac

From:
Paolo Pasquali
Date:
2012-03-05 @ 20:11
Hi,
has anyone successfully compiled GeoNode on OS X Lion?
I'm stuck at paver build
Build failed: Unknown task: build

I had no problem using VirtualBox but I made another try with the new
release.
Thanks,
Bye

Paolo

--------------------
Paolo Pasquali
ITHACA - Information Technology for Humanitarian Assistance, Cooperation
and Action
via Pier Carlo Boggio, 61
10138 Torino - Italy
Tel. +39 011 1975 1872
Fax +39 011 1975 1122

Re: [geonode] GeoNode on a Mac

From:
Jeffrey Johnson
Date:
2012-03-05 @ 20:15
Yes, I am currently developing GeoNode on OSX Lion and just did the
deployment last week on a fresh Lion Box.

How are you installing the dependencies? I'm using HomeBrew, but have
heard of people having success with the KyngChaos binaries.

Can you give a more complete stack trace on that paver build problem?
Seems like you might not be in the right directory when executing it
or didnt successfully run the bootstrap script beforehand. Hard to
tell without more context.

Jeff

On Mon, Mar 5, 2012 at 12:11 PM, Paolo Pasquali
<paolo.pasquali@ithaca.polito.it> wrote:
> Hi,
> has anyone successfully compiled GeoNode on OS X Lion?
> I'm stuck at paver build
> Build failed: Unknown task: build
>
> I had no problem using VirtualBox but I made another try with the new
> release.
> Thanks,
> Bye
>
> Paolo
>
> --------------------
> Paolo Pasquali
> ITHACA - Information Technology for Humanitarian Assistance, Cooperation and
> Action
> via Pier Carlo Boggio, 61
> 10138 Torino - Italy
> Tel. +39 011 1975 1872
> Fax +39 011 1975 1122
>
>

Re: [geonode] GeoNode on a Mac

From:
Paolo Pasquali
Date:
2012-03-05 @ 21:44
I used macports. I recently removed Xcode and installed "Command Line Tools
for Xcode" from Apple and OSX-GCC-Installer by K. Reitz.
Following that's what I did. Thanks for your help.

Paolo@ithaca_paolo[/home/geonode]:python bootstrap.py
New python executable in ./bin/python
Installing setuptools..................done.
Installing pip.............done.
Searching for paver==1.0.1
Best match: Paver 1.0.1
Processing Paver-1.0.1-py2.7.egg
Paver 1.0.1 is already the active version in easy-install.pth
Installing paver script to /home/geonode/bin

Using /home/geonode/lib/python2.7/site-packages/Paver-1.0.1-py2.7.egg
Processing dependencies for paver==1.0.1
Finished processing dependencies for paver==1.0.1
Searching for pip
Best match: pip 1.1
Processing pip-1.1-py2.7.egg
pip 1.1 is already the active version in easy-install.pth
Installing pip script to /home/geonode/bin
Installing pip-2.7 script to /home/geonode/bin

Using /home/geonode/lib/python2.7/site-packages/pip-1.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
Paolo@ithaca_paolo[/home/geonode]:source bin/activate
(geonode)Paolo@ithaca_paolo[/home/geonode]:paver build
Build failed: Unknown task: build







On Mon, Mar 5, 2012 at 9:15 PM, Jeffrey Johnson <jjohnson@opengeo.org>wrote:

> Yes, I am currently developing GeoNode on OSX Lion and just did the
> deployment last week on a fresh Lion Box.
>
> How are you installing the dependencies? I'm using HomeBrew, but have
> heard of people having success with the KyngChaos binaries.
>
> Can you give a more complete stack trace on that paver build problem?
> Seems like you might not be in the right directory when executing it
> or didnt successfully run the bootstrap script beforehand. Hard to
> tell without more context.
>
> Jeff
>
> On Mon, Mar 5, 2012 at 12:11 PM, Paolo Pasquali
> <paolo.pasquali@ithaca.polito.it> wrote:
> > Hi,
> > has anyone successfully compiled GeoNode on OS X Lion?
> > I'm stuck at paver build
> > Build failed: Unknown task: build
> >
> > I had no problem using VirtualBox but I made another try with the new
> > release.
> > Thanks,
> > Bye
> >
> > Paolo
> >
> > --------------------
> > Paolo Pasquali
> > ITHACA - Information Technology for Humanitarian Assistance, Cooperation
> and
> > Action
> > via Pier Carlo Boggio, 61
> > 10138 Torino - Italy
> > Tel. +39 011 1975 1872
> > Fax +39 011 1975 1122
> >
> >
>

Re: [geonode] GeoNode on a Mac

From:
Jeffrey Johnson
Date:
2012-03-06 @ 19:20
And at this paver build step, you are getting an error that paver cant
find the build step? That would be very weird and not something I have
encountered before. If bootstrap.py completed without any issues, then
Im kind of stumped what could be the problem with paver. Could you
paste the full stack trace from the error that paver threw?

Hope we can get this solved!

Jeff

On Mon, Mar 5, 2012 at 1:44 PM, Paolo Pasquali
<paolo.pasquali@ithaca.polito.it> wrote:
> I used macports. I recently removed Xcode and installed "Command Line Tools
> for Xcode" from Apple and OSX-GCC-Installer by K. Reitz.
> Following that's what I did. Thanks for your help.
>
> Paolo@ithaca_paolo[/home/geonode]:python bootstrap.py
> New python executable in ./bin/python
> Installing setuptools..................done.
> Installing pip.............done.
> Searching for paver==1.0.1
> Best match: Paver 1.0.1
> Processing Paver-1.0.1-py2.7.egg
> Paver 1.0.1 is already the active version in easy-install.pth
> Installing paver script to /home/geonode/bin
>
> Using /home/geonode/lib/python2.7/site-packages/Paver-1.0.1-py2.7.egg
> Processing dependencies for paver==1.0.1
> Finished processing dependencies for paver==1.0.1
> Searching for pip
> Best match: pip 1.1
> Processing pip-1.1-py2.7.egg
> pip 1.1 is already the active version in easy-install.pth
> Installing pip script to /home/geonode/bin
> Installing pip-2.7 script to /home/geonode/bin
>
> Using /home/geonode/lib/python2.7/site-packages/pip-1.1-py2.7.egg
> Processing dependencies for pip
> Finished processing dependencies for pip
> Paolo@ithaca_paolo[/home/geonode]:source bin/activate
> (geonode)Paolo@ithaca_paolo[/home/geonode]:paver build
> Build failed: Unknown task: build
>
>
>
>
>
>
>
> On Mon, Mar 5, 2012 at 9:15 PM, Jeffrey Johnson <jjohnson@opengeo.org>
> wrote:
>>
>> Yes, I am currently developing GeoNode on OSX Lion and just did the
>> deployment last week on a fresh Lion Box.
>>
>> How are you installing the dependencies? I'm using HomeBrew, but have
>> heard of people having success with the KyngChaos binaries.
>>
>> Can you give a more complete stack trace on that paver build problem?
>> Seems like you might not be in the right directory when executing it
>> or didnt successfully run the bootstrap script beforehand. Hard to
>> tell without more context.
>>
>> Jeff
>>
>> On Mon, Mar 5, 2012 at 12:11 PM, Paolo Pasquali
>> <paolo.pasquali@ithaca.polito.it> wrote:
>> > Hi,
>> > has anyone successfully compiled GeoNode on OS X Lion?
>> > I'm stuck at paver build
>> > Build failed: Unknown task: build
>> >
>> > I had no problem using VirtualBox but I made another try with the new
>> > release.
>> > Thanks,
>> > Bye
>> >
>> > Paolo
>> >
>> > --------------------
>> > Paolo Pasquali
>> > ITHACA - Information Technology for Humanitarian Assistance, Cooperation
>> > and
>> > Action
>> > via Pier Carlo Boggio, 61
>> > 10138 Torino - Italy
>> > Tel. +39 011 1975 1872
>> > Fax +39 011 1975 1122
>> >
>> >
>
>

Re: [geonode] GeoNode on a Mac

From:
Ariel Nunez
Date:
2012-03-06 @ 19:47
I have seen this in the past when I moved from Snow Leopard to Lion.

A change in the building tools breaks some python binaries, including
virtualenv. With the output given it is hard to debug, but it reminds
me of the problems I had when changing XCode versions.

I would create a venv from scratch, install paver with pip and the try
to run a stripped down version of geonode's pavement.py to debug
further.

Ariel

Sent from my iPhone

On Mar 6, 2012, at 2:20 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote:

> And at this paver build step, you are getting an error that paver cant
> find the build step? That would be very weird and not something I have
> encountered before. If bootstrap.py completed without any issues, then
> Im kind of stumped what could be the problem with paver. Could you
> paste the full stack trace from the error that paver threw?
>
> Hope we can get this solved!
>
> Jeff
>
> On Mon, Mar 5, 2012 at 1:44 PM, Paolo Pasquali
> <paolo.pasquali@ithaca.polito.it> wrote:
>> I used macports. I recently removed Xcode and installed "Command Line Tools
>> for Xcode" from Apple and OSX-GCC-Installer by K. Reitz.
>> Following that's what I did. Thanks for your help.
>>
>> Paolo@ithaca_paolo[/home/geonode]:python bootstrap.py
>> New python executable in ./bin/python
>> Installing setuptools..................done.
>> Installing pip.............done.
>> Searching for paver==1.0.1
>> Best match: Paver 1.0.1
>> Processing Paver-1.0.1-py2.7.egg
>> Paver 1.0.1 is already the active version in easy-install.pth
>> Installing paver script to /home/geonode/bin
>>
>> Using /home/geonode/lib/python2.7/site-packages/Paver-1.0.1-py2.7.egg
>> Processing dependencies for paver==1.0.1
>> Finished processing dependencies for paver==1.0.1
>> Searching for pip
>> Best match: pip 1.1
>> Processing pip-1.1-py2.7.egg
>> pip 1.1 is already the active version in easy-install.pth
>> Installing pip script to /home/geonode/bin
>> Installing pip-2.7 script to /home/geonode/bin
>>
>> Using /home/geonode/lib/python2.7/site-packages/pip-1.1-py2.7.egg
>> Processing dependencies for pip
>> Finished processing dependencies for pip
>> Paolo@ithaca_paolo[/home/geonode]:source bin/activate
>> (geonode)Paolo@ithaca_paolo[/home/geonode]:paver build
>> Build failed: Unknown task: build
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Mar 5, 2012 at 9:15 PM, Jeffrey Johnson <jjohnson@opengeo.org>
>> wrote:
>>>
>>> Yes, I am currently developing GeoNode on OSX Lion and just did the
>>> deployment last week on a fresh Lion Box.
>>>
>>> How are you installing the dependencies? I'm using HomeBrew, but have
>>> heard of people having success with the KyngChaos binaries.
>>>
>>> Can you give a more complete stack trace on that paver build problem?
>>> Seems like you might not be in the right directory when executing it
>>> or didnt successfully run the bootstrap script beforehand. Hard to
>>> tell without more context.
>>>
>>> Jeff
>>>
>>> On Mon, Mar 5, 2012 at 12:11 PM, Paolo Pasquali
>>> <paolo.pasquali@ithaca.polito.it> wrote:
>>>> Hi,
>>>> has anyone successfully compiled GeoNode on OS X Lion?
>>>> I'm stuck at paver build
>>>> Build failed: Unknown task: build
>>>>
>>>> I had no problem using VirtualBox but I made another try with the new
>>>> release.
>>>> Thanks,
>>>> Bye
>>>>
>>>> Paolo
>>>>
>>>> --------------------
>>>> Paolo Pasquali
>>>> ITHACA - Information Technology for Humanitarian Assistance, Cooperation
>>>> and
>>>> Action
>>>> via Pier Carlo Boggio, 61
>>>> 10138 Torino - Italy
>>>> Tel. +39 011 1975 1872
>>>> Fax +39 011 1975 1122
>>>>
>>>>
>>
>>

Re: [geonode] GeoNode on a Mac

From:
Paolo Pasquali
Date:
2012-03-06 @ 20:42
There is not additional output from paver.
It sounds like Ariel is right. Simone compiled GeoNode with Snow Leopard
some months ago while I couldn't because I switched to Lion.
I think something went wrong while upgrading XCode (I had issues with GCC).

Paolo


On Tue, Mar 6, 2012 at 8:47 PM, Ariel Nunez <ingenieroariel@gmail.com>wrote:

> I have seen this in the past when I moved from Snow Leopard to Lion.
>
> A change in the building tools breaks some python binaries, including
> virtualenv. With the output given it is hard to debug, but it reminds
> me of the problems I had when changing XCode versions.
>
> I would create a venv from scratch, install paver with pip and the try
> to run a stripped down version of geonode's pavement.py to debug
> further.
>
> Ariel
>
> Sent from my iPhone
>
> On Mar 6, 2012, at 2:20 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote:
>
> > And at this paver build step, you are getting an error that paver cant
> > find the build step? That would be very weird and not something I have
> > encountered before. If bootstrap.py completed without any issues, then
> > Im kind of stumped what could be the problem with paver. Could you
> > paste the full stack trace from the error that paver threw?
> >
> > Hope we can get this solved!
> >
> > Jeff
> >
> > On Mon, Mar 5, 2012 at 1:44 PM, Paolo Pasquali
> > <paolo.pasquali@ithaca.polito.it> wrote:
> >> I used macports. I recently removed Xcode and installed "Command Line
> Tools
> >> for Xcode" from Apple and OSX-GCC-Installer by K. Reitz.
> >> Following that's what I did. Thanks for your help.
> >>
> >> Paolo@ithaca_paolo[/home/geonode]:python bootstrap.py
> >> New python executable in ./bin/python
> >> Installing setuptools..................done.
> >> Installing pip.............done.
> >> Searching for paver==1.0.1
> >> Best match: Paver 1.0.1
> >> Processing Paver-1.0.1-py2.7.egg
> >> Paver 1.0.1 is already the active version in easy-install.pth
> >> Installing paver script to /home/geonode/bin
> >>
> >> Using /home/geonode/lib/python2.7/site-packages/Paver-1.0.1-py2.7.egg
> >> Processing dependencies for paver==1.0.1
> >> Finished processing dependencies for paver==1.0.1
> >> Searching for pip
> >> Best match: pip 1.1
> >> Processing pip-1.1-py2.7.egg
> >> pip 1.1 is already the active version in easy-install.pth
> >> Installing pip script to /home/geonode/bin
> >> Installing pip-2.7 script to /home/geonode/bin
> >>
> >> Using /home/geonode/lib/python2.7/site-packages/pip-1.1-py2.7.egg
> >> Processing dependencies for pip
> >> Finished processing dependencies for pip
> >> Paolo@ithaca_paolo[/home/geonode]:source bin/activate
> >> (geonode)Paolo@ithaca_paolo[/home/geonode]:paver build
> >> Build failed: Unknown task: build
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Mon, Mar 5, 2012 at 9:15 PM, Jeffrey Johnson <jjohnson@opengeo.org>
> >> wrote:
> >>>
> >>> Yes, I am currently developing GeoNode on OSX Lion and just did the
> >>> deployment last week on a fresh Lion Box.
> >>>
> >>> How are you installing the dependencies? I'm using HomeBrew, but have
> >>> heard of people having success with the KyngChaos binaries.
> >>>
> >>> Can you give a more complete stack trace on that paver build problem?
> >>> Seems like you might not be in the right directory when executing it
> >>> or didnt successfully run the bootstrap script beforehand. Hard to
> >>> tell without more context.
> >>>
> >>> Jeff
> >>>
> >>> On Mon, Mar 5, 2012 at 12:11 PM, Paolo Pasquali
> >>> <paolo.pasquali@ithaca.polito.it> wrote:
> >>>> Hi,
> >>>> has anyone successfully compiled GeoNode on OS X Lion?
> >>>> I'm stuck at paver build
> >>>> Build failed: Unknown task: build
> >>>>
> >>>> I had no problem using VirtualBox but I made another try with the new
> >>>> release.
> >>>> Thanks,
> >>>> Bye
> >>>>
> >>>> Paolo
> >>>>
> >>>> --------------------
> >>>> Paolo Pasquali
> >>>> ITHACA - Information Technology for Humanitarian Assistance,
> Cooperation
> >>>> and
> >>>> Action
> >>>> via Pier Carlo Boggio, 61
> >>>> 10138 Torino - Italy
> >>>> Tel. +39 011 1975 1872
> >>>> Fax +39 011 1975 1122
> >>>>
> >>>>
> >>
> >>
>