Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ran Li
    @rli-rms
    Actually, any account created gets kicked out instantly when logging in. I guess it is a new bug.
    Ran Li
    @rli-rms
    update: the above behaviors were valid only when using docker-compose -f docker-compose.development.yml -f docker-compose.development.override.yml up for dev mode. When using docker-compose -f docker-compose.yml -f docker-compose.override.yml up, all the issues were gone.
    Toni
    @t-book
    @rli-rms I would have said some fixture is missing. But this does not make sense as you say it goes away after Login.
    Ran Li
    @rli-rms
    @t-book yes all the issues went away when I built the service using docker-compose -f docker-compose.yml -f docker-compose.override.yml up. I can confirm that. Would you like me to report a bug?
    I can detail the steps to reproduce it.
    Toni
    @t-book
    @rli-rms please do at geonode Project. Thanks!
    Toni
    @t-book
    @rli-rms Just read your older Posts. I think this is an settings issue. Anyways please open the issue and I will have a look at my notes. I ve run into that before ...
    Ran Li
    @rli-rms
    @t-book OK. Will do. Thanks !
    Ran Li
    @rli-rms
    @t-book just submitted the issue: GeoNode/geonode-project#95. Thanks!
    Florian Hoedt
    @gannebamm

    @gannebamm nice I m using the CE edition isn't bad either.

    @t-book the professional edition can use docker-compose files and docker builds, which I really would like to test as devops way

    Matteo De Stefano
    @mdnor_gitlab
    @gannebamm @t-book I'm using the professional edition, better suited for web development. docker integration is good and useful. Some years ago I asked for the OS licence, and no problem getting it. Of course you are eligible. Go for it!
    Sylvain POULAIN
    @kikislater
    Hi, before pushing commit of French translation, I got an error when trying to upload a raster layer (may be vector will do the same)
    django_1          | Error creating import session
    django_1          | Traceback (most recent call last):
    django_1          |   File "./geonode/upload/upload.py", line 331, in save_step
    django_1          |     time_presentation_reference_value)
    django_1          |   File "./geonode/upload/utils.py", line 686, in import_imagemosaic_granules
    django_1          |     raise UploadException(_("Could not find any valid Time Regex for the Mosaic files."))
    django_1          | UploadException: Impossible de trouver le fichier kml dans le kmz charg\xe9.
    django_1          | Unexpected error in upload step
    django_1          | Traceback (most recent call last):
    django_1          |   File "./geonode/upload/views.py", line 650, in view
    django_1          |     resp = _steps[step](req, upload_session)
    django_1          |   File "./geonode/upload/views.py", line 191, in save_step_view
    django_1          |     time_presentation_reference_value=form.cleaned_data['time_presentation_reference_value']
    django_1          |   File "./geonode/upload/upload.py", line 404, in save_step
    django_1          |     raise e
    django_1          | UploadException: Impossible de trouver le fichier kml dans le kmz charg\xe9.
    django_1          | Traceback (most recent call last):
    django_1          |   File "./geonode/upload/views.py", line 650, in view
    django_1          |     resp = _steps[step](req, upload_session)
    django_1          |   File "./geonode/upload/views.py", line 191, in save_step_view
    django_1          |     time_presentation_reference_value=form.cleaned_data['time_presentation_reference_value']
    django_1          |   File "./geonode/upload/upload.py", line 404, in save_step
    django_1          |     raise e
    django_1          | UploadException: Impossible de trouver le fichier kml dans le kmz charg\xe9.
    django_1          | 
    django_1          | Internal Server Error: /upload/
    django_1          | Traceback (most recent call last):
    django_1          |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    django_1          |     response = get_response(request)
    django_1          |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    django_1          |     response = self._get_response(request)
    django_1          |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    django_1          |     response = self.process_exception_by_middleware(e, request)
    django_1          |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    django_1          |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
    django_1          |   File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
    django_1          |     return view_func(request, *args, **kwargs)
    django_1          |   File "./geonode/upload/views.py", line 690, in view
    django_1          |     return error_response(req, exception=e)
    django_1          |   File "./geonode/upload/utils.py", line 141, in error_response
    django_1          |     content_type=content_type, status=400)
    django_1          |   File "./geonode/upload/utils.py", line 130, in json_response
    django_1          |     return do_json_response(*args, **kw)
    django_1          |   File "./geonode/utils.py", line 871, in json_response
    django_1          |     body = "Unexpected exception %s" % exception
    django_1          | UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 54: ordinal not in range(128)
    Switch to english solve the problem
    "u'\xe9'" is "é" in unicode
    and I translate "upload" to "télécharger" in french which was in transifex
    We have a lot of accent in french, so GeoNode will not work if they are not supported
    Sylvain POULAIN
    @kikislater
    is there some known encoding problems ?
    Alessio Fabiani
    @afabiani
    sorry for being silent, I'll be back tomorrow morning in Italy trying to reply to your questions
    Sylvain POULAIN
    @kikislater
    no problem, not in a hurry ;-) Just reporting
    I have question about csw-t next ^_^
    Florian Hoedt
    @gannebamm

    :point_up: August 1, 2019 12:24 PM
    @kikislater : These are the unicode errors I am aware of:
    GeoNode/geonode#4478

    GeoNode/geonode#4357

    Both should be solved

    Sylvain POULAIN
    @kikislater
    Ok, so #4478 should solve the error but I already have it ...
    Ran Li
    @rli-rms

    @t-book just submitted the issue: GeoNode/geonode-project#95. Thanks!

    @t-book Hi Toni, did you get a chance to look into the issue?

    Sylvain POULAIN
    @kikislater
    About CSW-T, I set 'transactions': 'true' in local_settings.py then tried to POST with curl a null_island.xml (from here : https://gist.github.com/mrcnc/a9af5c1ca3dfb4db78f231dd1429178d ) but get an error about session which mean I don't have the credentials
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- pycsw 2.4.0 -->
    <ows:ExceptionReport xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" language="en" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
      <ows:Exception exceptionCode="NoApplicableCode" locator="insert">
        <ows:ExceptionText>Transaction (insert) failed: 'GeoNodeRepository' object has no attribute 'session'.</ows:ExceptionText>
      </ows:Exception>
    </ows:ExceptionReport>
    curl -X POST -d @./CSW-Transaction-Insert.xml https://user:password@<host>/catalogue/csw
    Is it possible with pycsw included in Geonode to send POST data with curl or others methods listed here : https://pycsw.org/faq/#how-can-i-make-csw-post-xml-requests ?
    Toni
    @t-book
    @rli-rms just checked. in my case it was a bit different. a user got immediately loged-out after log in with manual setup. the reason where a missconfiguration of endpoints in local_settings and geoserver. for testing can you set http://docs.geonode.org/en/2.10.x/basic/settings/index.html#session-expired-control-enabled to False? Do things start working ?
    as you say it's only happening with dev setup my guess is something wrong with endpoints as well?
    Ran Li
    @rli-rms
    @t-book I'll try your solution. Thanks!
    @t-book Did you try using the admin credential to log in as well?
    Ran Li
    @rli-rms
    Dear all, I'd like to monitor user activities on Geonode, such as "what users downloaded what layers?". Does Geonode already have this feature? If not, where can I find the relevant information (such as user activity log)? Thanks!
    Olga Kurek
    @OlgaKurek
    Dear all, I was wondering if it's possible to serve custom wms tiles in osm format (like http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png)?
    How could I change that?
    Toni
    @t-book
    @rli-rms Have you seen integrated activity stream? http://master.demo.geonode.org/social/user-activity/toni
    Bildschirmfoto 2019-08-08 um 09.34.45.png
    Ran Li
    @rli-rms
    @t-book I can only see upload activities there, no download activities. Can I find some log files stored in geonode containers? I'm using docker.
    Toni
    @t-book
    @rli-rms download is not catched as far as I know. How would you deal with public download? 'anonymous downloaded xy'?
    Francesco Frassinelli
    @frafra_gitlab
    ok, running spcgeonode 2.10 in kubernetes, tests are passing (all of them except the first, seems due to my bad wifi connection :D)
    quite simple setup on k3s with a private registry, and minor tweaks
    Sylvain POULAIN
    @kikislater
    Nice to hear about SPC and Kubernetes
    Back on CSW-T, so to handle REST request, I need to send username, password, client_id, client_secret then I could deal with bearer token needed by django oauth2 and operate some POST request. Am I wrong ?
    Francesco Bartoli
    @francbartoli
    Great achievement @frafra_gitlab!
    Toni
    @t-book
    @frafra_gitlab nice! ("... due to my bad wifi connection" makes me wonder 🤔 )
    Francesco Frassinelli
    @frafra_gitlab
    @t-book I am in vacation on the coast, and my neighbor/friend share his wifi with me, but the signal is a bit weak ;-)
    I will try to mainline everything into geonode after my vacations; have a nice day! ;)
    Toni
    @t-book
    @frafra_gitlab Enjoy your vacations! Curious to see how it works with kubernetes and still thinking about doing a geonode podman test (planning it since you told me about in italy ;)
    Itsman-AT
    @Itsman-AT
    Dear all, just a silly question maybe: But, is it possible to upload GeoJSON to GeoNode (out-of-the-box)? Thanks!
    Alessio Fabiani
    @afabiani
    Dear @Itsman-AT it should be possible by using the "geonode.importer" UPLOADER
    see the "settings.py"