Skip to content
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

SSL Error #19

Open
kanchar opened this issue Feb 7, 2019 · 10 comments
Open

SSL Error #19

kanchar opened this issue Feb 7, 2019 · 10 comments

Comments

@kanchar
Copy link

kanchar commented Feb 7, 2019

Hi There,

I am getting the following error when i run build stat browser.py

Traceback (most recent call last):
File "build_stat_browser.py", line 68, in
build_browser()
File "build_stat_browser.py", line 63, in build_browser
bb.build_browser()
File "C:\junk\script\isilon\stat_browser\isilon_stat_browser-master\stat_key_browser\browser_builder.py", line 130, in build_browser
key_data = self._write_key_data_json(jskeys_path)
File "C:\junk\script\isilon\stat_browser\isilon_stat_browser-master\stat_key_browser\browser_builder.py", line 102, in _write_key_data_json
self.password)
File "C:\junk\script\isilon\stat_browser\isilon_stat_browser-master\stat_key_browser\key_collector.py", line 123, in get_tagged_squashed_di
key_dict = _get_key_dict(cluster_ip, username, password)
File "C:\junk\script\isilon\stat_browser\isilon_stat_browser-master\stat_key_browser\key_collector.py", line 111, in _get_key_dict
key_list = _get_key_list(cluster_ip, username, password)
File "C:\junk\script\isilon\stat_browser\isilon_stat_browser-master\stat_key_browser\key_collector.py", line 97, in _get_key_list
papi = isi_sdk.ApiClient(host)
File "C:\Users\skanchar\AppData\Local\Programs\Python\Python36\lib\site-packages\isi_sdk_7_2\api_client.py", line 71, in init
self.rest_client = rest.RESTClientObject(configuration)
File "C:\Users\skanchar\AppData\Local\Programs\Python\Python36\lib\site-packages\isi_sdk_7_2\rest.py", line 68, in init
if configuration.verify_ssl:
AttributeError: 'str' object has no attribute 'verify_ssl'

@dmtucker
Copy link

dmtucker commented Feb 7, 2019

@kanchar What version of isi_sdk_7_2 do you have?

pip show isi_sdk_7_2

@kanchar
Copy link
Author

kanchar commented Feb 7, 2019 via email

@dmtucker
Copy link

dmtucker commented Feb 7, 2019

I suspect you need isi_sdk_7_2 ~= 0.1.2. Could you try downgrading?

pip install 'isi_sdk_7_2 ~= 0.1.2'

@kanchar
Copy link
Author

kanchar commented Feb 7, 2019 via email

@dmtucker
Copy link

dmtucker commented Feb 7, 2019

That looks like a legitimate (although separate) bug.
Does it reproduce if you omit --debug?

@kanchar
Copy link
Author

kanchar commented Feb 7, 2019 via email

@dmtucker
Copy link

dmtucker commented Feb 7, 2019

Did make tags help?

@kanchar
Copy link
Author

kanchar commented Feb 7, 2019 via email

@dmtucker
Copy link

dmtucker commented Feb 7, 2019

Ah, make refers to GNU Make. If you don't have that installed or don't want to bother with it, you can just do what make tags does under the hood:

$(HEXAPARSE) stat_key_browser/data/key_tags.hexa > stat_key_browser/data/key_tags.json
$(HEXAPARSE) stat_key_browser/data/key_cats.hexa > stat_key_browser/data/key_cats.json

./hexaparse.py stat_key_browser/data/key_tags.hexa > stat_key_browser/data/key_tags.json 
./hexaparse.py stat_key_browser/data/key_cats.hexa > stat_key_browser/data/key_cats.json

@kanchar
Copy link
Author

kanchar commented Feb 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants