返回列表 发帖

图片库选件上传图片时图示压缩失败?



加上 CONVERT_QUALITY=100
CONVERT_STRIP=-strip  这段话也是提示压缩失败 不加也是提示压缩失败?
这个原因是出在哪里呢?
ERROR  - null -com.trs.webframework.WebServiceHelper.execute(WebServiceHelper.ja
va:242)
[ERR-1100] 缩放图片失败!
<--
java.lang.Exception: process fail:1,msg=convert.exe: no decode delegate for this
image format `F:\TRS\TRSWCMV7\WCMData\protect\P0201406\P020140622\P020140622430
228092407.jpg'.
convert.exe: missing an image filename `F:\TRS\TRSWCMV7\WCMData\webpic\W0201406\
W020140622\W020140622430228993743.jpg'.

        at com.trs.wcm.photo.impl.ImageMagickCmd.exec(ImageMagickCmd.java:314)
        at com.trs.wcm.photo.impl.ImageMagickCmd.exec(ImageMagickCmd.java:282)
        at com.trs.wcm.photo.impl.ImageMagickCmd.scale(ImageMagickCmd.java:112)
        at com.trs.wcm.photo.impl.ImageLibMgrImpl.scaleImageWithCmd(ImageLibMgrI
mpl.java:471)
        at com.trs.wcm.photo.impl.ImageLibMgrImpl.scaleImage0(ImageLibMgrImpl.ja
va:313)
        at com.trs.wcm.photo.impl.ImageLibMgrImpl.saveImageInfo(ImageLibMgrImpl.
java:141)
        at com.trs.ajaxservice.PhotoServiceProvider.saveImageInfo(PhotoServicePr
ovider.java:599)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.trs.webframework.WebServiceHelper.execute(WebServiceHelper.java:2
04)
        at com.trs.webframework.WebServiceHelper.execute(WebServiceHelper.java:5
3)
        at com.trs.webframework.xmlserver.server.InvocationObserver.execute(Invo
cationObserver.java:222)
        at com.trs.webframework.xmlserver.server.InvocationObserver.doOnParamete
rDetected(InvocationObserver.java:163)
        at com.trs.webframework.xmlserver.server.InvocationObserver.update(Invoc
ationObserver.java:93)
        at com.trs.webframework.xmlserver.server.XMLDataProcessingHandler.notify
Observers(XMLDataProcessingHandler.java:289)
        at com.trs.webframework.xmlserver.server.XMLDataProcessingHandler.notify
WhenParamParsingEnd(XMLDataProcessingHandler.java:180)
        at com.trs.webframework.xmlserver.server.XMLDataProcessingHandler.endEle
ment(XMLDataProcessingHandler.java:142)
        at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
        at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa
lidator.java:1550)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1149)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at com.trs.webframework.xmlserver.server.RequestXMLDataProcessor.doDataP
rocessing(RequestXMLDataProcessor.java:80)
        at com.trs.webframework.xmlserver.server.RequestXMLDataProcessor.excute(
RequestXMLDataProcessor.java:63)
        at com.trs.webframework.controler.servlet.ServiceControler.service(Servi
ceControler.java:144)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.trs.deployer.domain.filter.DeployerControllerFilter.doFilter(Depl
oyerControllerFilter.java:97)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.trs.servlet.LoginCheckFilter.doFilter(LoginCheckFilter.java:140)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.trs.cluster.ext.wcm.ClusterProxyFilter.doFilter(ClusterProxyFilte
r.java:65)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.trs.infra.session.util.SessionFilterBase.doFilter(SessionFilterBa
se.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
936)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
附件: 您需要登录才可以下载或查看附件。没有帐号?注册

WCM是具体什么版本号? 6.5 1088?

系统配置没有修改过默认路径吧? 如F:\TRS\TRSWCMV7\WCMData\webpic
;F:\TRS\TRSWCMV7\WCMData\protect\

TOP

回复 2# 吴謇


    是wcmv7的啊。 没有修改了。 我就在trsphoto那个文件加上哪几个exe的路径。  就是上传的时候提示压缩失败。

TOP

是按照图片库部署手册的步骤安装的么

TOP

是按照图片库部署手册安装的吗,我们本机环境都部署了 都没有问题啊

TOP

回复 5# 吴謇


    对啊, 就是安装哪个文件, 然后配上环境变量,之后再哪个文件里面添加那三个exe的路径XX\XX\XX\XX.EXE .

TOP

我们本机安装windows

1、双击ImageMagick-6.2.7-6-Q16-windows-dll.exe

2、
附件: 您需要登录才可以下载或查看附件。没有帐号?注册

TOP

返回列表