Closed robbyoconnor closed 4 years ago
Also fails when I try to report C-c C-c
the issue:
Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "/home/rob/.emacs.d/mktemp: failed to create direct...")
call-process("google-chrome-beta" nil 0 nil "http://github.com/syl20bnr/spacemacs/issues/new?bo...")
apply(call-process "google-chrome-beta" nil 0 nil "http://github.com/syl20bnr/spacemacs/issues/new?bo...")
browse-url-generic("http://github.com/syl20bnr/spacemacs/issues/new?bo..." nil)
apply(browse-url-generic "http://github.com/syl20bnr/spacemacs/issues/new?bo..." nil)
browse-url("http://github.com/syl20bnr/spacemacs/issues/new?bo...")
(let ((url "http://github.com/syl20bnr/spacemacs/issues/new?bo...") (body (url-hexify-string (buffer-string)))) (browse-url (url-encode-url (concat url body))))
spacemacs//report-issue-done()
funcall-interactively(spacemacs//report-issue-done)
call-interactively(spacemacs//report-issue-done nil nil)
command-execute(spacemacs//report-issue-done)
I'm not sure if I should report this upstream or not -- and if so where - because the problem is manifesting itself other times
Sounds bizarre. When it happens, do you have a folder named /tmp/tmp.iShm13pCiP
? Maybe mkdir
should be called with -p
option?
This is happening via mktemp
,not mkdir
though.
any workarounds for this? Here's a simpler MWE on my system:
(shell-command-to-string "echo hello")
gives
"mktemp: failed to create directory via template ‘/tmp/tmp.3BxBLFyvMq/tmp.XXXXXXXXXX’: No such file or directory
hello
"
So it seems like it's executing the command and capturing the output successfully, but somewhere something is going wrong and dumping that error message.
There is no directory /tmp/tmp.3BxBLFyvMq
- I'm not sure who's responsible for creating that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description :octocat:
Reproduction guide :beetle:
SPC p p
Observed behaviour: :eyes: :broken_heart: A message along the lines of the following is shown in the minibuffer:
mktemp: failed to create directory via template ‘/tmp/tmp.iShm13pCiP/tmp.XXXXXXXXXX’: No such file or directory
Expected behaviour: :heart: :smile:
Show me a list of files in the project...
System Info :computer:
Backtrace :paw_prints: