Emacs droppings cause strange errors #236

Closed
davidw opened this Issue Apr 3, 2013 · 6 comments

Projects

None yet

3 participants

@davidw

Emacs occasionally leaves around files like this:

.#exam_question.erl -> davidw@catlow.4504:1348140457

Which causes errors like:

ERROR: pre_compile failed while processing /home/davidw/clients/xxxxx/myapp: {'EXIT',{{badmatch,{error,[enoent]}},
         [{boss_load,load_all_modules,3,
                     [{file,"src/boss/boss_load.erl"},{line,30}]},
          {boss_load,load_all_modules_and_emit_app_file,2,
                     [{file,"src/boss/boss_load.erl"},{line,44}]},
          {boss_rebar,compile,4,
                      [{file,"/home/davidw/workshop/ChicagoBoss/priv/rebar/boss_rebar.erl"},
                       {line,85}]},
          {boss_plugin,pre_compile,2,
                       [{file,"priv/rebar/boss_plugin.erl"},{line,105}]},
@evanmiller

Is that a symlink?

Dot-files should be ignored because of this line:

https://github.com/evanmiller/ChicagoBoss/blob/master/src/boss/boss_load.erl#L132

It's possible there's something weird going on with symlinks though. I'm not sure.

@davidw

It does look like it's some kind of weird symlink. This is definitely a 'wishlist' bug, but it's annoying nonetheless.

@kotedo
@evanmiller

Try this

c3fdb9d

@davidw

Nope, still crashing.

ERROR: pre_compile failed while processing /home/davidw/clients/xxxxxxxxxx/myapp: {'EXIT',{{badmatch,{error,[enoent]}},
     [{boss_load,load_all_modules,3,

This is the file in question:

file src/controller/.#myapp_exams_controller.erl 
src/controller/.#myapp_exams_controller.erl: broken symbolic link to `davidw@catlow.4504:1348140457'
@davidw

Actually it does seem to be working. Weird.

@davidw davidw closed this Apr 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment