Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #333554 > unrolled thread

Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str'

Started byolivier sallou <olivier.sallou@irisa.fr>
First post2022-12-21 11:20 +0100
Last post2022-12-21 18:00 +0100
Articles 4 — 1 participant

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str' olivier sallou <olivier.sallou@irisa.fr> - 2022-12-21 11:20 +0100
    Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str' olivier sallou <olivier.sallou@irisa.fr> - 2022-12-21 15:10 +0100
      Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str' olivier sallou <olivier.sallou@irisa.fr> - 2022-12-21 15:40 +0100
    Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str' olivier sallou <olivier.sallou@irisa.fr> - 2022-12-21 18:00 +0100

#333554 — Bug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str'

Fromolivier sallou <olivier.sallou@irisa.fr>
Date2022-12-21 11:20 +0100
SubjectBug#1026492: seqan2: FTBFS: TypeError: a bytes-like object is required, not 'str'
Message-ID<FF4mB-c9VC-1@gated-at.bofh.it>
looks like a python3 issue (though was already adapter to py3...)

will have a look and reproduce

Olivier


-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

[toc] | [next] | [standalone]


#333565

Fromolivier sallou <olivier.sallou@irisa.fr>
Date2022-12-21 15:10 +0100
Message-ID<FF7Xb-ccdA-7@gated-at.bofh.it>
In reply to#333554
I pushed a patch d/patches/fix_python3_tests whic fixes almost all test issues(python3 related)

BUT remains a failing test with mason2 which is not related to py3
issue (no bytes-like error)




after build, can be reproduced with

in a temp dir:

python3 /<<PKGBUILDDIR>>/apps/mason2/tests/run_tests.py
/opt/debian/build-area/seqan2-2.4.0+dfsg /<<PKGBUILDDIR>>/obj-x86_64-
linux-gnu/ 


it basically compare some generated files with some comparison files
and for mason2 they are different, and program itself raise no error
but result not as expected. Seems that many sequences output result are
shifted by 1 character




-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

[toc] | [prev] | [next] | [standalone]


#333568

Fromolivier sallou <olivier.sallou@irisa.fr>
Date2022-12-21 15:40 +0100
Message-ID<FF8qd-cco0-13@gated-at.bofh.it>
In reply to#333565
upstream, in develop branch has disabled mason2 testing for gcc > 10 ,
don't know why, but let's do the same as it is the one failing now with
indeed superior gcc

I am adapting the patch and testing again.....



gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

[toc] | [prev] | [next] | [standalone]


#333575

Fromolivier sallou <olivier.sallou@irisa.fr>
Date2022-12-21 18:00 +0100
Message-ID<FFaBH-cdBF-3@gated-at.bofh.it>
In reply to#333554
On Wed, 2022-12-21 at 19:39 +0530, Nilesh Patra wrote:
> On Wed, 21 Dec 2022 12:32:25 +0100 olivier sallou
> <olivier.sallou@irisa.fr> wrote:
> > On Wed, 2022-12-21 at 11:02 +0100, olivier sallou wrote:
> > > looks like a python3 issue (though was already adapter to py3...)
> > > 
> > > will have a look and reproduce
> > 
> > I could reproduce and found an issue with demo_checker.py handling
> > with
> > python3
> > 
> > I have a patch. will test it and upload
> 
> I wrote a patch as well, and was going to upload, but you beat me to
> it, hah :/

sorry, I did not set me as bug owner but sent comments anyway so that
others are aware I was on issue

and this package is so long to build.....

> My patch is quite similar to yours, though.
> 

I fixed py2 / py3 bytes error in 2 places and skipped mason2 tests as
described in patch and previous message

Just uploaded fixed package

Olivier

-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web