-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'text' #62
Comments
Ok, i understand thats actually a glustercli error and not a gstatus error |
i have same issue here as well. with below Gluster 10.x i had this Error once a Brick was down,....... but with Version 10.x i have this Error the whole Time. Even with everything is healthy... maybe the gstatus need an update to support newer Versions as well... Hoping will be a fix? |
Made a new release of glustercli(0.8.1). Please try installing the gstatus now. https://github.com/gluster/gstatus#installating-from-source For single file installation, new release of gstatus required. |
If i remember i fixed it by disabling stripe, see https://github.com/thetuxinator/glustercli-python however not sure as that was some time ago |
New release was not available after your fix to the repo gluster/glustercli-python#51 |
Missed that :D ok thx |
i installed curl -LO https://github.com/gluster/gstatus/releases/download/v1.0.7/gstatus and with gluster 10.1 i see it working again. no Errors so far.... very nice guys ;)....... thx |
On Wed, Feb 16, 2022 at 10:12 PM madmax01 ***@***.***> wrote:
i installed curl -LO
https://github.com/gluster/gstatus/releases/download/v1.0.7/gstatus
and with gluster 10.1 i see it working again. no Errors so far....
very nice guys ;)....... thx
Cool. Good to know. Thanks for testing.
… —
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADFEKEL5D2TOFJ2JF4ECKLU3PHXXANCNFSM5LJJUF6A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, no matter what i do, either using source or binary version, always getting this error:
sudo gstatus -v
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/glustercli/cli/parsers.py", line 218, in parse_volume_info
volumes.append(_parse_a_vol(volume_el))
File "/usr/local/lib/python3.8/dist-packages/glustercli/cli/parsers.py", line 137, in _parse_a_vol
'stripe': int(volume_el.find('stripeCount').text),
AttributeError: 'NoneType' object has no attribute 'text'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/gstatus", line 11, in
load_entry_point('gstatus==1.0.6', 'console_scripts', 'gstatus')()
File "/usr/local/lib/python3.8/dist-packages/gstatus-1.0.6-py3.8.egg/gstatus/main.py", line 73, in main
File "/usr/local/lib/python3.8/dist-packages/gstatus-1.0.6-py3.8.egg/gstatus/glusterlib/cluster.py", line 37, in gather_data
File "/usr/local/lib/python3.8/dist-packages/glustercli/cli/volume.py", line 188, in status_detail
info(volname),
File "/usr/local/lib/python3.8/dist-packages/glustercli/cli/volume.py", line 152, in info
return parse_volume_info(volume_execute_xml(cmd),
File "/usr/local/lib/python3.8/dist-packages/glustercli/cli/parsers.py", line 220, in parse_volume_info
raise GlusterCmdOutputParseError(err)
glustercli.cli.parsers.GlusterCmdOutputParseError: 'NoneType' object has no attribute 'text'
The text was updated successfully, but these errors were encountered: