Re: [Dspace-tech] HANDLE table entries without resource_id

2015-02-03 Thread Becker, Pascal-Nicolas
If a handle gets deleted sets the resource_id to null and keep all the other 
information (basically resource_type and the handle itself). If something with 
an handle is getting restored from an AIP backup, DSpace checks whether the 
resource_type_id of the handle in the database is the same as of the 
DSpaceObject being restored from AIP. Handles are Persistent Identifier. Nobody 
wants a persistent identifier to change, because then it wouldn't be persistent 
anymore. ;-) That is the reason DSpace ensures that at least the resource_type 
of a deleted and restored handle doesn't change. I won't delete them as they 
don't disturbe you and as it is wanted behavior.

Regards,
  Pascal

From: Monika C. Mevenkamp [mailto:moni...@princeton.edu]
Sent: Monday, February 02, 2015 3:25 PM
To: dspace-tech@lists.sourceforge.net Tech
Subject: [Dspace-tech] HANDLE table entries without resource_id

the query

SELECT HANDLE_ID, RESOURCE_TYPE_ID, RESOURCE_ID, HANDLE  FROM HANDLE WHERE 
RESOURCE_ID  IS NULL;

finds a couple entries

Is there a reason why I should not delete them ?

Monika


Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] HANDLE table entries without resource_id

2015-02-03 Thread helix84
Also keep in mind that if you ever need to use update-sequences.sql
and the most recently assigned item(s) are deleted, by removing those
NULL entries you would cause the sequence to reassign the same
identifiers the deleted items had to any new item(s) you submit next,
thus again defeating the purpose of a persistent ID.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem update Mirage 2 in DSpace 5.x

2015-02-03 Thread Carlos Walter Blandon Alvarez
Hi.

I ran the command as you I would suggest. But I see the following errors, 
however the process ends well. I have not executed and update command:

[INFO] 
/usr/java/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node:
 error while loading shared libraries: libstdc++.so.6: cannot open shared 
object file: No such file or directory
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
at 
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
at 
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
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: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 
'npm install --color=false' failed. (error code 127)
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:43)
... 24 more
[INFO] -- (Mirage2) com.github.eirslett:frontend-maven-plugin:0.0.16:grunt
[INFO] Running 'grunt classic_mirage_color_scheme no-compass-prod --no-color' 
in 
/usr/java/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2
[INFO] 
/usr/java/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node:
 error while loading shared libraries: libstdc++.so.6: cannot open shared 
object file: No such file or directory
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
at 
com.github.eirslett.maven.plugins.frontend.mojo.GruntMojo.execute(GruntMojo.java:36)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
at 
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at 

Re: [Dspace-tech] google analytics

2015-02-03 Thread Bram Luyten
Hi Stefanie,

is your repository by any chance online accessible that we could see 
verify?
Did you customize your homepage in any way?

I'd be interested to investigate.

best regards,

Bram

-- 
[image: logo]
*Bram Luyten*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On 29 January 2015 at 08:58, Stefanie Behnke 
dsp...@eurographics-office-goslar.de wrote:

 Dear all,

 I am using Dspace 3.1 with xmlui.

 In dspace.cfg I have added my google analytics key.

 But the javascript code only appears on some pages, not on the dspace
 start page.



 What is the problem?

 Thanks and best regards

 Stefanie


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-03 Thread Andrea Schweer

  
  
Hi Sean,

On 03/02/15 20:38, Sean Carte wrote:


  
On 3 February 2015 at 07:23, Sean Carte
  sean.ca...@gmail.com
  wrote:
  

  
  
  Yes, I did (see above). I'll try
again with a fresh download and see if that makes any
difference.

  
  

Well, it seems the problem is me. (Was
  there ever any doubt?) I had changed the git config, but I did
  it as root instead of dspace, so that had no effect on the mvn
  build process. I ran the git config command as the dspace user
  and was able to build Mirage 2 without errors.

  


Perfect, glad to hear you got it working and thanks for letting us
know what the problem was. I've updated the official DSpace
documentation to clarify that it needs to be the same user account
as used for the maven step.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] HIDE COMMUNITIES

2015-02-03 Thread Fernando Casas Osorio
Regards,
As I can hide communities and collections in DSpace 4.0 to users who do not 
have permission to access to them?
Thanks for your help.

Fernando Casas Osorio --
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette