restart-emacs icon indicating copy to clipboard operation
restart-emacs copied to clipboard

Wrong type argument

Open sebastiencs opened this issue 8 years ago • 5 comments
trafficstars

Hi, When I run restart-emacs, I got this error: Wrong type argument: processp, nowait It's in the function restart-emacs--record-tty-file (i'm using emacs GUI) The parameter current is set to (client . nowait)

I have attached the backtrace if it can help backtrace.txt

sebastiencs avatar Jun 09 '17 11:06 sebastiencs

Hi @sebastiencs,

Thanks a lot for the detailed bug report. I have just pushed a fix for the issue, could you please try it once MELPA updates and report back if the issue still occurs

Thanks

iqbalansari avatar Jun 09 '17 16:06 iqbalansari

Thank you for this quick fix. It resolves the error.

Now I have another problem: Once emacs is restarted, when I quit emacsclient with C-x C-c (save-buffers-kill-terminal) the daemon is also ended. I have to start it again. This problem appears only with emacs GUI, it works with emacs on terminal (I have 2 differents daemons for each)

Also, I don't know if it's important but I have this message in the *Warnings* buffer: Error (frameset): Unknown terminal type

I don't know what information can I give you to help you, let me know if you need something

sebastiencs avatar Jun 10 '17 13:06 sebastiencs

That seems like a bug, I have an idea why it happens, will try pushing a fix soon. Thanks for the report

iqbalansari avatar Jun 18 '17 15:06 iqbalansari

I have the same problem using emacs in daemon mode, when I restart it I also get

Error (frameset): Unknown terminal type

the daemon does not start again and needs to be started manually.

I'm using emacs 25.2.1 on ArchLinux

dinkonin avatar Jul 22 '17 16:07 dinkonin

@dinkonin @sebastiencs There does not seem to be a way to fix the issue, I will keep looking though. I am keeping this issue open as a reminder

iqbalansari avatar Aug 27 '17 14:08 iqbalansari