Bram Luyten | 1 Feb 2012 09:56
Picon
Gravatar

Re: Creative Commons linkback issue.

Hi Paul,

seems like you're running into this one:
https://jira.duraspace.org/browse/DS-1090

this is fixed in DSpace 1.8.1

best regards,

Bram

--

 
Bram Luyten <at> mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com



On Tue, Jan 31, 2012 at 10:37 PM, Paul Go <pgoiit-Re5JQEeQqe8@public.gmane.orgm> wrote:

Recently we began seeing an issue with Creative Commons when ingesting a new record.  Previously it worked fine, but now, when we select the Creative Commons option and click back to finish the submission we are getting an error.

The error states java.lang.NegativeArraySizeException: (I've included a screenshot).  We've tried to fix this but have hit a dead end.  Ideas?

Thanks in advance,

Paul Go

Systems Librarian /
Library Technology Manager
Paul V. Galvin Library
35 West 33rd Street
Chicago, IL  60616
312.567.7997
pgo-WW5Npj40DBY@public.gmane.org


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Lewatle Phaladi | 1 Feb 2012 10:46
Picon
Favicon

Re: Vireo on DSpace

Dear Joe

 

Please once you have Vireo on dspace-1.8.0 running let us know, I would like to test it.

 

Regards,

Lewatle

 

From: DeVries, Joe [mailto:joe.devries <at> austin.utexas.edu]
Sent: 17 January 2012 06:41 PM
To: Lewatle Phaladi
Cc: dspace-tech <at> lists.sourceforge.net
Subject: RE: Vireo on DSpace

 

Hi Lewatle,

 

You can download the latest version of Vireo here: http://sourceforge.net/projects/vireo/files/dspace-vireo-1.2.1-release.zip/download, and the source here: http://vireo.svn.sourceforge.net/viewvc/vireo/tags/1.2.1/?view=tar.

 

Please note, the current release of Vireo is based on DSpace 1.5.1.  However, Texas Digital Library is getting ready to release Vireo on DSpace 1.8.x within the next month.

 

You can find instructions for installing Vireo or building it from source in the ‘docs’ folder.  User documentation is located here: http://wikis.tdl.org/tdl/Vireo/User_Documentation.

 

You can get additional support on installing and running Vireo by contacting Texas Digital Library at support <at> tdl.org, or calling 855-495-4317.

 

Regards,

Joe DeVries

 

 

--

Joe DeVries

Senior Software Engineer

Texas Digital Library

Digital Library Services Division

University of Texas at Austin

512-495-4639

PCL 1.335 / S5477

 

From: Lewatle Phaladi [mailto:Lewatle.Phaladi <at> wits.ac.za]
Sent: Tuesday, January 17, 2012 7:50 AM
To: dspace-tech <at> lists.sourceforge.net
Subject: [Dspace-tech] Vireo on DSPace

 

Dear Dspace Team

 

I would like to use Vireo on our DSPace installation to enable student do self-uploads of their Theses, anyone who use vireo or alternative can advise on how to do this in our institution.

 

Regards,

Lewatle

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

 

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Hilton Gibson | 1 Feb 2012 10:53
Picon
Gravatar

Re: Vireo on DSpace

Dear Joe


Me too and possibly on 1.7.2 as well.
We do not massive web programming resources and like to stay one version behind the bleeding edge for the sake of stability.
See our repo here: http://scholar.sun.ac.za

Cheers

hg

On 1 February 2012 11:46, Lewatle Phaladi <Lewatle.Phaladi-PzUryaS2neg@public.gmane.org.za> wrote:

Dear Joe

 

Please once you have Vireo on dspace-1.8.0 running let us know, I would like to test it.

 

Regards,

Lewatle

 

From: DeVries, Joe [mailto:joe.devries <at> austin.utexas.edu]
Sent: 17 January 2012 06:41 PM
To: Lewatle Phaladi
Cc: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: Vireo on DSpace

 

Hi Lewatle,

 

You can download the latest version of Vireo here: http://sourceforge.net/projects/vireo/files/dspace-vireo-1.2.1-release.zip/download, and the source here: http://vireo.svn.sourceforge.net/viewvc/vireo/tags/1.2.1/?view=tar.

 

Please note, the current release of Vireo is based on DSpace 1.5.1.  However, Texas Digital Library is getting ready to release Vireo on DSpace 1.8.x within the next month.

 

You can find instructions for installing Vireo or building it from source in the ‘docs’ folder.  User documentation is located here: http://wikis.tdl.org/tdl/Vireo/User_Documentation.

 

You can get additional support on installing and running Vireo by contacting Texas Digital Library at support-5O9l7Iitdaw@public.gmane.org, or calling 855-495-4317.

 

Regards,

Joe DeVries

 

 

--

Joe DeVries

Senior Software Engineer

Texas Digital Library

Digital Library Services Division

University of Texas at Austin

512-495-4639

PCL 1.335 / S5477

 

From: Lewatle Phaladi [mailto:Lewatle.Phaladi-M99eiNmdnlFWaveUIWBRJg@public.gmane.org]
Sent: Tuesday, January 17, 2012 7:50 AM
To: dspace-tech <at> lists.sourceforge.net
Subject: [Dspace-tech] Vireo on DSPace

 

Dear Dspace Team

 

I would like to use Vireo on our DSPace installation to enable student do self-uploads of their Theses, anyone who use vireo or alternative can advise on how to do this in our institution.

 

Regards,

Lewatle

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

 

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Cell: +27 846 464 758 | Phone: +27 21 808 4100

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Päivi Rosenström | 1 Feb 2012 11:46
Picon
Picon

Re: search can't sort by date issued

Any solution for this found yet ?

Thanks!

Päivi

> Re: [Dspace-tech] search can't sort by date issued
> From: James Bardin <jbardin <at> bu...> -	2011-10-27 19:23
> On Thu, Oct 27, 2011 at 1:52 PM, Blanco, Jose <blancoj <at> ...> wrote:

>>
>> # Browse indexes
>> webui.browse.index.1 = title:item:title
>> webui.browse.index.2 = author:metadata:dc.contributor.author:text
>> webui.browse.index.3 = subject:metadata:dc.subject.*:text
>> webui.browse.index.4 = dateissued:item:dateissued
>>
>> # Sorting options
>> webui.itemlist.sort-option.1 = title:dc.title:title
>> webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
>> webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date
>>

> Yeah, I have dateissued in both the browse.index and sort-option, like above.

> Sorting by dateissued *does* work in browsing, but not for search
> results (I think search result ordering is done by lucene, and not the
> webui). I took a guess and added another search index for
> dateissued:dc.date.issued:date, but that doesn't seem to have any
> effect.

> -jim

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Cristian Romanescu | 1 Feb 2012 13:15
Picon
Favicon

Re: search can't sort by date issued

Greetings,

Have you tried to look into the lucene indexes with Luke tool? 
(http://www.getopt.org/luke/).
We are using:
      search.index.13 = dc_date:dc.date.issued:date
to filter by time interval and it works.

But first, we had to remove the old indexes and re-create them to have 
correct indexing (ie rm -rf $builddir/search and run 
./$builddir/bin/dspace index-init). It only worked when data inside 
index looks like 201201010000 ... - when you look with luke tool

HTH,
Cristian

On 02/01/2012 12:46 PM, Päivi Rosenström wrote:
> Any solution for this found yet ?
>
>
> Thanks!
>
> Päivi
>
>
>> Re: [Dspace-tech] search can't sort by date issued
>> From: James Bardin<jbardin <at> bu...>  -	2011-10-27 19:23
>> On Thu, Oct 27, 2011 at 1:52 PM, Blanco, Jose<blancoj <at> ...>  wrote:
>>> # Browse indexes
>>> webui.browse.index.1 = title:item:title
>>> webui.browse.index.2 = author:metadata:dc.contributor.author:text
>>> webui.browse.index.3 = subject:metadata:dc.subject.*:text
>>> webui.browse.index.4 = dateissued:item:dateissued
>>>
>>> # Sorting options
>>> webui.itemlist.sort-option.1 = title:dc.title:title
>>> webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
>>> webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date
>>>
>> Yeah, I have dateissued in both the browse.index and sort-option, like above.
>> Sorting by dateissued *does* work in browsing, but not for search
>> results (I think search result ordering is done by lucene, and not the
>> webui). I took a guess and added another search index for
>> dateissued:dc.date.issued:date, but that doesn't seem to have any
>> effect.
>
>> -jim
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Picon

Rebuilding Dspace

We are currently building space 1.8.1 from the ground up.  We have setup submissions and users and many other configuration changes so that everything is working well (for the most part).
I noticed yesterday that the advanced search fields don't allow searching for the fields we have recently created.  I found these instructions to update these fields:

The 6th step is what worries me.  Will changing the source config and running mvn package and ant update digress all of the progress we have made so far?

Thank you for your help,
Matt Henry
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Peter Dietz | 1 Feb 2012 18:29
Picon
Gravatar

Re: search can't sort by date issued

Hi All,


I've just started digging into this as well. Its really unfortunate to only get "relevance" results for searches.

In digging in, I've spit out the stack trace, and its telling me a few things. 
1) Do we have "bad" metadata for dc.date.issued? 
-- (I've already harassed my content folks to have them review all our metadata) ;)

2) Are we doing the comparison of dates incorrectly. The error below says is the value of "dateissued" an INT.
-- I've been reading this thread, which is very similar: http://www.gossamer-threads.com/lists/lucene/java-user/109530


2012-01-31 17:47:02,475 ERROR org.dspace.search.DSQuery <at> Unable to use speficied sort option: dateissued
2012-01-31 17:47:02,475 ERROR org.dspace.search.DSQuery <at> Invalid shift value in prefixCoded string (is encoded value really an INT?)
2012-01-31 17:47:02,476 ERROR org.dspace.search.DSQuery <at> java.lang.NumberFormatException: Invalid shift value in prefixCoded string (is encoded value really an INT?)
at org.apache.lucene.util.NumericUtils.prefixCodedToInt(NumericUtils.java:233)
at org.apache.lucene.search.FieldCache$7.parseInt(FieldCache.java:237)
at org.apache.lucene.search.FieldCacheImpl$IntCache.createValue(FieldCacheImpl.java:457)
at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:224)
at org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:430)
at org.apache.lucene.search.FieldCacheImpl$IntCache.createValue(FieldCacheImpl.java:447)
at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:224)
at org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:430)
at org.apache.lucene.search.FieldComparator$IntComparator.setNextReader(FieldComparator.java:332)
at org.apache.lucene.search.TopFieldCollector$MultiComparatorNonScoringCollector.setNextReader(TopFieldCollector.java:435)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:249)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:240)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:181)
at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:113)
at org.apache.lucene.search.Hits.<init>(Hits.java:90)
at org.apache.lucene.search.Searcher.search(Searcher.java:63)
at org.dspace.search.DSQuery.doQuery(DSQuery.java:151)
at org.dspace.search.DSQuery.doQuery(DSQuery.java:309)
at org.dspace.app.xmlui.aspect.artifactbrowser.AbstractSearch.performSearch(AbstractSearch.java:438)


Just for fun, I enabled Discovery on our development machines, and sorting by date issued works perfectly in a search. So, a quick-fix would be to switch to using discovery. But, none-the-less, I look forward to getting a resolution to this issue.


Peter Dietz



On Wed, Feb 1, 2012 at 7:15 AM, Cristian Romanescu <cristian.romanescu-TkmMeo7H0CqhKNWrAYCRhA@public.gmane.org> wrote:
Greetings,

Have you tried to look into the lucene indexes with Luke tool?
(http://www.getopt.org/luke/).
We are using:
     search.index.13 = dc_date:dc.date.issued:date
to filter by time interval and it works.

But first, we had to remove the old indexes and re-create them to have
correct indexing (ie rm -rf $builddir/search and run
./$builddir/bin/dspace index-init). It only worked when data inside
index looks like 201201010000 ... - when you look with luke tool

HTH,
Cristian


On 02/01/2012 12:46 PM, Päivi Rosenström wrote:
> Any solution for this found yet ?
>
>
> Thanks!
>
> Päivi
>
>
>> Re: [Dspace-tech] search can't sort by date issued
>> From: James Bardin<jbardin <at> bu...>  - 2011-10-27 19:23
>> On Thu, Oct 27, 2011 at 1:52 PM, Blanco, Jose<blancoj <at> ...>  wrote:
>>> # Browse indexes
>>> webui.browse.index.1 = title:item:title
>>> webui.browse.index.2 = author:metadata:dc.contributor.author:text
>>> webui.browse.index.3 = subject:metadata:dc.subject.*:text
>>> webui.browse.index.4 = dateissued:item:dateissued
>>>
>>> # Sorting options
>>> webui.itemlist.sort-option.1 = title:dc.title:title
>>> webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
>>> webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date
>>>
>> Yeah, I have dateissued in both the browse.index and sort-option, like above.
>> Sorting by dateissued *does* work in browsing, but not for search
>> results (I think search result ordering is done by lucene, and not the
>> webui). I took a guess and added another search index for
>> dateissued:dc.date.issued:date, but that doesn't seem to have any
>> effect.
>
>> -jim
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Tim Donohue | 1 Feb 2012 20:06
Favicon
Gravatar

Re: A More Detailed AIP Tool Question

Hi Patrick,

Just getting around to looking at your detailed question here.

I think, in a round-a-bout way you are actually running into a newly 
discovered "known issue" described here:

https://jira.duraspace.org/browse/DS-1105

I've just finished updating the latest "AIP Backup & Restore" 
documentation with a warning about this known issue.

Based on your description, I think you should be able to follow one of 
described "workarounds" to allow you to submit AIPs into your "merged" 
DSpace instance.

The workarounds are described both in the JIRA issue above, and in a new 
"warning box" at the end of this section of the AIP Backup & Restore docs:

https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-SubmittinganAIPHierarchy

Hopefully this will help out.  If I misunderstood, please let me know. 
But, I think your underlying problem here is that if you are just 
submitting a *single* Community or Collection AIP to a new DSpace, 
currently the AIP Backup & Restore tool cannot create missing 
Groups/EPeople.  Rather, the AIP Backup & Restore tool is tailored more 
towards only creating Groups/EPeople automatically during a *full site 
restore*.

- Tim

On 1/12/2012 3:12 PM, Patrick Etienne wrote:
> DSpace Tech List,
>
> In further pursuit of exporting and importing data between two dspace
> instances, I have a somewhat more advanced question that I'm seeking
> help with. I'm running into a problem where an error is being thrown,
> letting me know that certain epersons already exist within the instance
> which is the import target. I've attempted a few things such as
> modifying the configuration of the export instance, modifying the
> configuration of the import instance, and removing epersons to no avail.
> I'll lay out the specifics below. If anyone has ideas, they'd be most
> appreciated.
>
> First I'll detail the specific action that I'm attempting to make.
> I have two dspace instances that I'm trying to "merge" in a specific
> way. One instance is a "meta" instance of sorts - it contains the
> structure of several different whole instances, where each outside whole
> instance is a community within the meta-instance. My task has been to
> make certain that all communities, collections and items from the
> original whole instance are present within the associated meta-instance
> community for that source instance. This means that the parent AIP
> objects (my term, not sure if I'm using it 100% correctly) are different
> for the source and destination instances. Specifically, when working
> with the source instance, I'm doing a full export of the entire site (-i
> handle/0). But when importing the export, I'm attempting to place the
> entire tree at a specific community within the destination instance (-p
> handle/1234).
>
> Here's the command that I'm using during the import (the export goes fine):
> ./dspace packager -r -a -t AIP -p 123456789/2814 -e
> administrator@... path-to-archive/aip.2012-01-11.zip
>
> Now, I'll paste a copy of the specific error I'm running into:
> -----------------------------------
> Destination parents:
> Owner: 123456789/2814
> Ingesting package located at
> /var/www/dspace_root/src/aip/albany_dev.aip.2012-01-11/albany_dev.aip.2012-01-11.zip
> Also ingesting all referenced packages (recursive mode)..
> This may take a while, please check your logs for ongoing status while
> we process each package.
> org.dspace.content.crosswalk.CrosswalkInternalException:
> org.dspace.content.packager.PackageException: EPerson user@...
> already exists.
> at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:338)
> at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:257)
> at
> org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1151)
> at
> org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1064)
> at
> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:459)
> at
> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:120)
> at org.dspace.app.packager.Packager.ingest(Packager.java:515)
> at org.dspace.app.packager.Packager.main(Packager.java:427)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> Caused by: org.dspace.content.packager.PackageException: EPerson
> ashley.williams@...
<mailto:ashley.williams@...> already
> exists.
> at
> org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:119)
> at org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:448)
> at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:334)
> ... 13 more
> -----------------------------------
>
> After encountering this error, I looked around in the dspace.cfg of both
> the source and destination instances and had two thoughts. First was
> that perhaps I could disable eperson information from being exported by
> removing dspace.cfg references to DSPACE-ROLES within the dspace.cfg. I
> ended up removing several DSPACE-ROLES references (this was pretty much
> just the best educated guess I could make based on reading up on the
> associated sections of the dspace.cfg) but the import with this kind of
> export yielded a fairly expected kind of error:
>
> -----------------------------------
> Destination parents:
> Owner: 123456789/2814
> Ingesting package located at
> /var/www/dspace_root/src/aip/albany_dev.aip.2012-01-11/albany_dev.aip.2012-01-11.zip
> Also ingesting all referenced packages (recursive mode)..
> This may take a while, please check your logs for ongoing status while
> we process each package.
> org.dspace.content.crosswalk.CrosswalkInternalException: Cannot restore
> Group permissions on object (type=COLLECTION, handle=ALBANYDEV/58,
> ID=64). The Group named 'COLLECTION_64_ADMIN' is missing from DSpace.
> Please restore this group using the SITE AIP, or recreate it.
> at
> org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:479)
> at
> org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:426)
> at
> org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1151)
> at
> org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1072)
> at
> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:459)
> at
> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:120)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
> at
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
> at org.dspace.app.packager.Packager.ingest(Packager.java:515)
> at org.dspace.app.packager.Packager.main(Packager.java:427)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> org.dspace.content.crosswalk.CrosswalkInternalException: Cannot restore
> Group permissions on object (type=COLLECTION, handle=ALBANYDEV/58,
> ID=64). The Group named 'COLLECTION_64_ADMIN' is missing from DSpace.
> Please restore this group using the SITE AIP, or recreate it.
> -----------------------------------
>
> Another thing I tried hinged on the following import property:
> #mets.dspaceAIP.ingest.createSubmitter = false
>
> I'm not sure how closely related it might be, but I enabled the
> directive and set it to false (even though the default is listed as
> being false) just to see if it had an effect. It did not.
>
> The last thing I tried was to make a copy of the destination instance,
> then remove the offending epersons from the instance, then try the
> import again. This worked okay with the first duplicate eperson, but
> even though I'm an administrator for the system, I did not have the
> option of deleting the second eperson from the system (the checkmark box
> from the xmlui was greyed-out and unselectable).
>
>
> I'm not sure what to try from here - outside of removing epersons via
> SQL and trying the import again. Even then, I'm not sure what affects
> there might be on my destination instance from removing the necessary
> epersons.
>
> Any help or advice one could offer on this issue would most definitely
> be appreciated.
>
> Many Thanks!
>
>   - Patrick Etienne
>
> --
> Patrick K. Etienne
> Systems Analyst
> Georgia Institute of Technology
> Library & Information Center
> (404) 385-8121
>
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@...
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Diwakar Timilsina | 1 Feb 2012 20:09
Picon
Favicon

SWORD deposit issue using DSpace and Vireo

We have a target DSpace 1.7.2 instance and a client DSpace 1.5.2 instance (Vireo ETD management system by Texas Digital Library).

 

SWORD deposit from the client to the server was working fine for last several weeks and all of a sudden it stopped working yesterday.

 

 

This is what I have found so far:

 

The SWORD client creates the package, makes a request for the Service document. It receives the service doc from the server. However, it looks like it just gets stuck there after that. I don’t see any error messages on the target server nor on the client. The username/password for the SWORD deposit user is working correctly as well.

 

I would appreciate if some SWORD experts could shed some light into this issue.

 

 

 

Target DSpace instance DEBUG log:

2012-02-01 11:20:17,159 DEBUG org.purl.sword.server.ServiceDocumentServlet <at> Requested url is: http://uarkive.uark.edu:8080/sword/servicedocument

2012-02-01 11:20:17,159 DEBUG org.purl.sword.server.ServiceDocumentServlet <at> Requested url with Query String is: http://uarkive.uark.edu:8080/sword/servicedo

2012-02-01 11:20:17,161 INFO  org.dspace.sword.SWORDAuthenticator <at> anonymous:session_id=0:ip_addr=130.184.5.7:sword_authenticate:username=repouser,on_behalf

