Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:33
    jahow commented #4394
  • 08:24
    pvgenuchten labeled #4394
  • 08:24
    pvgenuchten opened #4394
  • Jan 23 17:24
    fxprunayre synchronize #2830
  • Jan 23 17:24

    fxprunayre on es

    ES / Restore previous/next reco… (compare)

  • Jan 23 16:49
    fxprunayre synchronize #2830
  • Jan 23 16:49

    fxprunayre on es

    Record view / Fix direct link t… ES / Cleaning. Avoid errors dur… Update submodule. (compare)

  • Jan 23 16:16
    josegar74 review_requested #4393
  • Jan 23 16:16
    josegar74 review_requested #4393
  • Jan 23 16:16
    josegar74 milestoned #4393
  • Jan 23 15:27
    MichelGabriel opened #4393
  • Jan 23 13:49
    fxprunayre synchronize #2830
  • Jan 23 13:49

    fxprunayre on es

    Update to 3.11. (compare)

  • Jan 23 13:45
    fxprunayre edited #2830
  • Jan 23 13:40
    fxprunayre synchronize #2830
  • Jan 23 13:40

    fxprunayre on es

    Update from transifex. OWS Service / do not break on i… Fix an error when GN is deploye… and 24 more (compare)

  • Jan 23 13:20
    MichelGabriel opened #4392
  • Jan 23 12:53
    josegar74 review_requested #4391
  • Jan 23 12:53
    josegar74 review_requested #4391
  • Jan 23 12:53
    josegar74 opened #4391
josegar74
@josegar74
@juanluisrp @jachym I have updated the default download to the 3.8.2 war file, seem it’s something that requires manual update on every release, thanks for reporting it
Jachym Cepicky
@jachym
thank you guys, for working on it
Jachym Cepicky
@jachym

@juanluisrp I'm afraid, the 3.8.2 does not seem to fix the issue (in docker) :-(

The URL it tryes (and does not work) is : http://localhost:8080/geonetwork/srv/api/records/130/editor?&currTab=simple&starteditingsession=yes&random=0

response from the server is
<apiError>
<code>runtime_exception</code>
<description>
An empty sequence is not allowed as the first argument of gn-fn-metadata:isFieldFlatModeException()
</description>
<message>XPathException</message>
</apiError>
I was using
docker run --name geonetwork-382 -d -p 8080:8080 -e "JAVA_OPTS=-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -server -Xms512m -Xmx4096m" -e DATA_DIR=/var/lib/geonetwork_data -v $(pwd):/var/lib/geonetwork_data geonetwork:3.8.2
Juan Luis Rodríguez Ponce
@juanluisrp
have you applied the fix to your source code?
the fix will be released with version 3.8.3
I think the release of 3.8.3 is scheduled at some moment of this week
this is the change you need to apply if you want to use a custom GN docker image geonetwork/core-geonetwork@9f4ef7b in the meantime
Jachym Cepicky
@jachym
aha, will try, thank you, I somehow misunderstood the comment from @josegar74
Jody Garnett
@jodygarnett
@juanluisrp indeed I would like to release 3.8.3 today
Does anyone have last moment fixes to be included? (Do I use the "all" channel notification or is that too many prople).
(If I understanad above @jachym is all ready to test when we get to that stage)
josegar74
@josegar74
@jachym sorry for the confusion, I changed the default war file downloaded from SourceForge (was downloading and old 3.4.4 version instead of 3.8.2), I didn’t see the other stuff about geonetwork/core-geonetwork#4302
Jody Garnett
@jodygarnett
Looking at recent geonetwork-devel email it appears Francois is hopeful that 3.10 will be released also
Jody Garnett
@jodygarnett
@josegar74 the https://github.com/geonetwork/core-release module I found (see email)
I expect it can be removed?
josegar74
@josegar74
Probably was created when we moved from SVN to GitHub to keep track of this work and later was added in GeoNetwork project
Jody Garnett
@jodygarnett
It has 4 commits, Jesse and mcpgovernance, ...
josegar74
@josegar74
I guess so, but let´s check with @ fxprunayre, just in case is used in any project
Jody Garnett
@jodygarnett
Appears to be Simon (https://github.com/mcpgovernance)
who is a PSC member.
josegar74
@josegar74
At least for the release can be ignored, we can remove it later
Jody Garnett
@jodygarnett
Okay I will start an email thread and ignore it ...
(ignore the issue I mean)
Jody Garnett
@jodygarnett
So my question remains where should we store build scripts?
François Prunayre
@fxprunayre
Hi, I don't think we are using the core-release module - at least not used for making a release.
Jody Garnett
@jodygarnett
Thanks @fxprunayre I will work in the root folder for now, if we wish to move things into a folder later we can do so.
Jody Garnett
@jodygarnett
Okay with github user created, with appropriate permissions...
I would like to create a feature branch to work on release scripts, ... any naming convention to pay attention to here?
Jo Cook
@archaeogeek
Morning everyone! I was wondering if anyone had an example of combining the 'displayifRecord' and 'displayifServiceInfo' operators for creating a custom editing view (https://geonetwork-opensource.org/manuals/trunk/en/customizing-application/editor-ui/creating-custom-editor.html)? I can't figure out the exact syntax.
Bart
@sylar11
Hi all, I would like to know if it is normal that my harvesting process took so many hours?
20203 record(s) harvested in 86860 seconds
Would it be possible in the next release to add some more visual feedback during the harvesting process? something like a bar or an indicator about the time elapsed/time needed. Because even if you refresh the page the starting number is always the same
François Prunayre
@fxprunayre
@sylar11 It depends also a lot on the type of harvester you are using. CSW can be probably improved a lot. Supporting initiative like the move to Elasticsearch will also make significant progress on indexing time (https://user-images.githubusercontent.com/1701393/54925030-caf90f80-4f0d-11e9-99aa-721a1a3ef353.png). Christophe & Olivier added some progress bar indicator geonetwork/core-geonetwork#3246 that can also probably be reused for harvester.
Bart
@sylar11

@fxprunayre I'm using the classic type of harvester. I defined a folder where I saved the .xml file and then I run the harvester.

#3246 would be a good improvement in general

Adi Bajramov
@HybZ
Hello ! I am new to the Geonetwork even tough my team and I managed to integrate some functionalities to datastore.brussels using geonetwork. We were wondering what would be the best approach to create a dataset and later edit it but from outside of Geonetwork ?
I tried using API (based on https://geonetwork-opensource.org/manuals/3.8.x/en/api/the-geonetwork-api.html), I managed to generate a POC suing swagger generate with dependencies to spring-boot and Jackson. However I am facing various issues when I try to retrieve a dataset (conversion issues, failing UTf-8 parsing, 500 erros ...). I managed to get a form from Geonetwork but it doesn't seem to be a working HTML form.
I was wondering if anyone succeeded to manage datasets in Geonetwork but from a third party application, and if so, what did you use ? API end-points ? CSW end-points ? RDF end-points ?
Any feedback will be greatly appreciated :)
Jody Garnett
@jodygarnett
My understanding is geonetwork has integration with GeoServer to manage data sets.
Adi Bajramov
@HybZ
I was not aware it was integrated with GeoServer. Currently we do not try to integrate it with GeoServer, we would like to create and edit datasets from a third party. Having a hard time with Geonetwork API end-point we are currently trying with CSW and hoping it's easier to integrate. We have yet to figure out a way to differentiate datasets built by our third party from those harvested. But that's for later, right now we'll be happy if our POC manages to add & edit datasets.
Juan Luis Rodríguez Ponce
@juanluisrp
when you say datasets do you mean metadata?
FabienKrzewinski
@FabienKrzewinski
@juanluisrp Hi there, yes he means metadata.
Juan Luis Rodríguez Ponce
@juanluisrp
and what's the problem you are having using GN API?
FabienKrzewinski
@FabienKrzewinski
@juanluisrp We don't know where to start with if we would like to create, delete, update a new metadata using GN API. Could you please point us to the right GN API endpoints ? We saw that there is an API demo page, but still not clear.
Juan Luis Rodríguez Ponce
@juanluisrp
For example:
  • Insert a new metadata: POST /{portal}/api/0.1/records
  • Delete a metadata record: DELETE /{portal}/api/0.1/records/{metadataUuid}
  • Update an existing metadata: POST /{portal}/api/0.1/records with parameter uuidProcessing=OVERWRITE
Example of a full endpoint path running in a local tomcat server: http://localhost:8080/geonetwork/srv/api/0.1/records
FabienKrzewinski
@FabienKrzewinski
@juanluisrp Thanks a lot, we will give it a try :)
Juan Luis Rodríguez Ponce
@juanluisrp
for non-GET operations usually you need to be authenticated and send a JSESSIONID cookie and a X-XSRF-TOKEN header you need to retreive previously, for example calling the info?type=me endpoint:
curl -s -c /tmp/cookie -o /dev/null -X POST "$CATALOG/srv/eng/info?type=me";
export TOKEN=`grep XSRF-TOKEN /tmp/cookie | cut -f 7`;
curl -X POST -H "X-XSRF-TOKEN: $TOKEN" --user $CATALOGUSER:$CATALOGPASS -b /tmp/cookie \
  "$CATALOG/srv/eng/info?type=me"
you can check the parameters needed for each operation in the Swagger docs at http://localhost:8080/geonetwork/doc/api/