[Dspace-tech] Problems with thumbnails in DSpace 1.5.1 JSPUI

2010-01-28 Thread Ricardo Borillo
Hi all,

I have a problem with the visualization of thumbnails in DSpace 1.5.1 and JSPUI.

I have set all the configuration as explained at:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg02457.html

When i'm browsing the repository, the preview column is showed, but
without content:

http://repositori.uji.es/jspui/handle/10234/415/browse?type=titlesubmit_browse=Title

But when i enter this item, the thumbnail appears properly:

http://repositori.uji.es/jspui/handle/10234/1246

What i'm missing?

Thanks a lot :)

---
Salut,

Ricardo Borillo Domenech
http://xml-utils.com

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Processing of multipart/form-data request failed. Stream ended unexpectedly

2010-01-28 Thread Andrea Bollini
Hi all,
we are experience a lot of errors uploading files from a specific
workstation. From this workstation with all the browser available
(firefox, IE, Opera) it is impossible complete an upload.
We always get the following exception:

 Exception:
 java.io.IOException: Processing of multipart/form-data request failed. Stream 
 ended unexpectedly
   at 
 org.dspace.app.webui.util.FileUploadRequest.init(FileUploadRequest.java:139)
   at 
 org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1405)
   at 
 org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:255)
   at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)

The error occurs with files of any size, and from other workstations we don't 
see any problem.
Apparently, we can't check this directly, there is no firewall, proxy or 
network limit/special configuration between the client and the DSpace server 
(1.5.2)...

Any idea/previous experience with this issue? do you have any suggestion about 
test that could help to collect more information?
Thanks,
Andrea


-- 
Dott. Andrea Bollini
Project Manager, IT Architect  Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525

---

Disclaimer: the content of this email is confidential and may be privileged, 
and it must not be disclosed or copied without the sender's consent. If you 
have received this message in error, please notify the sender and remove it 
from your system. The content of this email does not constitute legal advice, 
nor any responsibility is accepted for loss or damage incurred as a result of 
acting upon its contents or attachments. 
The statements and opinions expressed in this email are those of the author and 
do not necessarily reflect those of the employer.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] JSPUI language detection - request for comment

2010-01-28 Thread Graham Triggs
BTW, 1 + 2 are technically the same thing... the EPerson's default locale is 
stored in the current session when they log in - overriding what is currently 
there.

The UI selection will update the Locale in the current session - overriding 
whatever is there currently (either a previous choice, or the EPerson's default 
that has been inserted in the session).

So priority of choosing a message to display is:

1. Session locale setting
2. Browser default locale
3. DSpace default locale

G

On 24 Jan 2010, at 20:07, Kim Shepherd wrote:

 Hi all,
 
 JSPUI's i18n settings are currently a bit broken in trunk (future 1.6). When 
 an EPerson is logged in and has configured a language in their profile which 
 doesn't match the locale requested by their web browser, they will end up 
 seeing both languages used on some pages.
 This is basically due to inconsistent i18n key lookup methods used throughout 
 JSPUI.
 
 Now's a good time to go through and make everything consistent, so right now 
 the idea is to go back to the order that locales were applied before 1.5:
 
 (1 is top priority, 5 is bottom, so the first successful match will be 
 selected)
 
 1. UI selection (eg. manually selecting 'English' or 'German' from the JSPUI 
 or XMLUI frontend while browsing)
 2. Eperson default locale (configured via Edit Profile in JSPUI or XMLUI)
 3. Browser default locale (first locale requested by end user's web browser)
 4. Dspace default locale (from dspace.cfg)
 
 Any feedback, concerns or ideas are welcomed: email replies (preferably 
 onlist) or JIRA comments.
 
 The full JIRA issue is here: http://jira.dspace.org/jira/browse/DS-418 
 
 If no objections are raised in the next few days, I'll just go ahead with a 
 patch based on the order given above.
 
 Cheers,
 
 Kim
 --
 Kim Shepherd
 IRR Technical Specialist
 ITS Systems  Development
 The University of Waikato
 New Zealand
 
 DDI +64 7 838 4025
 
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Dspace-devel mailing list
 dspace-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-devel


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] creative commons icon

2010-01-28 Thread Richard Rodgers
Hi Jose:

Yes, the  display you cite is non-optimal (compared to earlier 1.4 behavior). 
There is an improvement forthcoming in DSpace 1.6 based on better mime-typing 
of the license bitstreams,
and after that, we hope to completely redo CC (using webservice, rather than 
Iframes, restore the icon, and much more).

Stay tuned,

Richard

On Jan 27, 2010, at 1:39 PM, Blanco, Jose wrote:

 I saw an item that has a creative license at the MIT Dspace instance, but it 
 did not look quite right.  There is no icon, and the link sends you to the 
 source of a page.
 
 http://dspace.mit.edu/handle/1721.1/39138
 
 
 
 -Original Message-
 From: Blanco, Jose [mailto:blan...@umich.edu] 
 Sent: Wednesday, January 27, 2010 1:15 PM
 To: Dorothea Salo; Dspace Tech
 Subject: Re: [Dspace-tech] creative commons icon
 
 Dorothea,
 
 I've implemented the patch and I'm not seeing the cc icon.  I looked at 
 ItemTag.java to see how the icon gets displayed, but I don't see how it works 
 there.   I will check the jsp files now.  Any ideas?
 
 Also, can you give me and example of a content file that imports a CC item.
 
 Thank you again,
 
 Jose
 
 
 
 -Original Message-
 From: Dorothea Salo [mailto:dorothea.s...@gmail.com] 
 Sent: Wednesday, January 27, 2010 11:29 AM
 To: Dspace Tech
 Subject: Re: [Dspace-tech] creative commons icon
 
 Also,  I plan to load several of these cc items using ItemImporter.  Is 
 there anything I should know about loading cc items using ItemImporter.  I'm 
 not quite sure how I'm going to do it yet.  I'm thinking I would just 
 include the appropriate files in the folder and list them in the contents 
 file.  Is this the way to do it, or is there a better way?
 
 That's the way to do it -- just make sure the files are in the
 CC-LICENSE bundle.
 
 Dorothea
 
 -- 
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493
 
 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] JSPUI language detection - request for comment

2010-01-28 Thread Kim Shepherd
Cheers Graham, I realised this after a closer look last night - I don't think 
the consistency problem was as big as I first suspected, either. Patch should 
be up soon.

 -Original Message-
 From: Graham Triggs [mailto:grahamtri...@gmail.com]
 Sent: Friday, 29 January 2010 4:43 a.m.
 To: Kim Shepherd
 Cc: dspace-tech@lists.sourceforge.net; dspace-
 de...@lists.sourceforge.net
 Subject: Re: [Dspace-devel] JSPUI language detection - request for
 comment
 
 BTW, 1 + 2 are technically the same thing... the EPerson's default
 locale is stored in the current session when they log in - overriding
 what is currently there.
 
 The UI selection will update the Locale in the current session -
 overriding whatever is there currently (either a previous choice, or
 the EPerson's default that has been inserted in the session).
 
 So priority of choosing a message to display is:
 
 1. Session locale setting
 2. Browser default locale
 3. DSpace default locale
 
 G
 
 On 24 Jan 2010, at 20:07, Kim Shepherd wrote:
 
  Hi all,
 
  JSPUI's i18n settings are currently a bit broken in trunk (future
 1.6). When an EPerson is logged in and has configured a language in
 their profile which doesn't match the locale requested by their web
 browser, they will end up seeing both languages used on some pages.
  This is basically due to inconsistent i18n key lookup methods used
 throughout JSPUI.
 
  Now's a good time to go through and make everything consistent, so
 right now the idea is to go back to the order that locales were applied
 before 1.5:
 
  (1 is top priority, 5 is bottom, so the first successful match will
 be selected)
 
  1. UI selection (eg. manually selecting 'English' or 'German' from
 the JSPUI or XMLUI frontend while browsing)
  2. Eperson default locale (configured via Edit Profile in JSPUI or
 XMLUI)
  3. Browser default locale (first locale requested by end user's web
 browser)
  4. Dspace default locale (from dspace.cfg)
 
  Any feedback, concerns or ideas are welcomed: email replies
 (preferably onlist) or JIRA comments.
 
  The full JIRA issue is here: http://jira.dspace.org/jira/browse/DS-
 418
 
  If no objections are raised in the next few days, I'll just go ahead
 with a patch based on the order given above.
 
  Cheers,
 
  Kim
  --
  Kim Shepherd
  IRR Technical Specialist
  ITS Systems  Development
  The University of Waikato
  New Zealand
 
  DDI +64 7 838 4025
 
 
  -
 -
  Throughout its 18-year history, RSA Conference consistently attracts
 the
  world's best and brightest in the field, creating opportunities for
 Conference
  attendees to learn about information security's most important issues
 through
  interactions with peers, luminaries and emerging and established
 companies.
  http://p.sf.net/sfu/rsaconf-dev2dev
  ___
  Dspace-devel mailing list
  dspace-de...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-devel

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Processing of multipart/form-data request failed. Stream ended unexpectedly

2010-01-28 Thread Tim Donohue
Andrea,

I've never seen this particular error before, to be honest.  However, I 
do recall seeing similar (usually random) issues when uploading larger 
files across an unstable (or bogged down) wireless network.

The Stream ended unexpectedly error looks almost like the upload is 
timing out (does the browser just hang for a while after uploading?) or 
somehow being interrupted.  But it's hard to say what could be causing 
this -- especially from just a single machine.  If it's only happening 
from one machine it seems like that machine's network connection could 
be having problems (though it sounds like you've already started looking 
into that).

Anyone else encounter this with regularity?  Or have any ideas?

- Tim

On 1/28/2010 9:19 AM, Andrea Bollini wrote:
 Hi all,
 we are experience a lot of errors uploading files from a specific
 workstation. From this workstation with all the browser available
 (firefox, IE, Opera) it is impossible complete an upload.
 We always get the following exception:

 Exception:
 java.io.IOException: Processing of multipart/form-data request failed. 
 Stream ended unexpectedly
  at 
 org.dspace.app.webui.util.FileUploadRequest.init(FileUploadRequest.java:139)
  at 
 org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1405)
  at 
 org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:255)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)

 The error occurs with files of any size, and from other workstations we don't 
 see any problem.
 Apparently, we can't check this directly, there is no firewall, proxy or 
 network limit/special configuration between the client and the DSpace server 
 (1.5.2)...

 Any idea/previous experience with this issue? do you have any suggestion 
 about test that could help to collect more information?
 Thanks,
 Andrea



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech