2014-01-25 16:19:47 +01:00
|
|
|
|
***********************
|
|
|
|
|
Troubleshooting on OS X
|
|
|
|
|
***********************
|
2014-08-02 21:51:20 +02:00
|
|
|
|
|
2014-09-20 15:40:33 +02:00
|
|
|
|
I can’t see any fancy symbols, what’s wrong?
|
2014-08-02 21:51:20 +02:00
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
2014-09-20 15:40:33 +02:00
|
|
|
|
* If you’re using iTerm2, please update to `this revision
|
2014-08-02 21:51:20 +02:00
|
|
|
|
<https://github.com/gnachman/iTerm2/commit/8e3ad6dabf83c60b8cf4a3e3327c596401744af6>`_
|
|
|
|
|
or newer.
|
|
|
|
|
* You need to set your ``LANG`` and ``LC_*`` environment variables to
|
2014-09-20 15:40:33 +02:00
|
|
|
|
a UTF-8 locale (e.g. ``LANG=en_US.utf8``). Consult your Linux distro’s
|
2014-08-02 21:51:20 +02:00
|
|
|
|
documentation for information about setting these variables correctly.
|
|
|
|
|
|
|
|
|
|
The colors look weird in the default OS X Terminal app!
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
2014-09-20 15:43:19 +02:00
|
|
|
|
* The arrows may have the wrong colors if you have changed the “minimum
|
|
|
|
|
contrast” slider in the color tab of your OS X settings.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
* The default OS X Terminal app is known to have some issues with the
|
|
|
|
|
Powerline colors. Please use another terminal emulator. iTerm2 should work
|
|
|
|
|
fine.
|
|
|
|
|
|
|
|
|
|
The colors look weird in iTerm2!
|
|
|
|
|
--------------------------------
|
|
|
|
|
|
2014-09-20 15:43:19 +02:00
|
|
|
|
* The arrows may have the wrong colors if you have changed the “minimum
|
|
|
|
|
contrast” slider in the color tab of your OS X settings.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
* Please disable background transparency to resolve this issue.
|
|
|
|
|
|
|
|
|
|
Statusline is getting wrapped to the next line in iTerm2
|
|
|
|
|
--------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
* Turn off “Treat ambigious-width characters as double width” in `Preferences
|
|
|
|
|
--> Text`.
|
|
|
|
|
* Alternative: remove fancy dividers (they suck in this case), set
|
|
|
|
|
:ref:`ambiwidth <config-common-ambiwidth>` to 2.
|
|
|
|
|
|
|
|
|
|
I receive a ``NameError`` when trying to use Powerline with MacVim!
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
* Please install MacVim using this command::
|
|
|
|
|
|
|
|
|
|
brew install macvim --env-std --override-system-vim
|
|
|
|
|
|
|
|
|
|
Then install Powerline locally with ``pip install --user``, or by
|
|
|
|
|
running these commands in the ``powerline`` directory::
|
|
|
|
|
|
|
|
|
|
./setup.py build
|
|
|
|
|
./setup.py install --user
|
|
|
|
|
|
|
|
|
|
I receive an ``ImportError`` when trying to use Powerline on OS X!
|
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
* This is caused by an invalid ``sys.path`` when using system vim and system
|
|
|
|
|
Python. Please try to select another Python distribution::
|
|
|
|
|
|
|
|
|
|
sudo port select python python27-apple
|
|
|
|
|
|
|
|
|
|
* See `issue #39 <https://github.com/Lokaltog/powerline/issues/39>`_ for
|
|
|
|
|
a discussion and other possible solutions for this issue.
|
2014-10-12 15:03:34 +02:00
|
|
|
|
|
|
|
|
|
I receive “FSEventStreamStart: register_with_server: ERROR” with status_colors
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
This is `a known <https://github.com/joyent/node/issues/5463>`_ libuv issue that
|
|
|
|
|
happens if one is trying to watch too many files. It should be fixed in
|
|
|
|
|
libuv-0.12. Until then it is suggested to either disable ``status_colors`` (from
|
|
|
|
|
:py:func:`powerline.segments.common.vcs.branch`) or choose stat-based watcher
|
|
|
|
|
(will have effectively the same effect as disabling ``status_colors``).
|