jschaf / esup

ESUP - Emacs Start Up Profiler
401 stars 21 forks source link

error - aborted - on emacs 24.3.1 windows #8

Closed ipstone closed 10 years ago

ipstone commented 10 years ago

Starting esup... (New file) error in process sentinel: esup-read-results: End of file during parsing error in process sentinel: End of file during parsing

jschaf commented 10 years ago

Sorry about the delay. Can you post your init.el file or .emacs file?

legoscia commented 10 years ago

I got the same error message, and found that the results file was empty. I tried debugging this by changing ignore-errors to progn in esup-batch and running esup-batch manually in the newly started Emacs.

For me, the error in the newly started Emacs was:

esup-profile-sexp: End of file during parsing: "~/src/from-graphic"

By tracing esup-profile-sexp, it seemed like it choked on a byte-compiled file with strings embedded with e.g. #@103 (i.e. skip the following 103 characters). This file is being loaded from my .emacs with load.

(No idea if the original poster had the same problem; perhaps it would be a good idea to catch errors with condition-case and report them in the results file, for easier debugging.)

legoscia commented 10 years ago

Submitted pull request #11 for the problem I had.

larstvei commented 9 years ago

Hi!

I have a similar problem that I think occurs when loading idle-require.

esup: loading /Users/larstvei/.emacs.d/elpa/idle-require-20090715.1503/idle-require.elc
esup-child-profile-sexp: End of file during parsing

I've had similar issues with this package before. Perhaps one could make it default to loading .el files instead of .elc files?

I am running Emacs 24.4.1 on OS X.

I really like the package! I tried fixing this myself, but haven't found a fix so far. If you don't have time to fix this, perhaps you could point me in the right direction?