You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2010/07/29 12:45:16 UTC

[jira] Created: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

org.apache.clerezza.utils.imagemagick could not create thumbnails
-----------------------------------------------------------------

                 Key: CLEREZZA-265
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
             Project: Clerezza
          Issue Type: Bug
            Reporter: Tsuyoshi Ito
            Priority: Critical


I try to use imagemagick to create thumbnails:

1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
4. uploaded an image (put with firefox poster plugin)

after println 
[qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]

it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Fabian Wabbel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901407#action_12901407 ] 

Fabian Wabbel commented on CLEREZZA-265:
----------------------------------------

Hi Reto,

May I ask you to fix the issues we had with this bundle? This would be highly appreciated.


Thanks a lot, cheers
Fabian

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899383#action_12899383 ] 

Manuel Innerhofer commented on CLEREZZA-265:
--------------------------------------------

reverted everything

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899380#action_12899380 ] 

Reto Bachmann-Gmür commented on CLEREZZA-265:
---------------------------------------------

Could you please roll-back your changes asap as the current patch beraks the build AND contains code lacking a suitable license.

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-265:
-----------------------------------------


missing dependencies prevent clerezza from compiling:


1) org.apache.clerezza.ext:org.im4java:jar:0.1-incubating-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.clerezza.ext -DartifactId=org.im4java -Dversion=0.1-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.clerezza.ext -DartifactId=org.im4java -Dversion=0.1-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.apache.clerezza:org.apache.clerezza.utils.imagemagick:pom:pom:0.5-incubating-SNAPSHOT
  	2) org.apache.clerezza.ext:org.im4java:jar:0.1-incubating-SNAPSHOT

2) org.im4java:org.im4java:jar:1.1.0

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.im4java -DartifactId=org.im4java -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.im4java -DartifactId=org.im4java -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.apache.clerezza:org.apache.clerezza.utils.imagemagick:pom:pom:0.5-incubating-SNAPSHOT
  	2) org.im4java:org.im4java:jar:1.1.0


> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Fabian Wabbel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894058#action_12894058 ] 

Fabian Wabbel commented on CLEREZZA-265:
----------------------------------------

yep, in addition to tsuy's log:

-> [qtp17125267-20 - /admin/digital-assets/asset/upload] WARN org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Error in ImageMagick while trying to execute [convert, -geometry, 55.701393%, -quality, 100, -, -]. Error:
[qtp17125267-20 - /admin/digital-assets/asset/upload] WARN org.apache.clerezza.utils.imagemagick.ImageMagickProvider - IOException while trying to execute [convert, -geometry, 55.701393%, -quality, 100, -, -]
[qtp17125267-20 - /admin/digital-assets/asset/upload] ERROR org.apache.clerezza.platform.content.Editor - Exception in MetaDataGenerator
java.lang.IllegalArgumentException: image == null!
        at javax.imageio.ImageTypeSpecifier.createFromRenderedImage(ImageTypeSpecifier.java:1038)
        at javax.imageio.ImageIO.getWriter(ImageIO.java:1581)
        at javax.imageio.ImageIO.write(ImageIO.java:1568)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.bufferedImage2ByteArray(AlternativeRepresentationGenerator.java:210)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generateAlternativeImage(AlternativeRepresentationGenerator.java:192)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generateAlternativeImages(AlternativeRepresentationGenerator.java:178)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generate(AlternativeRepresentationGenerator.java:151)
        at org.apache.clerezza.platform.content.AbstractDiscobitsHandler.put(AbstractDiscobitsHandler.java:99)
        at org.clerezza.app.digitalassetmanager.core.UploadAndManipulateAsset.addAssetToGraph(UploadAndManipulateAsset.java:310)
        at org.clerezza.app.digitalassetmanager.core.UploadAndManipulateAsset.uploadAsset(UploadAndManipulateAsset.java:275)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:471)
        at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:121)
        at org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:503)
        at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredHandler.handle(PathMappingHandler.java:127)
        at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(PathMappingHandler.java:102)
        at org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:94)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
        at org.apache.clerezza.platform.security.auth.AuthenticatingFilter.handle(AuthenticatingFilter.java:90)
        at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
        at org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xhtml2HtmlFilter.java:73)
        at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
        at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
        at org.eclipse.jetty.server.Server.handle(Server.java:333)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:595)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1055)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:764)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
        at java.lang.Thread.run(Thread.java:636)
[qtp17125267-20 - /admin/digital-assets/asset/upload] DEBUG org.eclipse.jetty.util.log - RESPONSE /admin/digital-assets/asset/upload  303
[qtp17125267-18] DEBUG org.eclipse.jetty.util.log - EOF


> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer resolved CLEREZZA-265.
----------------------------------------

    Resolution: Fixed

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer updated CLEREZZA-265:
---------------------------------------

    Assignee:     (was: Manuel Innerhofer)

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ito reassigned CLEREZZA-265:
-------------------------------------

    Assignee: Manuel Innerhofer

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901575#action_12901575 ] 

Reto Bachmann-Gmür commented on CLEREZZA-265:
---------------------------------------------

Hi Fabian,

You can vote for issues as you already did. If an issue shows no progress you can start a discussion on the mailing list and try to find out why. I'm neither assigned to the issue nor particularly competent in this matter. I'n not sure where the bug is, following the description the version number is updated, maybe this shouldn't be allowed as the implementation should know to ehich versions it is compatible, I don't see what this setting is supposed to be good for.

reto

> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number (felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.