Re: [Dspace-tech] metadata-import Error - Error reading file: Index: N, Size: N

2013-01-31 Thread helix84
Unfortunately, the class just throws Exception, which is too generic,
so I couldn't find where the error is originating.

Please, change this:
System.err.println(Error reading file:  + e.getMessage());
to this
System.err.println(Error reading file:  + e.getMessage() + \n +
e.getStackTrace());
in
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/bulkedit/MetadataImport.java#L1288

That should give us more details.

You can also attach the file you're importing. Either the whole file
or you can keep just the line(s) that cause the error.

Generally, I find that working with CSV in MS Excel is very
uncomfortable and likely to produce wrong CSVs for the purpose of
import into DSpace. I recommend using OpenOffice.org/LibreOffice.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Querying Collection IDs From Database

2013-01-31 Thread Hilton Gibson
Is there a tool to extract this schema from a PostgreSQL DB?


On 31 January 2013 11:10, helix84 heli...@centrum.sk wrote:

 I prefer this rendering of the schema because it groups the tables by
 purpose:


 https://wiki.duraspace.org/download/attachments/19006174/dspace-schema-1.5.1.png


 Regards,
 ~~helix84

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


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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




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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Querying Collection IDs From Database

2013-01-31 Thread helix84
On Thu, Jan 31, 2013 at 10:15 AM, Hilton Gibson hilton.gib...@gmail.com wrote:
 Is there a tool to extract this schema from a PostgreSQL DB?

There is any number of tools out there that can do it, really. They
will just the SQL schema as input, nothing DSpace or Postgres-specific
about it.

http://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model#ER_diagramming_tools

I once asked on the list about who did the rendering I use and what he
used, but you'd have to dig for it, I don't remember. I just remember
that he did some manual tweaking, too.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Querying Collection IDs From Database

2013-01-31 Thread helix84
Here's the tool that was used:
http://www.dbschema.com/index.html

We have more than 12 tables, so generating an updated image for DSpace
3.0 would require asking for the 15-day trial version. But go for it,
by all means.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] DSpace memory

2013-01-31 Thread KNOWLES Claire
Hi Hilton

We have experienced a slow memory leak since upgrading to DSpace 1.8.1 (we use 
the jspui).  We have not been able to identify the cause and would be 
interested to know if you have any indication of where it is.

Claire

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 25 January 2013 10:09
To: Ivan Masár
Cc: dspace-tech
Subject: Re: [Dspace-tech] DSpace memory

Thx Ivan. Anybody else got tool suggestions?

On 25 January 2013 12:04, helix84 
heli...@centrum.skmailto:heli...@centrum.sk wrote:
On Fri, Jan 25, 2013 at 10:41 AM, Hilton Gibson 
hilton.gib...@gmail.commailto:hilton.gib...@gmail.com wrote:
 Since upgrading to DSpace 1.8.2 in Dec/Jan the memory is climbing radically.
 Does anybody else experience this. What can cause it?
I don't know, if I knew I would have reported it as a bug :)

But here's how I would proceed. I would find a tool to display objects
on the heap, grouped by class name and sorted by size. That might help
identify the offending class(es). Something like this:

http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/images/heapdump-classes-screen.png


Regards,
~~helix84

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



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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace memory

2013-01-31 Thread Hilton Gibson
Hi Claire

I tried to get JMX working with Tomcat6 on Ubuntu 10.04. No luck sorry -
otherwise I would have some data.
This would enable me to use jconsole or visualvm remotely - but no luck
so far - sorry.

Cheers

hg




On 31 January 2013 11:36, KNOWLES Claire claire.know...@ed.ac.uk wrote:

 Hi Hilton

 ** **

 We have experienced a slow memory leak since upgrading to DSpace 1.8.1 (we
 use the jspui).  We have not been able to identify the cause and would be
 interested to know if you have any indication of where it is.

 ** **

 Claire

 ** **

 *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com]
 *Sent:* 25 January 2013 10:09
 *To:* Ivan Masár
 *Cc:* dspace-tech
 *Subject:* Re: [Dspace-tech] DSpace memory

 ** **

 Thx Ivan. Anybody else got tool suggestions?

 ** **

 On 25 January 2013 12:04, helix84 heli...@centrum.sk wrote:

 On Fri, Jan 25, 2013 at 10:41 AM, Hilton Gibson hilton.gib...@gmail.com
 wrote:
  Since upgrading to DSpace 1.8.2 in Dec/Jan the memory is climbing
 radically.
  Does anybody else experience this. What can cause it?

 I don't know, if I knew I would have reported it as a bug :)

 But here's how I would proceed. I would find a tool to display objects
 on the heap, grouped by class name and sorted by size. That might help
 identify the offending class(es). Something like this:


 http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/images/heapdump-classes-screen.png



 Regards,
 ~~helix84

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



 

 ** **

 -- 

 *Hilton Gibson*

 Systems Administrator

 JS Gericke Library

 Room 1025D

 Stellenbosch University

 Private Bag X5036

 Stellenbosch

 7599

 South Africa

 ** **

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 http://library.sun.ac.za

 http://scholar.sun.ac.za

 http://ar1.sun.ac.za

 http://aj1.sun.ac.za

 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.




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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace memory

2013-01-31 Thread helix84
On Thu, Jan 31, 2013 at 10:46 AM, Hilton Gibson hilton.gib...@gmail.com wrote:
 I tried to get JMX working with Tomcat6 on Ubuntu 10.04. No luck sorry -
 otherwise I would have some data.
 This would enable me to use jconsole or visualvm remotely - but no luck
 so far - sorry.

Alternatively, it's very easy to run visualvm directly on the
production machine. Just SSH in with X protocol forwarding (the ssh -X
flag) and VisualVM will run on the server, but display windows on the
machine you're connecting from. Of course, this requites an X server
on the client. It can be done even on Windows using Putty instead of
OpenSSH and Xming as an X server. For my occasional debugging this is
enough and I didn't even bother with remote JMX.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] DSpace memory

2013-01-31 Thread Hilton Gibson
I would also need some X libs on the server.
I have done this before and it just pollutes the server with GUI
libraries.
Having JMX enabled would allow me to authorise others who do not use the X
server to access the data.

Cheers

hg

PS: Anybody who is willing to go the X and SSh route are welcome - please
just send us the data so we can compare and collaborate.


On 31 January 2013 11:55, helix84 heli...@centrum.sk wrote:

 On Thu, Jan 31, 2013 at 10:46 AM, Hilton Gibson hilton.gib...@gmail.com
 wrote:
  I tried to get JMX working with Tomcat6 on Ubuntu 10.04. No luck sorry -
  otherwise I would have some data.
  This would enable me to use jconsole or visualvm remotely - but no
 luck
  so far - sorry.

 Alternatively, it's very easy to run visualvm directly on the
 production machine. Just SSH in with X protocol forwarding (the ssh -X
 flag) and VisualVM will run on the server, but display windows on the
 machine you're connecting from. Of course, this requites an X server
 on the client. It can be done even on Windows using Putty instead of
 OpenSSH and Xming as an X server. For my occasional debugging this is
 enough and I didn't even bother with remote JMX.


 Regards,
 ~~helix84

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




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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace memory

2013-01-31 Thread helix84
Is this the JMX problem you're encountering?

https://blogs.oracle.com/reichart/entry/jmx_unter_debian
(sorry for the German, use Google Translate if you need)


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread marco . weiss
Hi all,

i updated from version 3.0 to version 3.1 successfully, i think ;)
I followed the instruction here 
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+3.0+to+3.x
The only question left over is how can i really be sure that i now 
using 3.1?
Is there something in xmlui where i can find the version number?


Regards, Marco

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] Running DSpace 3.1 in Tomcat with unpackWARs=false

2013-01-31 Thread marco . weiss

Hi all again,

today i'm trying to get DSpace running with unpackWARs=false setting in 
Tomcat.
Dspace XMLUI is running but i't looks very ugly because i think it is 
not loading the values for the links etc.

I attached a screen shot for you.

The OAI it self can'f find the style.xsl and that caused because the 
file is not there if running as an unpacked war.


XML-Verarbeitungsfehler: Kein Element gefunden
Adresse: http://10.2.46.252:8080/oai/static/style.xsl
Zeile Nr. 1, Spalte 1:

java.lang.NullPointerException
at java.io.File.init(File.java:222)
at org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

at java.lang.Thread.run(Thread.java:662)


Is there a easy way to get this working?


Regards Marco
attachment: screenshot.JPG--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Uploading Bibliographic information from RefWorks

2013-01-31 Thread Konstantinos Stamatis
Dear Tom,

 

Regarding your first question, the fact is that you cannot have different
configurations based on the import type. However, there are two
solutions/tricks that you can try and help you in this point.

 

1)  Since bte.xml file is a Spring Configuration file for Dependency
Injection, you can isolate some of the beans in different files. Then, In
the main file (bte.xml) you can import the file you like with the specific
configuration for the specific import type using the following code snippet 

 

import resource=classpath:spring-config.xml /

 

It is not perfect because you will have to change the xml when you change
the import type. However, it's easier than changing all the beans.

 

