[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Get "Args out of range" on remote file loaded with tramp on emacs 27 on
From: |
Steinar Bang |
Subject: |
Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian |
Date: |
Sat, 11 Sep 2021 17:00:54 +0200 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/27 (gnu/linux) |
Platform: debian 11 "bullseye", amd64
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0) of 2021-03-28, modified by Debian
After the upgrade to debian 11, which brought me emacs 27, there are
some remote files that fail on load with "Args out of range".
There is also at least one, fairly large (1.9MB) file, that loads file
(the file used by the old gnus-sync.el).
Looking at the Messages buffer, it seems that the load fails after the
file has been fetched and successfully decompressed.
Does anyone know what causes this? And does anyone know what I can do to
fix it?
A google search on similar errors said that tramp has had it back in
2013 and 2016, but not recently.
Thanks!
-Steinar
The contents of the Messages buffer after a failing tramp remote file load, are:
Tramp: Opening connection for myuser@somehost.somedomain.com using scp...
Tramp: Sending command ‘exec ssh -l myuser -o ControlMaster=auto -o
ControlPath='tramp.%C' -o ControlPersist=no -e none somehost.somedomain.com’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘somehost.somedomain.com’
Tramp: Connection reset, because remote host changed from ‘Linux
4.19.0-16-amd64’ to ‘Linux 5.10.0-8-amd64’
Tramp: Opening connection for myuser@somehost.somedomain.com using scp...
Tramp: Sending command ‘exec ssh -l myuser -o ControlMaster=auto -o
ControlPath='tramp.%C' -o ControlPersist=no -e none somehost.somedomain.com’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘somehost.somedomain.com’
Tramp: Opening connection for myuser@somehost.somedomain.com using scp...done
[2 times]
Tramp: Inserting ‘/scp:myuser@somehost.somedomain.com:/home/myuser/somefile’...
Tramp: Encoding remote file
‘/scp:myuser@somehost.somedomain.com:/home/myuser/somefile’ with ‘(env GZIP=
gzip <%s | base64)’...done
Tramp: Decoding local file ‘/tmp/tramp.bQ7fkB’ with ‘(lambda (beg end)
(base64-decode-region beg end) (let ((coding-system-for-write 'binary)
(coding-system-for-read 'binary)) (apply #'tramp-call-process-region
'(tramp-file-name scp myuser nil somehost.somedomain.com nil
/home/myuser/somefile nil) (point-min) (point-max) (car (split-string env GZIP=
gzip -d)) t t nil (cdr (split-string env GZIP= gzip -d)))))’...done
Tramp: Inserting
‘/scp:myuser@somehost.somedomain.com:/home/myuser/somefile’...done
apply: Args out of range: 1628771269, -1, 0
- Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian,
Steinar Bang <=