severity 660305 normal
thanks
Niels,
Not sure how this happened but I totally missed the bug report when you filed
it.
On 18 February 2012 at 02:42, Niels Elgaard Larsen wrote:
| Package: beancounter
| Version: 0.8.10
| Severity: grave
| Tags: upstream patch
| Justification: renders package unusable
|
| Dear Maintainer,
| *** Please consider answering these questions, where appropriate ***
|
| * What led up to the situation?
| I tried to use beancounter. Nothing worked.
| * What exactly did you do (or not do) that was effective (or
| ineffective)?
|
| In /usr/share/perl5/Finance/BeanCounter.pm:1746
| ==
| my $age = Delta_Format(DateCalc($hash{$key}{date}, $Config{lastbizday},undef,
2), "approx", 0, "%dt");
| ==
|
| failed because of the undef argument that according to the releasenotes
| was added in 0.8.9
|
| I changed it to:
| ==
| my $nerr;
| my $age = Delta_Format(DateCalc($hash{$key}{date},
$Config{lastbizday},\$nerr, 2), "approx", 0, "%dt");
| ==
I just checked that with a small program. Looks like we do indeed need \$nerr
(or something like it) now. My earlier with 'undef' was seemingly too clever
by half.
The odd thing is that I run beancounter every (business) day and I have not
been bitten. beancounter runs every day for me -- so I will downgrade the
severity to normal; I hope you do not mind.
I think I'll look into making a new beancounter bug fix release.
Thanks again for the report.
Dirk
| * What was the outcome of this action?
|
| I could run beancounter update
|
| * What outcome did you expect instead?
|
| *** End of the template - remove these lines ***
|
|
| -- System Information:
| Debian Release: wheezy/sid
| APT prefers unstable
| APT policy: (500, 'unstable')
| Architecture: amd64 (x86_64)
|
| Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
| Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.utf8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/bash
|
| Versions of packages beancounter depends on:
| ii libdate-manip-perl 6.30-1
| ii libdbd-mysql-perl 4.020-1+b1
| ii libdbd-pg-perl 2.18.1-1+b1
| ii libdbi-perl 1.616-1+b2
| ii libfinance-yahooquote-perl 0.24
| ii libstatistics-descriptive-perl 3.0300-1
| ii mysql-client-5.1 [mysql-client] 5.1.58-1
| ii perl 5.14.2-7
| ii sqlite 2.8.17-7
| ii sqlite3 3.7.10-1
|
| beancounter recommends no packages.
|
| beancounter suggests no packages.
|
| -- no debconf information
|
| -- debsums errors found:
| debsums: changed file /usr/share/perl5/Finance/BeanCounter.pm (from
beancounter package)
|
|
--
R/Finance 2012 Conference on May 11 and 12, 2012 at UIC in Chicago, IL
See agenda, registration details and more at http://www.RinFinance.com
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]