[solved] PDFReport fails, imagick issue

Hi!
Sending the Report-PDF fails in our installation of Piwik 1.7.1. Reported error is:

Error in the last Piwik archive.php run:
1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://example.com/piwik/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=30b717278770bf727dbcf1ac687470cc&trigger=archivephp. Response was ‘

Fatal error: Class ‘Imagick’ not found in /the/path/to/piwik/libs/tcpdf/tcpdf.php on line 7877

I checked phpinfo() and it’s installed (php 5.2.9-4):

ImageMagick support enabled
Magick Backend ImageMagick
ImageMagick version 6.2.4
PHP imagick version 0.9.11
MaxRGB 65535
Supported image formats 8BIM
Font Family - Name AvantGarde - AvantGarde-Book

Any idea where to start?

Note to self: Enable imagick for CLI, too… :smiley:

Interesting so you use imagick for the graphs. Do they look exactly the same as: Embedding Piwik Reports in Other Websites or Apps - Analytics Platform - Matomo ?

Examples from one of the low frequented sites:
[attachment 595 Bericht-Mittwoch-18-April-2012-3.jpg]
[attachment 596 Bericht-Mittwoch-18-April-2012.jpg]