On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> On my self-build master LyX on windows 10, I get the error below when
> reconfiguring. Python is 3.6.
> 
> What is that?
> 
> JMarc
> 
> +checking list of modules...
> Z:/Jean-Marc/lyx/lib\layouts\algorithm2e.module
> Traceback (most recent call last):
>    File "Z:/Jean-Marc/lyx/lib/configure.py", line 1875, in <module>
>      checkModulesConfig()
>    File "Z:/Jean-Marc/lyx/lib/configure.py", line 1495, in
> checkModulesConfig
>      retval = processModuleFile(file, filename.encode('ascii'),
> bool_docbook)
>    File "Z:/Jean-Marc/lyx/lib/configure.py", line 1594, in processModuleFile
> % (modname, filename, desc, pkgs, req, excl, catgy, local))
> TypeError: %b requires a bytes-like object, or an object that implements
> __bytes__, not 'str'
> support\Systemcall.cpp (291): Systemcall: 'python -tt
> "Z:/Jean-Marc/lyx/lib/configure.py"
> --binary-dir="Z:/Jean-Marc/build/bin/Debug/"' finished with exit code 1

I looks like the file was opened in binary mode (thus the reference to a 
bytes-like object). For python 2 there are no differences, but for python 3 
they are different types.

I thought that Georg had change all occurrences of that.

I will look into it.

Regards,
-- 
José Abílio


Reply via email to