2012-02-01 11:20:17,161 INFO  org.dspace.authenticate.LDAPAuthentication <at> anonymous:session_id=0:ip_addr=130.184.5.7:auth:attempting trivial auth of user=re

2012-02-01 11:20:17,161 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSON where netid = ? "  with parameters: repouser

2012-02-01 11:20:17,195 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSON where netid = ? "  with parameters: repouser

2012-02-01 11:20:17,196 INFO  org.dspace.authenticate.LDAPAuthentication <at> repouser-LUEPb7RyHI4@public.gmane.org:session_id=0:ip_addr=130.184.5.7:authenticate:type=ldap

2012-02-01 11:20:17,196 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where name = ? "  with parameters: uarkInt

2012-02-01 11:20:17,197 DEBUG org.dspace.sword.SWORDAuthenticator <at> Adding Special Group id=20

2012-02-01 11:20:17,198 DEBUG org.dspace.sword.DSpaceSWORDServer <at> repouser-LUEPb7RyHI4@public.gmane.org:session_id=0:ip_addr=130.184.5.7:sword_do_service_document:

2012-02-01 11:20:17,198 INFO  org.dspace.sword.DSpaceSWORDServer <at> repouser-LUEPb7RyHI4@public.gmane.org:session_id=0:ip_addr=130.184.5.7:sword_service_document_request:username

2012-02-01 11:20:17,198 DEBUG org.dspace.sword.CommunityCollectionGenerator <at> Created instance of CommunityCollectionGenerator

2012-02-01 11:20:17,198 DEBUG org.dspace.sword.CollectionCollectionGenerator <at> Create new instance of CollectionCollectionGenerator

2012-02-01 11:20:17,198 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM collection ORDER BY name"  with parameters:

2012-02-01 11:20:17,203 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from ITEM where ITEM_ID = ? "  with parameters: 48

2012-02-01 11:20:17,204 DEBUG org.dspace.content.Item <at> repouser-LUEPb7RyHI4@public.gmane.org:session_id=0:ip_addr=130.184.5.7:find_item:item_id=48

2012-02-01 11:20:17,204 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id = ?"

2012-02-01 11:20:17,205 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with paramet

2012-02-01 11:20:17,207 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with paramet

2012-02-01 11:20:17,208 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with paramet

2012-02-01 11:20:17,209 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with paramet

2012-02-01 11:20:17,210 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with paramet

2012-02-01 11:20:17,211 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id = ?"

2012-02-01 11:20:17,212 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT community.* FROM community, community2collection WHERE communi

2012-02-01 11:20:17,215 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id = ?"

2012-02-01 11:20:17,216 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT community.* FROM community, community2community WHERE communit

2012-02-01 11:20:17,217 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM epersongroup2eperson WHERE eperson_id= ?"  with paramet

2012-02-01 11:20:17,219 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM group2groupcache WHERE child_id= ?  OR child_id= ?  OR

2012-02-01 11:20:17,220 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM resourcepolicy WHERE resource_type_id= ? AND resource_i

2012-02-01 11:20:17,221 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM epersongroup2eperson WHERE eperson_id= ?"  with paramet

2012-02-01 11:20:17,223 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "SELECT * FROM group2groupcache WHERE child_id= ?  OR child_id= ?  OR

2012-02-01 11:20:17,224 DEBUG org.dspace.sword.CollectionCollectionGenerator <at> Created ATOM Collection for DSpace Collection <----- (LAST LOG EVENT)

 

Source DSpace instance DEBUG log:

2012-02-01 11:20:17,012 DEBUG org.dspace.storage.rdbms.DatabaseManager <at> Running query "select * from bitstream where bitstream_id = ? "  with parameters: 267

2012-02-01 11:20:17,015 DEBUG org.dspace.storage.bitstore.BitstreamStorageManager <at> Local filename for 114421080641945003015396283382390725849 is /usr/local/vireo/assetstore/11/44/21/114421080641945003015396283382390725849

2012-02-01 11:20:17,052 DEBUG org.purl.sword.client.Client <at> proxy host: null

2012-02-01 11:20:17,052 DEBUG org.purl.sword.client.Client <at> proxy port: -1

2012-02-01 11:20:17,087 DEBUG org.purl.sword.client.Client <at> server: uarkive.uark.edu port: 8080 u: 'repouser' p ‘XXXXXXX’

2012-02-01 11:20:17,151 INFO  org.apache.commons.httpclient.auth.AuthChallengeProcessor <at> basic authentication scheme selected

2012-02-01 11:20:17,153 DEBUG httpclient.wire.content <at> << "<html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.23</h3></body></html>"

2012-02-01 11:20:17,231 DEBUG httpclient.wire.content <at> << "b"

2012-02-01 11:20:17,231 DEBUG httpclient.wire.content <at> << "2"

2012-02-01 11:20:17,231 DEBUG httpclient.wire.content <at> << "2"

2012-02-01 11:20:17,231 DEBUG httpclient.wire.content <at> << "[\r]"

2012-02-01 11:20:17,231 DEBUG httpclient.wire.content <at> << "[\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "<?xml version="1.0" encoding="UTF-8"?>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "<app:service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:sword="http://purl.org/net/sword/" xmlns:dcterms="http://purl.org/dc/terms/">[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <sword:version>1.3</sword:version>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <sword:verbose>true</sword:verbose>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <sword:noOp>true</sword:noOp>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <sword:maxUploadSize>-1</sword:maxUploadSize>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1" version="1.3"/>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "   <app:workspace>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "      <atom:title type="text">UA Digital Library</atom:title>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "      <app:collection href="http://uarkive.uark.edu:8080/sword/deposit/10826/51">[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "         <atom:title type="text">Undergraduate Honors Theses</atom:title>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "         <app:accept>application/zip</app:accept>[\r][\n]"

2012-02-01 11:20:17,232 DEBUG httpclient.wire.content <at> << "         <sword:acceptPackaging q="1.0">http://purl.org/net/sword-types/METSDSpaceSIP</sword:acceptPackaging>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "         <sword:collectionPolicy>NOTE: PLACE YOUR OWN LICENSE HERE This sample license is provided for informational purposes only. NON-EXCLUSIVE DISTRIBUTION LICENSE By signing and submitting this license, you (the author(s) or copyright owner) grants to DSpace University (DSU) the non-exclusive right to reproduce, translate (as defined below), and/or distribute your submission (including the abstract) worldwide in print and electronic format and in any medium, including but not limited to audio or video. You agree that DSU may, without changing the content, translate the submission to any medium or format for the purpose of preservation. You also agree that DSU may keep more than one copy of this submission for purposes of security, back-up and preservation. You represent that the submission is your original work, and that you have the right to grant the rights contained in this license. You also represent that your submission does not, to the best of your knowledge, infringe upon anyone's copyright. If the submission contains material for which you do not hold copyright, you represent that you have obtained the unrestricted permission of the copyright owner to grant DSU the rights required by this license, and that such third-party owned material is clearly identified and acknowledged within the text or content of the submission. IF THE SUBMISSION IS BASED UPON WORK THAT HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION OTHER THAN DSU, YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR OTHER OBLIGATIONS REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly identify your name(s) as the author(s) or owner(s) of the submission, and will not make any alteration, other than as allowed by this license, to your submission. </sword:collectionPolicy>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "         <dcterms:abstract>Undergraduate Honors Theses</dcterms:abstract>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "         <sword:mediation>true</sword:mediation>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "      </app:collection>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "   </app:workspace>[\r][\n]"

2012-02-01 11:20:17,233 DEBUG httpclient.wire.content <at> << "</app:service>[\r][\n]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\r]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\n]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "0"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\r]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\n]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\r]"

2012-02-01 11:20:17,234 DEBUG httpclient.wire.content <at> << "[\n]"

2012-02-01 11:20:17,234 DEBUG org.purl.sword.client.Client <at> returned message is: <?xml version="1.0" encoding="UTF-8"?>

<app:service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:sword="http://purl.org/net/sword/" xmlns:dcterms="http://purl.org/dc/terms/">

   <sword:version>1.3</sword:version>

   <sword:verbose>true</sword:verbose>

   <sword:noOp>true</sword:noOp>

   <sword:maxUploadSize>-1</sword:maxUploadSize>

   <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1" version="1.3"/>

   <app:workspace>

      <atom:title type="text">UA Digital Library</atom:title>

      <app:collection href="http://uarkive.uark.edu:8080/sword/deposit/10826/51">

         <atom:title type="text">Undergraduate Honors Theses</atom:title>

         <app:accept>application/zip</app:accept>

         <sword:acceptPackaging q="1.0">http://purl.org/net/sword-types/METSDSpaceSIP</sword:acceptPackaging>

         <sword:collectionPolicy>NOTE: PLACE YOUR OWN LICENSE HERE This sample license is provided for informational purposes only. NON-EXCLUSIVE DISTRIBUTION LICENSE By signing and submitting this license, you (the author(s) or copyright owner) grants to DSpace University (DSU) the non-exclusive right to reproduce, translate (as defined below), and/or distribute your submission (including the abstract) worldwide in print and electronic format and in any medium, including but not limited to audio or video. You agree that DSU may, without changing the content, translate the submission to any medium or format for the purpose of preservation. You also agree that DSU may keep more than one copy of this submission for purposes of security, back-up and preservation. You represent that the submission is your original work, and that you have the right to grant the rights contained in this license. You also represent that your submission does not, to the best of your knowledge, infringe upon anyone's copyright. If the submission contains material for which you do not hold copyright, you represent that you have obtained the unrestricted permission of the copyright owner to grant DSU the rights required by this license, and that such third-party owned material is clearly identified and acknowledged within the text or content of the submission. IF THE SUBMISSION IS BASED UPON WORK THAT HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION OTHER THAN DSU, YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR OTHER OBLIGATIONS REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly identify your name(s) as the author(s) or owner(s) of the submission, and will not make any alteration, other than as allowed by this license, to your submission. </sword:collectionPolicy>

         <dcterms:abstract>Undergraduate Honors Theses</dcterms:abstract>

         <sword:mediation>true</sword:mediation>

      </app:collection>

   </app:workspace>

</app:service>

 

2012-02-01 11:20:17,425 DEBUG org.purl.sword.client.Client <at> server: uarkive.uark.edu port: 8080 u: 'repouser' p 'XXXXXX' <----- (LAST LOG EVENT)

 

 

Diwakar Timilsina

Systems Analyst, UITS

University of Arkansas, Fayetteville

Email: diwakar-LUEPb7RyHI4@public.gmane.org

Phone: 479.575.6160

 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Patrick Etienne | 1 Feb 2012 20:36
Picon
Favicon

Re: A More Detailed AIP Tool Question

Tim, 


Many thanks for the response! I did see DS-1105 when it came across the list and thought that it looked like it was particularly related to what I've been experiencing. I've really been putting the AIP tool through a lot of various use cases lately. I'm focused mostly on getting a couple more specific tasks done for a project, but I hope to take some time afterward for concisely documenting my experience with the tool over the past several weeks in case it helps the community either with debugging or for others looking to get more acquainted with the tool. I just pulled up your new notes on the AIP Backup and Restore wiki page with the workarounds. I really appreciate your putting those notes together, I think it'll help a great deal. Again, hopefully sometime in the near future I may have something of my own to contribute to the efforts related to the AIP tool. Thanks again Tim!

 - Patrick E.

On Wed, Feb 1, 2012 at 2:06 PM, Tim Donohue <tdonohue-db6tg5YPMqnNLxjTenLetw@public.gmane.org> wrote:
Hi Patrick,

Just getting around to looking at your detailed question here.

I think, in a round-a-bout way you are actually running into a newly discovered "known issue" described here:

https://jira.duraspace.org/browse/DS-1105

I've just finished updating the latest "AIP Backup & Restore" documentation with a warning about this known issue.

Based on your description, I think you should be able to follow one of described "workarounds" to allow you to submit AIPs into your "merged" DSpace instance.

The workarounds are described both in the JIRA issue above, and in a new "warning box" at the end of this section of the AIP Backup & Restore docs:

https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-SubmittinganAIPHierarchy

Hopefully this will help out.  If I misunderstood, please let me know. But, I think your underlying problem here is that if you are just submitting a *single* Community or Collection AIP to a new DSpace, currently the AIP Backup & Restore tool cannot create missing Groups/EPeople.  Rather, the AIP Backup & Restore tool is tailored more towards only creating Groups/EPeople automatically during a *full site restore*.

- Tim


On 1/12/2012 3:12 PM, Patrick Etienne wrote:
DSpace Tech List,

In further pursuit of exporting and importing data between two dspace
instances, I have a somewhat more advanced question that I'm seeking
help with. I'm running into a problem where an error is being thrown,
letting me know that certain epersons already exist within the instance
which is the import target. I've attempted a few things such as
modifying the configuration of the export instance, modifying the
configuration of the import instance, and removing epersons to no avail.
I'll lay out the specifics below. If anyone has ideas, they'd be most
appreciated.