2)  As you can see from here:
https://code.google.com/p/biblio-transformation-engine/ BTE has a
transformation workflow that can consist of Modifiers. Modifiers are there
to change your records. We have shipped a specific modifier with BTE called
FileKeyRenameModifier (http://bit.ly/Wh5GoP). This modifier is responsible
of reading a map file to transform from one schema to another. BTE has such
files by default (for example http://bit.ly/YkJf0q which is a bibtex to dc
mapping). If you use a modifier like this, you can have many mapping files
with the key_after value be the same for all cases, and finally, in your
bte.xml file use only the values for dc. So instead of having mapping from A
to DSpace, B to DSpace, C to DSpace and so on in your bte.xml, you can have
mappings A to DC, B to DC, C to DC in different files and another one
mapping DC to DSpace in your bte.xml. So, what you need to do is summarized
here:

a.   Copy/Create mapping files from your input format to dc

b.  Enable modifiers in the bte.xml by adding a step in the
TransformationWorkflow bean

property name=steps

list

ref bean=fileKeyRenameModifier/

/list

/property

c.   Create the modifier bean: 

bean id=fileKeyRenameModifier

 
class=gr.ekt.transformationengine.modifiers.FileKeyRenameModifier

property name=filename
value=/input/bibtex2dc_keymapping.xml/

/bean

d.  Change the mapping xml file according to your import type

e.  Configure output generator to use the new values

 

Regarding the second question, again you can use a modifier to change the
values of a field. But in this case, you will need to write the modifier
class by your own. All you need to do, is to write  a class (by extending
our abstract Modifier) and implement a method. In this modifier, you can
have access to the record, and by using the Record class methods you can
add/remove/change the values. For instance, you can keep author in a local
variable, delete this field and create a new one with the same name, but now
do not forget to split the author value. Each field within a record can have
a list of values. For more information, please check the google code site
https://code.google.com/p/biblio-transformation-engine/ and in the downloads
section you can find sample projects and documentation.

 

If you have any other specific question, please contact me either through
this list or directly via email.

 

Best regards,

 

kostas

 

 

From: Thomas Misilo [mailto:misi...@fit.edu] 
Sent: Wednesday, January 30, 2013 5:09 PM
To: 'Konstantinos Stamatis'; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Uploading Bibliographic information from RefWorks

 

Thanks Kostas for the information,

 

I have started looking at this, and am able to get Bibtex working item by
item (trying to narrow out the bad ones). I was wondering if there is any
thoughts to have different configuration files based on the import type?
That way one does not need to change the bte.xml depending on the format
they are using to import the data? Second, I do not think it is possible at
least by default, to be able to split on multiple authors in a Bibtex
authors line, and maybe be able to intelligently split the first and last
name up correctly?

 

Thanks,

 

Tom

 

From: Konstantinos Stamatis [mailto:kstama...@ekt.gr] 
Sent: Wednesday, January 30, 2013 2:46 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Uploading Bibliographic information from RefWorks

 

Dear Thomas,
 
At the very beginning, we would like to thanks you for trying to use EKT's
contribution to DSpace in order to load records in your system.
 
As far as the bibtex exception concerns, it seems that the problem relies on
jbibtex library rather on the BTE implementation. My guess is that the
exported bibtex file includes invalid characters or something like that.
 
Regarding the issue that Endnote or RIS data are imported with no values in
the various fields, keep in mind that you have to specify your configuration
in the following file: dspace/config/spring/api/bte.xml
 
In this file, you have to specify in the output 

Re: [Dspace-tech] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread Claudia Jürgen
Hello Marco,

the information is part of the control panel provided in the xmlui.
Log in as admin - Control Panel - DSpace Configuration

Hope this helps

Claudia Jürgen


Am 31.01.2013 11:22, schrieb marco.we...@kesslernetworks.de:
 Hi all,

 i updated from version 3.0 to version 3.1 successfully, i think ;)
 I followed the instruction here
 https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+3.0+to+3.x
 The only question left over is how can i really be sure that i now
 using 3.1?
 Is there something in xmlui where i can find the version number?


 Regards, Marco

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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


-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] metadata-import Error - Error reading file: Index: N, Size: N

2013-01-31 Thread Lighton Phiri
 You can also attach the file you're importing. Either the whole file or you 
 can keep just the line(s) that cause the error.

I'll have to re-run my scripts to identify problematic lines that
might only be later. See attachment for structure-builder script
(dspace-structure.xml) and zipped input files [1] (file larger than
mailinglist limit).

To give you some context here, I am test driving metadata-import to
try and determine an appropriate record size to use for successful
ingestion before I ingest my entire datasets. My previous attempt
resulted in 93%, 45% and 0% record ingestion success for 10, 100 and
1000 record-sized files respectively. I am not sure if the size is a
factor (especially that you mentioned in your other response that the
entire file in loaded into memory) or if metadata-import fails to
ingest a file when at least one of the records is problematic.

[1] https://dl.dropbox.com/u/29659698/work/2013/01/31/inputfiles.zip

Lighton Phiri
http://lightonphiri.org


On 31 January 2013 10:58, helix84 heli...@centrum.sk wrote:
 Unfortunately, the class just throws Exception, which is too generic,
 so I couldn't find where the error is originating.

 Please, change this:
 System.err.println(Error reading file:  + e.getMessage());
 to this
 System.err.println(Error reading file:  + e.getMessage() + \n +
 e.getStackTrace());
 in
 https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/bulkedit/MetadataImport.java#L1288

 That should give us more details.

 You can also attach the file you're importing. Either the whole file
 or you can keep just the line(s) that cause the error.

 Generally, I find that working with CSV in MS Excel is very
 uncomfortable and likely to produce wrong CSVs for the purpose of
 import into DSpace. I recommend using OpenOffice.org/LibreOffice.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
