usb_instsh fails in dialog in 4.4.1

Post there if you have problem when downloading the iso, or burning it.
killerrex
Posts: 2
Joined: 30 Sep 2012, 23:42

usb_instsh fails in dialog in 4.4.1

Postby killerrex » 08 Dec 2014, 10:32

I have found that the usb_inst.sh script fails with the following message:

Code: Select all

Parse error: attribute value expected at line 48 of configuration file.

init_dialog: dlg_parse_rc

Parse error: attribute value expected at line 48 of configuration file.

init_dialog: dlg_parse_rc


The reason is that my system (opensuse 13.2) ships a newer version of the dialog application (1.2-20130928 vs 1.1-20100428 shipped in systemrescuecd 4.4.1) with a configuration file /etc/dialogrc that is not backwards compatible.

Fortunately the solution is easy, export in usb_inst.sh around the line 561 the variable DIALOGRC:
- Adding a custom configuration script to the usb_inst directory:

Code: Select all

export DIALOGRC="${TMPDIR}/dialogrc"

Note: This file must also be added to the list at line 62 for a clean exit.

- Redirecting to /dev/null so dialog uses the default set of options:

Code: Select all

export DIALOGRC="/dev/null"


Updating the dialog version will also be nice but will not really solve this issue, as we will always be dependent of the dialog version installed in the system.

Return to “Downloading and burning”

Who is online

Users browsing this forum: No registered users and 1 guest