First I'll detail the specific action that I'm attempting to make.
I have two dspace instances that I'm trying to "merge" in a specific
way. One instance is a "meta" instance of sorts - it contains the
structure of several different whole instances, where each outside whole
instance is a community within the meta-instance. My task has been to
make certain that all communities, collections and items from the
original whole instance are present within the associated meta-instance
community for that source instance. This means that the parent AIP
objects (my term, not sure if I'm using it 100% correctly) are different
for the source and destination instances. Specifically, when working
with the source instance, I'm doing a full export of the entire site (-i
handle/0). But when importing the export, I'm attempting to place the
entire tree at a specific community within the destination instance (-p
handle/1234).

Here's the command that I'm using during the import (the export goes fine):
./dspace packager -r -a -t AIP -p 123456789/2814 -e
administrator-61u9bcnMqzMpfFuVJqdT6A@public.gmane.org path-to-archive/aip.2012-01-11.zip

Now, I'll paste a copy of the specific error I'm running into:
-----------------------------------
Destination parents:
Owner: 123456789/2814
Ingesting package located at
/var/www/dspace_root/src/aip/albany_dev.aip.2012-01-11/albany_dev.aip.2012-01-11.zip
Also ingesting all referenced packages (recursive mode)..
This may take a while, please check your logs for ongoing status while
we process each package.
org.dspace.content.crosswalk.CrosswalkInternalException:
org.dspace.content.packager.PackageException: EPerson user-61u9bcnMqzOeZLLa646FqQ@public.gmane.orgt
already exists.
at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:338)
at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:257)
at
org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1151)
at
org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1064)
at
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:459)
at
org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:120)
at org.dspace.app.packager.Packager.ingest(Packager.java:515)
at org.dspace.app.packager.Packager.main(Packager.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.dspace.content.packager.PackageException: EPerson
ashley.williams-/B0DDXuvOuSVc3sceRu5cw@public.gmane.org <mailto:ashley.williams <at> asurams.edu> already

exists.
at
org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:119)
at org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:448)
at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:334)
... 13 more
-----------------------------------

After encountering this error, I looked around in the dspace.cfg of both
the source and destination instances and had two thoughts. First was
that perhaps I could disable eperson information from being exported by
removing dspace.cfg references to DSPACE-ROLES within the dspace.cfg. I
ended up removing several DSPACE-ROLES references (this was pretty much
just the best educated guess I could make based on reading up on the
associated sections of the dspace.cfg) but the import with this kind of
export yielded a fairly expected kind of error:

-----------------------------------
Destination parents:
Owner: 123456789/2814
Ingesting package located at
/var/www/dspace_root/src/aip/albany_dev.aip.2012-01-11/albany_dev.aip.2012-01-11.zip
Also ingesting all referenced packages (recursive mode)..
This may take a while, please check your logs for ongoing status while
we process each package.
org.dspace.content.crosswalk.CrosswalkInternalException: Cannot restore
Group permissions on object (type=COLLECTION, handle=ALBANYDEV/58,
ID=64). The Group named 'COLLECTION_64_ADMIN' is missing from DSpace.
Please restore this group using the SITE AIP, or recreate it.
at
org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:479)
at
org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:426)
at
org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1151)
at
org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1072)
at
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:459)
at
org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:120)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:165)
at org.dspace.app.packager.Packager.ingest(Packager.java:515)
at org.dspace.app.packager.Packager.main(Packager.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
org.dspace.content.crosswalk.CrosswalkInternalException: Cannot restore
Group permissions on object (type=COLLECTION, handle=ALBANYDEV/58,
ID=64). The Group named 'COLLECTION_64_ADMIN' is missing from DSpace.
Please restore this group using the SITE AIP, or recreate it.
-----------------------------------

Another thing I tried hinged on the following import property:
#mets.dspaceAIP.ingest.createSubmitter = false

I'm not sure how closely related it might be, but I enabled the
directive and set it to false (even though the default is listed as
being false) just to see if it had an effect. It did not.

The last thing I tried was to make a copy of the destination instance,
then remove the offending epersons from the instance, then try the
import again. This worked okay with the first duplicate eperson, but
even though I'm an administrator for the system, I did not have the
option of deleting the second eperson from the system (the checkmark box
from the xmlui was greyed-out and unselectable).


I'm not sure what to try from here - outside of removing epersons via
SQL and trying the import again. Even then, I'm not sure what affects
there might be on my destination instance from removing the necessary
epersons.

Any help or advice one could offer on this issue would most definitely
be appreciated.

Many Thanks!

 - Patrick Etienne

--
Patrick K. Etienne
Systems Analyst
Georgia Institute of Technology
Library & Information Center
(404) 385-8121




------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2



_______________________________________________
DSpace-tech mailing list
DSpace-tech-5NWGOfrQmneRv+LV9MX5uuRhgaa4a2kL@public.gmane.orgnet
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Patrick K. Etienne
Systems Analyst
Georgia Institute of Technology
Library & Information Center
(404) 385-8121


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

Gmane