CMK version: 2.2.0b2
OS version: Debian 10
Error message: unsupported operand type(s) for /: ‘PosixPath’ and ‘NoneType’ beim aktivieren anstehender Änderungen
Ich hoffe mir kann jemand helfen. Ich bekomme den Fehler seit dem Update auf 2.2.0b2
CMK version: 2.2.0b2
OS version: Debian 10
Error message: unsupported operand type(s) for /: ‘PosixPath’ and ‘NoneType’ beim aktivieren anstehender Änderungen
Ich hoffe mir kann jemand helfen. Ich bekomme den Fehler seit dem Update auf 2.2.0b2
Hallo Kai,
erhalte ich ebenfalls in meiner Testumgebung mit v2.2.0p4 nach Update von 2.1.0p29.
Traceback (most recent call last):
File "/omd/sites/kodev/lib/python3/cmk/gui/wato/pages/automation.py", line 295, in _execute_automation_command
response.set_data(repr(automation.execute(automation.get_request())))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/kodev/lib/python3/cmk/gui/wato/pages/activate_changes.py", line 878, in execute
return activate_changes.execute_activate_changes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/kodev/lib/python3/cmk/gui/watolib/activate_changes.py", line 2075, in execute_activate_changes
warnings = get_config_domain(domain_request.name)().activate(domain_request.settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/kodev/lib/python3/cmk/gui/watolib/config_domains.py", line 138, in activate
f"For user '{ident}': Resetting the language '{get_language_alias(lang)}' to the default "
^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/kodev/lib/python3/cmk/gui/i18n.py", line 102, in get_language_alias
with (lang_dir / lang / "alias").open(encoding="utf-8") as f:
~~~~~~~~~^~~~~~
TypeError: unsupported operand type(s) for /: 'PosixPath' and 'NoneType'
Konntest Du es lösen?
Danke & Gruß
Marco
I can confirm the same error on version v2.2.0p5.
Hallo zusammen,
wir haben das gleiche Problem in v2.2.0p5.
Das Werk scheint es für v2.2.0p6 zu lösen: Fixed "PosixPath error" exception on activate changes
Ich konnte es aber auch schon in v2.2.0p5 fixen indem ich dem User der die Änderungen an den Regeln gemacht hat eine Language zugewiesen habe:
Viele Grüße
Thomas
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.