Glad it was of a help to you and thanks for confirming.

Cheers 

On Tuesday, December 13, 2022 at 6:26:25 AM UTC+3 Jordan Gamonal Pérez 
wrote:

> Hi,
>
> I would like to inform you that the indicated steps helped me to solve the 
> problem, and I thank you very much.
>
> Regarding the routes, I use the common slashes, I have already tried the 
> backslashes before and they need to be escaped, which is not very readable 
> in the end.
>
> El Tuesday, December 13, 2022 a la(s) 12:09:30 AM UTC-3, alo...@gmail.com 
> escribió:
>
>> There was a typo in step 4. I'm not sure if dspace or im4java are 
>> forgiving about the backslash so it it's safer to always use forward slash.
>> 4) edit dspace.cfg and set the value for 
>> (org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter =  'c:
>> */*imagemagick') and Restart Tomcat.
>>
>> On Sunday, December 11, 2022 at 9:50:29 AM UTC+3 Mohammad S. AlMutairi 
>> wrote:
>>
>>> You can try the steps you see below if the above suggestion didn't fix 
>>> the issue you have (Not much information provided about the server setup so 
>>> I'm guessing here). Anyway, Try the steps you see below. it should fix it 
>>> no matter what was the cause of the issue you have.
>>>
>>> 1) Uninstall the old ImageMagick you have.
>>> 2) Remove the IM4JAVA_TOOLPATH environment variable if you had it set.
>>> 3) Download the latest ImageMagick version 
>>> <https://imagemagick.org/script/download.php#windows> and install it 
>>> with the legacy utilities option. NB: You must choose the installation path 
>>> to be (c:\imagemagick) or (C:\dspace\dspace_63\imagemagick). The idea 
>>> of the path part is to avoid spaces in the folders names.
>>> 4) edit dspace.cfg and set the value for 
>>> (org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter 
>>> =  'c:\imagemagick') and Restart Tomcat.
>>> 5) Create the IM4JAVA_TOOLPATH environment in the system environment 
>>> using (setx /m IM4JAVA_TOOLPATH "c:\imagemagick") or in the logged in 
>>> user environment using (setx IM4JAVA_TOOLPATH "c:\imagemagick").
>>> 6) Restart the server or just Logged out log back in and try it.
>>>
>>> Hope it helps you.
>>> On Sunday, December 11, 2022 at 6:28:57 AM UTC+3 Mohammad S. AlMutairi 
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I see the issue you have now "There was three issues in the first post" 
>>>> :-). It seems identify.exe is not installed on your Windows 10. Can you 
>>>> make sure you see it in the ImageMagick installation folder first? (dir 
>>>> C:\Path-to-ImageMagick\identify.exe) or (dir /s \identify.exe). If it can 
>>>> not be found you need to reinstall the ImageMagick package again but this 
>>>> time make sure "Install legacy utilities (e.g Convert)" is ticked to 
>>>> have it installed and just try it after rebooting your server to be sure. 
>>>> Here is the ImageMagick download link: 
>>>> https://imagemagick.org/script/download.php#windows
>>>>
>>>> Cheers 
>>>>
>>>> Hope it help.
>>>>
>>>>
>>>> On Saturday, December 10, 2022 at 10:29:39 PM UTC+3 Jordan Gamonal 
>>>> Pérez wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I tried to do this forcing the command but i receive the same message 
>>>>> error about not find an identify
>>>>>
>>>>>    - .\dspace filter-media -f -i 11626/117
>>>>>    - ERROR filtering, skipping bitstream:
>>>>>    - org.im4java.core.InfoException: 
>>>>>    org.im4java.core.CommandException: java.io.FileNotFoundException: 
>>>>> identify
>>>>>    
>>>>> I also verified that the imagemagick and ghostscript system variables 
>>>>> were declared and discoverable by *dspace.cfg* Additionally, I run 
>>>>> commands for the creation of covers from pdf to jpg through cmd and they 
>>>>> are solved without problems.
>>>>>
>>>>> Note: Now written from my email, by accident I had responded by my 
>>>>> company email.
>>>>>
>>>>> El Saturday, December 10, 2022 a la(s) 10:00:44 AM UTC-3, 
>>>>> alo...@gmail.com escribió:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Try to force it with -f: ( C:\dspace\dspace_63\bin\dspace 
>>>>>> filter-media -h ).
>>>>>> On Saturday, December 10, 2022 at 7:24:37 AM UTC+3 Jordan Gamonal 
>>>>>> Pérez wrote:
>>>>>>
>>>>>>> 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/c283cb1c-5e5a-4d16-9224-4cf9c09b3d08n%40googlegroups.com.

Reply via email to