Re: [dspace-tech] DSpace and AI / Dspace com IA

2020-06-10 Thread Sean Kalynuk
Hi Matheus,

Coincidentally, I am currently trying out fastText (https://fasttext.cc/) to 
help with document classification. Unfortunately I haven’t integrated anything 
with DSpace itself just yet since I’m only generating CSV metadata that will be 
applied using the DSpace metadata import feature.

--
Sean

From:  on behalf of Matheus Otoni 

Date: Wednesday, June 10, 2020 at 3:23 PM
To: DSpace Technical Support 
Subject: [dspace-tech] DSpace and AI / Dspace com IA

Caution: This message was sent from outside the University of Manitoba.


 Hi all, how are you?

I am studying artificial intelligence and would like to know if anyone has done 
already anything with dspace using AI.

Thank you!
BR,
Matheus Otoni



Olá pessoal, tudo bem?

Estou estudando inteligência artificial e gostaria de saber se alguém já fez 
alguma coisa com o dspace usando IA.

Obrigado!
Att,
Matheus Otoni
--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/41ddf914-81d3-4d2c-8c4a-4da1d6d1f905o%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9E3EE27C-A648-4F0D-8DE2-1B32042D82AC%40umanitoba.ca.


[dspace-tech] Problem with blank thumbnails

2020-06-10 Thread Baer,Helen
Hi everyone,

One of our partner libraries has a recurring problem with blank thumbnails for 
pdf's. Their process is to create the original PDF from separate TIFFs in 
Adobe, then use Adobe Acrobat Pro 2017 to make a smaller sized file. Have any 
of you seen this before? We're thinking the problem is with the source content, 
not DSpace, but I thought I'd ask around and see if anyone has a solution.

Here's an example: https://mountainscholar.org/handle/10976/167263

Best,

Helen Baer
Colorado State University

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/DM5PR0701MB36384FA9F1ABC8FCE4C2A2DB88830%40DM5PR0701MB3638.namprd07.prod.outlook.com.


[dspace-tech] DSpace and AI / Dspace com IA

2020-06-10 Thread Matheus Otoni
 Hi all, how are you? 

I am studying artificial intelligence and would like to know if anyone has 
done already anything with dspace using AI. 

Thank you!
BR,
Matheus Otoni



Olá pessoal, tudo bem? 

Estou estudando inteligência artificial e gostaria de saber se alguém já 
fez alguma coisa com o dspace usando IA. 

Obrigado!
Att,
Matheus Otoni

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/41ddf914-81d3-4d2c-8c4a-4da1d6d1f905o%40googlegroups.com.


Re: [dspace-tech] Solr Query Dspace API in JSPUI x DSpace 6.3 [Code Question]

2020-06-10 Thread R W
Hi Mark,

You're incredible! Pointing out that null pointer, led me to find out that 
our solr server configurations were not set up properly (we have an 
external solr server). I logged out 
the configurationService.getProperty("solr-statistics.server") and it was 
coming back null. Fixed that and solr queries are now working in the 
servlet. Wowza! Thank you DSpace Community! Thank you Mark, this has helped 
me remove a blocker from our sprint. Please have a wonderful remainder of 
the week and take care! 

Thank you,
Rachel

On Tuesday, June 9, 2020 at 8:22:12 AM UTC-4, Mark H. Wood wrote:
>
> On Mon, Jun 08, 2020 at 09:16:17AM -0700, R W wrote: 
> > I am reaching out to ask for a second pair of eyes on this custom 
> servlet 
> > that I'm migrating from DSpace JSPUI x5.9 to x6.3. The servlet builds 
> and 
> > deploys without any issues but does not return a response from the solr 
> > query when the servlet URL is requested. The goal of this servlet is to 
> > return json data about deposits that have been recently viewed, the 
> > original solr query is in line 76. The logs don't indicate a solr 
> response 
> > is returned at all, the last log is at line 89 and doesn't go past line 
> 93 
> > where the response value is assigned. If anyone can spot anything I've 
> > missed or have some feedback about another approach, that would be 
> greatly 
> > appreciated. Thank you for reading. 
> > 
> > Servlet 
> >  60 public class SolrStatsServlet extends DSpaceServlet 
> >  61 { 
> >  62 /** log4j category */ 
> >  63 private static Logger log = 
> > Logger.getLogger(SolrStatsServlet.class); 
> >  64 private HandleService handleService; 
> >  65 private ItemService itemService; 
> >  66 // private static final String RESOURCE_TYPE_FIELD = 
> > "search.resourcetype"; 
> >  67 private HttpSolrServer solr = null; 
> >  68 
> >  69 protected void doDSGet(Context context, HttpServletRequest 
> request, 
> >  70 HttpServletResponse response) throws ServletException, 
> > IOException, 
> >  71 SQLException, AuthorizeException { 
> >  72 
> >  73 handleService = 
> > HandleServiceFactory.getInstance().getHandleService(); 
> >  74 itemService = 
> > ContentServiceFactory.getInstance().getItemService(); 
> >  75 
> >  76 // Original solr query - 
> > 
> 'select?indent=on=0=10=type:2=-isBot:true=statistics_type:view=time+desc'
>  
>
> >  77 QueryResponse solrResponse = null; 
> >  78 
> >  79 try { 
> >  80 
> >  81 log.info("Debug 1"); 
> >  82 SolrQuery solrQuery = new 
> SolrQuery().setQuery("type:2"); 
> >  83 
> >  84 solrQuery.addFilterQuery("-isBot:true"); 
> >  85 solrQuery.addFilterQuery("statistics_type:view"); 
> >  86 solrQuery.addSortField("time", SolrQuery.ORDER.desc); // 
> > sort by time 
> >  87 solrQuery.setRows(10);// 10 results max 
> >  88 log.info("Debug 2"); 
> >  89 log.info(solrQuery); 
> >  90 
> > 
>  
> //q=type%3A0=-isBot%3Atrue=statistics_type%3Aview=time+desc=10
>  
>
> >  91 
> >  92 // solrResponse = solr.query(solrQuery); 
> >  93 solrResponse = solr.query(solrQuery, 
> > SolrRequest.METHOD.GET); 
> >  94 log.info("Debug 3"); 
> >  95 
> >  96 } catch (SolrServerException e) { 
> >  97 log.info("Debug 4 - ERROR"); 
> >  98 log.error("Solr failed to return docs for home page map: 
> " 
> > + e.getMessage()); 
> >  99 return; 
> > 100 } 
> > 101 
> > 102 log.info("Debug 5"); 
> > 103 SolrDocumentList docList = solrResponse.getResults(); 
> > 104 log.info("Debug 6"); 
> > 
> > 
> > 136 } 
> > 137 
> > 138 protected void doDSPost(Context context, HttpServletRequest 
> request, 
> > 139 HttpServletResponse response) throws ServletException, 
> > IOException, 
> > 140 SQLException, AuthorizeException 
> > 141 { 
> > 142 // Treat as a GET 
> > 143 doDSGet(context, request, response); 
> > 144 } 
> > 
> > 
> > 
> > Dspace.log file 
> > 
> > 2020-06-08 11:55:56,314 INFO 
>  org.dspace.app.webui.servlet.SolrStatsServlet 
> > @ Debug 1 
> > 2020-06-08 11:55:56,315 INFO 
>  org.dspace.app.webui.servlet.SolrStatsServlet 
> > @ Debug 2 
> > 2020-06-08 11:55:56,315 INFO 
>  org.dspace.app.webui.servlet.SolrStatsServlet 
> > @ 
> > 
> q=type%3A2=-isBot%3Atrue=statistics_type%3Aview=time+desc=10 
>
> > 2020-06-08 11:55:56,315 WARN  org.dspace.app.webui.servlet.DSpaceServlet 
> @ 
> > 
> anonymous:session_id=09DCF4D40B91772CB2F26D8F645148E5:ip_addr=142.150.192.3:general_jspui_error:java.lang.NullPointerException
>  
>
> > java.lang.NullPointerException 
> > at 
> > 
> org.dspace.app.webui.servlet.SolrStatsServlet.doDSGet(SolrStatsServlet.java:93)
>  
>
>
>   ^^ 
>
> You have a NullPointerException, probably because 

[dspace-tech] Can the "reason" textfield in an embargoed item change to a drop-down with specific reasons?

2020-06-10 Thread Evelthon Prodromou
Hello all,

Quick question as described in the subject. I was asked to changed the 
reason textbox, in the embargo step, to a drop-down with specific values. 
Is that possible?

I was unable to locate something in the documentation.

System is 5.5/XMLUI/Mirage2

Thank you,
Evelthon

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/b9dabbf2-63ef-4eaa-b4e2-e37d2a65151fo%40googlegroups.com.