Hello!

Danny Milosavljevic <dan...@scratchpost.org> skribis:

> On Sat, 24 Dec 2016 14:08:44 +0000
> ng0 <n...@libertad.pw> wrote:
>
>> > Traceback (most recent call last):
>> >   File 
>> > "/gnu/store/95vp3r6n9z7s85achc7a0b8aay1k73qq-hplip-3.16.11/share/hplip/setup.py",
>> >  line 560, in <module>
>> >     desc = nickname_pat.search(nickname).group(1)
>> > TypeError: cannot use a string pattern on a bytes-like object
>
> The reason that fails is because gzip.GzipFile always provides reads in 
> binary mode. However, ppd files are not binary and nickname_pat is not binary 
> either. So not sure what they were thinking...

Could it be that Python 3 support in hplip is incomplete?  (ISTR that
Python 3 treats Unicode sequences differently compared to Python 2.)

The hplip recipe has this comment:

    ;; Python3 support is available starting from hplip@3.15.2.

Ludo’.

Reply via email to