Re: [Dspace-tech] for help

2009-10-21 Thread Allen Lam
Hi Parvez,

Would you specify you are going to use the xmlui or jspui? They are very 
different in UI customization aspect.

Allen Lam.
HKU Hub Administrator, http://hub.hku.hk


Parvez Ahmad wrote:
>
>  Dear Group members!!
>   I have just installed DSpace on my PC, Now I want 
> to customized the the main page of same.
>
> I have some points to ask to all of you
>
> - how can i add more language in default language array in frist page 
> of data uploading page?
> - how can i remove the default footer?
> - How can i change the default background clour of main page.
>
>
> please five me your valuable suggestions!!
>
>
>
> -- 
> Thanks & Regards!!!
>
> Parvez Ahmad
>
> 
>
> --
> 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


Re: [Dspace-tech] Sword error

2009-10-21 Thread Stuart Lewis
Hi Mika,

We encountered the smae problem a few weeks ago when we went live with SWORD on 
our customised production server. See http://jira.dspace.org/jira/browse/DS-327 
for an explanation and a short description as to why it hasn't been spotted 
until recently. It is fixed in 1.6 :)

Thanks,


Stuart


From: Richard Jones [rich...@symplectic.co.uk]
Sent: Thursday, 22 October 2009 3:26 a.m.
To: mikan.d.dspace listmail
Cc: Dspace Tech; Stuart Lewis
Subject: Re: [Dspace-tech] Sword error

Hi Mika,

> Im trying to do post with SWORD, but am getting this error:
>
> Problem accessing /sword/deposit/123456789/2. Reason:
> /tmpSWORD-127.0.0.1-5 (Permission denied)Caused
> by:java.io.FileNotFoundException: /tmpSWORD-127.0.0.1-5
> (Permission denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.(FileOutputStream.java:179)
> at java.io.FileOutputStream.(FileOutputStream.java:131)
> at 
> org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:218)
>
> It seems to be a matter of user permissions, but to where is the questions?

The sword server is trying to use the absolute path on your machine:
/tmpSWORD-127.0.0.1-5 to write to, which it (understandably) doesn't
have the rights to, it being a root directory and all.

This is probably because your system's temp directory default location
is /tmp as opposed to /tmp/ (a fact which the server ought to check for,
but seemingly doesn't).

You may also specify your own temp directory by adding the following to
the sword web.xml:


   upload-temp-directory
   /path/to/tmp/dir/


(i'd keep the trailing / just in case there are any other file path
concatenation bugs in the generic server implementation).

Cheers,

Richard

--
Richard Jones
Head of Repository Systems, Symplectic Limited
e: rich...@symplectic.co.uk
t: 0845 026 4755
t: +44 (0)207 7334036
w: http://www.symplectic.co.uk/
--
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


[Dspace-tech] incredibly shrinking text

2009-10-21 Thread Platt, Alice
A while back we made significant customizations to the metadata submission 
form, or input form file, "input-forms.xml". We added a lot of metadata fields, 
so the forms are much longer than they once were.

Since then, and only when using Internet Explorer, the text within the form 
mysteriously gets smaller and smaller as I scroll down the page. The sidebar, 
which normally displays "communities" "administration", etc., is also very, 
very, very tiny - it is in fact unreadable. The text at the bottom of the form 
is also unreadable.

The first page, where it asks if the item has Multiple Titles or has been 
Published before, looks fine.
The next two submission pages have the problem.
The Upload File page is fine.

I can send a screen shot to anyone who is interested in seeing what I am 
seeing. The only thing we've really changed is that we've added so many new 
metadata elements to the form, but I don't understand how that could be causing 
this problem.

Again, this is only when I use Internet Explorer (I've tried it on different 
computers, of course). Firefox, Safari and Google Chrome work just fine. Does 
anyone have any ideas on what is causing this? Thanks!

Using DSpace 1.5.2 XMLUI

Alice Platt
Digital Initiatives Librarian
Shapiro Library
Southern New Hampshire University
2500 North River Rd
Manchester, NH 03106
USA


Please consider the environment before printing this e-mail.
--
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] Sword error

2009-10-21 Thread Richard Jones
Hi Mika,

> Im trying to do post with SWORD, but am getting this error:
> 
> Problem accessing /sword/deposit/123456789/2. Reason:
> /tmpSWORD-127.0.0.1-5 (Permission denied)Caused
> by:java.io.FileNotFoundException: /tmpSWORD-127.0.0.1-5
> (Permission denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.(FileOutputStream.java:179)
> at java.io.FileOutputStream.(FileOutputStream.java:131)
> at 
> org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:218)
> 
> It seems to be a matter of user permissions, but to where is the questions?

The sword server is trying to use the absolute path on your machine: 
/tmpSWORD-127.0.0.1-5 to write to, which it (understandably) doesn't 
have the rights to, it being a root directory and all.

This is probably because your system's temp directory default location 
is /tmp as opposed to /tmp/ (a fact which the server ought to check for, 
but seemingly doesn't).

You may also specify your own temp directory by adding the following to 
the sword web.xml:


   upload-temp-directory
   /path/to/tmp/dir/


(i'd keep the trailing / just in case there are any other file path 
concatenation bugs in the generic server implementation).

Cheers,

Richard

-- 
Richard Jones
Head of Repository Systems, Symplectic Limited
e: rich...@symplectic.co.uk
t: 0845 026 4755
t: +44 (0)207 7334036
w: http://www.symplectic.co.uk/

--
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


[Dspace-tech] Sword error

2009-10-21 Thread mikan.d.dspace listmail
Hi,

Im trying to do post with SWORD, but am getting this error:

Problem accessing /sword/deposit/123456789/2. Reason:
/tmpSWORD-127.0.0.1-5 (Permission denied)Caused
by:java.io.FileNotFoundException: /tmpSWORD-127.0.0.1-5
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:131)
at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:218)

It seems to be a matter of user permissions, but to where is the questions?

Thanks,
Mika

--
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-21 Thread Kurzenberger, Eric
Thanks for the responses.  I checked the permissions on /usr/bin/pdftoppm and 
verified that I could run it as the dspace user, so it doesn't seem to be a 
permissions issue.

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.

Cheers,

Eric


On 10/20/09 5:16 PM, "Stuart Lewis"  wrote:

Hi Eric,

> Pdftoppm is indeed in /usr/bin, along with the other XPDF tools,
> pdfinfo and pdftotext.  I ran /usr/bin/pdftoppm manually on a test
> file, and it converted my test pdf to a ppm successfully.  But for
> some reason, Java's giving those errors when running the command.
> Is there some other path I need to set for Java to find it, besides
> in the dspace.cfg file and the pom.xml in dspace-api?


That is good - so there is probably a problem with the command DSpace
is using. If you change your logging level to DEBUG 
(http://wiki.dspace.org/index.php/TechnicalFaq#Setting_logging_level_up_to_DEBUG
) you should see some statements in dspace.log along the lines of:

  - "Running xpdf command: ..."

These may help to diagnose what is going wrong.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



--
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


[Dspace-tech] Lengthy delays when importing items (1.5.2)

2009-10-21 Thread Karo Salminen
Hi tech guys,

as said I'm experiencing long delays with item import with my DSpace 
1.5.2 installation. Per item import lasts over 3 minutes. The available 
system resources do not affect the elapsed time.

And believe me, that's not all. I've added accept/reject step to the 
collection workflow. Sendmail receives the "new task mail" from Javamail 
and sends it forwards, but that can happen weeks after the initial 
submission. Never during the same day. I can't figure out the possible 
reasons.

Any hints concerning this obscure problem are highly appreciated. Thanks!
-- 
Karo Salminen
Kirjastoverkkopalvelut  National Library Network Services
Kansalliskirjasto   National Library of Finland
PL 26 (Teollisuuskatu 23)
00014 Helsingin yliopisto
puh. (09) 191 44593

--
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


[Dspace-tech] for help

2009-10-21 Thread Parvez Ahmad
 Dear Group members!!  I have just installed DSpace on my PC, Now I want
to customized the the main page of same.

I have some points to ask to all of you

- how can i add more language in default language array in frist page of
data uploading page?
- how can i remove the default footer?
- How can i change the default background clour of main page.


please five me your valuable suggestions!!



-- 
Thanks & Regards!!!

Parvez Ahmad
--
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