Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793431 - [TEST] www-apps/roundup-2.0.0 - E AttributeError: str object has no attribute decode
Summary: [TEST] www-apps/roundup-2.0.0 - E AttributeError: str object has no attribute...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-06-01 07:14 UTC by Toralf Förster
Modified: 2021-07-11 08:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2021-06-01 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.48 KB, text/plain)
2021-06-01 07:14 UTC, Toralf Förster
Details
environment (environment,116.39 KB, text/plain)
2021-06-01 07:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.05 KB, application/x-bzip)
2021-06-01 07:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,64.52 KB, application/x-bzip)
2021-06-01 07:14 UTC, Toralf Förster
Details
www-apps:roundup-2.0.0:20210601-045402.log (www-apps:roundup-2.0.0:20210601-045402.log,711.33 KB, text/plain)
2021-06-01 07:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-01 07:14:31 UTC
        if _py3:
>           return b.decode('utf-8')
E           AttributeError: 'str' object has no attribute 'decode'

b          = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzIiwiaXNzIjoiaHR0cDovL3RyYWNrZXIuZXhhbXBsZS9jZ2ktYmluL3JvdW5kdXAuY2dpL2J1Z3MvIiwiYXVkIjoiaHR0cDovL3RyYWNrZXIuZXhhbXBsZS9jZ2ktYmluL3JvdW5kdXAuY2dpL2J1Z3MvIiwicm9sZXMiOlsiVXNlciJdLCJpYXQiOjE2MjI1MjMyODcsImV4cCI6MTYyMjUyMzIyN30.PzRDhcYSnMJdAajd8c81CzlHqtLxtsgqZKzdbLi3GmM'

roundup/anypy/strings.py:21: AttributeError

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3_test-20210529-102459

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit fe19ba7fa573a2129663a9cc3c818901a91c15e8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 1 02:35:33 2021 +0000

    2021-06-01 02:35:32 UTC

emerge -qpvO www-apps/roundup
[ebuild  N    ] www-apps/roundup-2.0.0  USE="sqlite ssl test tz -jinja -markdown -mysql -postgres -pyjwt -whoosh (-xapian)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-06-01 07:14:33 UTC
Created attachment 713037 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-01 07:14:35 UTC
Created attachment 713040 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-01 07:14:37 UTC
Created attachment 713043 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-01 07:14:38 UTC
Created attachment 713046 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-01 07:14:39 UTC
Created attachment 713049 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-01 07:14:41 UTC
Created attachment 713052 [details]
www-apps:roundup-2.0.0:20210601-045402.log
Comment 7 Larry the Git Cow gentoo-dev 2021-07-11 08:51:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70253d13d429a7610dfff8fac39afd8561429a06

commit 70253d13d429a7610dfff8fac39afd8561429a06
Author:     Cédric Krier <cedk@gentoo.org>
AuthorDate: 2021-07-11 08:50:10 +0000
Commit:     Cédric Krier <cedk@gentoo.org>
CommitDate: 2021-07-11 08:51:00 +0000

    www-apps/roundup: Fix test with pyjwt 2
    
    Closes: https://bugs.gentoo.org/793431
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Cédric Krier <cedk@gentoo.org>

 .../roundup/files/roundup-2.0.0-test-pyjwt.patch   | 91 ++++++++++++++++++++++
 www-apps/roundup/roundup-2.0.0.ebuild              |  3 +
 2 files changed, 94 insertions(+)