Re: [Dspace-tech] DSpace 1.5.2 - Embargo patch issue

2009-10-29 Thread Sean Carte
2009/10/28 Patrick Etienne patrick.etie...@library.gatech.edu:
 Fellow DSpace Techs -
 I'm attempting to get the embargo patch working against a fresh installation
 of dspace 1.5.2 per the instructions available at the following URL:
 http://wiki.dspace.org/index.php/User:Emetsger:Embargo:Downloads_here
 Despite my best efforts, I am not able to set this up successfully. After
 installing and looking at the results the symptoms are as follows:
 1) Visual - I see inline bullet points but no text associated with them.
 2) XHTML - yields the code listed below for each community/collection:
 !-- External Metadata URL: cocoon://metadata/handle/{community
 number}/{collection
 number}/mets.xml?sections=dmdSec,fileSecfileGrpTypes=THUMBNAIL--
 li class=ds-artifact-item {even/odd} /

Do you mean that you cannot browse by item? If so the following may be
of use to you:

2009/7/2 Halliday, James Leonard jhall...@indiana.edu

  I have a similar problem, but no newly defined field: I can't browse
  by author or subject, as I get a java.lang.NullPointerException very
  similar (or so it seems to me) to Lyn's error. (I've included the
  cocoon and java stacktraces below.)

 The same thing happened to me when I was implementing Embargoes (Author and 
 Subject browse stopped working), and here is the problem that I uncovered; 
 hopefully the same fix will work for you. (Note: I have only worked with the 
 1.5.1 patch, but presumably the same fix will work for you.) I don't think 
 it's related to patching an existing database vs. using a fresh one, because 
 the error happens even on a fresh database, once you add data that includes 
 subject or author information.

 Your patch file is not patching the DSpace code correctly. Check the 
 dspace-api/src/main/java/org/dspace/browse/BrowseEngine.java class and the 
 patch file. It looks like the patch file is patching the BrowseByValue 
 method, instead of patching the BrowseByItem method, which it should be 
 patching. The two methods look very similar, so the patch is getting 
 confused. Double-check that class against the patch file manually, and make 
 sure the appropriate changes are being made. Once I did that, all of my 
 browsing problems were fixed.

 Another note: this bug is hard to find because the stack trace is coming from 
 the wrong place. There is a bug in the core DSpace class 
 org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse.java, in the 
 getValidity() method that is causing a null pointer exception when the 
 validity should be null (the last line for logging should include a null 
 pointer check).

 Jim Halliday

The patched dspace-api/src/main/java/org/dspace/browse/BrowseEngine.java has the
embargo stuff in the browseByValue method from line 536 (of the
patched file). I copied those lines (536-566) to a similar spot in
the preceding browseByItem method (line 366) and commented them out in
the browseByValue method.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] HTML5 and the future of DSpace

2009-10-29 Thread Michael Guthrie
On a somewhat related note, J-CAR allows for importation of these audio
and video formats to be displayed inside Joomla and play natively in
Firefox and Chrome
http://openrepository.com/products/cms-integration/ogg-audio-example
 
 
Michael Guthrie
Manager, Open Repository

BioMed Central 

mailto:michael.guth...@biomedcentral.com 

www.openrepository.com http://www.openrepository.com/ 



From: Jason Fowler [mailto:jfow...@sbts.edu] 
Sent: Wednesday, October 28, 2009 6:16 PM
To: DSpace-tech@lists.sourceforge.net
Subject: [Dspace-tech] HTML5 and the future of DSpace



There has been a good deal of talk in development circles about the
future of HTML, especially as it concerns HTML5. Several new elements
are being added to the HTML standard that seem advantageous to many
developers. Some new elements like nav, header, footer, and figure, are
semantically advantageous. Other elements will add certain capabilities
to HTML5 compliant browsers. For example, the audio and video elements
will allow audio and video files to be directly embedded in the same way
that images currently are. HTML5 compliant browsers will be expected to
provide some support for embedded video and audio without relying on
third party plugins. For example, both Firefox 3.5 and Chrome 3 already
provide built in support for open video and audio created with Vorbis
and Theora (ie. .ogv, oga).

 

I was curious to know if DSpace developers have given any discussion to
DSpace and these new developments in HTML5. Will near-future versions of
DSpace and DSpace themes support these new element tags? With open video
and audio formats be added to the default metadata registry at any time
in the near future?

 

 

Jason Fowler, CA, MSLS

Archives and Special Collections Librarian

The Southern Baptist Theological Seminary

Vice President, ALABI

502-897-4573

jfow...@sbts.edu

 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filtering errors with XPDF Tools

2009-10-29 Thread Kurzenberger, Eric
Thanks for the response, Van.  I don't quite follow what you mean.  I am 
running the filter-media command as the dspace user, but I'm not sure what is 
meant by the all operations on files in /tmp part, since the filter-media 
command seems to put the converted files there by default.  Can you clarify?

Cheers,

Eric


On 10/27/09 7:12 PM, Van Ly v...@usyd.edu.au wrote:



On 22/10/2009, at 12:57 AM, Kurzenberger, Eric wrote:



 Turning on debug logging and run the filter-media command results
 in the several errors of this type in the log:

 2009-10-21 09:26:43,478 ERROR org.dspace.app.mediafilter.XPDF2Text
 @ PDF conversion proc failed, returns=-1, file=/tmp/DSfilt27010.pdf

 I verified that the dspace user has access to the /tmp directory as
 well (permissions on it are 777).  The /tmp file doesn't contain
 any of the files shown in the log, so it looks like they're not
 being written.


Try and perform the conversion in the DSpace/Java user's context with
all operations on files in /tmp . There may be an issue with the
filesystem for /tmp .

Good luck.



Van Ly
vly at usyd dot edu dot au






--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRWU Setup failing

2009-10-29 Thread LeVan,Ralph
I'd be happy to see it!

Thanks to both of you!

Ralph

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 Sent: Wednesday, October 28, 2009 11:32 PM
 To: SUZUKI Keiji
 Cc: LeVan,Ralph; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] SRWU Setup failing
 
 Hi Keiji
 
 Thanks for your help. Yep worked a treat.
 
 Just to confirm;
 
 - I patched the SRWLuceneDatabase java src,
 - I then compiled SRWU and copied over the SRW.jar to SRWDspace
 - I compiled SRWDSpace then copied the SRWDSpace jar back to the SRWU,
 - I compiled SRWU again and deployed it
 
 Ralph,
 
 I have created an ODT of the steps to building and deploying the SRWU.
 Would you mind if I sent it through for you to proof? I think I may be
 carrying out a few too many steps.
 
 Cheers
 
 
 Hayden
 
 SUZUKI Keiji wrote:
  Hi Hayden,
 
  Though you might already have solved, I got the same error today.
 
  I could work around this with the following patch. Also I had to
copy
  commons-dbcp.jar, commons-pool.jar and postgres.jar from DSpace
  to SRW's WEB-INF/lib.
 
  I used DSpace 1.5.2 and SRW/U checked out from svn/trunk.
 
  Regards,
 
  Keiji Suzuki
  Ebetsu, Japan
 
  Index: SRWLuceneDatabase.java
 
 ==
 =
  --- SRWLuceneDatabase.java  (revision 36)
  +++ SRWLuceneDatabase.java  (working copy)
  @@ -312,7 +312,7 @@
 
 
   public void init(String dbname, String srwHome, String dbHome,
  -  String dbPropertiesFileName, Properties dbProperties) {
  +  String dbPropertiesFileName, Properties dbProperties,
  HttpServletRequest request) {
   if(log.isDebugEnabled())log.debug(entering
  SRWLuceneDatabase.init, dbname=+dbname);
   super.initDB(dbname, srwHome, dbHome, dbPropertiesFileName,
  dbProperties);
   System.setProperty(dspace.configuration,
 dbHome+config/dspace.cfg);
 
 
 
  2009/10/3 Mr Havercamp mrhaverc...@gmail.com:
 
  Thanks for responding.
 
  I exported trunk HEAD from both subversion repositories. Am I
exporting
  from the right location? Should I be exporting from a branch
perhaps?
 
  Would you like me to report any issues on the googlecode issue
tracker
  or is here okay?
 
  Cheers
 
 
  Hayden
 
  LeVan,Ralph wrote:
 
  Sorry for the tardy response!
 
  It looks to me like you have the SRWDspaceLucene jar out of synch
with
  the SRW jar.  Have you switched to the 1.5.1 jar?  There is a new
SRW
  jar to go with that.
 
  Ralph
 
  -Original Message-
  From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
  Sent: Friday, September 25, 2009 3:36 PM
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] SRWU Setup failing
 
  Hi
 
  I am attempting to set up SRW/U for a second time, and, while I am
able
  to get the test working, I have been completely unsuccessful this
time
  round in getting it to work with DSpace.
 
  I continue to get the following error, which I thought was related
to a
  missing axis jar file but I've installed and configured it and
still I
  get nowhere;
 
  java.lang.AbstractMethodError:
 
ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Lja
 
va/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/ht
  tp/HttpServletRequest;)V
  ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
  ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
 
 
 ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
  ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 
 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
  ava:327)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
  My SRWServer.props configure looks like the following (everything
else
  is commented out);
 
  default.database=DSpace
  resultSetIdleTime=300
  makeIndex.html=true
 
 
 db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
  db.DSpace.home=/home/dspace/i/testing/
  db.DSpace.configuration=config/DSpace.SRWDatabase.props
 
  The DSpace.SRWDatabase.props file is in my DSpace instance's
config
  directory.
 
  Could I be missing something?
 
  Any help much appreciated.
 
  Cheers
 
 
  Hayden
 
 

  --
  Come build with us! The BlackBerryreg; Developer Conference in
SF, CA
  is the only developer event you need to attend this year.
Jumpstart your
  developing skills, take BlackBerry mobile applications to market
and
  stay
  ahead of the curve. Join us from November 9#45;12, 2009. Register
  now#33;
  http://p.sf.net/sfu/devconf
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 

--
  Come build with us! The BlackBerryreg; 

Re: [Dspace-tech] HTML5 and the future of DSpace

2009-10-29 Thread Mr Havercamp
I think the support of HTML 5 would be advantageous, especially in the 
embedded video and audio elements area, as it would be good to see the 
support of open formats such as ogv and oga in an open source repository 
such as DSpace.

While ogv is not the most efficient video format around at the moment, 
it is starting to make progress, and oga is definitely a mature and well 
established audio format even if it is not as widespread as the 
proprietary MP3 format. Add to this Wikipedia's ongoing out-of-the-box 
support for these open standards, and there is a good chance these 
formats, especially oga, will gain some traction in the mainstream 
Internet community.

Cheers


Hayden

Michael Guthrie wrote:
 On a somewhat related note, J-CAR allows for importation of these 
 audio and video formats to be displayed inside Joomla and play 
 natively in Firefox and Chrome
 http://openrepository.com/products/cms-integration/ogg-audio-example
  
  
 Michael Guthrie
 Manager, Open Repository

 *Bio**Med** Central* 

 *www.openrepository.com http://www.openrepository.com/*

 
 *From:* Jason Fowler [mailto:jfow...@sbts.edu]
 *Sent:* Wednesday, October 28, 2009 6:16 PM
 *To:* DSpace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] HTML5 and the future of DSpace

 There has been a good deal of talk in development circles about the 
 future of HTML, especially as it concerns HTML5. Several new elements 
 are being added to the HTML standard that seem advantageous to many 
 developers. Some new elements like nav, header, footer, and figure, 
 are semantically advantageous. Other elements will add certain 
 capabilities to HTML5 compliant browsers. For example, the audio and 
 video elements will allow audio and video files to be directly 
 embedded in the same way that images currently are. HTML5 compliant 
 browsers will be expected to provide some support for embedded video 
 and audio without relying on third party plugins. For example, both 
 Firefox 3.5 and Chrome 3 already provide built in support for open 
 video and audio created with Vorbis and Theora (ie. .ogv, oga).

  

 I was curious to know if DSpace developers have given any discussion 
 to DSpace and these new developments in HTML5. Will near-future 
 versions of DSpace and DSpace themes support these new element tags? 
 With open video and audio formats be added to the default metadata 
 registry at any time in the near future?

  

  

 Jason Fowler, CA, MSLS

 Archives and Special Collections Librarian

 The Southern Baptist Theological Seminary

 Vice President, ALABI

 502-897-4573

 jfow...@sbts.edu

  

 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech