Closed hollesse closed 8 years ago
I got that fixed with an manual update of urllib3 via pip. But now i have a new error:
Gigaset Elements - Command-line Interface
[-] Configuration | LOADED | /home/pi/.gigasetelements-cli/gigasetelements-cli.conf [-] ERROR | UNKNOWN | 03/06/16 12:03:30 ("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",)
@hollesse Whilst I try to solve this structurally the quick fix for now is reverting to an older version of certifi by issuing below 2 commands:
(sudo) pip uninstall certifi (sudo) pip install certifi==2015.04.28
That works great thank you!
Fixed with commit b20c3bb
i’m trying right now to install the CLI on my raspberry pi and after setting up the config file i’ll get an error and i don’t know why. Maybe you cloud help me…
Here’s the code: Gigaset Elements - Command-line Interface
[-] Configuration | LOADED | gigaset-elements/gigasetelements-cli.conf Traceback (most recent call last): File "/usr/local/bin/gigasetelements-cli", line 9, in
load_entry_point('gigasetelements-cli==1.3.7', 'console_scripts', 'gigasetelements-cli')()
File "/usr/local/lib/python2.7/dist-packages/gigasetelements/gigasetelements.py", line 631, in main
connect()
File "/usr/local/lib/python2.7/dist-packages/gigasetelements/gigasetelements.py", line 249, in connect
commit_data = restpost(URL_IDENTITY, payload)
File "/usr/local/lib/python2.7/dist-packages/gigasetelements/gigasetelements.py", line 227, in restpost
log('ERROR'.ljust(17) + ' | ' + 'UNKNOWN'.ljust(8) + ' | ' + str(time.strftime('%m/%d/%y %H:%M:%S')) + ' ' + str(e.message), 3, 1)
TypeError: str returned non-string (type Error)
Thank you very much…