Comments (6)
HI @cirrusUK
Maybe you have a different problem. Let's follow these step
pip install -U rainbowstream
- Start with debug option:
rainbowstream -dg
- Reproduce the not-work commands.
- Inside the app, type
g['traceback']
- Paste back here what is printed out.
For the libnotify question, I didn't implement such feature so it is not available at this time.
A PR will be very appreciate :)
from rainbowstream.
OMG something is wrong with Twitter right now.
g['traceback']
'Traceback (most recent call last):\n File "/home/cirrus/venv/lib/python3.4/site-packages/rainbowstream/rainbow.py", line 1774, in listen\n process(cmd)()\n File "/home/cirrus/venv/lib/python3.4/site-packages/rainbowstream/rainbow.py", line 218, in home\n draw(t=t
weet)\n File "/home/cirrus/venv/lib/python3.4/site-packages/rainbowstream/draw.py", line 169, in draw\n clock = arrow.get(date).to('local').humanize(locale=lang)\n File "/home/cirrus/venv/lib/python3.4/site-packages/arrow/arrow.py", line 576, in humanize\n locale
= locales.get_locale(locale)\n File "/home/cirrus/venv/lib/python3.4/site-packages/arrow/locales.py", line 21, in get_locale\n raise ValueError('Unsupported locale \'{0}\''.format(name))\nValueError: Unsupported locale 'en_GB'\n': does seem to be related to locale, plz advise on how to fix, thank you.
from rainbowstream.
en_GB.UTF-8
is currently not supported in Arrow
- a dependency of RainbowStream.
A quick fix is changing your LC_ALL to en_us.UTF-8:
export LC_ALL=en_us.UTF-8
I will add a fallback method in next release. Thanks for report
from rainbowstream.
hi DTVD and thanks for the tip, however when adding export LC_ALL=en_us.UTF-8 to ~/.zshrc i get this ..
cirrus@hawker64 ~ rainbowstream
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_us.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_us.UTF-8)
_ _
I guess im missing something ?
from rainbowstream.
I'm sorry, that line worked for changing locale on my Mac. Maybe Linux is different.
After googling a bit, I guess that you should follow these 2 command.
Anw, make sure that $LC_ALL
(maybe $LANG
also) is successfully set to en_US.UTF-8
before start rainbowstream
. You can double check with following lines on your Python interpreter
(venv)DTVD@DTVD-Air :: ~ -->> python
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
('en_US', 'UTF-8')
>>>
from rainbowstream.
In v1,0.0+ unsupported locale will fallback to normal display and every command should work
from rainbowstream.
Related Issues (20)
- DM doesn't work (ubuntu20.04)
- Open video HOT 2
- DM Not working HOT 3
- find/reply to a specific tweet (whose URL is known) [possibly a documentation or feature request] HOT 1
- Sorry, image link is broken
- tweet can't start with @ HOT 1
- [Solution] Your ~/.rainbow_config.json is messed up HOT 1
- Did Rainbowstream seriously rise from the dead?!?!
- Help command seems broken HOT 3
- [BUG] rainbowstream won't run
- Not able to Install Help!!!!
- Viewings different lists with tmux and vertical/horizontal splits
- This application does not work at all HOT 3
- [Feature Request] Twitter Circle support
- feature request: change "h friends_and_followers" to something shorter HOT 1
- 503 being received causing an exception to occur, leading to a secondary exception with auth details displayed on terminal.
- Limit of image size exceeded
- Feature Request for Twitter Circle.
- Didn't find documentation on how to use from the command line HOT 1
- Rate limit exceeded HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rainbowstream.