[dspace-tech] Re: [Dspace-tech] DSpace + CRIS module problem in edit researcher page

2016-10-31 Thread 陳彥棠
Hi 
I followed the steps to install DSpace + CRIS but when I want to edit my 
'Researcher Page' I obtain an internal error, too
 I use jdk1.8.0_101
 tomcat 8.0.37
 windows 10
 dspace-cris 5.5.0

I try Tomcat 8.0\bin\startup

add -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true 

but.

dspace.log
WARN  org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=D82E25A77A64DB4062A15A99AB575A42:internal_error:-- URL Was: 
http://140.112.113.29:8080/jspui/internal-error?id=4=4
-- Method: GET
-- Parameters were:
-- id: "4"
-- anagraficaId: "4"

javax.servlet.ServletException: org.apache.jasper.JasperException: 
/dspace-cris/jdyna/rpDataEditForm.jsp (line: 775, column: 4) 
"${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}" 
contains invalid expression(s): javax.el.ELException: Failed to parse the 
expression [${researcher:isThereMetadataNoEditable(holder.shortName, 
holder.class)}]
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:85)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
at 
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
at 
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
at 
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at 

Re: [dspace-tech] String index out of range: 3

2016-10-31 Thread Tim Donohue

Hi James,

As noted in the Tomcat ticket you linked to 
(https://bz.apache.org/bugzilla/show_bug.cgi?id=58999), and the DS-3142 
ticket, this is a bug in Tomcat 8.0.32.  I suspect this Tomcat bug is 
not just triggered in DSpace 6, but also very likely triggered in any 
version of DSpace that uses XMLUI (JSPUI seems to not trigger the issue 
in Tomcat).  Unfortunately, some OSes still ship with Tomcat 8.0.32 by 
default. For example, Ubuntu 16.04 still defaults to Tomcat 8.0.32, even 
though others are complaining about this same bug, see 
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1606331


So, long story short, I don't think there's anything wrong in your 
DSpace site itself.  I suspect you will have to install a different 
version of Tomcat to fix these errors.


- Tim

On 10/31/2016 3:07 PM, James Holobetz wrote:

Hello,

We are building a Dspace 5.6 server for production and we are running 
into an issue when trying to ingest materials. We recieve ther error: 
String index out of range: 3.


I did some research and this has been noted in 
https://jira.duraspace.org/browse/DS-3142 and 
http://bz.apache.org/bugzilla/show_bug.cgi?id=58999 but from the 
initial reports in DS-3142 this effect Dspace 6.x and not 5.x but we 
are in fact using the noted tomcat version.



We are running (SUSE Linux Enterprise Server) SLES 12 SP1
(all packages are part of the SLES 12 SP1 system)

tomcat 8.0.32
maven 3.3.9
java 1.7.0_111 (OpenJDK)
ant 1.9.4
postgres 9.4.9



Can anybody provide any help/direction in this matter?


James Holobetz


--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] String index out of range: 3

2016-10-31 Thread Terry Brady
The Cocoon errors are always a challenge to untangle.

I have a couple additional questions that might help.

Did you upgrade from a prior version of DSpace, or is this a new
installation?

I saw that you have reverted to Mirage which was a good idea to try.
Looking at the error chain, it appears to be referencing something in a
custom theme.

at  - file:///opt/dspace/webapps/xml
ui/themes/oURspace/sitemap.xmap:179:46
at  - file:///opt/dspace/webapps/xml
ui/themes/oURspace/sitemap.xmap:101:44
at  - file:///opt/dspace/webapps/xml
ui/themes/oURspace/sitemap.xmap:97:59
at  -
file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:82:51
at  -
file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:78:51
at  -
file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:70:51
at  - file:///opt/dspace/webapps/xml
ui/themes/oURspace/sitemap.xmap:171:67
at  - file:///opt/dspace/webapps/xml
ui/themes/oURspace/sitemap.xmap:167:37

If you look at those lines in your custom theme directory, can you detect
anything that is missing?

Terry


On Mon, Oct 31, 2016 at 1:46 PM, James Holobetz  wrote:

> It should be noted that this error occurs with the default/unaltered
> Mirage theme as well (using XMLUI). All themes are derivatives of Mirage
> and have reverted back to Mirage to test as well.
>
> James
>
> On Mon, Oct 31, 2016 at 2:32 PM, James Holobetz 
> wrote:
>
>> We are encountering this as we are using any create/edit command in the
>> Context menu (UI).
>>
>> Here is the log output (just realized the sitemap error; any elaboration
>> would be wonderful);
>>
>>
>> 2016-10-31 14:28:07,620 ERROR cocoon.handled  - Sitemap: error calling
>> function 'startCreateCommunity'
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:261:51
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:257:53
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:252:43
>> at  -
>> resource://aspects/Administrative/sitemap.xmap:128:45
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:89:72
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:79:34
>> at  -
>> file:///opt/dspace/webapps/xmlui/aspects/aspects.xmap:78:36
>> at  - file:///opt/dspace/webapps/xml
>> ui/sitemap.xmap:488:100
>> at  - file:///opt/dspace/webapps/xml
>> ui/sitemap.xmap:487:49
>> at  - resource://aspects/EPerson/sit
>> emap.xmap:302:31
>> at  -
>> resource://aspects/EPerson/sitemap.xmap:107:38
>> at  - resource://aspects/EPerson/sitemap.xmap:96:19
>> at  - resource://aspects/Submission/
>> sitemap.xmap:251:38
>> at  -
>> resource://aspects/Submission/sitemap.xmap:107:45
>> at  - resource://aspects/Submission/
>> sitemap.xmap:104:26
>> at  - resource://aspects/Statistics/
>> sitemap.xmap:292:36
>> at  - resource://aspects/Statistics/
>> sitemap.xmap:37:19
>> at  - resource://aspects/Workflow/si
>> temap.xmap:139:38
>> at  - resource://aspects/Workflow/si
>> temap.xmap:76:26
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:85:34
>> at  -
>> file:///opt/dspace/webapps/xmlui/aspects/aspects.xmap:84:43
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:83:22
>> at  - file:///opt/dspace/webapps/xml
>> ui/themes/oURspace/sitemap.xmap:179:46
>> at  - file:///opt/dspace/webapps/xml
>> ui/themes/oURspace/sitemap.xmap:101:44
>> at  - file:///opt/dspace/webapps/xml
>> ui/themes/oURspace/sitemap.xmap:97:59
>> at  -
>> file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:82:51
>> at  -
>> file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:78:51
>> at  -
>> file:///opt/dspace/webapps/xmlui/themes/oURspace/sitemap.xmap:70:51
>> at  - file:///opt/dspace/webapps/xml
>> ui/themes/oURspace/sitemap.xmap:171:67
>> at  - file:///opt/dspace/webapps/xml
>> ui/themes/oURspace/sitemap.xmap:167:37
>> org.apache.cocoon.ProcessingException: Sitemap: error calling function
>> 'startCreateCommunity'
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:261:51
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:257:53
>> at  - resource://aspects/Administrat
>> ive/sitemap.xmap:252:43
>> at  -
>> resource://aspects/Administrative/sitemap.xmap:128:45
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:89:72
>> at  - file:///opt/dspace/webapps/xml
>> ui/aspects/aspects.xmap:79:34
>> at  -
>> file:///opt/dspace/webapps/xmlui/aspects/aspects.xmap:78:36
>> at  - file:///opt/dspace/webapps/xml
>> ui/sitemap.xmap:488:100
>> at  - file:///opt/dspace/webapps/xml
>> ui/sitemap.xmap:487:49
>> at  - resource://aspects/EPerson/sit
>> emap.xmap:302:31

[dspace-tech] String index out of range: 3

2016-10-31 Thread James Holobetz
Hello,

We are building a Dspace 5.6 server for production and we are running into
an issue when trying to ingest materials. We recieve ther error: String
index out of range: 3.

I did some research and this has been noted in
https://jira.duraspace.org/browse/DS-3142 and
http://bz.apache.org/bugzilla/show_bug.cgi?id=58999 but from the initial
reports in DS-3142 this effect Dspace 6.x and not 5.x but we are in fact
using the noted tomcat version.


We are running (SUSE Linux Enterprise Server) SLES 12 SP1
(all packages are part of the SLES 12 SP1 system)

tomcat 8.0.32
maven 3.3.9
java 1.7.0_111 (OpenJDK)
ant 1.9.4
postgres 9.4.9



Can anybody provide any help/direction in this matter?


James Holobetz

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR Search queries in XMLUI

2016-10-31 Thread Donald Bynum
Thank you.  I can see elements of what would end up in a SOLR query, but 
not the actual queries used.

What am I missing?

Regards,

Don.

On Monday, October 31, 2016 at 1:36:42 PM UTC-4, helix84 wrote:

> On Mon, Oct 31, 2016 at 6:28 PM, Donald Bynum  > wrote: 
> > For DSpace 5.5 using XMLUI and Mirage, is there a way to look at the 
> SOLR 
> > queries which are executed for the existing out of the box Usage 
> Statistics 
> > in XMLUI? 
>
>
> tail -f /dspace/log/solr.log | grep "\[statistics\]" 
>
>
>
> Regards, 
> ~~helix84 
>
> Compulsory reading: DSpace Mailing List Etiquette 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] SOLR Search queries in XMLUI

2016-10-31 Thread Donald Bynum
For DSpace 5.5 using XMLUI and Mirage, is there a way to look at the SOLR 
queries which are executed for the existing out of the box Usage Statistics 
in XMLUI?

Regards,

Don

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Improving visualization!

2016-10-31 Thread Arturo Quintana Torres
Hello!

I would like some help with DSpace.

I am using DSpace 5.2, and I am running the XMLUI.

I am new in this field. I am trying to do some changes in the front-end, 
and I have reached an interesting point.

How can I change the items visualization in the search result (discover 
page)?

Now it is showed the Title, Author, and Description. I would like to add 
more fields. 

I need to do the same improvement in the list of items shown as "recently 
added".

Any help will be really appreciated!

Thanks in advance!

Arturo.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Send email on bitstream download

2016-10-31 Thread Terry Brady
Don,

Here is some information on the usage statistics component:
https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics

Here is the documentation on the configurable event system (for tracking
changes to items/bitstreams/etc):
https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-EventSystemConfiguration

I do not believe that the functionality you describe exists in DSpace.  I
believe that you would need to develop your own process.

   - Query solr for usage events in the last day/week/hour
   - Grab the object identifier from SOLR
   - Look up the owner/creator of the object in the database
   - Send e-mail

Terry

On Sat, Oct 29, 2016 at 7:40 AM, Donald Bynum  wrote:

> My apologies - I am running DSpace 5.5 with the XMLUI interface using the
> Mirage theme.
>
>
> On Saturday, October 29, 2016 at 10:37:14 AM UTC-4, Donald Bynum wrote:
>>
>> I would like to send an email to the logged in eperson when a bitstream
>> is downloaded.  If this is not possible, then I would cope with sending an
>> email to an eperson on item view.  My epersons usernames are their email
>> address.  Does anyone have a code excerpt that does this?  Currently an
>> email is sent to the logged in eperson after a successful submission.  If
>> someone could tell me which code page does that, perhaps I could use that
>> as a reference.
>>
>> Any help would be much appreciated.
>>
>> Regards,
>>
>> Don.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/

425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Insert a link on home page

2016-10-31 Thread Pedro Amorim
Hello arjun,

I'm not sure I understand your question fully, but if it is a link you want 
added in the homepage of your repository, you can use the news-xmlui.xml 
file as per the documentation:
https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-CustomizingtheNewsDocument

This will only display on your homepage *and* this is assuming you're using 
XMLUI.

Hope it helps,

Pedro Amorim

segunda-feira, 31 de Outubro de 2016 às 06:26:56 UTC-1, arjun k escreveu:
>
> Dear sir,
>
> I have so many previous year question papers of B.Tech, Now it is stored 
> under google drive and is shared to all.
>
> Is it possible to add the google drive link in home page as " PREVIOUS 
> YEAR QUESTION PAPERS " of DSPACE version 5.4 ( XMLUI ) if so?? How ?? will 
> anybody help me.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] ORCID Integration: Admin Edit Item

2016-10-31 Thread Stefanie Behnke
Dear George and Christian,

thank for you support, I will look into the CSS.

Best regards
Stefanie

