PDA

View Full Version : knoppix-installer trauma - crashes with this error



Tortoise
09-05-2003, 04:16 PM
Any thoughts on this?
Thank you!

root@ttyp0[knoppix]# knoppix-installer
Fatal dialog error:
Xdialog: missing list parameters !
Xdialog v2.0.6 by Thierry Godefroy <xdialog@free.fr> (v1.0 was
written by Alfred at Cyberone Internet <alfred@cyberone.com.au>).
Xdialog home page available at: http://xdialog.free.fr.

Usage: Xdialog [<common options>] [<transient options>] <box option> ...

Common options:
--wmclass <name>
--rc-file <gtkrc filename>
--backtitle <backtitle>
--title <title>
--allow-close | --no-close
--screen-center | --under-mouse | --auto-placement
--center | --right | --left | --fill
--no-wrap | --wrap
--cr-wrap | --no-cr-wrap
--stderr | --stdout
--separator <character> | --separate-output
--buttons-style default|icon|text

Transient options:
--fixed-font
--password (may be repeated 2 or 3 times before --2inputsbox or --3inputsbox)
--editable
--time-stamp | --date-stamp
--reverse
--keep-colors
--interval <timeout>
--no-tags
--item-help (if used, the {...} parameters are needed in menus/lists widgets)
--default-item <tag>
--icon <xpm filename>
--no-ok
--no-cancel
--no-buttons
--default-no
--wizard
--help <help>
--print <printer> (1)
--check <label>
--ok-label <label>
--cancel-label <label>
--beep
--beep-after
--begin <Yorg> <Xorg>
--ignore-eof
--smooth

Box options:
--yesno <text> <height> <width>
--msgbox <text> <height> <width>
--infobox <text> <height> <width> [<timeout>]
--gauge <text> <height> <width> [<percent>]
--progress <text> <height> <width> [<maxdots> [[-]<msglen>]]
--inputbox <text> <height> <width> [<init>]
--2inputsbox <text> <height> <width> <label1> <init1> <label2> <init2>
--3inputsbox <text> <height> <width> <label1> <init1> <label2> <init2> <label3> <init3>
--combobox <text> <height> <width> <item1> ... <itemN>
--rangebox <text> <height> <width> <min value> <max value> [<default value>]
--2rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> <label2> <min2> <max2> <def2>
--3rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> ... <label3> <min3> <max3> <def3>
--spinbox <text> <height> <width> <min value> <max value> <default value> <label>
--2spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> <min2> <max2> <def2> <label2>
--3spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> ... <min3> <max3> <def3> <label3>
--textbox <file> <height> <width>
--editbox <file> <height> <width>
--tailbox <file> <height> <width>
--logbox <file> <height> <width>
--menubox <text> <height> <width> <menu height> <tag1> <item1> {<help1>}...
--checklist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--radiolist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--buildlist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--treeview <text> <height> <width> <list height> <tag1> <item1> <status1> <item_depth1> {<help1>}...
--fselect <file> <height> <width>
--dselect <directory> <height> <width>
--calendar <text> <height> <width> <day> <month> <year>
--timebox <text> <height> <width>

Special options:
--version (prints version number to stderr and exits).
--print-version (same as above in a cdialog-compatible way).
--print-maxsize (prints maximum menu size in characters and exits).

Note that <height> and <width> are in characters and may be replaced by a single
XSIZExYSIZE[+/-XORG+/-YORG] parameter (like the one passed in the -geometry option
of X) which will represent the size of the Xdialog window in pixels. Specifying
a size of 0 0 (or 0x0) will auto-size Xdialog, while a size of -1 -1 (or -1x-1)
will maximize it.

(1) This Xdialog binary compiled with: lpr -P<printer> /tmp/Xdialog.tmp
as the print command. If <printer> is "" (an empty string), the -P
option is not used.

root@ttyp0[knoppix]#

Dave_Bechtel
09-06-2003, 12:19 AM
--Try using ' knx-hdinstall ' instead.

Tortoise
09-06-2003, 12:21 AM
knx-hdinstaller works fine, but I want to use the new script. Any thoughts on the error?
Thanks

Stephen
09-06-2003, 01:07 AM
knx-hdinstaller works fine, but I want to use the new script. Any thoughts on the error?
Thanks

That is the help that pops up when you mess up the syntax with xdialog Fabian left something out or there is a typo in the script somehere.

Tortoise
09-06-2003, 04:16 AM
Fatal dialog error:
Xdialog: missing list parameters !


It was this that made me think that there might be more to it.

Superstoned
09-06-2003, 09:06 PM
I've got it too, after i used 'back'. guess its just a typo, or little mistake. If you can tell exactly what went wrong, and when, then fabian can repair it...

