Your message dated Tue, 21 Oct 2008 21:26:05 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#501229: bins: Perl error "can't use string as hash ref"
has caused the Debian Bug report #501229,
regarding bins: Perl error "can't use string as hash ref"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
501229: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501229
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: bins
Version: 1.1.29-12
Severity: normal
Hi,
while refreshing my photo archive for the first time in months I got the
following error:
Can't use string ("38/64") as a HASH ref while "strict refs" in use at
bins line 3753.
Maybe this error occurs since the upgrade to perl 5.10, but I don't know
for sure.
The affected line is:
if (${%$hashref}{$tagName}) {
The line number may not be exact because I'm using a modified BINS.
For me, the fix appears to be the following patch:
--- bins.orig 2008-10-05 20:41:07.450907985 +0200
+++ bins 2008-10-05 20:43:52.413391715 +0200
@@ -3750,8 +3750,8 @@
my @descTable;
foreach my $tagName (@mainFields) {
- if (${%$hashref}{$tagName}) {
- my $value = ${%$hashref}{$tagName};
+ if ($hashref->{$tagName}) {
+ my $value = $hashref->{$tagName};
$value =~ s/'/'/g ; # in case it's used in javascript code
push @descTable, {DESC_FIELD_NAME => $fields{$tagName}->{'Name'},
DESC_FIELD_VALUE => $value,
Regards,
hjb
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26.5 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bins depends on:
ii libhtml-clean-perl 0.8-11 Cleans up HTML code for web browse
ii libhtml-parser-perl 3.56-1+b1 A collection of modules that parse
ii libhtml-template-pe 2.9-1 HTML::Template : A module for usin
ii libimage-info-perl 1.28-1 allows extraction of meta informat
ii libimage-size-perl 3.1.1-2 determine the size of images in se
ii libio-string-perl 1.08-2 Emulate IO::File interface for in-
ii libjpeg-progs 6b-14 Programs for manipulating JPEG fil
ii liblocale-gettext-p 1.05-4 Using libc functions for internati
ii libtext-iconv-perl 1.7-1+b1 converts between character sets in
ii libtext-unaccent-pe 1.08-1+b1 provides functions to remove accen
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii libxml-grove-perl 0.46alpha-11 Perl module for accessing parsed *
ii libxml-handler-yawr 0.23-5 Perl module for writing XML docume
ii libxml-perl 0.08-1 Perl modules for working with XML
ii libxml-writer-perl 0.604-1 Perl module for writing XML docume
ii libxml-xql-perl 0.68-4 Perl module for querying XML tree
ii perlmagick 7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
bins recommends no packages.
bins suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hans-Joachim Baader a écrit :
Hi,
Hello,
checked the latest version and it works.
OK. I close the bug.
Thanks
--
Dr. Ludovic Rousseau
--- End Message ---