Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516040

Summary: www-client/pybugz: backtrace when trying to create new bug
Product: Gentoo Linux Reporter: Mr. Bones. (RETIRED) <mr_bones_>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mr. Bones. (RETIRED) gentoo-dev 2014-07-02 07:00:10 UTC
happens with pybugz-0.10.1-r2.ebuild and pybugz-9999.ebuild

command-line is:

bugz -u mr_bones_@gentoo.org -p thepassword post '--product=Gentoo Linux' '--component=Keywording and Stabilization' --severity=enhancement --batch -t 'Stabilize games-emulation/advancemame-1.2' -d 'Please mark advancemame-1.2.ebuild stable.' -a games@gentoo.org '--cc=amd64@gentoo.org, ppc@gentoo.org, x86@gentoo.org' --priority=Normal

backtrace:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/bugz", line 72, in <module>
    sys.exit(main())
  File "/usr/lib/python-exec/python2.7/bugz", line 47, in main
    args.func(bugz, args)
  File "/usr/lib64/python2.7/site-packages/bugz/cli.py", line 508, in post
    result = self.bzcall(self.bz.Bug.create, params)
  File "/usr/lib64/python2.7/site-packages/bugz/cli.py", line 175, in bzcall
    return method(*self.set_token(*args))
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/site-packages/bugz/bugzilla.py", line 55, in request
    return self.parse_response(resp)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 410: "You must log in before using this part of Gentoo's Bugzilla.">



Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.15.2 x86_64)
=================================================================
System uname: Linux-3.15.2-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2
KiB Mem:    12308348 total,   1081852 free
KiB Swap:     524284 total,    524284 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -Wall -Wno-pointer-sign"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -Wall"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/gentoo-x86"
PORTDIR_OVERLAY=""
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apng artworkextra avx bash-completion branding browserplugin bzip2 cairo cdda cddb cdr cli consolekit crypt cscope css cups cxx dbus divx4linux dri dts dvd dvdr encode exif firefox flac foomaticdb gif gimpprint gpm gstreamer gtk gtk2 iconv icu java joystick jpeg libnotify live lm_sensors lzo mad matroska mmx mmx2 mmxext mng modplug modules mozbranding moznocompose moznoirc moznomail mp3 mp4 mpeg multilib musepack ncurses nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pango pcre pdf perl png policykit ppds qt3support quicktime readline real sdl session spell sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb userlocales vdpau vim-syntax vorbis win32codecs wma wxwidgets x264 xcb xml xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US C" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa vga dummy nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 William Hubbs gentoo-dev 2014-07-02 14:01:08 UTC
Try removing .bugz_cookie; that should take care of it.
What is happening is we are trying to use the old cookie that
earlier versions of bugzilla support before the new token. When bugzilla
switched over, they did not keep support for the cookie.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2014-07-02 14:09:26 UTC
removing .bugz_cookie makes it work.  thanks!