Tortoise
09-08-2003, 02:03 AM
Well, there's nothing more to it than what I posted - I type the command, and it opens a window, and crashed into a shell with that error screen.
There's nothing else to tell, I presume it doesn't do that for most people. I don't know whether I'm supposed to use an argument for the command or something.

Superstoned
09-08-2003, 10:07 AM
you shouldnt use an argument at the commandsetting, so I guess you've got to wait for fabian to fix it, or find out the bug yourself... you can pm fabian, or mail him?

Fred-Knoppixfr
09-08-2003, 01:10 PM
Any thoughts on this?
Thank you!

root@ttyp0[knoppix]# knoppix-installer
Fatal dialog error:
Xdialog: missing list parameters !
Xdialog v2.0.6 by Thierry Godefroy <xdialog@free.fr> [...]

Hi, I am fairly new here and French so just excuse me for the mistakes. More over, this is my first attempt of reading and modifying a script but it seems to have worked for me

I have encountered this error too and found 2 ways to avoid it.

First, on line 325 of the script, I've replaced :

MEM_SWAP_NEEDED=$((512*1000)) # need some lower so that people that have 512 MB can use this option

by


MEM_SWAP_NEEDED=$((200*1000))

As I only have this amount of RAM (according to what is written in dmesg)

Secondly I wondered why this change allow the script to run and found this :

on line 409 in the function update_swap_parts


SWAP_TO_MK=$(diff $TMPDIR/swap1 $TMPDIR/swap2 | grep ">" | sed 's/> //g' | awk '{ printf("%s Swap off ",$1) }')
and this command returned nothing so the next one :

checklist $"The following swap-partitions are marked as swap, but are not yet formatted. Check those you want to format. Warning, you'll loose all data on the partition." "Choose partitions to format with swap. Warning: You'll loose all your data on it." $SWAP_TO_MK

Return the error you just encountered.

But if I change line 409 to :

SWAP_TO_MK=$(diff $TMPDIR/swap1 $TMPDIR/swap2 | grep "<" | sed 's/< //g' | awk '{ printf("%s Swap off ",$1) }')

and let the MEM_SWAP_NEEDED to 512 it just worked too

Hope You will be able to understant what I just wrote

I wanted to tell it to Fabian but I do not know how !

Sincerely

Fred
http://thefredsite.free.fr

http://www.knoppixfr.org
http://www.fro4nix.org

Tortoise
09-08-2003, 06:35 PM
Thanks, I appreciate that - I've also never modified scripts, is there any way to download the new version of the script?
Thanks!

Stephen
09-08-2003, 09:08 PM
I wanted to tell it to Fabian but I do not know how !


File a bug report against the package in the bugzilla (http://www.knoppix.net/bugs/) or you could subscribe to the mailing list (http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix) and post you findings there.

kiekerjan
10-23-2003, 07:04 PM
I got the same error with Knoppix 3.3 using knoppix-installer. I tried to change the script but it was read only, because it is read from the cd. I copied it to the root, where I could edit it, but it still gave me the same error regarding Xdialog.
So how do I edit the script such that it works? Just for completeness sake, I've got 512 MB of memory, might be relevant according to Fred-knoppixfrs post.

Fred-Knoppixfr
10-23-2003, 11:24 PM
I still got the same error with the knoppix 3.3 2003-09-24

To change the script, I just copied it to the /home/knoppix and modified it there

then I open a konsole (the window with a shell upon down left) and do :

sudo su
/home/knoppix/knoppix-installer

And it do work !
I really don't understand why in some cases it happens. It don't seems to be the case most of the time but on some computer we can't do this without my changes. I really don't know why but I read a script for the first time while trying to solve this problem. So do not expect I could explain more.

Hope you will manage to install it !
Sincerely
Fred

kiekerjan
10-29-2003, 11:15 AM
Well, modifying the script doesn't work for me. I used knx-hdinstall and that worked fine. Is there a bug report on this already? Because I couldn't find it.

Fred-Knoppixfr
10-29-2003, 11:19 PM
I am sorry it didn't worked for you. I can't help you more than saying have a look on the script, read it maibe add some instructions too let you know where it stops (like adding some line "echo xxxx" that's the way I found where it stopped and make the error, then I have tried to change the line which gives the error until finding a solution that works for me

kiekerjan
11-03-2003, 02:03 PM
I managed to install knoppix using the knoppix-installer script using this workaround: When installing from the command line interface it doesn't need Xdialog, so it doesn't give me this error. Only thing is, the x server won't be configured properly, so you have to do that yourself.