Hi Robert and Rene,

thanks for the quick response.  Yes, indeed Debian 9.11 seems to have
Python 3.5.3 as default for python3.

Cheers,

w.w.

On Tue, 14 Jan 2020, Robert Altnoeder wrote:

On 1/14/20 6:15 PM, Wolfgang Walkowiak wrote:
I seem to have (preliminarily) fixed it by modifying line 373 in
linstorapi.py as follows:

           # data = json.loads(resp_data)
           data = json.loads(resp_data.decode('utf-8'))

Hello,

what is the exact version of Python that you have installed?

I have tried to reproduce the problem, but it did not occur on my
workstation with Python 3.6.9.
Incompatibilities between slightly different versions of Python,
especially slight modification of function causing those functions to
suddenly not accept data types that they used to accept before, are
unfortunately a never-ending story, due to the poor design of the
programming language and the apparently inadequate QA processes for its
libraries and/or third-party libraries.

If your patch doesn't break on some other versions of Python, we will
include it, so thanks for submitting it.

br,
Robert

_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user


==========================================================2020-01-14==18:34==

  Dr. Wolfgang Walkowiak     Phone: +49-271-740-3889
  Fakultaet IV / Physik      Fax  : +49-271-740-3886
  Emmy Noether Campus
  Universitaet Siegen    --> [email protected]
  Walter-Flex-Str. 3         [email protected]
  57068 Siegen
  Germany

=============================================================================
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to