all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <87tuirqhqx.fsf@dod.no> (raw)

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



             reply	other threads:[~2021-09-11 15:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 15:00 Steinar Bang [this message]
2021-09-12 16:48 ` Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuirqhqx.fsf@dod.no \
    --to=sb@dod.no \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.