import_structurecommunity identifier=123456789/1namedspace/namedescriptiondspace/descriptioncollection identifier=123456789/2nameADTP/namedescriptionAustraliasian Digital Theses Program/description/collectioncollection identifier=123456789/3nameBGMYU/namedescriptionBrigham Young University Theses/description/collectioncollection identifier=123456789/4nameBRADFORD/namedescriptionBradford Scholars/description/collectioncollection identifier=123456789/5nameBSU/namedescriptionBall State University/description/collectioncollection identifier=123456789/6nameCALTECH/namedescriptionCalifornia Institute of Technology/description/collectioncollection identifier=123456789/7nameCCSD/namedescriptionCCSD theses-EN-ligne, France/description/collectioncollection identifier=123456789/8nameCHENGCHI/namedescriptionNational Chengchi University Libraries/description/collectioncollection identifier=123456789/9nameDRESDEN/namedescriptionHochschulschriftenserver (HSSS) der SLUB Dresden/description/collectioncollection identifier=123456789/10nameDUKE/namedescriptionDuke University/description/collectioncollection identifier=123456789/11nameDUQUESNE/namedescriptionDuquesne University/description/collectioncollection identifier=123456789/12nameDocTA/namedescriptionUniversita Cattolica del Sacro Cuore. DocTA/description/collectioncollection identifier=123456789/13nameETSU/namedescriptionEast Tennessee State University/description/collectioncollection identifier=123456789/14nameGATECH/namedescriptionGeorgia Tech Electronic Thesis and Dissertation Archive/description/collectioncollection identifier=123456789/15nameGEORGIA/namedescriptionGeorgia State University/description/collectioncollection identifier=123456789/16nameHKU/namedescriptionHong Kong University Theses/description/collectioncollection identifier=123456789/17nameHUMBOLT/namedescriptionHumboldt University of Berlin, GERMANY, Document Server/description/collectioncollection identifier=123456789/18nameIBICT/namedescriptionIBICT Brazilian ETDs/description/collectioncollection identifier=123456789/19nameKSU/namedescriptionK-State Research Exchange/description/collectioncollection identifier=123456789/20nameLABT_ETD/namedescriptionLithuanian ETD submission system/description/collectioncollection identifier=123456789/21nameLACETR/namedescriptionLibrary and Archives Canada ETDs Repository / Centre d'archives des theses electroniques de Bibliotheque et Archives Canada/description/collectioncollection identifier=123456789/22nameLAVAL/namedescriptionUniversit#233; Laval/description/collectioncollection identifier=123456789/23nameLSU/namedescriptionLouisiana State University/description/collectioncollection identifier=123456789/24nameMAINE/namedescriptionUniversity of Maine/description/collectioncollection identifier=123456789/25nameMETU/namedescriptionMiddle East Technical Univ./description/collectioncollection identifier=123456789/26nameMIT/namedescriptionM.I.T. Theses and Dissertation/description/collectioncollection 

Re: [Dspace-tech] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread marco . weiss
Hi Claudia,

merci! I found it in the tab DSpace Configuration in the control panel.
It's 3.1.


Thank you


Am 31.01.2013 11:59, schrieb Claudia Jürgen:
 Hello Marco,

 the information is part of the control panel provided in the xmlui.
 Log in as admin - Control Panel - DSpace Configuration

 Hope this helps

 Claudia Jürgen


 Am 31.01.2013 11:22, schrieb marco.we...@kesslernetworks.de:
 Hi all,

 i updated from version 3.0 to version 3.1 successfully, i think ;)
 I followed the instruction here
 https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+3.0+to+3.x
 The only question left over is how can i really be sure that i now
 using 3.1?
 Is there something in xmlui where i can find the version number?


 Regards, Marco

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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


 --
 Claudia Juergen
 Universitaetsbibliothek Dortmund
 Eldorado
 0231/755-4043
 https://eldorado.tu-dortmund.de/

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread helix84
By default, you can also find the version in the following HTML meta
tag on any page:

meta name=Generator content=DSpace 3.0 /


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] DSpace memory

2013-01-31 Thread Fernando Hidalgo

Hi,

I had the same experience when you upgrade to DSpace 1.8.2.

And this information has allowed me to solve it:
https://wiki.duraspace.org/display/DSDOC18/Performance+Tuning+DSpace?from=YQMiAQ

Regards,
Fernando.

El 31/01/2013 10:36, KNOWLES Claire escribió:


Hi Hilton

We have experienced a slow memory leak since upgrading to DSpace 1.8.1 
(we use the jspui).  We have not been able to identify the cause and 
would be interested to know if you have any indication of where it is.


Claire

*From:*Hilton Gibson [mailto:hilton.gib...@gmail.com]
*Sent:* 25 January 2013 10:09
*To:* Ivan Masár
*Cc:* dspace-tech
*Subject:* Re: [Dspace-tech] DSpace memory

Thx Ivan. Anybody else got tool suggestions?

On 25 January 2013 12:04, helix84 heli...@centrum.sk 
mailto:heli...@centrum.sk wrote:


On Fri, Jan 25, 2013 at 10:41 AM, Hilton Gibson 
hilton.gib...@gmail.com mailto:hilton.gib...@gmail.com wrote:
 Since upgrading to DSpace 1.8.2 in Dec/Jan the memory is climbing 
radically.

 Does anybody else experience this. What can cause it?

I don't know, if I knew I would have reported it as a bug :)

But here's how I would proceed. I would find a tool to display objects
on the heap, grouped by class name and sorted by size. That might help
identify the offending class(es). Something like this:

http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/images/heapdump-classes-screen.png


Regards,
~~helix84

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



--

*Hilton Gibson*

Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://library.sun.ac.za

http://scholar.sun.ac.za

http://ar1.sun.ac.za

http://aj1.sun.ac.za



The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


___
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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace memory

2013-01-31 Thread Hilton Gibson
HI Fernando.

Do you know what is the cause?

Cheers

hg


On 31 January 2013 14:05, Fernando Hidalgo fernandohida...@ugr.es wrote:

  Hi,

  I had the same experience when you upgrade to DSpace 1.8.2.

  And this information has allowed me to solve it:

 https://wiki.duraspace.org/display/DSDOC18/Performance+Tuning+DSpace?from=YQMiAQ

 Regards,
 Fernando.

 El 31/01/2013 10:36, KNOWLES Claire escribió:

  Hi Hilton

 ** **

 We have experienced a slow memory leak since upgrading to DSpace 1.8.1 (we
 use the jspui).  We have not been able to identify the cause and would be
 interested to know if you have any indication of where it is.

 ** **

 Claire

 ** **

 *From:* Hilton Gibson 
 [mailto:hilton.gib...@gmail.comhilton.gib...@gmail.com]

 *Sent:* 25 January 2013 10:09
 *To:* Ivan Masár
 *Cc:* dspace-tech
 *Subject:* Re: [Dspace-tech] DSpace memory

 ** **

 Thx Ivan. Anybody else got tool suggestions?

 ** **

 On 25 January 2013 12:04, helix84 heli...@centrum.sk wrote:

 On Fri, Jan 25, 2013 at 10:41 AM, Hilton Gibson hilton.gib...@gmail.com
 wrote:
  Since upgrading to DSpace 1.8.2 in Dec/Jan the memory is climbing
 radically.
  Does anybody else experience this. What can cause it?

 I don't know, if I knew I would have reported it as a bug :)

 But here's how I would proceed. I would find a tool to display objects
 on the heap, grouped by class name and sorted by size. That might help
 identify the offending class(es). Something like this:


 http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/images/heapdump-classes-screen.png


 Regards,
 ~~helix84

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



 

 ** **

 -- 

 *Hilton Gibson*

 Systems Administrator

 JS Gericke Library

 Room 1025D

 Stellenbosch University

 Private Bag X5036

 Stellenbosch

 7599

 South Africa

 ** **

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 http://library.sun.ac.za

 http://scholar.sun.ac.za

 http://ar1.sun.ac.za

 http://aj1.sun.ac.za


 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:http://p.sf.net/sfu/appdyn_d2d_jan



 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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




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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread revskill
Thank you very much for this release. I will take effort to update the CAS
Authentication into Dspace 3.x. I'm not sure about the quality, but i think
it should be an nessesary component of the library.


2013/1/31 helix84 heli...@centrum.sk

 By default, you can also find the version in the following HTML meta
 tag on any page:

 meta name=Generator content=DSpace 3.0 /


 Regards,
 ~~helix84

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


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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




-- 
TRUONG HOANG DUNG*
**Librarian Researcher
**Information and Library Centre
Mobile: 0121.411.5322
Email: dun...@hpu.edu.vn*
*Hai Phong Private University* http://lib.hpu.vn
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace memory

2013-01-31 Thread Fernando Hidalgo

I don't know.

Sorry.


El 31/01/2013 13:28, Hilton Gibson escribió:

HI Fernando.

Do you know what is the cause?

Cheers

hg


On 31 January 2013 14:05, Fernando Hidalgo fernandohida...@ugr.es 
mailto:fernandohida...@ugr.es wrote:


Hi,

I had the same experience when you upgrade to DSpace 1.8.2.

And this information has allowed me to solve it:

https://wiki.duraspace.org/display/DSDOC18/Performance+Tuning+DSpace?from=YQMiAQ

Regards,
Fernando.

El 31/01/2013 10:36, KNOWLES Claire escribió:


Hi Hilton

We have experienced a slow memory leak since upgrading to DSpace
1.8.1 (we use the jspui).  We have not been able to identify the
cause and would be interested to know if you have any indication
of where it is.

Claire

*From:*Hilton Gibson [mailto:hilton.gib...@gmail.com]
*Sent:* 25 January 2013 10:09
*To:* Ivan Masár
*Cc:* dspace-tech
*Subject:* Re: [Dspace-tech] DSpace memory

Thx Ivan. Anybody else got tool suggestions?

On 25 January 2013 12:04, helix84 heli...@centrum.sk
mailto:heli...@centrum.sk wrote:

On Fri, Jan 25, 2013 at 10:41 AM, Hilton Gibson
hilton.gib...@gmail.com mailto:hilton.gib...@gmail.com wrote:
 Since upgrading to DSpace 1.8.2 in Dec/Jan the memory is
climbing radically.
 Does anybody else experience this. What can cause it?

I don't know, if I knew I would have reported it as a bug :)

But here's how I would proceed. I would find a tool to display
objects
on the heap, grouped by class name and sorted by size. That might
help
identify the offending class(es). Something like this:


http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/images/heapdump-classes-screen.png


Regards,
~~helix84

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



-- 


*Hilton Gibson*

Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100 | Cell: +27 84
646 tel:%2B27%2084%20646 4758

http://library.sun.ac.za

http://scholar.sun.ac.za

http://ar1.sun.ac.za

http://aj1.sun.ac.za



The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List 
Etiquette:https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread helix84
On Thu, Jan 31, 2013 at 1:49 PM, revskill revskil...@gmail.com wrote:
 Thank you very much for this release. I will take effort to update the CAS
 Authentication into Dspace 3.x. I'm not sure about the quality, but i think
 it should be an nessesary component of the library.

