{"action":"created","issue":{"url":"https://api.github.com/repos/jaraco/keyring/issues/91","labels_url":"https://api.github.com/repos/jaraco/keyring/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/jaraco/keyring/issues/91/comments","events_url":"https://api.github.com/repos/jaraco/keyring/issues/91/events","html_url":"https://github.com/jaraco/keyring/issues/91","id":58744455,"number":91,"title":"probs in opensuse 12.1","user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-24T14:21:25Z","updated_at":"2015-02-24T14:21:38Z","closed_at":"2015-02-24T14:21:25Z","body":"Hi, I've been using Mercurial+python's kerying+python's mercurial-keyring together in the past on my opensuse 11.4 pc to \"hg push\" my local repositories to the server without having to type in my password repeatedly. It worked fine there.\n\nHowever, I've experienced a problem when now running in opensuse 12.1. Initially I reported this on the issue-tracker for mercurial-keyring, at:\n\nhttps://bitbucket.org/Mekk/mercurial_keyring/issue/23/probs-in-opensuse-121\n\nBut the author said the trace indicates that the issue is at the keyring level and that I should report it here.\n\nOk then, here's the trace:\n\n```\nsearching for changes\nhttp authorization required\nrealm: Mecurial Repo\nuser: gurcei (fixed in .hg/hgrc)\npassword: \nERROR:dbus.proxies:Introspect error on :1.222:/org/freedesktop/secrets/aliases/default: dbus.exceptions.DBusException: org.freedesktop.Secret.Error.NoSuchObject: The '/org/freedesktop/secrets/aliases/default' object does not exist\nERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Item.Label': u'gurcei@@http://rapiddev/hg @ Mercurial', 'org.freedesktop.Secret.Item.Attributes': {'username': u'gurcei@@http://rapiddev/hg', 'service': u'Mercurial'}}, dbus.Struct((dbus.ObjectPath('/org/freedesktop/secrets/session/s11'), '', dbus.ByteArray('xxxxx'), 'application/octet-stream'), signature=None), True) according to signature None: <type 'exceptions.TypeError'>: Expected a string or unicode object\n** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring\n** which supports versions unknown of Mercurial.\n** Please disable mercurial_keyring and try your action again.\n** If that fixes the bug please report it to the extension author.\n** Python 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC]\n** Mercurial Distributed SCM (version 2.4.1)\n** Extensions loaded: hgk, mercurial_keyring\nTraceback (most recent call last):\n  File \"/usr/bin/hg\", line 38, in <module>\n    mercurial.dispatch.run()\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 28, in run\n    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 65, in dispatch\n    return _runcatch(req)\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 88, in _runcatch\n    return _dispatch(req)\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 741, in _dispatch\n    cmdpats, cmdoptions)\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 514, in runcommand\n    ret = _runcommand(ui, options, cmd, d)\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 831, in _runcommand\n    return checkargs()\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 802, in checkargs\n    return cmdfunc()\n  File \"/usr/lib/python2.7/site-packages/mercurial/dispatch.py\", line 738, in <lambda>\n    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)\n  File \"/usr/lib/python2.7/site-packages/mercurial/util.py\", line 472, in check\n    return func(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/mercurial/commands.py\", line 4751, in push\n    newbranch=opts.get('new_branch'))\n  File \"/usr/lib/python2.7/site-packages/mercurial/localrepo.py\", line 1910, in push\n    ret = remote.unbundle(cg, remoteheads, 'push')\n  File \"/usr/lib/python2.7/site-packages/mercurial/wireproto.py\", line 307, in unbundle\n    ret, output = self._callpush(\"unbundle\", cg, heads=heads)\n  File \"/usr/lib/python2.7/site-packages/mercurial/httppeer.py\", line 200, in _callpush\n    r = self._call(cmd, data=fp, headers=headers, **args)\n  File \"/usr/lib/python2.7/site-packages/mercurial/httppeer.py\", line 170, in _call\n    fp = self._callstream(cmd, **args)\n  File \"/usr/lib/python2.7/site-packages/mercurial/httppeer.py\", line 118, in _callstream\n    resp = self.urlopener.open(req)\n  File \"/usr/lib/python2.7/urllib2.py\", line 400, in open\n    response = meth(req, response)\n  File \"/usr/lib/python2.7/urllib2.py\", line 513, in http_response\n    'http', request, response, code, msg, hdrs)\n  File \"/usr/lib/python2.7/urllib2.py\", line 432, in error\n    result = self._call_chain(*args)\n  File \"/usr/lib/python2.7/urllib2.py\", line 372, in _call_chain\n    result = func(*args)\n  File \"/usr/lib/python2.7/urllib2.py\", line 884, in http_error_401\n    url, req, headers)\n  File \"/usr/lib/python2.7/site-packages/mercurial/url.py\", line 431, in http_error_auth_reqed\n    self, auth_header, host, req, headers)\n  File \"/usr/local/lib/python2.7/site-packages/mercurial_keyring-0.5.4-py2.7.egg/mercurial_keyring.py\", line 363, in basic_http_error_auth_reqed\n    return basic_http_error_auth_reqed.orig(self, authreq, host, req, headers)\n  File \"/usr/lib/python2.7/urllib2.py\", line 859, in http_error_auth_reqed\n    response = self.retry_http_basic_auth(host, req, realm)\n  File \"/usr/lib/python2.7/urllib2.py\", line 865, in retry_http_basic_auth\n    user, pw = self.passwd.find_user_password(realm, host)\n  File \"/usr/local/lib/python2.7/site-packages/mercurial_keyring-0.5.4-py2.7.egg/mercurial_keyring.py\", line 357, in find_user_password\n    return self._pwd_handler.find_auth(self, realm, authuri, req)\n  File \"/usr/local/lib/python2.7/site-packages/mercurial_keyring-0.5.4-py2.7.egg/mercurial_keyring.py\", line 242, in find_auth\n    password_store.set_http_password(keyring_url, user, pwd)\n  File \"/usr/local/lib/python2.7/site-packages/mercurial_keyring-0.5.4-py2.7.egg/mercurial_keyring.py\", line 95, in set_http_password\n    password)\n  File \"/usr/local/lib/python2.7/site-packages/keyring-1.2.2-py2.7.egg/keyring/core.py\", line 42, in set_password\n    _keyring_backend.set_password(service_name, username, password)\n  File \"/usr/local/lib/python2.7/site-packages/keyring-1.2.2-py2.7.egg/keyring/backends/SecretService.py\", line 107, in set_password\n    item, prompt = self.collection.CreateItem(properties, secret, True)\n  File \"/usr/lib/python2.7/site-packages/dbus/proxies.py\", line 68, in __call__\n    return self._proxy_method(*args, **keywords)\n  File \"/usr/lib/python2.7/site-packages/dbus/proxies.py\", line 140, in __call__\n    **keywords)\n  File \"/usr/lib/python2.7/site-packages/dbus/connection.py\", line 620, in call_blocking\n    message.append(signature=signature, *args)\nTypeError: Expected a string or unicode object\n```\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/kang/python-keyring-lib/issue/91\n- Originally reported by: Gurce Isikyildiz\n- Originally created at: 2013-02-17T22:00:07.233\n"},"comment":{"url":"https://api.github.com/repos/jaraco/keyring/issues/comments/75764241","html_url":"https://github.com/jaraco/keyring/issues/91#issuecomment-75764241","issue_url":"https://api.github.com/repos/jaraco/keyring/issues/91","id":75764241,"user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T14:21:38Z","updated_at":"2015-02-24T14:21:38Z","body":"working fine in OpenSUSE 12.1 now after updating to V1.3 or higher\n\n----------------------------------------\nOriginal comment by: Gurce Isikyildiz\n"}}