You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LsVarLog parser is returning ValueError while parsing lines containing group name with space.
# Example 1
-rw-r--r--. 1 root domain [email protected] 36548 Jan 13 10:43 Xorg.1.log
-rw-r--r--. 1 root domain [email protected] 28245 Jan 13 10:38 Xorg.1.log.old
# Example 2
-rw-r--r--. 1 root domain users 40893 Jan 31 16:34 Xorg.1.log
-rw-r--r--. 1 root domain users 36911 Dec 20 09:49 Xorg.1.log.old
Error:
File "/opt/venv/lib64/python3.6/site-packages/insights/core/__init__.py", line 1736, in listing_of
return self.listings[directory]['entries']
File "/opt/venv/lib64/python3.6/site-packages/insights/core/ls_parser.py", line 228, in __getitem__
self._load()
File "/opt/venv/lib64/python3.6/site-packages/insights/core/ls_parser.py", line 199, in _load
rest = parse_non_selinux(parts[1:])
File "/opt/venv/lib64/python3.6/site-packages/insights/core/ls_parser.py", line 54, in parse_non_selinux
result["size"] = int(size)
ValueError: invalid literal for int() with base 10: '[email protected]'
The text was updated successfully, but these errors were encountered:
The SSSD group listings breaks the present implementation by parsing the domain
group as the file-size.
Resolves: RedHatInsights#3395
Signed-off-by: Sachin Patil <[email protected]>
LsVarLog parser is returning
ValueError
while parsing lines containing group name with space.Error:
The text was updated successfully, but these errors were encountered: