Closed georgevreilly closed 10 years ago
Any update on this?
I thought I updated;-) Yeah I am on pre-test GNU Emacs 24.3.92.1, and everything seem to work fine. Thanks,
On Sat, Aug 23, 2014 at 11:04 AM, Jorgen Schäfer notifications@github.com wrote:
Any update on this?
— Reply to this email directly or view it on GitHub https://github.com/jorgenschaefer/elpy/issues/96#issuecomment-53157067.
.--- .. -. -.. .- -. --.. .... --- ..-
Yay! Great, thank you :-) Closing this now, please do not hesitate to open another issue if there are any other problems!
I've run into this problem when entering the same method definition in a python file I can edit most of fine. When I enter this method, emacs hangs with 100% usage. I am using 24.4 with elpy 1.6. I tried switching between rope and jedi with the same results. Here is the debug information on exit.
Debugger entered--Lisp error: (quit)
python-nav-end-of-statement()
python-nav-end-of-defun()
#[0 "\307\310!\205\314\311 \312\313\314\315\316\317!\320\"\321\322%DC\216\305\242\203&\323 \305\242W\205q\304\242\203I\212\304\324\240\210\303b\210\325 \210\326\310!\210\327 \330!)\262)\206q\303\212\323 !\\\302W\203Z\303\202m\331 \210`\323 Y\203k\323 T\202l\314\\\262)W)\262\203\275\311 \312\313\314\315\316\317!\332\"\321\322%DC\216\305\323 \240\210)\210\300\203\232\306\242\203\246\301\333\310!\301\242B\240\210\202\275\334\333\314!!\306@\240\210\301\211A@\262\301\242B\240\266\323 \314U\203\335\336\327\"\210\202\207" [nil (("__init__")) 8 40974 (nil) (4) (nil) python-nav-beginning-of-defun 1 match-data funcall make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 "\n\n(fn)" current-indentation nil python-nav-beginning-of-statement beginning-of-line t looking-at python-nav-end-of-defun [set-match-data evaporate] match-string-no-properties split-string throw exit python-nav-beginning-of-defun-regexp inhibit-changing-match-data python-indent-offset] 8 "\n\n(fn)"]()
funcall(#[0 "\307\310!\205\314\311 \312\313\314\315\316\317!\320\"\321\322%DC\216\305\242\203&\323 \305\242W\205q\304\242\203I\212\304\324\240\210\303b\210\325 \210\326\310!\210\327 \330!)\262)\206q\303\212\323 !\\\302W\203Z\303\202m\331 \210`\323 Y\203k\323 T\202l\314\\\262)W)\262\203\275\311 \312\313\314\315\316\317!\332\"\321\322%DC\216\305\323 \240\210)\210\300\203\232\306\242\203\246\301\333\310!\301\242B\240\210\202\275\334\333\314!!\306@\240\210\301\211A@\262\301\242B\240\266\323 \314U\203\335\336\327\"\210\202\207" [nil (("__init__")) 8 40974 (nil) (4) (nil) python-nav-beginning-of-defun 1 match-data funcall make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 "\n\n(fn)" current-indentation nil python-nav-beginning-of-statement beginning-of-line t looking-at python-nav-end-of-defun [set-match-data evaporate] match-string-no-properties split-string throw exit python-nav-beginning-of-defun-regexp inhibit-changing-match-data python-indent-offset] 8 "\n\n(fn)"])
python-info-current-defun()
run-hook-with-args-until-success(python-info-current-defun)
which-function()
byte-code("\303 \211\304 \n\"\232?\205\305 \n#\210\306 )\207" [current window which-func-table which-function gethash puthash force-mode-line-update] 5)
which-func-update-1(#<window 3 on tomo.py>)
which-func-update()
apply(which-func-update nil)
byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
timer-event-handler([t 0 0 500000 t which-func-update nil idle 0])
This is a different problem, and apparently related to which-func-mode and a bug in python.el. Could you provide the source for the file this happens in?
Hmmm. I've started just using 24.4 from source, and I can't repeat this error. I will try to document it more carefully in the future if it occurs. The code itself was a very large source file (~ 4 000 lines) that I was cleaning up for a friend that mixed tabs spaces and completely failed PEP8 standards on almost every line. I was able to finish editing it after migrating to 24.4. Best, A
When I move around in the
dir2pi()
function inlibpip2pi/commands.py
of pip2pi, I reliably get 100% CPU utilization. Elpy 1.0 on Emacs 24.3.1 on OS X 10.7I set
debug-on-quit
and got the traceback below. It's gzipped, then base64-encoded. Sorry, but when I pasted the raw text in, Github Issues failed to save it—undoubtedly because of the 29,000-character lines. And there's no way to attach an arbitrary file.