-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Entering the bug into bugzilla is generally a good idea, as it will ensure
that it is not overlooked/forgotten. It is also a good way of the Mandrake QA
team knowing that certain bugs are reproducible for other testers (by people
voting for existing bugs that they themselves experience) other than simply
counting the number of "me too"s on this list, and to prioritize fixes (lots
of votes = important/significant bug).

I am also experiencing problems with PrinterDrake.
I don't have any printer configured yet, but was hoping to configure an Epson
Stylus C42UX usb printer. Printerdrake gives the following error after
starting, (Similar to yours, just a few more "Use of uninitialized value"
eroors"):


- ----------------------------------------------

[root@localhost lusr]# printerdrake
Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/printer/default.pm line 37 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in.  Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program.  For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.

Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/printer/default.pm line 38 (#1)
Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/common.pm line 208 (#1)
TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
cupsd (pid 6574) is running...
TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
Use of uninitialized value in split at /usr/lib/libDrakX/printer/common.pm
line
        44 (#1)
Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/printer/office.pm line 101 (#1)
Use of uninitialized value in hash element at
        /usr/lib/libDrakX/printer/office.pm line 101 (#1)
Use of uninitialized value in string eq at /usr/lib/libDrakX/interactive.pm
        line 266 (#1)
TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
Use of uninitialized value in numeric gt (>) at
        /usr/lib/perl5/vendor_perl/5.8.0/MDK/Common/Math.pm line 133 (#1)
Use of uninitialized value in subtraction (-) at
        /usr/lib/libDrakX/interactive/gtk.pm line 569 (#1)
Use of uninitialized value in split at
        /usr/lib/perl5/vendor_perl/5.8.0/MDK/Common/String.pm line 138 (#1)

- ----------------------------------------------


Printerdrake with me however does not stall, probably because I don't have a
printer configured already. Configuring a printer however is not possible.
Here is what I get when clicking "add new printer":


- ------------------------------------------------------

Argument "" isn't numeric in numeric lt (<) at
        /usr/lib/libDrakX/printer/printerdrake.pm line 3012 (#2)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff
Use of uninitialized value in subtraction (-) at
        /usr/lib/libDrakX/interactive/gtk.pm line 533 (#1)

- --------------------------------------------------------


This is probably a trivial fix so I won't give the output of the next few
operation, but will gladly if someone needs it. Suffice it to say that it
doesn't work.

P.S. Yes, you have broken one rule of the etiquette already! ;-)
You've set your reply-to address, which I noticed when I replied to you but 
nothing arrived on the cooker list.

Sascha Noyes



On Thursday 02 January 2003 23:46, John van Spaandonk wrote:
> Hi all,
>
> I've got the following problem with PrinterDrake:
>
> I started printerdrake from the command line to get the error output
> (listed below). The error output seems to indicate several problems in the
> perl script.
>
> Then I get the tiny window saying please wait, reading printer
> configuration files.
> After a while (1 minute or so) the text in the window disappears and
> printerdrake hangs (I kill it with CTRL-C).
>
> This is a real bummer, since I cannot configure my printer properly and now
> cannot print.
>
> Is this something to report with an official Cooker erorr report?
>
> I also experience several problems with installation / upgrading packages,
> which I will report in a separate mail after I read the reponse on this
> one.
>
> ps this is my first post to this list, so please forgive me if I forget to
> report something or am not in agreement with the etiquette :-)
>
> I am looking forward to helping making Mandrake better by testing it
> and reporting erorrs!
>
> CUPS INFORMATION:
> Printer State: processing, accepting jobs.
> "Unable to open USB device "usb://HP/DeskJet%20970C?serial=ES99T110X4JQ":
> No such device"
> Device URI: usb://HP/DeskJet%20970C?serial=ES99T110X4JQ
>
> OPERATING SYSTEM INFORMATION:
> I'm on Cooker, current as per Thursday 2-1, 22:00 Amsterdam time.
> Printer is a HP deskjet 970Cxi, using USB
>
> OUTPUT FROM PRINTERDRAKE
> printerdrake stdout/stderr output:
>
> Use of uninitialized value in concatenation (.) or string at
>         /usr/lib/libDrakX/printer/default.pm line 37 (#1)
>     (W uninitialized) An undefined value was used as if it were already
>     defined.  It was interpreted as a "" or a 0, but maybe it was a
> mistake. To suppress this warning assign a defined value to your variables.
>
>     To help you figure out what was undefined, perl tells you what
> operation you used the undefined value in.  Note, however, that perl
> optimizes your program and the operation displayed in the warning may not
> necessarily appear literally in your program.  For example, "that $foo" is
> usually optimized into "that " . $foo, and the warning will refer to the
> concatenation (.) operator, even though there is no . in your program.
>
> Use of uninitialized value in concatenation (.) or string at
>         /usr/lib/libDrakX/printer/default.pm line 38 (#1)
> Use of uninitialized value in concatenation (.) or string at
>         /usr/lib/libDrakX/common.pm line 208 (#1)
> TODO: XSetInputFocus if force_focus
> TODO: ensure focus stuff

- --
Please encrypt all correspondence.
PGP key available from:
http://individual.utoronto.ca/noyes/snoyes.asc
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FN6LgzJdfX+cTW8RAlTWAJ4tXpiR+qmgFtLm/zEhcgDS+G004gCglTID
DOySgH2SyRBwHMNBR3NnL9w=
=s384
-----END PGP SIGNATURE-----


Reply via email to