If it's all contained within a single class that implements
AuthenticationMethod, then no updating is required and it should
work as-is. You're welcome to submit it to our Jira.

Please, always start a new thread when starting a new topic.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Double entries in recent submissions list

2013-01-31 Thread John Preston
I've been having this problem since about 1.7 where I get 2 entries in the
recent submissions list.  I thought it was something I was doing with my
themes but I see this again in the DSpace 3.0 with the mirage theme. I
notice that when I make my first entry in a fresh install all is well and
the main home page has a single entry. However if I browse down to the
community or sub-community page, the recent submissions list has two
entries of the same info. Is this something known and how can
I correct this.

John
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] LDAP Authentication issues

2013-01-31 Thread Darren Arsenault
Hi all,

Just a quick update for those who responded to my last posting about LDAP 
authentication issues in DSPace:

My user changed their password back to what it had previously been, and then 
selected a new password once again. The issue (inability to login using the new 
credentials) is gone, and cannot be reproduced. (Several of us have tried.)

Thank you to all who gave of their time and advice.

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Double entries in recent submissions list

2013-01-31 Thread helix84
See this thread:

http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-duplicated-entries-td4660235.html


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] metadata-import Error - Error reading file: Index: N, Size: N

2013-01-31 Thread Lighton Phiri
So I ingested each record from individual files to identify
problematic records and the one thing the records have is common is
that they all have text enclosed in double quotes somewhere within the
text (see attachment), and true to that, removing the quotes solves
the problem.

Could someone help me understand why metadata-import is refusing to
ingest records with field contents enclosed in double quotes? I cannot
find anything helpful in the 'config/modules/bulkedit.cfg' file.

# SAMPLE RECORD #
id$$$collection$$$dc.identifier$$$dc.title$$$dc.publisher$$$dc.creator$$$dc.subject$$$dc.description$$$dc.contributor$$$dc.date$$$dc.type$$$dc.format$$$dc.language$$$dc.relation$$$dc.coverage.temporal$$$dc.rights
+$$$123456789/36$$$oai:union.ndltd.org:OCLC/oai:xtcat.oclc.org:OCLCNo/262536702|||http://www.archive.org/details/samosofherodotus00colerich|||http://www.archive.org/details/cu31924026669261|||oai:xtcat.oclc.org:OCLCNo/262536702|||oai:xtcat.oclc.org:OCLCNo/262536702$$$The
Samos of Herodotus$$$[New Haven, Conn., Tuttle, Morehouse   Taylor
Co.,$$$Cole, Erma Eloise,$$The material for this paper is drawn
from a thesis (PH. D., Yale University,
1910).$$1912]$eng$$Samos (Greece)$$$
Lighton Phiri
http://lightonphiri.org


On 31 January 2013 13:45, Lighton Phiri lighton.ph...@gmail.com wrote:
 I see, thank you for this.
 Lighton Phiri
 http://lightonphiri.org


 On 31 January 2013 13:40, helix84 heli...@centrum.sk wrote:
 On Thu, Jan 31, 2013 at 12:33 PM, Lighton Phiri lighton.ph...@gmail.com 
 wrote:
 Yes I am talking about metadata-import all the time. I meant I have
 93% success when I split my dataset into 10-sized separate csv files
 --in this case, I looped through all the 160 csv files
 (dspace-10-*.csv) and only managed to successfully ingest 1500 records
 out of all the 1600. In the case of ingesting csv files with 1000
 records, everything fails. I am not sure if that makes sense now.

 Yes, now that makes sense - I didn't look into the zip file before :)

 That way if there's a single record that would cause an error, the
 whole batch (of 10, 100 or 1000) fails. You could narrow this down to
 individual faulty records by identifying the faulty batches and
 splitting them in half etc (bisection). It's a pity that the CSV
 importer doesn't identify the individual faulty records for you - that
 could surely be improved.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
id$$$collection$$$dc.identifier$$$dc.title$$$dc.publisher$$$dc.creator$$$dc.subject$$$dc.description$$$dc.contributor$$$dc.date$$$dc.type$$$dc.format$$$dc.language$$$dc.relation$$$dc.coverage.temporal$$$dc.rights
+$$$123456789/36$$$oai:union.ndltd.org:OCLC/oai:xtcat.oclc.org:OCLCNo/262536702|||http://www.archive.org/details/samosofherodotus00colerich|||http://www.archive.org/details/cu31924026669261|||oai:xtcat.oclc.org:OCLCNo/262536702|||oai:xtcat.oclc.org:OCLCNo/262536702$$$The
 Samos of Herodotus$$$[New Haven, Conn., Tuttle, Morehouse   Taylor 
Co.,$$$Cole, Erma Eloise,$$The material for this paper is drawn from a 
thesis (PH. D., Yale University, 1910).$$1912]$eng$$Samos 
(Greece)$$$

+$$$123456789/36$$$oai:union.ndltd.org:OCLC/oai:xtcat.oclc.org:OCLCNo/609424060|||http://hdl.handle.net/1969.1/ETD-TAMU-1487|||oai:xtcat.oclc.org:OCLCNo/609424060|||oai:xtcat.oclc.org:OCLCNo/609424060$$$The
 relationship of noncognitive variables and their contribution to attrition 
