Re: [Dspace-tech] Upgrade to 1.7.3

2013-12-20 Thread helix84
On Thu, Dec 19, 2013 at 7:58 PM, Sergio Belkin seb...@gmail.com wrote:
 I'd want to upgrade to dspace 3.2 but first I have to pass throgh 1.7.x ,
 what should I do? I've read that 1.7.2 puts the directories properly.

Yes, you can do that just fine, it won't make any difference at all.
IIRC, there indeed is such a problem with 1.7.3.

In fact, when upgrading, you don't have to go through all the steps.
Make sure to perform the database upgrade steps in the correct
sequence and pay attention to any non-recurring changes described in
the upgrading docs. This is briefly mentioned in here:

https://wiki.duraspace.org/display/DSDOC3x/Upgrading+a+DSpace+Installation

One thing that will save you headaches is to start with the new
configuration and not try to use your configuration from the old
version. Just put in the changes you need manually. To see which
changes you need to put in, do a diff between the default 1.5.2
configration and your modified 1.5.2 configration.


 What should I do? Can I upgrade to 1.7.2 and then to 1.8.3?

Make sure that your system meets the requirements of DSpace 3.2, build
and install it (you will need to port your customizations, if you have
any), do the database upgrade steps, skim the upgrade instructions,
start with a fresh DSpace 3.2 configuration and put in only your
config changes.


Regards,
~~helix84

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

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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] Looking for Mirage 2 early adopters

2013-12-20 Thread Bram Luyten
@mire is currently working on Mirage 2, a responsive successor to the
Mirage XMLUI theme.

You can read about our progress in this article:
http://bit.ly/mirage2-dspace

To get rid of the rough edges we are looking for people who are
interested in becoming early adopters of this new theme.

You can apply through this link to become an early adopter:
https://groups.google.com/forum/#!forum/mirage-2

best regards,

Bram Luyten

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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] Customization of emails

2013-12-20 Thread Oscar Sanchez Gomez
Hi Kiriaki,
The dspace.cfg has set the mail.charset = UTF-8 parameter. If I specify the 
charset:UTF-8 property in the email template, I obtain the following error:

java.io.UnsupportedEncodingException: UTF-8
   at 
sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:61)
   at java.io.OutputStreamWriter.init(OutputStreamWriter.java:100)
   at com.sun.mail.handlers.text_plain.writeTo(text_plain.java:130)
   at 
javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:884)
   at javax.activation.DataHandler.writeTo(DataHandler.java:317)
   at 
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
   at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
   at 
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585)
   at javax.mail.Transport.send0(Transport.java:169)
   at javax.mail.Transport.send(Transport.java:98)
   at org.dspace.core.Email.send(Email.java:359)
   at 
org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
   at 
org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222)
   at 
org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:87)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)

Regards,

Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
•  Tel: 2550-2135
7   Fax: 2591-4820
•  Apdo Postal:  159-7050

De: Kiriaki Roditi [mailto:krod...@elidoc.gr]
Enviado el: jueves, 19 de diciembre de 2013 03:39 a.m.
Para: Oscar Sanchez Gomez; DSpace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Customization of emails

Hello Oscar,

This seems like an encoding issue.
You need to set email encoding to utf-8. This is set
1) in your dspace.cfg file, to make sure all emails DSpace sends are composed 
in utf-8
mail.charset = UTF-8
or
2) in the email template you need to send as UTF-8, by adding the following 
property
   charset: encoding
(This is described in dspace.cfg, but I haven't used it myself)

Regards,
Kiriaki
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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 and ePub support

2013-12-20 Thread Calloni, Rodrigo
Hello

We are using DSpace 1.8 XMLUI.

I want to know about the DSpace support for ePub files. Are there any news 
about this?

While searching this topic in Google I found the following tread posted last 
year: http://dspace.2283337.n4.nabble.com/epub-td4655710.html

So I have 2 basic questions:


1)  Can we upload ePubs in DSpace? Will it recognize the file format?



2)  Are users capable of downloading and opening an ePub that was added to 
DSpace (for example, adding it in their iBooks shelf)?


Thanks in advance
Rodrigo

Rodrigo Calloni
System Librarian
Felipe Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax: 202-623-3183
[Description: http://www.iadb.org/email/idb.gif]
1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.orghttp://www.iadb.org/

Knowledge. Empowering People. Transforming Lives.
P  Please consider the environment before printing this email

inline: image001.gif--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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] Customize messages.xml files

2013-12-20 Thread Oscar Sanchez Gomez
Hi all,
I install Dspace 4.0 and for now it Works well, but when I try to customize the 
i18n messages files the application set its default to messages.xml (default 
English language). As a proof, I only modify the parameter:
message key=xmlui.dri2xhtml.structural.head-subtitleRepositorio Dspace 
versión 4.0/message in the messages_es.xml. Also create a locale 
messages_es_CR.xml and do the same change. The result is that the Mirage 
interface returns to English version of the messages.xml file.

Does anybody know what is happen?


Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
*  Tel: 2550-2135
7   Fax: 2591-4820
*  Apdo Postal:  159-7050

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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] R: Import researchers in CRIS Module CINECA

2013-12-20 Thread Andrea Bollini
Hi Daniel,
we are writing the technical documentation that we plan to release togheter 
with the new versions. We hope to have that ready for mid-January.
We will provide an import from xml for sure, actually we have an import 
facility just for Researchers here

https://github.com/Cineca/dspace-cris/blob/master/api/src/main/java/org/dspace/app/cris/batch/ScriptHKURP.java

