[Dspace-tech] handles Pointing to the Same Resource

2013-09-03 Thread Sean Carte
We noticed that seven handles pointed to the same item. I looked at the handle table and found this: dspace= SELECT * FROM handle WHERE resource_id = 938; handle_id | handle | resource_type_id | resource_id ---+---+--+- 673 | 10321/673 |

[Dspace-tech] Simple Archive Format

2013-09-03 Thread Webshet, Sisay (ILRI)
Hi all , we are running dsapce 3.1 using linux/xmlui version,tomcat 6 I tried to use command line tools for importing items in batches. But I faced this error java.lang.RuntimeException: Error while attempting to create identifier for Item id: 30115 Can any body has hint on this Thanks

Re: [Dspace-tech] Simple Archive Format

2013-09-03 Thread helix84
Hi Sisay, yes, other people have encountered this or similar errors, but we need the full stack trace (including the Caused by: lines) from your log files to determine the source of the problem. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette

Re: [Dspace-tech] handles Pointing to the Same Resource

2013-09-03 Thread helix84
Hi Sean, the fact that this was possible indicates an error in our workflow and needs to be fixed. Please, create a Jira issue with steps to reproduce the problem. There should be no problem if you delete all but one of the rows from the handle table. The only implication will be that the other

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread helix84
Hi Owen, I did some preliminary investigation. The license text gets added to DRI here: https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/LicenseStep.java#L105 And here's JavaDoc for that method:

Re: [Dspace-tech] Simple Archive Format

2013-09-03 Thread Webshet, Sisay (ILRI)
Hi Helix, Here is the information from the log file Thanks 2013-09-03 15:03:17,517 INFO org.dspace.content.Item @ s.webs...@cgiar.org::update_item:item_id=30118 2013-09-03 15:03:17,537 INFO org.dspace.content.Item @ s.webs...@cgiar.org::create_item:item_id=30118 2013-09-03 15:03:17,590 INFO

Re: [Dspace-tech] Simple Archive Format

2013-09-03 Thread Webshet, Sisay (ILRI)
This is also from the screenshot after running the command INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=00307bc2-5b04-42c9-8cce-613874cef7a1,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main]

Re: [Dspace-tech] handles Pointing to the Same Resource

2013-09-03 Thread Sean Carte
On 3 September 2013 14:02, helix84 heli...@centrum.sk wrote: the fact that this was possible indicates an error in our workflow and needs to be fixed. Please, create a Jira issue with steps to reproduce the problem. I haven't seen this problem before, and the handle table doesn't seem to

Re: [Dspace-tech] Error while Browsing XMLUI?

2013-09-03 Thread helix84
I'm not exactly sure what the problem is, but check whether the context definition in your servlet container contains a valid path. You can send your context definition here. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette

Re: [Dspace-tech] Modify the emails automatically sent from Dspace (1.8.2)

2013-09-03 Thread helix84
Hi Kevin, yes it is possible, but you have to modify both the email templates and the relevant source code - add an addArgument() call for each parameter you wish to add. They will appear in that order as numbered parameters in the template. Here's an example of an email template being used

Re: [Dspace-tech] Simple Archive Format

2013-09-03 Thread helix84
During handle creation for an item, you're passing a collection where an item is expected. It seems to me that during item creation it's checked whether that handle already exists and it's found to exist (this shouldn't happen!) and it is a collection. Run

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread Owen Williams
helix84, On Tue, 2013-09-03 at 14:13 +0200, helix84 wrote: I did some preliminary investigation. The license text gets added to DRI here: https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/LicenseStep.java#L105 And

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread helix84
I understand your motivation to refrain from modifying any Java code. Without digging much deeper, I recommend you to ignore (in XSL) the license text as Java inserts it into DRI. Instead, use the XSL document() call to include a license file with DRI tags (same as in news-xmlui.xml). Please

