Bug ID | 1135224 |
---|---|
Summary | yast2-adsi crashes with "TypeError: Expected a string or unicode object" during auth |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | YaST2 |
Assignee | yast2-maintainers@suse.de |
Reporter | david.mulder@suse.com |
QA Contact | jsrain@suse.com |
Found By | --- |
Blocker | --- |
2019-05-14 15:34:05 <3> linux-h7xz(14712) [Python] clients/adsi.py(<module>):57 Traceback (most recent call last): File "/usr/share/YaST2/clients/../include/adsi/wizards.py", line 11, in <lambda> 'adsi' : [(lambda lp, creds: ADSI(lp, creds).Show()), lp, creds], File "/usr/share/YaST2/clients/../include/adsi/dialogs.py", line 522, in Show self.conn = ConnectionSettings(self.creds, self.lp).Show() File "/usr/share/YaST2/clients/../include/adsi/dialogs.py", line 423, in Show ycred.Show(cred_valid) File "/usr/lib/python3.7/site-packages/adcommon-1.0-py3.7.egg/adcommon/creds.py", line 150, in Show got_creds = self.get_creds() File "/usr/lib/python3.7/site-packages/adcommon-1.0-py3.7.egg/adcommon/creds.py", line 182, in get_creds self.__delete_keyring() File "/usr/lib/python3.7/site-packages/adcommon-1.0-py3.7.egg/adcommon/creds.py", line 244, in __delete_keyring delete_password('adcommon', keyring_user) File "/usr/lib/python3.7/site-packages/keyring/core.py", line 69, in delete_password _keyring_backend.delete_password(service_name, username) File "/usr/lib/python3.7/site-packages/keyring/backends/SecretService.py", line 92, in delete_password for item in items: File "/usr/lib/python3.7/site-packages/secretstorage/collection.py", line 86, in search_items signature='a{ss}') File "/usr/lib/python3.7/site-packages/secretstorage/util.py", line 31, in function_out return function_in(*args, **kwargs) File "/usr/lib/python3.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python3.7/site-packages/dbus/connection.py", line 641, in call_blocking message.append(signature=signature, *args) TypeError: Expected a string or unicode object This happens when 'save creds' is unchecked, but no creds have been previously saved to the keychain. I None type is being passed into keyring.delete_password().