Re: [Dspace-tech] theme mirage2
That is likely due to a bad build. We saw that when Maven wasn't able to get to some of the repositories needed for the build due to FW restrictions. Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 2015-08-26 6:15 GMT-05:00 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de : Hola Paula, tienes que habilitar Javascript en el navegador, porejemplo en Firefox (desde versión 23) entra about:config y cambia javascript.enabled (true). Para cambiar el tema aquí hay la documentación: https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization Nota que la lenguaje de esta lista es Inglés. Vas a recibir más respuestas utilizandola. Hay una liste en Espanol: https://www.rediris.es/list/info/gude.html Saludos Claudia Am 25.08.2015 um 21:15 schrieb Paula Andrea Pérez I. - Informática IUE: Buena tarde Quería solicitarles su ayuda ya que hace poco instale el dspace version 5.1 para el repositorio de la biblioteca , intente cambiar el tema por el mirage2 pero no se visualiza bien en ningún navegador , además sale el siguiente mensaje. Repositorio Institucional IUE JavaScript is disabled for your browser. Some features of this site may not work without it. Muchas graciasss [cid:image001.png@01D0A387.8B376440] Paula Andrea Pérez Idarraga Institución Universitaria de Envigado Ingeniera Contratista Oficina de Informática Carrera 27 B No. 39 A Sur 57 – Envigado, Colombia Teléfono: +57 4 339 10 10 – Ext. 521 Correo: paula.pe...@iue.edu.comailto:paula.pe...@iue.edu.co Web: www.iue.edu.cohttp://www.iue.edu.co/ [cid:image002.jpg@01D0A428.614C6CB0]https://goo.gl/6DQenf [cid:image003.png@01D0A428.614C6CB0]http://twitter.com/IUEVirtual [cid:image004.jpg@01D0A428.614C6CB0] http://www.youtube.com/user/IUEVIRTUAL “El contenido de este mensaje puede ser información privilegiada y confidencial. Si usted no es el destinatario real del mismo, por favor informe de ello a quien lo envía y destrúyalo en forma inmediata.” Antes de imprimir este mensaje, asegúrese de que es necesario. Proteger el medio ambiente está también en sus manos. __ Información de ESET Endpoint Antivirus, versión de la base de datos de firmas de virus 12150 (20150825) __ El mensaje fue verificado por ESET Endpoint Antivirus. http://www.eset-la.com -- ___ 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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- ___ 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 -- ___ 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
[Dspace-tech] DSpace 5.1 and proxy usage
Hi all, We are trying to configure DSpace 5.1 to use our proxy server. I've configured the following in dpace.cfg: # If enabled, the logging and the solr statistics system will look for # an X-Forward header. If it finds it, it will use this for the user IP address useProxies = true Proxy Settings ## # uncomment and specify both properties if proxy server required # proxy server for external http requests - use regular hostname without port number http.proxy.host = xx.x.xxx # port number of proxy server http.proxy.port = ... But our server admin is telling me traffic is still hitting local FW and not the proxy (specifically google analytics). Is there something else in dpace that needs proxy configuration? I added these configuration parameters after the build/install. Is that the issue? Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 -- ___ 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
Re: [Dspace-tech] Disable Handle?
The metadata export didn't delimit properly. May be due to some commas in the text_value field not getting escaped or encapsulated properly. The data didn't line up quite right with the headers when viewed in Excel. I was reluctant to import it back in. What I did instead was run this update against the metadatavalue table in the database. - UPDATE metadatavalue SET text_value = REPLACE(text_value, 'http://hdl.handle.net/', ' http://centralspace-test.ucmo.edu/handle/') WHERE text_value LIKE 'http://hdl.handle.net/%' - Thanks again, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Thu, Jul 2, 2015 at 9:23 AM, Tim Donohue tdono...@duraspace.org wrote: Hi Shannon, (I'm copying back in dspace-tech. We prefer asking all questions on that tech support mailing list, as it allows others to help answer questions and/or learn from the answers themselves) Any existing records unfortunately will need manually updating, as the dc.identifier.uri field will contain a value starting with http://hdl.handle.net/; http://hdl.handle.net/. If you have a lot of these existing records, your easiest route towards doing these updates is to use the Batch Metadata Editing capabilities in DSpace: https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing The Batch Metdata Editing tools let you export metadata records to a CSV file, which can be opened using Microsoft Excel (or similar spreadsheet tools). You can then find the column in that spreadsheet for dc.identifier.uri, and *update* all values starting with http://hdl.handle.net/; http://hdl.handle.net/ so that they now begin with [dspace.url]/handle/ (where [dspace.url] is your DSpace's URL). Make sure to retain the number-based identifiers at the end of those values (obviously). Once you've updated the spreadsheet values, just upload the spreadsheet to update DSpace itself. Much more information on the process is in the documentation that I linked above. Good luck, Tim On 7/2/2015 8:45 AM, Shannon Meisenheimer wrote: Thanks Tim. I did find that and changed it in the live dspace.cfg file. ... And did realize I was misunderstanding the handle subfolder in the URL path. Is there an easy way to propagate the new URI to existing records? Or would the rebuild/redeploy take care of that? For now I've just commented the URI out in: dspace\webapps\xmlui\themes\Mirage2\xsl\aspect\artifactbrowser\item-view.xsl Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Thu, Jul 2, 2015 at 8:40 AM, Tim Donohue tdono...@duraspace.org wrote: Hi Shannon, While DSpace shows URLs that include the word handle by default, the actual handle server is actually not configured by default. It sounds like you may just be wanting the URI that is displayed on Item pages to no longer start with http://hdl.handle.net/ http://hdl.handle.net/; http://hdl.handle.net/. If that's the case you can easily tweak that in your build.properties. It's the handle.canonical.prefix setting in that file: https://github.com/DSpace/DSpace/blob/master/build.properties#L148 If you want it to simply be the URL of your Dspace, you can change this setting to be: handle.canonical.prefix = ${dspace.url}/handle/ After changing that setting, you will need to rebuild redeploy DSpace (which will cause the setting to be propagated to your live dspace.cfg file): cd [dspace-src](i.e. source directory) mvn clean package cd dspace/target/dspace-installer ant update Finally, restart Tomcat. - Tim On 7/1/2015 8:16 AM, Shannon Meisenheimer wrote: Is it possible to disable handle all together? Our Library is just wanting to have the DSpace internal URL displaying without the handle in the Article link and change the URI displayed to the internal DSpace link. Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 %28660%29%20543-8483 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today.https://www.gigenetcloud.com/ ___ DSpace-tech mailing listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Demove word Dspace Repository
Check 'dspace\config\news-xmlui.xml' if it isn't there it may be in 'dspace\webapps\xmlui\i18n\messages.xml'. I can't remember which, but I believe all the references to 'DSpace' in the web pages are in those 2 files. We called our repository CENTRALspace so I had to replace DSpace wherever it existed. Those paths are the post-install paths, not src-package paths. Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Tue, Jul 14, 2015 at 9:12 AM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi All, Where can I remove the wording that appear next to Dspace logo saying ¨Dspace Repository¨, is it in DspaceInstall/webapps/xmlui/themes/Mirage/lib/xsl/core/page-structure.xsl if yes in which line do I have to comment. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ 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 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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
[Dspace-tech] Running DSpace 5.1 Behind a Proxy
Hi All, What in DSpace and dependent applications need to be configured for use with a proxy server? I've read the documentation regarding Maven proxy configuration. As I understand it, that is to allow Maven through the proxy to pull in remote assets as it is completing the build. What about the DSpace application itself? I do see in the in the DSpace log org.dspace.statistics.SolrLogger has a useProxies entry (currently false) and see outbound traffic hitting Google Analytics and various web crawlers. Our technical services team would rather add the FW exceptions to the proxy server instead of pulling our application out from behind the proxy and applying local FW exceptions to the server itself. Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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
Re: [Dspace-tech] user registration
Could it be due to the DMARC changes AOL and Yahoo have made in the past couple of months, http://www.gettingemaildelivered.com/why-the-yahoo-and-aol-dmarc-changes-will-affect-your-mailings-and-how-google-is-addressing-it Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Mon, Jul 6, 2015 at 1:24 PM, Mark H. Wood mw...@iupui.edu wrote: On Mon, Jul 06, 2015 at 01:19:18PM +, Saidy Binta wrote: Hi All, The registration only take users with @mrc.gm, the registration does not that @yahoo.com, @hotmail, @gmail.com etc . I have list these domain at the password authentication and rebuild but still its the same error * Unable to send email to this address. # Only emails ending in the following domains are allowed to self-register # Example - example.com domain : @example.com # Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk domain.valid = @mrc.gm, @yahoo.com, @gmail.com, @hotmail.com can someone kindly help. Registration of a new user causes a message to be sent to that user's email address. The first thing I would check is whether the outgoing mail server ([DSpace]/config/dspace.cfg: mail.server) is configured to allow your DSpace host to send mail to hosts outside of mrc.gm. It's possible that your institution requires specific authorization for that. If that is not the problem, then I think that we will need more information. Specifically, any messages from dspace.log from a few seconds before to a few seconds after after the failure. The timestamps from those messages would also help you to ask the person responsible for your mail server for any log messages from that service which might be helpful. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ 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 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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
[Dspace-tech] Disable Handle?
Is it possible to disable handle all together? Our Library is just wanting to have the DSpace internal URL displaying without the handle in the Article link and change the URI displayed to the internal DSpace link. Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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
[Dspace-tech] Build DSpace Installer on Different Machine
Has anyone tried building DSpace (Maven) on a different machine and then moving the resulting src package to the server for Ant install/update? We are pretty sure we are fighting network restrictions on the server when building DSpace 5.1 with Mirage 2. I'm running 'mvn -U clean package -Dmirage2.on=true -X c:\Maven5_1.log' using Maven 3.2.3 and after installation, pdf delivery is very slow (sometimes 10-20 minutes). I was thinking I could build the package on my workstation where I'm not being firewalled as heavily and then transfer to the server for install. We've had our network team add FW exceptions allowing outbound from the server to any destination on ports 80, 443, and 9418 and outbound to any for the server in our proxy, but still are seeing some performance issues post install. Setting up the proxy in Maven had no effect. Does Ant use anything other what it is in the source package during install? I noticed maven created a bunch of files in my user'e temp folder (win server). Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard and Academic Application Management University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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
[Dspace-tech] Define xmlui as ROOT
We are running DSpace 5.1 on a Win server with Tomcat alone (no Apache). We've deployed DSpace webapps using Technique A from the installation doc (define xml context paths). Any ideas on how we can eliminate the need for xmlui in the URL? Would defining a context path file of root.xml with docbase set to [dspace]\webapps\xmlui work without affecting any of the other webapps (solr in particular)? Any other ideas besides the context path file? Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology Blackboard Administration and Support University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 -- ___ 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
Re: [Dspace-tech] dspace 5.1 Mirage2 ImageMagick errors
JPEG Thumbnail should be removed from your plugins list if you are using ImageMagick. # [To enable ImageMagick Thumbnail]: #remove JPEG Thumbnail from the plugin list #uncomment and insert the following line into the plugin list #ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \ That may not be the only issue... Shannon -- Mr. Shannon Meisenheimer CentralNet - Office of Technology Blackboard Administration and Support University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Mon, Apr 20, 2015 at 8:32 AM, Zuikis Kosminis kosminiai.zuik...@gmail.com wrote: Hello everyone. I need some help or directions with ImageMagick and mediafilters. We are running Dspace 5.1 (Mirage 2) on linux. I'm trying to create PDF thumbnails with ImageMagick media filter. dspace.cfg: filter.plugins = PDF Text Extractor, HTML Text Extractor, \ PowerPoint Text Extractor, \ JPEG Thumbnail, \ ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \ Branded Preview JPEG plugin.named.org.dspace.app.mediafilter.FormatFilter = \ org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick Image Thumbnail, \ org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick PDF Thumbnail filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF Additional settings: thumbnail.maxwidth = 160 thumbnail.maxheight = 160 org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter = /usr/bin/ org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex = ^Generated Thumbnail$ org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription = IM Thumbnail ImageMagick and Ghostscrip is accessible: [dspace@~]$ which convert /usr/bin/convert [dspace@~]$ which ghostscript /usr/bin/ghostscript When I'm trying to run it manually: ./dspace filter-media -i 007/11797 -v I get the following error in dspace log: 2015-04-20 15:59:57,457 WARN org.dspace.core.PluginManager @ Cannot find named plugin for interface=org.dspace.app.mediafilter.FormatFilter, name=ImageMagick Image Thumbnail And another error in command line: ERROR: Unknown MediaFilter specified (either from command-line or in dspace.cfg): 'ImageMagick Image Thumbnail' Any help or advice appreciated. Thanks. -- 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_15utm_medium=emailutm_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_15utm_medium=emailutm_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
Re: [Dspace-tech] ImageMagick errors
Thanks Tim, I had read some of those, but hadn't seen the third. I'll try the regedit,or just rename windows convert. I already have ImageMagick at the beginning of the PATH. It's seems like I can run/access ImageMagick convert from cmd when I call/run it directly, but DSpace is trying to use Windows convert. Is the double extension .pdf.jpg normal? Do Ghostscript and ImageMagick need to be in the same folder? I know it states to install them both to /usr/bin (linux path) in the documentation, but is that needed on a win box? We had the thumbnail generation working on an earlier install of 5.0 with the applications in their respective default install locations. Mr. Shannon Meisenheimer CentralNet - Office of Technology Blackboard Administration and Support University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Wed, Apr 15, 2015 at 8:49 AM, Tim Donohue tdono...@duraspace.org wrote: 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_15utm_medium=emailutm_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_15utm_medium=emailutm_campaign=VA_SF___ DSpace-tech mailing list
Re: [Dspace-tech] ImageMagick errors
It was an issue with DSpace not being able to find ImageMagick convert.exe, even though the path and environment variables are properly defined. You do have to set the path in dspace.cfg, but that in itself is tricky as none the following worked: -- - C:\\Program Files\\ImageMagick - C:\Program Files\ImageMagick - C:\Program Files\ImageMagick - C:/Program Files/ImageMagick -- Monkeying with the registry or modifying sys32 applications was a last resort for me, so what I tried that worked was: 1. Install ImageMagick and Ghostscript to c:\dspace\imagemagick. I chose a lower case for the subfolder not knowing if config definitions for file paths in dspace.cfg would be case sensitive. I went with the assumption that they are. 2. Define 'org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter' in dspace.cfg as '${dspace.dir}/imagemagick'. Turns out the relative path did the trick. ... Or it could be that Program Files has a space in it, I would think quote encapsulation would deal with that. Either way it's working now :) Thanks all, Shannon -- Mr. Shannon Meisenheimer CentralNet - Office of Technology Blackboard Administration and Support University of Central Missouri Dockery 207A meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Wed, Apr 15, 2015 at 9:51 AM, Tim Donohue tdono...@duraspace.org wrote: On 4/15/2015 9:27 AM, Shannon Meisenheimer wrote: Thanks Tim, I had read some of those, but hadn't seen the third. I'll try the regedit,or just rename windows convert. I already have ImageMagick at the beginning of the PATH. It's seems like I can run/access ImageMagick convert from cmd when I call/run it directly, but DSpace is trying to use Windows convert. Is the double extension .pdf.jpg normal? Yes, this is just the extension of the *generated* PDF thumbnail (by the ImageMagick media filter). You actually may want to see if those referenced .pdf.jpg files were generated on your local system -- if so, that'd mean that ImageMagick actually *did* create those thumbnails (or at least started to do so, but ran into a later issue). Do Ghostscript and ImageMagick need to be in the same folder? I know it states to install them both to /usr/bin (linux path) in the documentation, but is that needed on a win box? Yes. Well, actually, they either need to be in the same folder OR you'd need to specify TWO paths in the org.dspace.app.mediafilter. ImageMagickThumbnailFilter.ProcessStarter setting. Since that setting is just passed directly to the im4java script (from imageMagick), it seems like you should be able to specify multiple folders separated by a semicolon, as noted here: http://im4java.sourceforge. net/docs/dev-guide.html But, again, I'm going to admit, I've not tried that (especially on Windows). I'm only just getting more familiar with the ImageMagick code myself, so this is just from my reading of the existing code here. It is also possible there's a bug here in how the ImageMagick media filter is referencing the scripts and/or generated thumbnail files. But, I don't know enough yet to state that for certain. - Tim -- 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_15utm_medium=emailutm_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
[Dspace-tech] ImageMagick errors
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 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_15utm_medium=emailutm_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
Re: [Dspace-tech] ImageMagick errors
I assumed that was the output file (thumbnail)... If it isn't, I wouldn't have any idea what those files are. All 220 errors (there are 220 titles) show the same double extension. Thanks, Shannon Sent from my iPhone On Apr 14, 2015, at 5:05 PM, Keir Vaughan-Taylor kei...@optusnet.com.au wrote: I notice the extension is .pdf.jpg. Imagemagick relies on the extension to know how to do a conversion. On Tue, 2015-04-14 at 16:39 -0500, 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 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_15utm_medium=emailutm_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_15utm_medium=emailutm_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