[Kmymoney-devel] [Bug 257260] New: financequote.pl should be run without diagnostics in production

Cristian Onet onet.cristian at gmail.com
Thu Nov 18 18:19:22 CET 2010


https://bugs.kde.org/show_bug.cgi?id=257260

           Summary: financequote.pl should be run without diagnostics in
                    production
           Product: kmymoney4
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: onet.cristian at gmail.com


Version:           unspecified
OS:                Linux

Printing diagnostic messages on the output messes up price detection.

See:

Executing /usr/share/kde4/apps/kmymoney/misc/financequote.pl za SLM...
Symbol found: SLM
Price found: 201011.17 (201,011)
Price for SLM updated (id E000008)

When this message is printed:
/usr/lib64/perl5/vendor_perl/5.12.2/Finance/Quote/ZA.pm line 148 (#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 will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also 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.


Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list