Show More
@@ -339,11 +339,11 b' particular, those can manifest by:' | |||||
339 | Those almost always mean that *natural* keyring backend for given |
|
339 | Those almost always mean that *natural* keyring backend for given | |
340 | desktop type doesn't work, or is not present at all. For example, |
|
340 | desktop type doesn't work, or is not present at all. For example, | |
341 | some necessary runtime component can be down (say, you use Linux, but |
|
341 | some necessary runtime component can be down (say, you use Linux, but | |
342 |
|
|
342 | neither Gnome Keyring, nor KDE Wallet, is running). Or appropriate | |
343 | backend is not installed because it could not be build during |
|
343 | backend is not installed because it could not be build during keyring_ | |
344 |
|
|
344 | library installation (maybe because some required library was not | |
345 |
|
|
345 | present at the moment of keyring installation, or maybe because | |
346 | as such is not present on the system). |
|
346 | compiler as such is not present on the system). | |
347 |
|
347 | |||
348 | To diagnose such problems, try using ``keyring`` utility, as described |
|
348 | To diagnose such problems, try using ``keyring`` utility, as described | |
349 | on keyring_ documentation page, for example by:: |
|
349 | on keyring_ documentation page, for example by:: | |
@@ -365,17 +365,23 b' for further pointers in keyring_ documen' | |||||
365 | list, or issue tracker. Typically it will turn out, that you need to |
|
365 | list, or issue tracker. Typically it will turn out, that you need to | |
366 | install some missing tool, or library, and reinstall keyring. |
|
366 | install some missing tool, or library, and reinstall keyring. | |
367 |
|
367 | |||
|
368 | .. note:: | |||
|
369 | ||||
|
370 | Recent versions of keyring library (since version 12) use python | |||
|
371 | entrypoints to find available backends. Those are incompatible with | |||
|
372 | some binary packaging methods (like ``py2app``) and may cause | |||
|
373 | problems. In particular there were packaged installations of TortoiseHG | |||
|
374 | which were unable to load keyring backends. See `#61 <https://bitbucket.org/Mekk/mercurial_keyring/issues/61/tortoisehg-encounters-unknown-exception>`_ for some more details. | |||
|
375 | ||||
368 | If ``keyring`` command works, but mercurial with mercurial_keyring does not, |
|
376 | If ``keyring`` command works, but mercurial with mercurial_keyring does not, | |
369 | try enforcing proper backend (by means of ``keyringrc.cfg``, see above). |
|
377 | try enforcing proper backend (by means of ``keyringrc.cfg``, see above). | |
370 | Only if this doesn't help, there may be a bug in mercurial_keyring. |
|
378 | Only if this doesn't help, there may be a bug in mercurial_keyring. | |
371 |
|
379 | |||
372 | .. note:: |
|
380 | By far easiest way to have properly working keyring is to use packaged | |
373 |
|
381 | binary version (like ``python-keyring`` Ubuntu package, or keyring | ||
374 | By far easiest way to have properly working keyring is to use |
|
382 | bundled with TortoiseHG on some systems). If you pip-installed keyring | |
375 | packaged binary version (like ``python-keyring`` Ubuntu package, or |
|
383 | and it doesn't work, you may consider removing it via ``pip uninstall | |
376 | keyring bundled with TortoiseHG on some systems). If you pip-installed |
|
384 | keyring`` and looking for binary package instead. | |
377 | keyring and it doesn't work, you may consider ``pip uninstall keyring`` |
|
|||
378 | and look for binary package instead. |
|
|||
379 |
|
385 | |||
380 |
|
386 | |||
381 |
|
387 |
General Comments 0
You need to be logged in to leave comments.
Login now