{"id":382,"date":"2017-05-26T08:48:58","date_gmt":"2017-05-26T15:48:58","guid":{"rendered":"http:\/\/www.sysop.ca\/?p=382"},"modified":"2018-10-01T06:30:24","modified_gmt":"2018-10-01T13:30:24","slug":"rainbowstream-config-error-on-startup-fix","status":"publish","type":"post","link":"http:\/\/www.sysop.ca\/?p=382","title":{"rendered":"Rainbowstream config error fix"},"content":{"rendered":"<p>I have been playing around with a neat console based twitter client called rainbowstream. After installation and initial config I kept getting<\/p>\n<p><code> Your ~\/.rainbow_config.json is messed up:<br \/>\n&gt;&gt;&gt; [Errno 2] No such file or directory: '\/home\/username\/.rainbow_config.json'<\/code><\/p>\n<p>errors when starting the client. The config in your home directory is for per-user customizations.<\/p>\n<p>I tried touching an empty file in my home directory but I then received:<\/p>\n<p><code>Your ~\/.rainbow_config.json is messed up:<br \/>\n&gt;&gt;&gt; No JSON object could be decoded<\/code><\/p>\n<p>So then I found the default config in the rainbowstream app directory and copied it over top of the config in my home directory:<\/p>\n<p><code>cp \/usr\/lib\/python2.7\/site-packages\/rainbowstream\/colorset\/config   ~\/.rainbow_config.json<\/code><\/p>\n<p>This worked perfectly and now rainbowstream doesn&#8217;t complain on startup anymore.<\/p>\n<p><em>EDIT: Thanks to Naik for providing the updated paths for debian based distros in the comments below!<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been playing around with a neat console based twitter client called rainbowstream. After installation and initial config I kept getting Your ~\/.rainbow_config.json is messed up: &gt;&gt;&gt; [Errno 2] No such file or directory: &#8216;\/home\/username\/.rainbow_config.json&#8217; errors when starting the client. The config in your home directory is for per-user customizations. I tried touching an &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.sysop.ca\/?p=382\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rainbowstream config error fix&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-general","category-unix"],"_links":{"self":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=382"}],"version-history":[{"count":5,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":391,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions\/391"}],"wp:attachment":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}