librelist archives

« back to archive

geonode-client ant debug error

geonode-client ant debug error

From:
Dmitriy Tyugaev
Date:
2011-04-21 @ 07:30
Hello,

I tried to deploy "geonode-client" project as written in the instructions:

$ git clone git://github.com/GeoNode/geonode-client.git geonode-client
$ cd geonode-client
$ ant init
$ ant debug

but got an error at the fourth step "ant debug". Look please:

debug:
[java] 0 [main] INFO ringo.webapp.daemon - init
  [java] Error: failed to list directory
/tmp/geonode-client/app/static/externals/PrintPreview/lib (fs.js#482)
[java] at fs.js:482 (list)
[java] at fs.js:233 (listTree)
[java] at buildkit/assets.js:9 (anonymous)
[java] at buildkit/merge.js:79 (anonymous)
[java] at autoloader.js:94 (anonymous)
[java] at config.js:14
[java] at ringo/webapp/daemon.js:61 (init)
[java] at ringo/webapp.js:265 (main)
  [java] at /tmp/geonode-client/app/main.js:6

[java] Java Result: 255

Tell me please how it can be solved?
Thanks for the help.

--
Dmitriy Tyugaev

Re: [geonode] geonode-client ant debug error

From:
Andreas Hocevar
Date:
2011-04-21 @ 13:26
Hey,

looks like you forgot to do

git submodule init
git submodule update

after checking out from git.

Andreas.

On Apr 21, 2011, at 09:30 , Dmitriy Tyugaev wrote:

> Hello,
> 
> I tried to deploy "geonode-client" project as written in the instructions:
> 
> $ git clone git://github.com/GeoNode/geonode-client.git geonode-client
> $ cd geonode-client
> $ ant init
> $ ant debug
> 
> but got an error at the fourth step "ant debug". Look please:
> 
> debug:
> [java] 0 [main] INFO ringo.webapp.daemon - init
>   [java] Error: failed to list directory 
/tmp/geonode-client/app/static/externals/PrintPreview/lib (fs.js#482)
> [java] at fs.js:482 (list)
> [java] at fs.js:233 (listTree)
> [java] at buildkit/assets.js:9 (anonymous)
> [java] at buildkit/merge.js:79 (anonymous)
> [java] at autoloader.js:94 (anonymous)
> [java] at config.js:14
> [java] at ringo/webapp/daemon.js:61 (init)
> [java] at ringo/webapp.js:265 (main)
>   [java] at /tmp/geonode-client/app/main.js:6
> 
> [java] Java Result: 255
> 
> Tell me please how it can be solved?
> Thanks for the help.
> 
> --
> Dmitriy Tyugaev

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

Re: [geonode] geonode-client ant debug error

From:
Dmitriy Tyugaev
Date:
2011-04-22 @ 08:10
Hi,

That worked. Thanks! But now I have another question. When I set the
GEONODE_CLIENT_LOCATION entry in my local_settings.py to
http://mydomain.com:8000/ I get a 20 identical errors in firebug:

P.prototype is undefined
F.prototype = P.prototype;   Class.js (line 102)

There is no network errors and all script files are successfully fetched by
the browser.
But the most interesting thing is that if I build the "geonode-client" with
"ant zip" and use it in the working geonode there is no any errors.

What's wrong?

On Thu, Apr 21, 2011 at 5:26 PM, Andreas Hocevar <ahocevar@opengeo.org>wrote:

> Hey,
>
> looks like you forgot to do
>
> git submodule init
> git submodule update
>
> after checking out from git.
>
> Andreas.
>
> On Apr 21, 2011, at 09:30 , Dmitriy Tyugaev wrote:
>
> > Hello,
> >
> > I tried to deploy "geonode-client" project as written in the
> instructions:
> >
> > $ git clone git://github.com/GeoNode/geonode-client.git geonode-client
> > $ cd geonode-client
> > $ ant init
> > $ ant debug
> >
> > but got an error at the fourth step "ant debug". Look please:
> >
> > debug:
> > [java] 0 [main] INFO ringo.webapp.daemon - init
> >   [java] Error: failed to list directory
> /tmp/geonode-client/app/static/externals/PrintPreview/lib (fs.js#482)
> > [java] at fs.js:482 (list)
> > [java] at fs.js:233 (listTree)
> > [java] at buildkit/assets.js:9 (anonymous)
> > [java] at buildkit/merge.js:79 (anonymous)
> > [java] at autoloader.js:94 (anonymous)
> > [java] at config.js:14
> > [java] at ringo/webapp/daemon.js:61 (init)
> > [java] at ringo/webapp.js:265 (main)
> >   [java] at /tmp/geonode-client/app/main.js:6
> >
> > [java] Java Result: 255
> >
> > Tell me please how it can be solved?
> > Thanks for the help.
> >
> > --
> > Dmitriy Tyugaev
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
>

Re: [geonode] geonode-client ant debug error

From:
Andreas Hocevar
Date:
2011-04-25 @ 12:06
Are you debugging with Firefox 4? This is not yet supported. It requires a
change to the script loader to always use document.write for appending
scripts. This prevents parallel script loading, and has the side effect of
making debugging slower on other browsers as well.

In the meantime, please use a different browser for debugging.

Regards,
Andreas.

On Apr 22, 2011 10:11 AM, "Dmitriy Tyugaev" <dmitriy.tyugaev@gmail.com>
wrote:

Hi,

That worked. Thanks! But now I have another question. When I set the
GEONODE_CLIENT_LOCATION entry in my local_settings.py to
http://mydomain.com:8000/ I get a 20 identical errors in firebug:

P.prototype is undefined
F.prototype = P.prototype;   Class.js (line 102)

There is no network errors and all script files are successfully fetched by
the browser.
But the most interesting thing is that if I build the "geonode-client" with
"ant zip" and use it in the working geonode there is no any errors.

What's wrong?



On Thu, Apr 21, 2011 at 5:26 PM, Andreas Hocevar <ahocevar@opengeo.org>
wrote:
>
> Hey,
>
> looks ...

Re: [geonode] geonode-client ant debug error

From:
Andreas Hocevar
Date:
2011-04-25 @ 12:17
I just ticketed this issue - http://dev.geonode.org/trac/ticket/942

Regards,
Andreas.

On Apr 25, 2011 2:06 PM, "Andreas Hocevar" <ahocevar@opengeo.org> wrote:

Are you debugging with Firefox 4? This is not yet supported. It requires a
change to the script loader to always use document.write for appending
scripts. This prevents parallel script loading, and has the side effect of
making debugging slower on other browsers as well.

In the meantime, please use a different browser for debugging.

Regards,
Andreas.


>
> On Apr 22, 2011 10:11 AM, "Dmitriy Tyugaev" <dmitriy.tyugaev@gmail.com>
wrote:
>
> Hi,
>
> That...


>
>
>
> On Thu, Apr 21, 2011 at 5:26 PM, Andreas Hocevar <ahocevar@opengeo.org>
wrote:
> >
> > Hey,...
> looks ...

Re: [geonode] geonode-client ant debug error

From:
Dmitriy Tyugaev
Date:
2011-04-25 @ 13:54
Thank you for your answer! You are right, the problem was really in Firefox
4.0

On Mon, Apr 25, 2011 at 4:17 PM, Andreas Hocevar <ahocevar@opengeo.org>wrote:

> I just ticketed this issue - http://dev.geonode.org/trac/ticket/942
>
> Regards,
> Andreas.
> On Apr 25, 2011 2:06 PM, "Andreas Hocevar" <ahocevar@opengeo.org> wrote:
>
> Are you debugging with Firefox 4? This is not yet supported. It requires a
> change to the script loader to always use document.write for appending
> scripts. This prevents parallel script loading, and has the side effect of
> making debugging slower on other browsers as well.
>
> In the meantime, please use a different browser for debugging.
>
> Regards,
> Andreas.
>
>
> >
> > On Apr 22, 2011 10:11 AM, "Dmitriy Tyugaev" <dmitriy.tyugaev@gmail.com>
> wrote:
> >
> > Hi,
> >
> > That...
>
>
> >
> >
> >
> > On Thu, Apr 21, 2011 at 5:26 PM, Andreas Hocevar <ahocevar@opengeo.org>
> wrote:
> > >
> > > Hey,...
> > looks ...
>
>

Re: [geonode] geonode-client ant debug error

From:
David Winslow
Date:
2011-04-25 @ 11:55
I've never seen this sort of behavior from the 'ant debug' task.  However,
it runs on port 8080, not port 8000.  Perhaps you have an old copy of the
geonode client scripts there or something?

--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, Apr 22, 2011 at 4:10 AM, Dmitriy Tyugaev
<dmitriy.tyugaev@gmail.com>wrote:

> Hi,
>
> That worked. Thanks! But now I have another question. When I set the
> GEONODE_CLIENT_LOCATION entry in my local_settings.py to
> http://mydomain.com:8000/ I get a 20 identical errors in firebug:
>
> P.prototype is undefined
> F.prototype = P.prototype;   Class.js (line 102)
>
> There is no network errors and all script files are successfully fetched by
> the browser.
> But the most interesting thing is that if I build the "geonode-client" with
> "ant zip" and use it in the working geonode there is no any errors.
>
> What's wrong?
>
> On Thu, Apr 21, 2011 at 5:26 PM, Andreas Hocevar <ahocevar@opengeo.org>wrote:
>
>> Hey,
>>
>> looks like you forgot to do
>>
>> git submodule init
>> git submodule update
>>
>> after checking out from git.
>>
>> Andreas.
>>
>> On Apr 21, 2011, at 09:30 , Dmitriy Tyugaev wrote:
>>
>> > Hello,
>> >
>> > I tried to deploy "geonode-client" project as written in the
>> instructions:
>> >
>> > $ git clone git://github.com/GeoNode/geonode-client.git geonode-client
>> > $ cd geonode-client
>> > $ ant init
>> > $ ant debug
>> >
>> > but got an error at the fourth step "ant debug". Look please:
>> >
>> > debug:
>> > [java] 0 [main] INFO ringo.webapp.daemon - init
>> >   [java] Error: failed to list directory
>> /tmp/geonode-client/app/static/externals/PrintPreview/lib (fs.js#482)
>> > [java] at fs.js:482 (list)
>> > [java] at fs.js:233 (listTree)
>> > [java] at buildkit/assets.js:9 (anonymous)
>> > [java] at buildkit/merge.js:79 (anonymous)
>> > [java] at autoloader.js:94 (anonymous)
>> > [java] at config.js:14
>> > [java] at ringo/webapp/daemon.js:61 (init)
>> > [java] at ringo/webapp.js:265 (main)
>> >   [java] at /tmp/geonode-client/app/main.js:6
>> >
>> > [java] Java Result: 255
>> >
>> > Tell me please how it can be solved?
>> > Thanks for the help.
>> >
>> > --
>> > Dmitriy Tyugaev
>>
>> --
>> Andreas Hocevar
>> OpenGeo - http://opengeo.org/
>> Expert service straight from the developers.
>>
>>
>