Re: [Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-03 Thread Tiago Rodrigo Marçal Murakami
Hi Alcides, We edit the Tomcat file server.xml to force UTF-8: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 *URIEncoding=UTF-8* redirectPort=8443 / Att, Tiago R. M. Murakami Comunicação Científica e Acadêmica Departamento Técnico -

[Dspace-tech] XMLUI Question - Identifying embargo/restricted thumbnails in XSLT (DSpace 3.1)

2013-09-03 Thread Terry Brady
In XMLUI, is there a way to detect that a thumbnail is restricted when generating an item reference? Currently, when a user views a list of items, the thumbnail references are returned. If a thumbnail is restricted, the image is not returned because the request is redirected to the login screen.

[Dspace-tech] metadata extract for withdrawn items

2013-09-03 Thread Kirti Bodhmage
Hi We got nearly 700 items in withdrawn state. Is there any easy way to export metadata for these 700 records. I found few sql queries in dspace.log after enabling debug but finding it difficult to co-relate them. Thanks Kirti

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread Owen Williams
Helix84, On Tue, 2013-09-03 at 15:42 +0200, helix84 wrote: I understand your motivation to refrain from modifying any Java code. Without digging much deeper, I recommend you to ignore (in XSL) the license text as Java inserts it into DRI. Instead, use the XSL document() call to include a

[Dspace-tech] Custom Metadata-entry Pages for Submission

2013-09-03 Thread Thomas Ronayne
I need to add custom metadata-entry pages for submission (using a modified/input-forms.xml/ file) and modify at least one field, /Language/, to change /en_US/ to /en/ and either replace /Chinese/ and /Japanese/ with /Greek/ and/Latin/ or add them as additional languages. I do not wish to

Re: [Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-03 Thread Alcides Carlos de Moraes Neto
Hello helix, thank you for your input. Indeed, it is a problem with the filter-media generated txt. A filter-media -f resolved the issue for this specific item. I scheduled a full filter-media -f of the repository tonight. Ats, Alcides Carlos de Moraes Neto 2013/9/3 helix84

[Dspace-tech] Getting DSpace to use Amazon S3 for content storage

2013-09-03 Thread Charles Keagle
I have been looking at making DSpace use an Amazon S3 Bucket when it stores a database entry so the Metadata goes into the oracle database on an Amazon RDS Instance and the content goes directly to the S3. With s3cmd, using the http access to the S3 has much better performance than using the

Re: [Dspace-tech] Messages.properties - Editing for metadata value

2013-09-03 Thread Hardik Mishra
Mr, Sugumaran You can place modified messages.properties to*dspace/webapps/jspui/WEB-INF/classes * direcotry also. It should work -- Thanks Hardik Mishra -- Forwarded message -- From: c_sugumaran csuguma...@gmail.com To: dspace-tech@lists.sourceforge.net Cc: Date: Sun, 1 Sep

Re: [Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-03 Thread Alcides Carlos de Moraes Neto
Thank you all, Tomcat is set to URIEncoding=UTF-8, so that's not the issue. I'm suspecting that filter-media is generating invalid .txt but haven't found anything yet. Ats, Alcides Carlos de Moraes Neto 2013/9/3 Tiago Rodrigo Marçal Murakami tiago.murak...@dt.sibi.usp.br Hi Alcides, We

Re: [Dspace-tech] XMLUI Question - Identifying embargo/restricted thumbnails in XSLT (DSpace 3.1)

2013-09-03 Thread helix84
Hi Terry, thumbnails in XMLUI are not put in by Java code. There's XSL which processes the METS file's (METS example [1], called here [2], actual template here [3]) fileSec section and links to the thumbnail bitstream. As you can see, there's not access rights information in that section, though.

Re: [Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-03 Thread helix84
On Tue, Sep 3, 2013 at 1:24 AM, Alcides Carlos de Moraes Neto alcides.n...@gmail.com wrote: I have checked the .txt media-filter generates, they are all UTF-8. What I see (see attachment) looks like double-encoded UTF-8 (it happens when a charset converter is told that a file is to be encoded

[Dspace-tech] Messages.properties - Procedure to edit the display format

2013-09-03 Thread c_sugumaran
I am using Dspace 3.1 version – windows 2003 server os- with tomcat servlet I would like to edit some metadata - data value to be displayed with new “display string” with the data. For that I have extracted the file ‘Messages.properties’ from