among health care specialists at Fort Sam Houston, TX$$$[College Station, Tex. 
: Texas AM University,$$$Woods, Yvette.$$Major Subject: Educational Human 
Resource Development Title from author supplied metadata (automated record 
created 2010-03-12 12:08:51). Includes bibliographical 
references.$$2010]$eng$

+$$$123456789/63$$$oai:union.ndltd.org:UPSALLA/oai:DiVA.org:umu-1235|||http://urn.kb.se/resolve?urn=urn:nbn:se:umu:diva-1235|||oai:DiVA.org:umu-1235|||oai:DiVA.org:umu-1235$$$Den
 ena handen ska inte veta vad den andra gr, eller?  En kvalitativ studie om 
redovisningspraxis av gvor i Svenska kyrkan.$$$Ume University, Ume School of 
Business|||Ume University, Ume School of Business|||Ume : Handelshgskolan vid 
Ume universitet$$$Rosendahl, Louise|||hman, Stina$$pSvenska kyrkan 
separerade frn staten r 2000 och drmed frndrades dess juridiska form frn 
kyrkokommun till juridisk person. Det nya religisa samfundet r nu en variant av 
en ideell frening. Till fljd av ett minskat medlemsantal fr nu svenska kyrkan 
frre resurser frn medlemsavgifter. Samflligheterna mottar dock ofta gvor i form 
av pengar, fastigheter eller fonder. Ett problem har uppsttt kring 
klassificering av dessa gvor vilket har lett till att en ny rekommendation har 
utfrdats av Svenska kyrkans redovisnings kommitt. Svenska kyrkan r nu angelgen 
att tydligt gentemot givaren visa att erhllna medel hlls tskiljt frn eget 
kapital och drfr inte 

Re: [Dspace-tech] metadata-import Error - Error reading file: Index: N, Size: N

2013-01-31 Thread helix84
On Thu, Jan 31, 2013 at 3:47 PM, Lighton Phiri lighton.ph...@gmail.com wrote:
 Could someone help me understand why metadata-import is refusing to
 ingest records with field contents enclosed in double quotes? I cannot
 find anything helpful in the 'config/modules/bulkedit.cfg' file.

I don't know, it must be broken. It's supposed to remove them:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-api/src/main/java/org/dspace/app/bulkedit/DSpaceCSV.java#L113

Anyway, this is one of the things you wouldn't run into when editing
CSV files with OOo.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] dspace-info.pl - ExecuteSQL Perl subroutine

2013-01-31 Thread Lighton Phiri
So I've set up multiple DSpace 3.0 instances on a single machine [1]
and keep getting the same results --similar to those from the main
instance with database name 'dspace'-- when I execute dspace-info.pl

perl [dspace]/bin/dspace-info.pl

I am not sure if it's something I did when I set up the instances, but
it appears as though the ExecuteSQL perl subroutine in dspace-info.pl
is hard-coded with a 'dspace' database name. Is this a bug or could it
have been an error on my part when setting up the instances?

[1] https://wiki.duraspace.org/display/DSPACE/MultipleDspaceOneServer


Lighton Phiri
http://lightonphiri.org

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread marco . weiss
Hi all,

i have the following nice working testsetup

- DSpace 3.1
- Tomcat 6 on Port 8080
- DB Connection over JNDI
- started Tomcat
- imported one item with medatada-import
- XMLUI login is ok
- Solr search is ok
- OAI request is ok

Now i tried to transfer this to my live server

- Stopped Tomcat
- I created WAR archives an copied on the live server
- Copied the dspace directory for configuration files, binary and 
scripts
- I changed all Hostnames from testsrv1.test.de:8080 to dspace.url.de 
because tomcat is now running on port 80
- DB Connection over JNDI
- I started tomcat
- imported one item with medatada-import
- oai import -c -v is ok with one item
- oai clean-cache is ok
- Login in XMLUI with dpsace.url.de/xmlui is ok
- Solr search on dspace.url.de/solr/oai/ is ok

OAI request every times fails with The given id does not exist
I think the OAI app can not connect to Solr to get the results. Maybe i 
forgot to change it but can't find anything ...
Turned on Debug for DSpace but i get no error that tells me what went 
wrong.

How can i get more information what is wrong to fix this on my live 
server?


Regards Marco


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread helix84
What's your value of solr.url in [dspace]/config/modules/oai.cfg?


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread marco . weiss
Hi Helix,

value is

solr.url=http://dspace.url.de/solr/oai


Am 31.01.2013 18:36, schrieb helix84:
 What's your value of solr.url in [dspace]/config/modules/oai.cfg?


 Regards,
 ~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread helix84
So what exactly is the error message?

What do you get in response.xml when you do this from localhost?
wget http://dspace.url.de/solr/oai/select?q=*:* -O response.xml

How big is the file? It should dump the contents of your oai core,
i.e. all your metadata in a xml format.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] dspace-info.pl - ExecuteSQL Perl subroutine

2013-01-31 Thread Lighton Phiri
Thank you for this helix84.


Lighton Phiri
http://lightonphiri.org


