Thread:Project:Support desk/Internal server error using ImageMagick .SVG files/reply (3)

I just had output going to display. Having it go to a log file, ie adding ($wgDebugLogFile = "$wgImageMagickTempDir/debug.log";) revealed the .png thumbnails are not being created. Not sure why. ideas? Pulling file metadata from cache key testwiki:file:bc9a28d0aca8c30b7941cef46f229ddd

Unstubbing $wgLang on call of $wgLang::getCode from MessageCache::get

MessageCache::load: Loading en... got from global cache

File::transform: Doing stat for mwstore://local-backend/local-thumb/b/bc/Face-grin.svg/48px-Face-grin.svg.png

FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/b/bc/Face-grin.svg/48px-Face-grin.svg.png does not exist.

(Manually create the file the next error is for the 120Px file not being there, and so on.)

SvgHandler::doTransform: called wfMkdirParents(C:\inetpub\wwwroot\MEDIAW~2\images\temp)

SvgHandler::rasterize: "C:\Program Files\ImageMagick687Q16\convert.exe" -background white -geometry 48 "C:\inetpub\wwwroot\Mediawiki/images/b/bc/Face-

grin.svg" "C:\inetpub\wwwroot\MEDIAW~2\images\temp/transform_35b0dc1162d7-1.png" 2>&1

[exception] [3acd98a2] /index.php?title=File%3AFace-grin.svg  Exception from line 1766 of C:\inetpub\wwwroot\Mediawiki\includes\GlobalFunctions.php:

(exception is in the function GlobalFunction.php at)

wfDebugDieBacktrace( $msg = '' ) {

throw new MWException( $msg );   (This is line 1766 in my GolbalFunction.php)

}

wfShellExec: "C:\Program Files\ImageMagick687Q16\convert.exe" -background white -geometry 48 "C:\inetpub\wwwroot\Mediawiki/images/b/bc/Face-grin.svg" "C:\inetpub\wwwroot\MEDIAW~2\images\temp/transform_35b0dc1162d7-1.png" 2>&1


 * 0 C:\inetpub\wwwroot\Mediawiki\includes\GlobalFunctions.php(2849): wfDebugDieBacktrace('wfShellExec: "C...')


 * 1 C:\inetpub\wwwroot\Mediawiki\includes\media\SVG.php(181): wfShellExec('"C:\Program Fil...', '')


 * 2 C:\inetpub\wwwroot\Mediawiki\includes\media\SVG.php(135): SvgHandler->rasterize('C:\inetpub\wwwr...', 'C:\inetpub\wwwr...', 48, 48)


 * 3 C:\inetpub\wwwroot\Mediawiki\includes\filerepo\file\File.php(941): SvgHandler->doTransform(Object

(LocalFile), 'C:\inetpub\wwwr...', '/images/thumb/b...', Array)


 * 4 C:\inetpub\wwwroot\Mediawiki\includes\ImagePage.php(392): File->transform(Array)


 * 5 C:\inetpub\wwwroot\Mediawiki\includes\ImagePage.php(149): ImagePage->openShowImage


 * 6 C:\inetpub\wwwroot\Mediawiki\includes\actions\ViewAction.php(44): ImagePage->view


 * 7 C:\inetpub\wwwroot\Mediawiki\includes\Wiki.php(439): ViewAction->show


 * 8 C:\inetpub\wwwroot\Mediawiki\includes\Wiki.php(305): MediaWiki->performAction(Object(ImagePage), Object(Title))


 * 9 C:\inetpub\wwwroot\Mediawiki\includes\Wiki.php(565): MediaWiki->performRequest


 * 1) 10 C:\inetpub\wwwroot\Mediawiki\includes\Wiki.php(458): MediaWiki->main


 * 1) 11 C:\inetpub\wwwroot\Mediawiki\index.php(59): MediaWiki->run


 * 1) 12 {main}