#6559 [py3] switch to PY3 causes warnings from IPA schema cache
Closed: Fixed None Opened 7 years ago by mbasti.

Probably python2 and python3 schema versions are incompatible

[root@vm-058-013 ~]# python2 /usr/bin/ipa ping
-----------------------------------------------------------------------
IPA server version 4.4.90.dev201612121351+git80bd414. API version 2.217
-----------------------------------------------------------------------


[root@vm-058-013 ~]# python3 /usr/bin/ipa ping
ipa: WARNING: Failed to read schema: 'utf-8' codec can't decode byte 0xe0 in position 10: invalid continuation byte
ipa: WARNING: Failed to write schema: string argument expected, got 'bytes'
-----------------------------------------------------------------------
IPA server version 4.4.90.dev201612121351+git80bd414. API version 2.217
-----------------------------------------------------------------------

Update: with python3 it shows warning even if there is no cache.

master:

  • 388ed93 schema_cache: Make handling of string compatible with python3

Metadata Update from @mbasti:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5

7 years ago

Login to comment on this ticket.

Metadata