Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144213 - www-client/pybugz: 'bugz attachment' doesn't download attachments
Summary: www-client/pybugz: 'bugz attachment' doesn't download attachments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 08:38 UTC by Patrick Avery
Modified: 2006-08-17 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Avery 2006-08-17 08:38:52 UTC
# bugz attachment 94065 [details]

 * Using http://bugs.gentoo.org/ ..
 * Getting attachment 94065 [details]
Traceback (most recent call last):
  File "/usr/bin/bugz", line 4, in ?
    bugz.main()
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1439, in main
    getattr(bugz, cmd)(*args, **cmd_kwds)
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1291, in attachment
    print ' * %s attachment: "%s"' % (action[view], result['filename'])
KeyError

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        defult-linux/x86/2006.0

To upgrade do the following steps:
This is the Gentoo/x86 development profile not intended for end-users.

If you still want to use this: We don't care if it breaks your system,
expect this to change whenever we feel like it with absolutely no warning,
including changing to be unusable. If you would like to switch to a supported
profile, do the following:

# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2006.0 make.profile

2006/07/27 - Chris Gianelloni <wolf31o2@gentoo.org>


Gentoo Base System version 1.12.4
Portage 2.1.1_pre5-r2 (default-linux/x86/2006.1/server, gcc-4.1.1/hardened, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium II (Deschutes)
Last Sync: Thu, 17 Aug 2006 07:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -mtune=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/vim/vimfiles /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium2 -mtune=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache confcache digest distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict userlocales userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/other-overlays /usr/local/portage/gentoo-php-overlay/portage /usr/local/portage/gentoo-php-overlay/testing /usr/local/portage/gentoo-webapps-overlay/experimental /usr/local/portage/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X apache2 automount bash-completion berkdb bzip2 cli crypt curl dlloader dri elibc_glibc fbcon firefox font-server fortran gdbm gif glibc-omitfp gnutls gpgme gpm gtk gtk2 hal hardened howl imap input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ linguas_en mailwrapper mbox md5sum mmx mysql nautilus ncurses nls nntp nptl nptlonly offensive pam pcre perl php pic png pop ppds pppd python qdbm readline reflection session slang smime smtp spl ssl tcltk tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales utf8 video_cards_fbdev video_cards_s3 video_cards_vesa vim vim-with-x winbind xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-08-17 14:37:30 UTC
hrmm .. what version is this?

seems to work for me:

liquidx@qoo ~/aaar $ bugz attachment 94065 [details] -v
 * Using http://bugs.gentoo.org/ ..
 * Getting attachment 94065 [details]
 * Viewing attachment: "icemon-0.1.ebuild"
# Copyright 1999-2006 Gentoo Foundation
Comment 2 Carles Escrig 2006-08-17 15:09:37 UTC
Here too:

box ~ $ bugz attachment 91984 [details]
 * Using http://bugs.gentoo.org/ ..
 * Getting attachment 91984 [details]
Traceback (most recent call last):
  File "/usr/bin/bugz", line 4, in ?
    bugz.main()
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1438, in main
    getattr(bugz, cmd)(*args, **cmd_kwds)
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1293, in attachment
    print ' * %s attachment: "%s"' % (action[view], result['filename'])
KeyError


==================================================0

*  www-client/pybugz
      Latest version available: 0.6.5
      Latest version installed: 0.6.5

==================================================0


Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-ck12-r2 i686)
=================================================================
System uname: 2.6.16-ck12-r2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Last Sync: Tue, 15 Aug 2006 17:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=k8 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="ca_ES.UTF-8"
LC_ALL="ca_ES.UTF-8"
LINGUAS="ca"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dbus dga directfb dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ libwww linguas_ca mad matroska mikmod mmx mmx2 mmxext mono motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga vorbis win32codecs xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-08-17 16:37:26 UTC
ok, please try 0.6.6. it could possibly be just bugs.gentoo.org being unavailable. that traceback actually means it failed to get the attachment, just that its kinda ugly :)
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2006-08-17 16:38:47 UTC
oh crap, i take that back. i can reproduce the bug now. will be fixed in 0.6.7.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2006-08-17 16:53:08 UTC
fixed in 0.6.7. should hit portage very soon, if you can't wait, just rename the ebuild.