Hi Shannon, Hmmm.. it does sound like an error related to trying to use the wrong "convert" command (as you noted Windows has it's own "convert.exe" command). This StackOverflow answer says something similar:
http://stackoverflow.com/a/26163068 After some searching around, it seems like there's a few options..admittedly, I haven't tried *any* of these though: 1. These 'im4java' docs seem to imply the correct path syntax for Windows is "C:\\Program Files\\ImageMagick" (and you can specify multiple folders separated by semicolons): http://im4java.sourceforge.net/docs/dev-guide.html 2. The StackOverflow answer above says that installing the *portable* version of ImageMagick and Ghostscript may resolve this issue. 3. Another option may be to tweak your PATH so that the ImageMagick folder appears *before* your "System32" folder. That solution is mentioned in this blog post on ImageMagick + Windows: http://savage.net.au/ImageMagick/html/install-convert.html Again, I haven't tried any of these. But, if you find something that does work, please do let us know. We can then update the official Documentation with a recommended setup for Windows. - Tim On 4/14/2015 4:39 PM, Shannon Meisenheimer wrote: > Hi, > > We are running DSpace 5.1 (Mirage2) on Windows Server 2012. > > I've installed ImageMagick and Ghostscript to same directory (C:\Program > Files\ImageMagick). > > I have the following environment variable: > IM4JAVA_TOOLPATH = C:\Program Files\ImageMagick\ > > ... And have "C:\Program Files\ImageMagick;" prepended to my system Path > variable. > > Running the following command: > |[dspace]/bin/dspace filter-media | > > Results in the following error for every title/item: > -- > org.im4java.core.CommandException: org.im4java.core.CommandException: > Invalid Parameter - > C:\Users\hitokiri\AppData\Local\Temp\impdfthumb211990492535865085.pdf.jpg > -- > > Issuing convert -help at cmd does display the list of parameters for > ImageMagick/convert.exe, so the path and environment variables should be > OK. It, however, may be that DSpace is trying to use Windows convert > (FAT to NTFS). > > Any attempts to configure > "org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter" > in dspace.cfg result in: > -- > org.im4java.core.CommandException: java.io.FileNotFoundException: convert > -- > > I've tried setting the process starter path in dspace.cfg to the > following, with no change in result: > - "C:\\Program Files\\ImageMagick" > - C:\Program Files\ImageMagick > - "C:\Program Files\ImageMagick" > - C:/Program Files/ImageMagick > > At this point, I'm at a loss as how to proceed. > > Thanks, > Shannon > -- > Mr. Shannon Meisenheimer > CentralNet - Office of Technology > Blackboard Administration and Support > University of Central Missouri > Dockery 207A > meisenhei...@ucmo.edu <mailto:meisenhei...@ucmo.edu> > Work Phone: (660) 543-8483 > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > > > > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette