You are not logged in.
Pages: 1
It used to be working fine. I am not able to open root own files after last system upgrade about a week ago. I use the command "C-x C-f /sudo::/filename". The error message is
Loading tramp...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Tramp: Opening connection for root@ee using sudo...
Tramp: Sending command `exec sudo -u root -s -H -p Password:'
Tramp: Waiting for prompts from remote shell
Tramp: Sending Password
Tramp: Sending command `exec sudo -u root -s -H -p Password:'
Tramp: Found remote shell prompt on `ee'
Tramp: Opening connection for root@ee using sudo...done
byte-code: Wrong type argument: numberp, 1288672856\.076666676\.0
The number in error message change when I try to open different files. Anyone knows how to fix this? I have no clue. Thank you.
Last edited by since1992 (2010-11-02 22:11:57)
Offline
This is broken stat utility from coreutils 8.6.
The patch is there http://lists.gnu.org/archive/html/tramp … 00012.html
Note, that eshell is also broken in the same way.
Offline
Thank you.
There is a patch code in your link. But I couldn't find tramp-sh.el files in the system using find command. I don't even know how to use that code. So, simply downgrade to coreutils 8.5. And It fixed.
In my last upgrade, there was big amount of upgrading. It was over about 2 GB. I am wondering what this downgrade affects to the system. I hope it works fine though.
Thank you for your great help. You saved me a lot.
Offline
I'm trying to solve this problem, preferably without downgrading coreutils. I also don't have tramp-sh.el on my system, nor tramp-sh.elc. But I do have /usr/share/emacs/23.2/lisp/net/tramp.elc
I did notice aur/tramp 2.1.19-1 and I thought it worth a try to upgrade to that. But in installing I get this error:
error: failed to commit transaction (conflicting files)
tramp: /usr/share/info/tramp.gz exists in filesystem
I could remove /usr/share/info/tramp.gz to get past this error, and see if there are any others. But I'd rather understand the right way to upgrade tramp or solve the issue some other way. How do others install aur/tramp 2.1.19-1?
Offline
Follow up... I installed aur/emacs-bzr, and tramp works in this version.
Offline
Voins, thanks you very much for this link!
For the record, I solved that problem this way:
- copy /usr/share/emacs/23.2/lisp/net/tramp.el.gz in my ~/.emacs folder (which is in my load-path)
- apply the patch by hand
- reload the 2 modified functions
No new package or downgrade needed :-)
The new patch to tramp.el is available in my Git repository: https://github.com/Schnouki/dotfiles/co … d01d004e28
There's no place like ::1
Offline
I know this thread is labelled [SOLVED], but I don't think it is.
I'm configuring another Arch box and encountered this problem all over again. This time, I'm using emacs-nox 23.3-2, so my earlier solution (emacs-bzr) is not an option.
I've tried the tramp that came with emacs, and the newer aur/tramp 2.2.1-3, which I believe has the patch mentioned in this thread. Both versions of tramp just fail to work. They hang when I try to open /sudo::/... or connect to a remote machine.
A simple search for "tramp hangs" returns lots of reasons of pages and explanations, but they all seem rather old and as far as I can tell do not apply to my case (I haven't modified my prompt, use zsh, or anything else weird).
So, I'm stymied.
Offline
Pages: 1