jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.9k stars 261 forks source link

100% CPU Utilization #96

Closed georgevreilly closed 10 years ago

georgevreilly commented 11 years ago

When I move around in the dir2pi() function in libpip2pi/commands.py of pip2pi, I reliably get 100% CPU utilization. Elpy 1.0 on Emacs 24.3.1 on OS X 10.7

I 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.

H4sICHSdslEAA2VscHktdHJhY2ViYWNrLnR4dADtXV1z48aVzWPirdr3/Xhoy5kS
GYsc4pvUWt51OU7i2t3Y5Ux2azOa0lAUJDHDrwXAkeSH/e17TgMkgW4QQA9f8tCT
zPXo8p6L/rx9u9Hi+eyz9+/ff/bb+Hb78BAnIl5lcRLfDQb/MU83Ik6SdXIpev+7
nWf9z4SIF5uXQbKZDQZJPIvnH+PBYr6Ke/Uf/TVdr6ofzaaLRe/sIc5u+K9svjkT
Z6+3afJ6sYbidfWnxfz29eYle1yv3GH0Op1n8WAznX2YPsQpP9vMN+5m/nq2Xi6n
q7t0uHk5E1/0zubLzTrJxDq9XhX/TF9K/37cZvPF/sdpFj/Ps/2PP8839/NFvP85
i5eq4jl7Sqab69V9sl6KdHu7SdazOE1FYTB7jGcfZOWuV9eru/he3MV3aNIekf3L
65XAnyTOtslq72xYMhku0iyZb3rXZ9dwcNbv79ywGDfZ+qZogR5/vhC30zS+mydX
f1yv4p13QPE/8ZN8SCqyx1gUILGaLmNxv07EVDygg1bS65CPEMWfr7/+WnvU9dn9
ej1whu7Qu0lmzjCbJsOHn1G4A6x3DpPzC3EurQYHq/N+F9+300T6z+rc8tOd60z3
mFc316WbxTwTV3m1EvkTnjC4PrsQTgGb34tFvOrJz/ri8yvhXh78LdMHoK/Ptqv4
eRPPsvhOupLtdileJfhIvCqavl+FfUlcb7XOxHwlzjcfHgYEDT7GSTpfr4bPz8/n
bPnlNNsVtihN0YW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tp8pAW/VL6DAOJVcj174Sf9wY/ld9CrDwaj7tfy06Rz+i1WLI0Sg8m
aEPnlxDuHyi9P7ADnFGf6qJds/kyTopKBCIsCiW1g/gjH/E45Vf4J723mRjhf8GI
f0TWVnDZOHMgxehd/7P/B4Nz2ogmWQEA
jorgenschaefer commented 10 years ago

Any update on this?

eN-Joy commented 10 years ago

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.

.--- .. -. -.. .- -. --.. .... --- ..-

jorgenschaefer commented 10 years ago

Yay! Great, thank you :-) Closing this now, please do not hesitate to open another issue if there are any other problems!

reconmaster commented 9 years ago

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])
jorgenschaefer commented 9 years ago

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?

reconmaster commented 9 years ago

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