unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian
@ 2021-09-11 15:00 Steinar Bang
  2021-09-12 16:48 ` Michael Albinus
  2021-09-14 13:38 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 8+ messages in thread
From: Steinar Bang @ 2021-09-11 15:00 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-19 10:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-11 15:00 Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian Steinar Bang
2021-09-12 16:48 ` Michael Albinus
2021-09-19  8:35   ` Steinar Bang
2021-09-19 10:18     ` Steinar Bang
2021-09-14 13:38 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-09-19  8:36   ` Steinar Bang
2021-09-19  8:55     ` Eli Zaretskii
2021-09-19 10:20       ` Steinar Bang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).