[DRBD-user] python-linstor, linstor-client 1.0.9 release
Wolfgang Walkowiak
walkowiak at hep.physik.uni-siegen.de
Tue Jan 14 18:36:14 CET 2020
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
> drbd-user at lists.linbit.com
> 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 --> Wolfgang.Walkowiak at hep.physik.uni-siegen.de
Walter-Flex-Str. 3 Wolfgang.Walkowiak at gmx.net
57068 Siegen
Germany
=============================================================================
More information about the drbd-user
mailing list