librelist archives

« back to archive

Geonode upload error

Geonode upload error

From:
Jude Mwenda
Date:
2011-02-18 @ 08:10
http://dpaste.de/sDd7/
Hi above is my error. Any clue on what needs to change?

GeoNode upload error

From:
allan oware
Date:
2011-06-09 @ 23:06
Hi all,
Am running GeoNode 1.1-beta on ubuntu 10.04
On trying to upload shapefiles, an error message keeps popping up

"Unexpected error during upload:
Tried to make a GET request to
http://localhost/geoserver-geonode-dev/rest/styles/polygon.sld but got a 500
status code:
:No such file: default_polygon.sld
"

However, Geoserver lists the uploaded shapefiles although none can be seen
on the GeoNode side.
I've tried changing permissions on the geoserver_data directory but the
error persists.

What could be the issue? Thanx

Regards.
Allan Maungu

Re: [geonode] GeoNode upload error

From:
David Winslow
Date:
2011-06-10 @ 11:45
There should be a file with the given name in GeoServer's data directory
under styles/ .  Have you modified the GEOSERVER_DATA_DIR? If so, you should
ensure that you have a valid GeoServer configuration directory in the
specified path.  GeoServer *will not* populate an empty directory for you,
you must start from an existing one.  We provide a barebones GeoServer
configuration in the geoserver-geonode-ext.war archive (you can open it with
an unzip utility) under the name "data."

Hope this helps.

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

On Thu, Jun 9, 2011 at 7:06 PM, allan oware <lumtegis@gmail.com> wrote:

>
> Hi all,
> Am running GeoNode 1.1-beta on ubuntu 10.04
> On trying to upload shapefiles, an error message keeps popping up
>
> "Unexpected error during upload:
> Tried to make a GET request to
> http://localhost/geoserver-geonode-dev/rest/styles/polygon.sld but got a
> 500 status code:
> :No such file: default_polygon.sld
> "
>
> However, Geoserver lists the uploaded shapefiles although none can be seen
> on the GeoNode side.
> I've tried changing permissions on the geoserver_data directory but the
> error persists.
>
> What could be the issue? Thanx
>
> Regards.
> Allan Maungu
>
>
>
>
>
>
>

Re: GeoNode upload error

From:
allan oware
Date:
2011-06-09 @ 23:04
Hi all,
> Am running GeoNode 1.1-beta on ubuntu 10.04
> On trying to upload shapefiles, an error message keeps popping up
>
> "Unexpected error during upload:
> Tried to make a GET request to
> http://localhost/geoserver-geonode-dev/rest/styles/polygon.sld but got a
> 500 status code:
> :No such file: default_polygon.sld
> "
>
> However, Geoserver lists the uploaded shapefiles although none can be seen
> on the GeoNode side.
> I've tried changing permissions on the geoserver_data directory but the
> error persists.
>
> What could be the issue? Thanx.
>
> Regards.

    Allan Maungu

Re: Geonode upload error

From:
Jude Mwenda
Date:
2011-02-18 @ 08:42
Sorry, this been resolved, now getting another error which is

http://dpaste.de/h4PZ/

2011/2/18 Jude Mwenda <jude@upande.com>

> http://dpaste.de/sDd7/
> Hi above is my error. Any clue on what needs to change?
>

Re: [geonode] Geonode upload error

From:
David Winslow
Date:
2011-02-18 @ 17:34
Print statements and other operations that write to the console do not
work in mod_wsgi. you must use the logging module instead.

You can use your editor's search feature to find examples by looking
for "logger" in src/GeoNodePy/geonode/maps/views.py

Hope this helps.

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

On Friday, February 18, 2011, Jude Mwenda <jude@upande.com> wrote:
> Sorry, this been resolved, now getting another error which is
> http://dpaste.de/h4PZ/
>
> 2011/2/18 Jude Mwenda <jude@upande.com>
> http://dpaste.de/sDd7/Hi above is my error. Any clue on what needs to change?
>
>
>
>