On 31 January 2013 19:55, helix84 heli...@centrum.sk wrote:
 No, the database name was hardcoded. Also Postgres is hardcoded. This
 is more of a hack, actually. DSpace is now pure Java code except for
 this last remnant. But it still contains _some_ functionality not
 found anywhere else in DSpace, so we kept it for now.

 I made a patch for you that fixes this:
 https://github.com/DSpace/DSpace/pull/185.diff


 Regards,
 ~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] DSpace and JQuery

2013-01-31 Thread DouglasOkubo
Yes, i use it. It works perfectly.



-

---Thanks!---
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-and-JQuery-tp3956360p4661719.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Running vscan on bitstreams in custom bundle

2013-01-31 Thread Walker Sampson
I have a collection of items, all containing TIFFs in a custom bundle 
titled 'RESTRICTED', which only a particular group of DSpace users have 
read access to. This is the only bitstream they contain.

When I run 'vscan' on this collection it returns with a failure status. 
Top line of the stack trace reads:

'java.lang.ArrayIndexOutOfBoundsException: 0'

right above

'org.dspace.ctask.general.ClamScan.perform(ClamScan.java:106)'

Vscan works fine with other collections that don't feature this special 
bundle.

Now, if add a bitstream to one of these items in their ORIGINAL bundle, 
the scan results with an 'error' status.

It appears vscan cannot scan bitstreams outside of the ORIGINAL bundle. 
Is that accurate? If so, are there workarounds to this?

Running 3.1 here.

Thanks,
Walker

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] Reg: XSL wrapping of referenceSet along with tags

2013-01-31 Thread Lohit Valleru
Hello,

Please find the dspace details:

Version : 1.8.2
Theme : Mirage
Discovery: disabled

May i please ask for some help regarding : wrapping the community browser
division along with html tags and referenceSet tags.

I have tried to wrap the variable by selecting its id, in pagestructure.xsl
:

xsl:variable name=community-browser-menu
select=/dri:document/dri:body/dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'][@rend='primary'][@n='comunity-browser']/

and render it on navigation.xsl

xsl:copy-of select=$community-browser-menu /

However, all that i see is the heading and paragraph without formatting.

May I know, if it is possible to wrap the whole division as it is with its
tags, and render the same in other template.

If yes, may i know how do i do it.

I would really appreciate it, if someone could help me with the above
difficulty.

Thanks

Lohit
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Running vscan on bitstreams in custom bundle

2013-01-31 Thread helix84
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/ctask/general/ClamScan.java#L106

Indeed, vscan is written to assume that the ORIGINAL bundle exists.

Just from looking at the code it seems to me that if you add an empty
ORIGINAL bundle, nothing will be scanned and SUCCESS will be returned.

Anyway, if you want to scan your custom bundle, you'll have to modify the
vscan code. Should be fairly easy. Just do the same what is done for
ORIGINAL also for RESTRICTED, but in both cases add a check for empty array
(of bundles).
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] DSpace will not redirect to /xmlui

2013-01-31 Thread helix84
It's simple - you didn't change the URL where the xmlui webapp is served in
Tomcat configuration. Change the path attribute this way (also make sure no
other context is defined to run on path=/):

!-- DEFINE A CONTEXT PATH FOR DSpace XML User Interface  --
Context path=/ docBase=[dspace]/webapps/xmlui debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

Then remove /xmlui from dspace.url and dspace.baseUrl and restart Tomcat.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Reg: XSL wrapping of referenceSet along with tags

2013-01-31 Thread Lohit Valleru
Hello all,

As a continuation to the previous mail. I have realized that, the variable
rendering is indeed happening, where all the referenceSets from the
community browser division are copied.

However, they are not being rendered into li and ul

For the body :

referenceSets get transformed to lists ( li )
 and ul, with the help of an xsl  - which converts it from DRI to html.

I am finding it difficult to find, which xsl converts the referenceSets to
lists.

In the way, i can apply the same rendering to the referenceSets that i have
copied within the variable.

May i please request - if  any of you know, which xsl is rendering the
referenceSets inside body?


Thank you

Lohit


On Thu, Jan 31, 2013 at 4:21 PM, Lohit Valleru lohi...@gmail.com wrote:

 Hello,

 Please find the dspace details:

 Version : 1.8.2
 Theme : Mirage
 Discovery: disabled

 May i please ask for some help regarding : wrapping the community browser
 division along with html tags and referenceSet tags.

 I have tried to wrap the variable by selecting its id, in
 pagestructure.xsl :

 xsl:variable name=community-browser-menu
 select=/dri:document/dri:body/dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'][@rend='primary'][@n='comunity-browser']/

 and render it on navigation.xsl

 xsl:copy-of select=$community-browser-menu /

 However, all that i see is the heading and paragraph without formatting.

 May I know, if it is possible to wrap the whole division as it is with its
 tags, and render the same in other template.

 If yes, may i know how do i do it.

 I would really appreciate it, if someone could help me with the above
 difficulty.

 Thanks

 Lohit

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Disable Maven from Building JSPUI?

2013-01-31 Thread Thomas Misilo
Hi,

I was wondering if there is a way to stop maven from building JSPUI, since I am 
not using it?

Thanks,

Tom

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] Disable Maven from Building JSPUI?

2013-01-31 Thread helix84
mvn package -P !dspace-jspui

You can exclude multiple modules, too:
mvn package -P '!dspace-jspui,!dspace-lni,!oai,!swordv2,!sword'
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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