but, to be honest, I'm not sure that it still works. Of course you can take a 
look to it as starting point.
Please if you fix any bugs in this script or you make your own consider to send 
us a Pull Request.

Thanks for you interest in dspace-cris. Keep us up-to-date with your progress!

Best wishes, 
Andrea

- Messaggio originale -
Da: Daniel Garcia dgar...@cesca.cat
A: dspace-tech dspace-tech@lists.sourceforge.net, Pascarelli Luigi Andrea 
l.pascare...@cineca.it
Inviato: Tue, 17 Dec 2013 10:36:34 +0100 (CET)
Oggetto: [Dspace-tech] Import researchers in CRIS Module CINECA

Hi,


I am studying CRIS Moduleand I have to tell you that I feel that's very 
good and interesting.

At now, I'm trying to import researchers in DSpace 3.2 + CRIS Module of 
CINECA. I see that in 'Administration-CRIS Module-Researcher Page' I 
can specify the metadata that compose the researcher (specifying the 
name of the metadata import / export in the 'Shortname' field).

My question is: how can I import new researchers by XML? What structure 
of researcher import? Can you give me an example of some structure to 
import? Is there any script that allows to import, as the one offered in 
DSpace (folder 'bin') or I have to develop?


Thanks in advance!


Cheers,



Daniel

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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] R: Problem when update-discovery-index with CRIS Module

2013-12-20 Thread Andrea Bollini
Hi Daniel,
It is much strange as, looking to the CrisSearchService code, the only thing 
that could be null at L457 has already used before so the error should be 
raised in previous lines.
Maybe I'm looking to the wrong file version, can you tell me exactly witch 
dspace-cris revision have you checked out?
Andrea


- Messaggio originale -
Da: Daniel Garcia dgar...@cesca.cat
A: dspace-tech dspace-tech@lists.sourceforge.net, Pascarelli Luigi Andrea 
l.pascare...@cineca.it
Inviato: Tue, 17 Dec 2013 12:31:12 +0100 (CET)
Oggetto: [Dspace-tech] Problem when update-discovery-index with CRIS Module

Hi,

I'm trying to update discovery of my DSpace 3.2 + CRIS Module, but when 
I execute script in /bin/dspace I get this error:

-bash-4.1$ ./dspace update-discovery-index
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=934a778c-4509-455e-8317-f9fd9620f3a8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1233) - Loading from 
classloader: file:/dades/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1233) - Using dspace provided 
log configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1233) - Loading: 
/dades/dspace/config/log4j.properties
Exception: null
java.lang.NullPointerException
 at 
org.dspace.app.cris.discovery.CrisSearchService.indexProperty(CrisSearchService.java:457)
 at 
org.dspace.app.cris.discovery.CrisSearchService.indexCrisObject(CrisSearchService.java:313)
 at 
org.dspace.app.cris.discovery.CrisSearchService.createCrisIndex(CrisSearchService.java:670)
 at 
org.dspace.app.cris.discovery.CrisSearchService.createCrisIndex(CrisSearchService.java:357)
 at 
org.dspace.app.cris.discovery.CrisSearchService.updateCrisIndex(CrisSearchService.java:366)
 at 
org.dspace.app.cris.discovery.CrisSearchService.updateIndex(CrisSearchService.java:196)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:146)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)



I install solr4 with instructions that I read in instructions 
(http://cineca.github.io/dspace-cris/installation-stepbystep.html)

Wha't I'm doing wrong? My discovery doesn't update when I execute the 
script...



Thanks in advance,



Daniel

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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 ePub support

2013-12-20 Thread Richard Rodgers
Hi Rodrigo:

Question 1:

Yes, you can upload EPUB files. Whether DSpace will automatically recognize 
the format depends on:

* whether you have created a new EPUB format in your bitstream format 
registry (it is not present by default). This is a standard administrative
   operation (see docs). I believe the accepted mime-type associated 
with EPUB container files  is 'application/epub+zip'
   * whether the EPUB files you want to upload have extensions (like 
'.ePub') that match those you defined in the format. DSpace does simple file 
extension mapping to determine format type.
  For example, if you had extensions 'EPUB', 'ePub', and no other 
formats had those extensions, then all content will we assigned to the the EPUB 
format that bore those file extensions.

Question 2:

   Yes, users should be able to download and view these files - *provided* 
they have client-side rendering tools for EPUBs. DSpace is no different in this 
regard than BarnesNoble or any other
   EPUB provider - it merely supplies the file. Support varies in tablets 
for commercial reasons, but generally is pretty good.

Hope this helps,

Richard R


On Dec 20, 2013, at 11:31 AM, Calloni, Rodrigo wrote:

Hello

We are using DSpace 1.8 XMLUI.

I want to know about the DSpace support for ePub files. Are there any news 
about this?

While searching this topic in Google I found the following tread posted last 
year: http://dspace.2283337.n4.nabble.com/epub-td4655710.html

So I have 2 basic questions:

1)  Can we upload ePubs in DSpace? Will it recognize the file format?

2)  Are users capable of downloading and opening an ePub that was added to 
DSpace (for example, adding it in their iBooks shelf)?

Thanks in advance
Rodrigo

Rodrigo Calloni
System Librarian
Felipe Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax: 202-623-3183
image001.gif
1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.orghttp://www.iadb.org/

Knowledge. Empowering People. Transforming Lives.
P  Please consider the environment before printing this email

--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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