Your message dated Wed, 5 Jan 2011 16:09:05 +0100
with message-id <[email protected]>
and subject line Re: Bug#609020: reportbug: Can't attach file '[intern] 
Barcode-Scanner?.eml'
has caused the Debian Bug report #609020,
regarding reportbug: Can't attach file '[intern] Barcode-Scanner?.eml'
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.)


-- 
609020: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 4.12.6
Severity: normal


reportbug won't attach the file '[intern] Barcode-Scanner?.eml', even 
if I escape the special characters: '\[intern\]\ 
Barcode-Scanner\?.eml'. The escaping was done with bash file name 
completion.

In the attach dialog I can use file name completion to complete the 
name of this file but it won't get attached.

-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/bernhard/.reportbugrc:
reportbug_version "3.44"
mode standard
ui text
email "[email protected]"
smtphost "s"

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                     0.8.6            Advanced front-end for dpkg
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie
ii  python-reportbug        4.12.6           Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils        <none>              (no description available)
pn  debsums              <none>              (no description available)
pn  dlocate              <none>              (no description available)
pn  emacs22-bin-common | <none>              (no description available)
ii  file                 5.04-5              Determines file type using "magic"
ii  gnupg                1.4.10-4            GNU privacy guard - a free PGP rep
ii  pgpgpg [pgp]         0.13-9              Wrapper for using GnuPG in program
ii  postfix [mail-transp 2.7.1-1             High-performance mail transport ag
ii  python-gtk2          2.17.0-4            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.3-1          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-2 desktop integration utilities from

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello Bernhard,
thanks for your report.

On Wed, Jan 5, 2011 at 15:16, Bernhard Kuemel <[email protected]> wrote:
> Package: reportbug
> Version: 4.12.6
> Severity: normal
>
>
> reportbug won't attach the file '[intern] Barcode-Scanner?.eml', even
> if I escape the special characters: '\[intern\]\
> Barcode-Scanner\?.eml'. The escaping was done with bash file name
> completion.
>
> In the attach dialog I can use file name completion to complete the
> name of this file but it won't get attached.

We use 'glob' python function, and it doesn't work with a file like
this, the minimum code to make it fail is:

$ ipython

In [1]: from glob import glob

In [2]: glob('/tmp/[intern] Barcode-Scanner?.eml')
Out[2]: []

In [3]: ls '/tmp/[intern] Barcode-Scanner?.eml' -l
-rw-r--r-- 1 morph morph 0 Jan  5 16:00 /tmp/[intern] Barcode-Scanner?.eml

the file is there but glob can't find it. I tried several escape sequence, f.e.

In [4]: glob('/tmp/\[intern\]\ Barcode-Scanner\?.eml')
Out[4]: []

but none have worked.

The bug is not in reportbug, hence I'm closing this report. Please
evaluate if you want to report this bug against 'python' package or in
the python issue tracking system.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--- End Message ---
_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint

Reply via email to