sachac / subed

subed is a subtitle editor for Emacs
177 stars 16 forks source link

subed-mpv--socket: Couldn’t make directory /scp:edrx@linode:/tmpsubed #64

Closed edrx closed 1 year ago

edrx commented 1 year ago

Hi Sacha!

I copied a .vtt file to a remote directory using tramp, and then opened the remote .vtt... and when I tried to kill its buffer I got this error:

File error: Couldn’t make directory /scp:edrx@linode:/tmpsubed
subed-mpv--socket: Couldn’t make directory /scp:edrx@linode:/tmpsubed

It became unkillable! =(

sachac commented 1 year ago

Whoa, that definitely sounds uncool. Sorry about that! I'll try to find some time soon to investigate.

On Sun, Apr 9, 2023 at 12:29 AM Eduardo Ochs @.***> wrote:

Hi Sacha!

I copied a .vtt file to a remote directory using tramp, and then opened the remote .vtt... and when I tried to kill its buffer I got this error:

File error: Couldn’t make directory @.:/tmpsubed subed-mpv--socket: Couldn’t make directory @.:/tmpsubed

It became unkillable! =(

— Reply to this email directly, view it on GitHub https://github.com/sachac/subed/issues/64, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACD7EUVTE56WWBP3JRAK3TXAI3K7ANCNFSM6AAAAAAWX32LNM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sachac commented 1 year ago

Could you please try the proposed fix in 1.2.2? I changed subed-auto-play-media-maybe to do it only for non-TRAMP files. Please reopen if it doesn't work for you.

edrx commented 1 year ago

Worked! =) I tested it with: (package-vc-install "https://github.com/sachac/subed")

sachac commented 1 year ago

That's a relief. Thanks for confirming!