[GeoNetwork-devel] Compilation

Hello to everyone, Hi François,

I’m trying to build Geonetwork from sources (tag 3.0.4) under Debian (jessie), the problem :

the homepage is misinterpreted, it remains {{facet[‘@label’]}}

I do not remember where this pb comes from ! And I can’t make speaking archives.

some tracks ?

  • Apache Maven 3.3.9

  • NPM version 1.3.23

  • in browser, ng-skos.css was not found, neither bootstrap-table.min.css

And then :

lib.js:438 TypeError: Cannot read property ‘0’ of undefined

at loadContext (http://vslin207:8080/geonetwork/static/gn_search_default.js:472:342)

at link (http://vslin207:8080/geonetwork/static/gn_search_default.js:687:441)

  • I’ve turned off web-ui-doc in pom for compilation (otherwise, [ERROR] npm WARN package.json geonetwork-docs@anonymised.com No repository field…)

any suggestions ?

Best regards,

Xavier Culos

Agence de l’eau Adour-Garonne

Hi,

On Fri, Jun 24, 2016 at 3:25 PM, CULOS
<xavier.culos@anonymised.com> wrote:

Hello to everyone, Hi François,

I'm trying to build Geonetwork from sources (tag 3.0.4) under Debian
(jessie), the problem :

the homepage is misinterpreted, it remains {{facet['@label']}}

I do not remember where this pb comes from ! And I can't make speaking
archives.

some tracks ?

- Apache Maven 3.3.9

- NPM version 1.3.23

- in browser, ng-skos.css was not found, neither bootstrap-table.min.css

Did you do a submodule init and submodule update in git?

    And then :

    lib.js:438 TypeError: Cannot read property '0' of undefined

        at loadContext
(http://vslin207:8080/geonetwork/static/gn_search_default.js:472:342)

        at link
(http://vslin207:8080/geonetwork/static/gn_search_default.js:687:441)

- I've turned off web-ui-doc in pom for compilation (otherwise, [ERROR] npm
WARN package.json geonetwork-docs@anonymised.com No repository field...)

If I remember right, this is related to the map configuration. Are you
using a new database?

any suggestions ?

Best regards,

Xavier Culos

Agence de l'eau Adour-Garonne

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I had forgotten these steps (submodule).
Thanks a lot.

But this error persists in web-ui-docs...

Is there a link between Homepage problems and web-ui-docs module ?

[INFO] --- frontend-maven-plugin:0.0.23:npm (npm download modules) @ web-ui-docs ---
[INFO] Running 'npm install --color=false' in /.../core-geonetwork/web-ui-docs
[ERROR] npm WARN package.json geonetwork-docs@...1126... No repository field.
[ERROR] npm http GET https://registry.npmjs.org/grunt
[ERROR] npm http 304 https://registry.npmjs.org/grunt-ngdocs
[ERROR] npm http 304 https://registry.npmjs.org/grunt
...
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm download modules) on project web-ui-docs: Failed to run task: 'npm install --color=false' failed. (error code 34) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm download modules) on project web-ui-docs: Failed to run task
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task
        at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:62)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more
Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm install --color=false' failed. (error code 34)
        at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
        at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:59)
        ... 22 more

-----Message d'origine-----
De : María Arias de Reyna [mailto:delawen@…31…]
Envoyé : vendredi 24 juin 2016 15:43
À : CULOS
Cc : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Compilation

Hi,

On Fri, Jun 24, 2016 at 3:25 PM, CULOS
<xavier.culos@...1076...> wrote:

Hello to everyone, Hi François,

I'm trying to build Geonetwork from sources (tag 3.0.4) under Debian
(jessie), the problem :

the homepage is misinterpreted, it remains {{facet['@label']}}

I do not remember where this pb comes from ! And I can't make speaking
archives.

some tracks ?

- Apache Maven 3.3.9

- NPM version 1.3.23

- in browser, ng-skos.css was not found, neither
bootstrap-table.min.css

Did you do a submodule init and submodule update in git?

    And then :

    lib.js:438 TypeError: Cannot read property '0' of undefined

        at loadContext
(http://cp.mcafee.com/d/1jWVIq6xESyMUUe7fLccCXCQrzASjhOOMqem3qdNOr9EVp
sjudET79ICzBBwQsLCQrLc6zBdB4QsLCM_jcLzRCPWQ1nWSnR2HsiV7oRx3-tyr_mO-Elr
yn8X6I8vPIjrapEVpgs7fZvxRNObaavnKnjjvjV5xxZZ5ZDG8zBHFGThjVkffGhBrwqrhd
LCXCXCM0pCxYE9T79fnuLx7WwQNm9najSsHohwaQ_oS9yG7KWSvfx6yj0Vd9BxcSxV-Cfw
2y8DOVJws-Mr1vF6y0QJxbWwPVCaNaBQfc-uqnjh09llmAvIVlwrpodzFkTW7n7)

        at link
(http://cp.mcafee.com/d/1jWVIi6wUSyMUUe7fLccCXCQrzASjhOOMqem3qdNOr9EVp
sjudET79ICzBBwQsLCQrLc6zBdB4QsLCM_jcLzRCPWQ1nWSnR2HsiV7oRx3-tyr_mO-Elr
yn8X6I8vPIjrapEVpgs7fZvxRNObaavnKnjjvjV5xxZZ5ZDG8zBHFGThjVkffGhBrwqrjd
LCXCXCM0pCxYE9T79fnuLx7WwQNm9najSsHohwaQ_oS9yG7KWSvfx6yjzMV9xx4SxV-Cfw
2y8DOVJws-Mr1vF6y0QJxbWwPVCaNaBQfc-uqnjh09llmAvIVlwrpodIcMIDSJg)

- I've turned off web-ui-doc in pom for compilation (otherwise,
[ERROR] npm WARN package.json geonetwork-docs@...1126... No repository
field...)

If I remember right, this is related to the map configuration. Are you using a new database?

any suggestions ?

Best regards,

Xavier Culos

Agence de l'eau Adour-Garonne

----------------------------------------------------------------------
-------- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T
Park in San Francisco, CA to explore cutting-edge tech and listen to
tech luminaries present their vision of the future. This family event
has something for everyone, including kids. Get more information and
register today.
http://cp.mcafee.com/d/5fHCNEp3zqb3zwUs-YMOrKrhKejpd7bb1EVodET79ICzBBN
dUSzssCOqemm3hO-rhKYMqekSkjhO-r3ZcO-fmrfHg5vHpvkaJNbAtzm4fVS9LZrbWxlK9
szIqMx_eNdIFCzBB1Ms_R-7n78IEFZuVtddZfAm67TQnSuEyemKCHt5fBgY-F6lK1FJAS-
rKrKr01QglU-k2Kret2uHurgY_j7M1h4jVsSMevodwLQzh0qmMBZgpYP5oBiW7CvfdbFEw
4GGHifSsGMdII6Q6QbYbM6l5t1
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
http://cp.mcafee.com/d/1jWVIedEIee3xPXP39KVJ6UVdAQsII6zBwSzssCOqemn4Tz
qdNOr9EVpod7bVJ6XP1EVjphd7bVIfQPbUZpI-J0l-JBZgGT4KhSdog_DoC_RILG5mUBOe
NH27YX4SOCqemk71P_nUtssyOyDRXBQQTQ-hoovvhvpWy8VqWqJQk-l3PWApmU6CS3rVKV
KVIDeqR4IM-l9QWBmUSZQ03_0T3VkDj3VkDa3Js8_k6CaNaBQfc-urgY_j7M1h4jVsSMev
odwLQzh0qmMBZgpYP5oBiW7CvfdbFEw4GGHifSsGMdII6Wxj3BTUa
GeoNetwork OpenSource is maintained at
http://cp.mcafee.com/d/1jWVIgdEIee3xPXP39KVJ6UVdAQsII6zBwSzssCOqemn4Tz
qdNOr9EVpod7bVJ6XP1EVjphd7bVIfQPbUZpI-J0l-JBZgGT4KhSdog_DoC_RILG5mUBOe
NH27YX4SOCqemk71P_nUtssyOyDRXBQQTQ-hoovvhvpWy8VqWqJQk-l3PWApmU6CTPrVKV
KVI07iHsruW01_wryQqyfSDj2fR1FyIiFJ3PZcv054hfBPr0VZwS2_id41Fr2nR1DPclyl
bEupYYQKCy0iGGJ8_pOH0SOMr2Ca