[GeoNetwork-users] Categories not displaying

Hi,

I've just installed Geonetwork on an Ubuntu box and linked it to a Postgres instance on another server. It's reading from the DB ok, as I've made changes to the users table and that is reflected through the gui.

However it's not displaying the Categories in the left-hand pane. It's reading the table, as it's producing the correct number of place-holder "arrows". Also if I change the name of the categories table, the "arrows" are absent and an error is logged.

I therefore assume it's localisation issue. Especially as I'm seeing this:
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Groups with id: 2, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Categories with id: 1, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Categories with id: 2, skipping it.
Etc, etc

in my log files. However I'm not sure what to change.
config.xml has the following:

                <language>eng</language>
                <localized>true</localized>

But changing to <localized>false</localized> makes no difference.

Any suggestions?

Thanks
Dan

Hi Dan,

You might have to run this sql script (e.g. if your locale is English that is):

W:\Geonetwork_dir\web\geonetwork\WEB-INF\classes\setup\sql\data\loc-eng-default.sql

This should add the categories for the language you are using.

HTH
Andrew

----- Original Message ----- From: "Dan Lear" <dble@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Wednesday, December 04, 2013 9:34 PM
Subject: [GeoNetwork-users] Categories not displaying

Hi,

I've just installed Geonetwork on an Ubuntu box and linked it to a Postgres instance on another server. It's reading from the DB ok, as I've made changes to the users table and that is reflected through the gui.

However it's not displaying the Categories in the left-hand pane. It's reading the table, as it's producing the correct number of place-holder "arrows". Also if I change the name of the categories table, the "arrows" are absent and an error is logged.

I therefore assume it's localisation issue. Especially as I'm seeing this:
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Groups with id: 2, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Categories with id: 1, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table Categories with id: 2, skipping it.
Etc, etc

in my log files. However I'm not sure what to change.
config.xml has the following:

               <language>eng</language>
               <localized>true</localized>

But changing to <localized>false</localized> makes no difference.

Any suggestions?

Thanks
Dan

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Great, thanks Andrew,

That worked a treat. I was following the steps here:
http://geonetwork-opensource.org/_static/foss4g2010/FOSS4G_Mastering_Advanced_GeoNetwork.pdf

So missed this one!

All the best,
Dan

-----Original Message-----
From: andrew walsh [mailto:awalsh@anonymised.com]
Sent: 05 December 2013 04:43
To: Dan Lear
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Categories not displaying

Hi Dan,

You might have to run this sql script (e.g. if your locale is English that is):

W:\Geonetwork_dir\web\geonetwork\WEB-INF\classes\setup\sql\data\loc-eng-default.sql

This should add the categories for the language you are using.

HTH
Andrew

----- Original Message -----
From: "Dan Lear" <dble@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Wednesday, December 04, 2013 9:34 PM
Subject: [GeoNetwork-users] Categories not displaying

Hi,

I've just installed Geonetwork on an Ubuntu box and linked it to a Postgres
instance on another server. It's reading from the DB ok, as I've made changes
to the users table and that is reflected through the gui.

However it's not displaying the Categories in the left-hand pane. It's
reading the table, as it's producing the correct number of place-holder
"arrows". Also if I change the name of the categories table, the "arrows" are
absent and an error is logged.

I therefore assume it's localisation issue. Especially as I'm seeing this:
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table
Groups with id: 2, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table
Categories with id: 1, skipping it.
WARNING: CORRUPT DATA IN DATABASE: No localization found for record in table
Categories with id: 2, skipping it.
Etc, etc

in my log files. However I'm not sure what to change.
config.xml has the following:

               <language>eng</language>
               <localized>true</localized>

But changing to <localized>false</localized> makes no difference.

Any suggestions?

Thanks
Dan

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork