Comments (12)
Thank you for interest in earchquake.gem :)
Maybe you need to recompile ruby to use readline.
If you are using rvm, please see the "Install" in the README to do it: https://github.com/jugyo/earthquake
Best regards
from earthquake.
It looks like a readline problem. Here's what I did:
- removed ruby-1.9.2 and installed it as per readme (somehow I missed that before :-( )
- just in case reinstalled all the gems
- starting earthquake, problem persists
then I noticed something - when I press tab
key, I get an error notification (it's too big to be shown in growl). So I've added log-to-file method to get some info.
After some digging around I've isolated the code which causes problems - it's the readline autocompletion stuff. The error being thrown is:
invalid byte sequence in UTF
Wrapping that part around begin..rescue..end
fixes earthquake.
I'll see whether I can create a patch which fixes this issue and preserves autocompletion feature.
from earthquake.
Sorry, the problem of autocompletion is maybe my bug.
from earthquake.
Right... If you want I can keep poking around and see if I can fix it.
For now disabling autocompletion will make earthquake usable (I'm not sure how many users this affects - it might be just OSX thing).
from earthquake.
Is there a way to disable autocompletion easily in order to make earthquake refresh on OSX?
from earthquake.
@dakrone - I found a (possible) solution to the problem:
check if you have any ncurses or readline related libraries installed via macports and/or homebrew. I've been cleaning up my environment and I found that removing ncursesw package fixed my readline problems - which caused Earthquake to misbehave.
from earthquake.
:-/ I have ncursesw through homebrew, however I need it for other programs to work. Guess I will have to wait until it's fixed in Earthquake.
from earthquake.
@dakrone - try it anyway - you can always reinstall it later.
Before uninstalling ncursesw I couldn't make mcabber to work (or compile - it was pretty random). Once I removed it it started working.
from earthquake.
I attempted to uninstall ncursesw, but earthquake still didn't stream updates.
from earthquake.
I am also having this issue with OSX, installed according to the README.
from earthquake.
Same, here I removed 1.9.2 and installed it the way as suggested in the README.
from earthquake.
I'm feeling that readline functionality should be ok as a prerequisite for using Earthquake.
Almost users must depend on not only completion, line editing, history (including incremental search) and so on,
but also buffer refreshing and/or to get cursor point internally.
To conclude, I guess we had better apply #105 :).
FYI, readline.so before r34391 (yes, it's 2.0.0dev world) does not respect the encoding of completion candidates.
The error mentioned above by @lukaszkorecki may be fixed in trunk of ruby.
http://bugs.ruby-lang.org/issues/5941
Thanks,
from earthquake.
Related Issues (20)
- Please update dependency on twitter_oauth 0.4.3 to 0.4.4 or above
- Support for muting user or hashtag HOT 2
- The Twitter REST API v1 will soon stop functioning. Please migrate to API v1.1. HOT 1
- direct command line update not working HOT 8
- Earthquake occasionally dies and dumps core HOT 8
- Support terminal notifier from homebrew
- Completions work not as expected
- libc++abi.dylib: terminate called throwing an exception
- error HOT 3
- UTF-8 / ASCII-8BIT issue
- Can't find default configuration file.
- require active_support dependencies HOT 1
- Filter out reconnection & error notifications
- Error #420 HOT 7
- next page of search results?
- List, Mark and Unmark favorite tweets
- OSX mavericks 'function is unimplemented' HOT 4
- wrong number of arguments HOT 11
- 404 errors
- install earthquake
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 earthquake.