Bug #13

avatar

inq-live fails to do dialog call

Added by Mikhail Yakshin 3253 days ago. Updated 3090 days ago.

Status:Closed Start:01/18/2009
Priority:Normal Due date:
Assigned to:avatarSergey Matveev % Done:

0%

Category:-
Target version:3.1

Description

Current version of inq-live does all calls for dialog utility in a following way:

echo $items | xargs $DIALOG --item-help --nocancel --backtitle 'Inquisitor Live' \
  --title 'Choose an action' --menu '' 16 72 10 2>&1 1>&3

This calling method is very hard to debug and prone to various misquotation errors. In fact, it's currently not working on anything but Debian: dialog call just fails and it is interpreted as some test selected.

The fix proposal is to rewrite all $DIALOG calls to use --file dialog option and collect dialog argumenets in temporary files. Also, all dialog calls should do diagnostics to make a global fail with error message, clearly stating it's a dialog error and pointing to dialog arguments file. Temporary dialog arguments file should not be deleted to aid debugging.

History

Updated by Mikhail Yakshin 3090 days ago

avatar
  • Status changed from New to Closed

Issue fixed somehow, it works now.

Also available in: Atom PDF