Am Dienstag, 25. Oktober 2016 17:21:36 UTC+2 schrieb George Kozak:
>
> Christian and Stefanie:
> I seem to remember that we ran into the same trouble at Cornell University 
> and it turned out to be something in the CSS.  I have been looking through 
> my notes, and (unfortunately) haven't found it, yet, but I recall that the 
> lookup button didn't appear and I had to add something to one of the 
> stylesheets for it to happen.  We are using a modified Mirage2 theme, and I 
> had to go back to vanilla Mirage 2 to find what I needed.  I will keep 
> digging to see what that was, but I wanted to let you know that it was a 
> stylesheet issue (at least for us) so you may want to look into that.
> George Kozak
> Cornell University
>
>
> On Fri, Oct 21, 2016 at 2:37 AM, Christian Scheible <
> christian...@uni-konstanz.de > wrote:
>
>> Sorry Stefanie,
>>
>> I am out of ideas. Maybe someone from Atmire has a solution as they 
>> developed the author search.
>>
>> Best regards
>> Christian
>>
>> On 17.10.2016 15:27, Stefanie Behnke wrote:
>>
>> Dear Christian,
>>
>> thank you for your answer. I have double checked all. During submission 
>> author lookup works as expected, but on the Admin Edit Item page there is 
>> no "lookup" button.
>>
>> Any further idea?
>>
>> Thanking you in advance
>> Stefanie
>>
>> Am Dienstag, 4. Oktober 2016 09:50:46 UTC+2 schrieb Christian Scheible: 
>>>
>>> Hi Stefanie,
>>>
>>> I just tried this with a clean install from the dspace-5_x branch and it 
>>> did work as expected.
>>> Sorry to ask that again, but are you sure that your configuration is 
>>> correct in the dspace.cfg?
>>>
>>> meaning enabling:
>>>
>>> *plugin.named.org.dspace.content.authority.ChoiceAuthority = \*
>>> *org.dspace.content.authority.SolrAuthority = SolrAuthorAuthority*
>>>
>>> and
>>>
>>> *solr.authority.server=${solr.server}/authority*
>>> *choices.plugin.dc.contributor.author = SolrAuthorAuthority*
>>> *choices.presentation.dc.contributor.author = authorLookup*
>>> *authority.controlled.dc.contributor.author = true*
>>> *authority.author.indexer.field.1=dc.contributor.author*
>>>
>>> and 
>>>
>>>
>>>
>>> *event.dispatcher.default.consumers = authority, versioning, discovery, 
>>> eperson, harvester *Did you change anything in the theme folder like 
>>> the file:
>>>
>>>
>>> */dspace/webapps/xmlui/themes/Mirage/lib/xsl/aspect/general/choice-authority-control.xsl*
>>>
>>> Or did you change the Java Code here:
>>>
>>>
>>>
>>> */xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/item/EditItemMetadataForm.java
>>>  
>>> *Regards
>>> Christian
>>>
>>> On 30.09.2016 18:52, Stefanie Behnke wrote:
>>>
>>> Hi Christian,
>>>
>>> it is the same field: dc.contributor.author that I want to edit. The log 
>>> file doesn't show any hint what could be wrong, so I am very helpless.
>>>
>>> Any further idea, I can try?
>>>
>>> Thanks in advance
>>> Stefanie
>>>
>>> Am Freitag, 30. September 2016 13:26:12 UTC+2 schrieb Christian 
>>> Scheible: 

 Hi Stefanie,

 We are using this feature (whith some tweaks) with DSpace 5.5 and the 
 XMLUI Mirage theme to so that sounds strange.
 Did you check the log files in the log directory ([dspace]log/)?
 Is the field you are trying to edit the same as in the submission 
 (dc.contributor.author) ?

 Best regards
 Christian


 On 30.09.2016 07:43, Stefanie Behnke wrote:

 Dear Christian,

 yes, I did this, but the lookup did not start.

 Best regards
 Stefanie

 Am Freitag, 30. September 2016 06:36:20 UTC+2 schrieb Christian 
 Scheible: 
>
> Hi Stefanie,
>
> have you tried clicking on the litle lock image first?
> After that it should be possible to start the lookup.
>
> Best Regards
> Christian
>
> On 29.09.2016 16:35, Stefanie Behnke wrote:
>
> Dear all,
>
> I am using Dspace 5.5 with xmlui Mirage theme.
> I have enabled Orcid Integration as described in 
> https://wiki.duraspace.org/display/DSDOC5x/ORCID+Integration.
>
> Author lookup in the submission form does work, but when I want to 
> edit an item I am missing the "Lookup Button".
> I can only see what is shown in the attached image. What I am doing 
> wrong?
>
>
> Any help is appreciated.
>
> Best regards
> Stefanie
> -- 
> You received this message because you are subscribed to the Google 
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to dspace-tech...@googlegroups.com.
> To post to this group, send email to dspac...@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
 You received 

Re: [dspace-tech] DSpace.log error message extravaganza

2016-10-31 Thread helix84
On Mon, Oct 31, 2016 at 1:29 AM, Fitchett, Deborah
 wrote:
> 1.   “ERROR
> org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter @
> Problem in multipart filter. Unable to create request” – we get a few dozen
> of these some minutes after restarting the server

This one is harmless. It just says that a client request was
interrupted due to the server restart. The next request should
succeed.


> 2.   “ERROR org.dspace.core.PluginManager @ Name collision in named
> plugin, implementation class="org.dspace.content.crosswalk.AIPDIMCrosswalk",
> name="DIM"” – about 160 of these, for various crosswalks and name variations
> with some apparent repetition, shortly after the multipart filter errors ie
> also on server restart

I've been getting those, too. Couldn't figure out why. But they seem harmless.


> 3.   “ERROR org.dspace.core.I18nUtil @ No language specified for EPerson
> #” – associated with the [dspace]/bin/dspace sub-daily job. I’m presuming
> it’s what it says on the box: the eperson who’s subscribed to something
> hasn’t specified a language and i18n is complaining about it. Presumably
> also i18n then just sends them English by default anyway, but is there a way
> we can actually go in somewhere and specify ‘en’ just to keep this out of
> our logs? I can’t even see where this might be stored in the database.

Until DSpace 4, you could specify language in the eperson table. Since
DSpace 5, most eperson attributes have moved into the metadatavalue
table ("eperson" schema, element='language', qualifier = NULL). I
wrote up an explanation of this change and how to access the
attributes:

https://wiki.duraspace.org/display/DSPACE/Metadata+for+all+DSpace+objects


> 4.   “ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL query
> updateQuery Error -
> org.postgresql.util.PSQLException: ERROR: update or delete on table
> "bitstream" violates foreign key constraint
> "bundle_primary_bitstream_id_fkey" on table "bundle"
>   Detail: Key (bitstream_id)=(#) is still referenced from table "bundle".”
> [followed by a SQL deleteByValue Error, a SQL delete Error, and a “FATAL
> org.dspace.storage.bitstore.Cleanup @ Caught exception”, all with the same
> cause] – this is associated with the [dspace]/bin/dspace cleanup job. Just
> how fatal is FATAL in this context?

I've seen this before in an upgraded repository. The worst possible
consequence is that the bitstream was not actually deleted.


> 5.   “ERROR org.apache.pdfbox.filter.FlateFilter @ FlateFilter: stop
> reading corrupt stream due to a DataFormatException” – associated with the
> [dspace]/bin/dspace filter-media  (Note I haven’t seen this one yet under
> v5.6 but as we only just upgraded from 5.5 this weekend I’m not sure if the
> update’s fixed that or if it just hasn’t had an opportunity to occur.)

There is a huge variety of PDFs created by many various tools. Not all
tools comply to standards perfectly and the tool that extracts text
from PDF may fail to read some formats. The only consequence is that
the text is not extracted from the particular PDF. The process will
skip it, report an error like this and continue processing the rest of
PDFs.


> 6.   “WARN  org.dspace.app.xmlui.cocoon.DSpaceI18NTransformer @
> Translation not found for attribute title in element ” – clearly what
> it says on the box but is there any way to figure out *which* image
> attribute, in all of our installation, it could be complaining about? (I
> realise this one may be a rhetorical question)

Try grepping in the "themes" directory.

This may also help a bit:
http://cocoon.10839.n7.nabble.com/i18n-attr-translation-td6264.html



Regards,
~~helix84

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

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.