• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6240: unhelpful error message when sysCommand fails

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Low Closed   patch 4.3.1, 5.0.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Not sure if this is the right way to submit a patch, but here goes: This one-line patch causes the function 'sysCommand' to display the path of the file it is trying to exec if it fails. Currently it displays something along the lines of "exec failed: no such file" which is not helpful at all. In my case I was moving my wiki to a new server and I had forgotten to install RCS.

This is a publicly viewable error message (through throw Error::Simple), but I don't think there are any security concerns in exposing the path of common binaries required by TWiki.

—TWiki:Main/PhilippeLatulippe - 05 Apr 2009

I have seen this error and frustration of person if rcs package is not installed in the system. The error was not meaning full if $path is not provided. Thank you for providing this patch - i have checked in that in the repositories.


-- TWiki:Main.SopanShewale - 06 Apr 2009

Summary unhelpful error message when sysCommand fails
ReportedBy TWiki:Main.PhilippeLatulippe
Codebase 4.3.0
SVN Range

AppliesTo Engine

Priority Low
CurrentState Closed

Checkins TWikirev:17961 TWikirev:17962
TargetRelease patch
ReleasedIn 4.3.1, 5.0.0
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch Sandbox.pm.patch r1 manage 0.9 K 2009-04-05 - 19:35 UnknownUser exec error message patch
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2009-05-03 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback