[dspace-tech] Filter-media identify error

2022-12-09 Thread Jordan Gamonal Pérez
Greeting,

I have the following problem when running a *filter-media -i 11626/117*. 
The process starts running but stops suddenly with the following error 
message in *dspace.log*


   - SKIPPED: bitstream 8524934d-a163-42df-8da7-9b3232f1fc02 (item: 
   11626/117) because 'Document_for_testing.pdf.txt' already exists
   - ERROR filtering, skipping bitstream:
   - Caused by: java.io.FileNotFoundException: identify

My installation have the next configurations:

   - Windows 10
   - DSpace 6.3
   - PostgreSQL 9.6

I'm using a user with sufficient permissions and the item was successfully 
imported by Batch.

Thanks for your time.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/18daed99-0ff3-4cb8-b3fd-b481286571dcn%40googlegroups.com.
C:\dspace\dspace_63\bin> .\dspace filter-media -i 11626/117
Using DSpace installation in: C:\dspace\dspace_63
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils 
(file:/C:/dspace/dspace_63/lib/postgresql-9.4.1211.jar) to field 
java.util.TimeZone.defaultTimeZone
WARNING: Please consider reporting this to the maintainers of 
org.postgresql.jdbc.TimestampUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
SKIPPED: bitstream 8524934d-a163-42df-8da7-9b3232f1fc02 (item: 11626/117) 
because 'Document_for_testing.pdf.txt' already exists
File: Document_for_testing.pdf.jpg
ERROR filtering, skipping bitstream:

Item Handle: 11626/117
Bundle Name: ORIGINAL
File Size: 28727493
Checksum: be0d52adfb7ec0a6e7e870549d5a612a (MD5)
Asset Store: 0
org.im4java.core.InfoException: org.im4java.core.CommandException: 
java.io.FileNotFoundException: identify
org.im4java.core.InfoException: org.im4java.core.CommandException: 
java.io.FileNotFoundException: identify
at org.im4java.core.Info.getBaseInfo(Info.java:360)
at org.im4java.core.Info.(Info.java:151)
at 
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.getImageFile(ImageMagickThumbnailFilter.java:149)
at 
org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.getDestinationStream(ImageMagickPdfThumbnailFilter.java:27)
at 
org.dspace.app.mediafilter.MediaFilterServiceImpl.processBitstream(MediaFilterServiceImpl.java:358)
at 
org.dspace.app.mediafilter.MediaFilterServiceImpl.filterBitstream(MediaFilterServiceImpl.java:217)
at 
org.dspace.app.mediafilter.MediaFilterServiceImpl.filterItem(MediaFilterServiceImpl.java:180)
at 
org.dspace.app.mediafilter.MediaFilterServiceImpl.applyFiltersItem(MediaFilterServiceImpl.java:158)
at 
org.dspace.app.mediafilter.MediaFilterCLITool.main(MediaFilterCLITool.java:315)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Caused by: org.im4java.core.CommandException: java.io.FileNotFoundException: 
identify
at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
at org.im4java.core.Info.getBaseInfo(Info.java:342)
... 14 more
Caused by: java.io.FileNotFoundException: identify
at 
org.im4java.process.ProcessStarter.searchForCmd(ProcessStarter.java:661)
at 
org.im4java.process.ProcessStarter.startProcess(ProcessStarter.java:403)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:312)
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
... 15 more

Re: [dspace-tech] odd/faulty search behavior

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi Paige,

If you are able to reproduce odd/faulty behavior using the demo site, then I 
always recommend just creating a bug ticket (in 
https://github.com/DSpace/dspace-angular/issues).  If it's failing on 
demo7.dspace.org, then that is usually a positive sign that a bug exists.

So, this does look like a bug to me.  Could you create a bug ticket for us?  
That way it's tracked and we'll work to get it assigned/scheduled.

Thanks,

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Paige Morgan 
Sent: Thursday, December 1, 2022 1:52 PM
To: DSpace Technical Support 
Subject: [dspace-tech] odd/faulty search behavior


This is something that I'm seeing in my local repository, but can also 
reproduce in the demo site. I figured I'd check before submitting a bug report.

If you search for a term (like "schools"), you get some results: 
https://demo7.dspace.org/search?query=schools

Let's say you go to the 7th page of the results: 
https://demo7.dspace.org/search?query=schools=7

>From that page, if you type a new term into the search bar ("All of DSpace") 
>or the magnifying glass search at the upper right, DSpace will repeat the 
>search -- but will hang on to whatever page you were at:

[image.png]

For example: if you search for "kittens", it will search to see whether DSpace 
has a page 7 for "kitten" results, and it will tell you that there are no 
results.

https://demo7.dspace.org/search?query=kittens=7

But -- if you go back to the homepage, and then search for "kittens", then you 
*do* get results: https://demo7.dspace.org/search?query=kittens

Is this a known bug? I don't see it on the Github site, but figured I'd check 
before I submitted a ticket.

Thanks,
Paige


-
Meeting/regular work hours: Monday - Thursday, 9am-5pm; limited email on Friday 
mornings.


Dr. Paige C. Morgan

(she/her/they)
Digital Publishing and Copyright Librarian,
Head of Digital Initiatives & Preservation
University of Delaware Library, Museums and Press (on Lenape 
land)
Morris 118
ORCID: https://orcid.org/-0001-8076-7356
paig...@udel.edu
302.831.7153

Make an appointment to meet with me: https://calendly.com/paigecm/ (Meetings 
available via Zoom, phone, etc.)
** I observe email-free evenings and weekends. **

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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/CA%2BzEVd%3D8BxMho9-xo%3DRfHZ9RT7gLXKADHnLrTC7OTdAJRjQgLA%40mail.gmail.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/PH0PR22MB3274A3B93A288BF0FCAA42B2ED1C9%40PH0PR22MB3274.namprd22.prod.outlook.com.


[dspace-tech] Re: How to generate custom report in dspace 7.2

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

At this time, DSpace 7.x doesn't have a way to generate custom reports 
out-of-the-box.  You can export metadata to CSV 
(https://wiki.lyrasis.org/display/DSDOC7x/Batch+Metadata+Editing), but I 
don't think that's what you are looking for.

As always, we welcome community contributions. So if anyone wanted to help 
design/build a custom reporting feature for DSpace, we'd welcome it.  I 
would obviously recommend first letting us know if you (or anyone else 
reading this) wanted to give such a feature back... that way we'd ensure no 
one else was duplicating the work.

Tim

On Monday, December 5, 2022 at 2:08:39 AM UTC-6 tese...@gmail.com wrote:

> Dear all, I have big issues with how to generate custom report which 
> includes like book title, author, collection, published date, submitted by/ 
> deposited by, deposited date and other related field report. I need help on 
> this issues. Thank you in advance

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/c843752e-be88-47e3-8560-a0a8d8f45915n%40googlegroups.com.


[dspace-tech] Re: Create Researcher Profiles Error

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

Anytime you see a red error box like that in the DSpace 7 UI, that should 
be a hint to follow our "Troubleshoot an error" guide:
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Unfortunately, it's not possible to figure out the cause of that error 
until you are able to locate the underlying error message (by following 
that guide).

Let us know what you find.

Tim


On Monday, December 5, 2022 at 3:52:00 AM UTC-6 joem...@gmail.com wrote:

> Hi All,
>
> When clicking on create new, I am receiving the following errors: 
> documentation followed : 
> https://wiki.lyrasis.org/display/DSDOC7x/Researcher+Profiles 
>
> [image: Researcher Profiles.png]
>
> Regards,
> Lewatle 
>
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/4d14108d-9077-4f4c-9617-18f05a40f304n%40googlegroups.com.


[dspace-tech] Re: Persian language Search

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

DSpace's search engine uses Apache Solr.  I suspect the behavior you are 
seeing is because Solr may need special configuration to properly parse the 
Persian Language.  See the notes in Solr here: 
https://solr.apache.org/guide/8_0/language-analysis.html

I suspect you may need to customize the default Solr "schema.xml" that 
comes with DSpace in order to enable these custom configurations in Solr.  
 It likely would be the "query" analyzer (which is what is used when DSpace 
runs a search via Solr) 
here: 
https://github.com/DSpace/DSpace/blob/main/dspace/solr/search/conf/schema.xml#L218-L224

After changing that schema.xml, you'd have to copy it back into your Solr 
instance & restart Solr.  You also may need to re-index (not sure if this 
part is required or not): ./dspace index-discovery -b

Let us know if that works! 
Tim


On Wednesday, December 7, 2022 at 6:20:33 AM UTC-6 ruzbeh@gmail.com 
wrote:

> I have two problems with Persian language in DSpace 7.4, and these issues 
> cause problems in search function.
>
> 1- When you write one letter or even half of a Persian word, search result 
> returns as empty, you must enter a full word in order to get a result(any 
> result).
>
> 2- There are four letters in Persian which are specific to this 
> language(doesn't exist in Arabic) : (گ چ پ ژ) when these letters are 
> searched, no result is returned. 
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/9f5a1cc9-4c37-47b9-90bc-c255771c0530n%40googlegroups.com.


[dspace-tech] Re: Error with filter-media

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

It's difficult to help as it looks like the full error message is not 
included.  There is likely should be details in your DSpace log files 
regarding the "RuntimeException" (the message "Unexpected RuntimeException 
from org.apache.tika.parser.pdf.PDFParser@65054901" appears to be cut 
off... as it doesn't say *why* it failed).

I'd recommend looking closer at your logs to see if it provides more 
details as to why these files are not indexing successfully.  These 
indexing failures may also be the result of the different results between 
DSpace 5 and 7... though it's difficult to say for certain.

I'd highly recommend looking at our troubleshooting guide to see if you can 
find more information on the errors.  It's not obvious from what you shared 
what may be happening & I suspect there are more errors occurring for some 
reason. 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Tim

On Wednesday, December 7, 2022 at 2:04:55 PM UTC-6 crims...@gmail.com wrote:

> Hi,
>
> When I run *filter-media -f* after data migration, I get many of the 
> following errors:
>
> --
> Unexpected RuntimeException from 
> org.apache.tika.parser.pdf.PDFParser@65054901
> ERROR filtering, skipping bitstream:
> Item Handle: 10292/4198 Bundle Name: ORIGINAL   File Size: 364491 
>   Checksum: b4926549648c79076633915c5f85944a (MD5)Asset Store: 0
> Unexpected RuntimeException from 
> org.apache.tika.parser.pdf.PDFParser@4ff81ac8
> ERROR filtering, skipping bitstream:
> Item Handle: 10292/7000 Bundle Name: ORIGINAL   File Size: 7123084 
>  Checksum: 2a470bf352e35fea5b89771ce6de7629 (MD5)Asset Store: 0
> -
>
> Could you please let me know how to fix these errors? Below are some 
> findings from my investigation:
>
> - The command completes successfully and I ran index-discovery -b 
> afterwards. 
> - When I search with empty space, I get +3000 items in Dspace 5.8 but only 
> get +2000 in Dspace 7.3.
> - When I search with a keyword, I get less results in Dspace 7.3 than 5.8. 
> I can open the items found in 5.8 but not in 7.3 manually using the uuid, 
> can also find the keyword in the item multiple times.
> - I cannot find the missing items in the filter-media log.
> - I can confirm the configuration found here - 
> https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content
>  
> - are correctly set.
> - Below are set in local.cfg.
> textextractor.max-chars = 100
> textextractor.use-temp-file = true
>
> Examples - 
>
> 1 article 
> https://openrepositorystage.aut.ac.nz/search?query=noodle=1=2002=2009
>
>  14 articles 
> https://openrepository.aut.ac.nz/handle/10292/3/discover?query=noodle=10=dateCopyright_relational_operator=equals=%5B2000+TO+2009%5D
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/b3dfe397-f44c-4904-a740-7eacd8e9658an%40googlegroups.com.


[dspace-tech] Re: DSpace 7.4 - rss feed - error

2022-12-09 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

Unfortunately this was a bug accidentally introduced in 7.4.  It's been 
fixed in this PR (https://github.com/DSpace/dspace-angular/pull/1934) and 
the fix will be in 7.5.  If needed before that, you could apply that fix to 
your local copy of the "rss.component.ts" file (as shown in the PR) and 
rebuild/restart the UI.

Tim

On Friday, December 9, 2022 at 2:48:00 AM UTC-6 tif...@gmail.com wrote:

> Hi,
>
> in file dspace.cfg change
> websvc.opensearch.svccontext = opensearch/search
> to
> websvc.opensearch.svccontext = opensearch
>
> After this change and restarting DSpace the error disappeared.
>
> However, this does not solve the problem completely, because the RSS Feed, 
> at least for me, does not update.
>
> Regards,
> Mariusz
>
> czwartek, 8 grudnia 2022 o 22:00:20 UTC+1 karols...@gmail.com napisał(a):
>
>> Hi,
>>
>> the button "rss feed" gives me error like this:
>> Whitelabel Error Page
>>
>> This application has no explicit mapping for /error, so you are seeing 
>> this as a fallback.
>> Thu Dec 08 21:57:12 CET 2022
>> There was an unexpected error (type=Not Found, status=404).
>> No message available
>>
>> it's not ready in DSpace 7 yet?
>> Thanks,
>>
>> Karol
>>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/be9db1be-0b55-4838-bfd8-f1c466c31e30n%40googlegroups.com.


[dspace-tech] unable to enable full text snippets in searches for DSpace 7.4

2022-12-09 Thread Paige Morgan
Has anyone running DSpace 7.x been successful in turning on full text
snippets in search results?

We've made sure that our Text Extractor Media Filter is turned on (per this
documentation
),
and we've changed the settings in our discovery.xml file, including the
following code snippet from the documentation wiki on customizing hit
highlighting)
.
We're not concerned about snippets showing up from restricted or embargoed
items; that's fine. We've made sure to restart Tomcat.

- class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
>
> 
>
> 
>
> 
>
> 
>
> 
>
Nothing seems to be working. If any of you have successfully enabled full
text snippets in 7.4, can you recommend what settings we might want to
check?

Thanks so much (and happy Friday!)

Paige

-
*Meeting/regular work hours: Monday - Thursday, 9am-5pm; limited email on
Friday mornings.*

Dr. Paige C. Morgan
(she/her/they)
Digital Publishing and Copyright Librarian,
Head of Digital Initiatives & Preservation
University of Delaware Library, Museums and Press (on Lenape land
)
Morris 118
ORCID: https://orcid.org/-0001-8076-7356
paig...@udel.edu
302.831.7153

Make an appointment to meet with me: https://calendly.com/paigecm/ (Meetings
available via Zoom, phone, etc.)
*** I observe email-free evenings and weekends. ***

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/CA%2BzEVdnBLVwMv6r6PXQvyLt35aBJ7BCRMQ5JD1Fqz1O-PX7NSg%40mail.gmail.com.


Re: [dspace-tech] DSpace 6.3 Discovery

2022-12-09 Thread ArunendraMB
Any solutions, please?



On Fri, 9 Dec 2022, 03:01 arunendra.m...@gmail.com, <
arunendra.mbiswas.n...@gmail.com> wrote:

> I have disabled  from sidebarFacets and
> searchFilters, yet it is appearing in Advanced search filter options. How
> is it possible?
>
> Similarly, I have added 2 new filters in one specific collection discovery
> configuration but only one of them is appearing.
> I have made same changes for both in messages.xml file.
>
> I have cleared browser cache, tomcat cache as well as re-indexed.
>
> Please help. I have going over this for 3 days.
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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/0042d08b-c429-495b-b1f2-03c94c9936c5n%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/CAO_tGrKjzB4%2BDG6pam6H%3DJ3arDgjysDAXfLgL%3DpmN1Hd7BO5cA%40mail.gmail.com.


[dspace-tech] Re: DSpace 7.4 - rss feed - error

2022-12-09 Thread Technologiczny Informator
Hi,

in file dspace.cfg change
websvc.opensearch.svccontext = opensearch/search
to
websvc.opensearch.svccontext = opensearch

After this change and restarting DSpace the error disappeared.

However, this does not solve the problem completely, because the RSS Feed, 
at least for me, does not update.

Regards,
Mariusz

czwartek, 8 grudnia 2022 o 22:00:20 UTC+1 karols...@gmail.com napisał(a):

> Hi,
>
> the button "rss feed" gives me error like this:
> Whitelabel Error Page
>
> This application has no explicit mapping for /error, so you are seeing 
> this as a fallback.
> Thu Dec 08 21:57:12 CET 2022
> There was an unexpected error (type=Not Found, status=404).
> No message available
>
> it's not ready in DSpace 7 yet?
> Thanks,
>
> Karol
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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/ced6a95e-5cf4-4789-aff6-a382ecb18c17n%40googlegroups.com.