Last modified: 2011-03-13 18:05:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14535 - Thumb.php occasionally fails with error " line 4: /usr/local/bin/rsvg: No such file or directory"
Thumb.php occasionally fails with error " line 4: /usr/local/bin/r...
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
  Show dependency treegraph
Reported: 2008-06-14 00:06 UTC by Ilmari Karonen
Modified: 2011-03-13 18:05 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Ilmari Karonen 2008-06-14 00:06:59 UTC
While trying to diagnose an issue with a specific SVG image rendering oddly at small sizes, I noticed that trying to create a previously nonexistent thumbnail of an SVG image via thumb.php occasionally fails with the following error:

Error creating thumbnail: /usr/local/apache/common/php-1.5/bin/ line 4: /usr/local/bin/rsvg: No such file or directory

The creation usually succeeds after a couple of reloads; I suspect the problem may happen only on some hosts.  (Note: To recreate the problem using the URL provided, you need to purge the thumbnail cache for the image in question first.)
Comment 1 Tim Starling 2008-06-15 17:01:06 UTC
Thumbnail requests should go to the image scaling cluster only. Perhaps external requests for thumb.php could be disallowed, then all thumbnail requests would be via the 404 handler which knows where to send them.
Comment 2 Siebrand Mazeland 2008-08-13 21:06:33 UTC
Comment 3 JeLuF 2008-09-14 19:25:05 UTC
Works as designed. :-)

The thumb.php is not officially supported. Don't use it.

Note You need to log in before you can comment on or make changes to this bug.