ac-cider icon indicating copy to clipboard operation
ac-cider copied to clipboard

Error running timer 'ac-update-greedy'

Open cranehuang opened this issue 10 years ago • 13 comments

Usually, ac-cider works well in cider.However , I get the error "running timer 'ac-update-greedy'" sometimes.The following picture shows the detail: 2015-01-12 12 27 55 In addition,I use emacs 24.4 and cider 0.8.2.

cranehuang avatar Jan 26 '15 05:01 cranehuang

I used to see those a few times too. Is it reliably reproducable by you?

alexander-yakushev avatar Jan 26 '15 09:01 alexander-yakushev

No,it isn't.This occurs by accident.

cranehuang avatar Jan 27 '15 02:01 cranehuang

Well, it's not much I can do then. I don't know AC internals well enough. If you are someday able trim it down at least to a single reproducible example, I'll be glad to help.

alexander-yakushev avatar Jan 27 '15 02:01 alexander-yakushev

Thanks . If I find a reproducible example,I will tell you here.

cranehuang avatar Jan 27 '15 04:01 cranehuang

@CraneHuang By the way I remembered where I've seen this error. It happens to me if I try to complete in a buffer where CIDER connection is absent. That's not your case, I guess.

alexander-yakushev avatar Jan 27 '15 18:01 alexander-yakushev

Sometimes,I get the error when I launch the cider and type some codes.At the time,my cider should be connected.

cranehuang avatar Jan 28 '15 00:01 cranehuang

Generally such errors occur when there's some unhandled error in the middleware. Thought, I managed to find all of those, but I guess I didn't... On such an error the client will wait for a few seconds for a response and timeout. Guess we'll have to review carefully the code in the completion middleware for potential problems.

On 28 January 2015 at 02:02, Crane Huang [email protected] wrote:

Sometimes,I get the error when I launch the cider and type some codes.At the time,my cider should be connected.

— Reply to this email directly or view it on GitHub https://github.com/clojure-emacs/ac-cider/issues/27#issuecomment-71755524 .

bbatsov avatar Jan 28 '15 17:01 bbatsov

I don't think this is related to cider. I started getting this error immediately after updating my ubuntu system. The error is occuring without even starting cider. In my case it's occuring where AC is in minor mode to java-mode.

johnbendi avatar Feb 22 '15 06:02 johnbendi

This problem also occurs in ac-js2, Don't know why :-(

xTpx avatar Oct 04 '15 14:10 xTpx

The same problem happens to me after updating cider-nrepl to 0.12.0 version. Commit cc8efb877cb80475392860a478c985421a25acd5 fixed this problem for me. I think that more people could benefit from this fix, if new version of ac-cider would be released, with this commit included.

kasz avatar May 29 '16 16:05 kasz

Perhaps, you mean releasing it to melpa-stable. I tagged the latest commit as 0.2.3, so it should appear in melpa-stable soon.

alexander-yakushev avatar May 30 '16 11:05 alexander-yakushev

Yes, I was referring to melpa-stable. Thank you for fast answer.

kasz avatar May 31 '16 22:05 kasz

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it

MalloZup avatar Aug 05 '19 21:08 MalloZup