ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Version 1.5.0 out


From: Jostein Berntsen
Subject: Re: [Ranger-users] Version 1.5.0 out
Date: Fri, 14 Oct 2011 16:30:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On 14.10.11,14:25, Roman Z. wrote:
> On Fri, Oct 14, 2011 at 01:53:39PM +0200, Jostein Berntsen wrote:
> > On 13.10.11,21:20, Jostein Berntsen wrote:
> > > On 13.10.11,20:59, Roman Z. wrote:
> > > > > I ran these commands and installed again, but still is getting the 
> > > > > same result.
> > > > > 
> > > > > 
> > > > > Jostein
> > > > 
> > > > I can't tell what's wrong, sorry.  I've installed ranger-1.5.0 (from
> > > > http://ranger.nongnu.org/ranger-stable.tar.gz) on multiple machines and
> > > > this error has never occured.
> > > > 
> > > > You can, of course, just use it without installing, with no drawbacks.
> > > > 
> > > 
> > > When I run "strace ranger" some of the output is this. Can you see 
> > > something 
> > > from this?
> > > 
> > > stat64("ranger", 0xbff3514c)            = -1 ENOENT (No such file or 
> > > directory)
> > > stat64("/usr/local/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
> > > stat64("/usr/local/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
> > > stat64("/usr/local/bin/ranger", {st_mode=S_IFREG|0755, st_size=1894, 
> > > ...}) = 0
> > > open("/usr/local/bin/ranger.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
> > > such file or directory)
> > > open("/usr/local/bin/rangermodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT 
> > > (No such file or directory)
> > > open("/usr/local/bin/ranger.py", O_RDONLY|O_LARGEFILE) = 3
> > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1792, ...}) = 0
> > > open("/usr/local/bin/ranger.pyo", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
> > > such file or directory)
> > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1792, ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> > > = 0xb770e000
> > > read(3, "#!/usr/bin/python -O\n# coding=ut"..., 4096) = 1792
> > > read(3, "", 4096)                       = 0
> > > unlink("/usr/local/bin/ranger.pyo")     = -1 ENOENT (No such file or 
> > > directory)
> > > open("/usr/local/bin/ranger.pyo", 
> > > O_WRONLY|O_CREAT|O_EXCL|O_TRUNC|O_LARGEFILE, 0100644) = -1 EACCES 
> > > (Permission denied)
> > > fstat64(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> > > = 0xb770d000
> > > close(3)                                = 0
> > > munmap(0xb770e000, 4096)                = 0
> > > write(1, "Can't import the main module.\nTo"..., 107) = 107
> > > write(2, "Traceback (most recent call last"..., 35Traceback (most recent 
> > > call last):
> > > ) = 35
> > > write(2, "  File \"/usr/local/bin/ranger\", "..., 53  File 
> > > "/usr/local/bin/ranger", line 54, in <module>
> > > ) = 53
> > > open("/usr/local/bin/ranger", O_RDONLY|O_LARGEFILE) = 3
> > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1894, ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> > > = 0xb770e000
> > > read(3, "#!/usr/bin/python -O\n# -*- codin"..., 4096) = 1894
> > > write(2, "    ", 4    )                     = 4
> > > write(2, "sys.exit(ranger.main())\n", 24sys.exit(ranger.main())
> > > 
> > 
> > It seems like the ranger program is looking for ranger,so, rangermodule,so 
> > and 
> > ranger.pyo which are not found on my system. I have searched the whole file 
> > system with locate. 
> > 
> > Jostein
> >  
> > 
> 
> You have a very old ranger executable, the error message "Can't import
> the main module" has been removed about a year ago.
> 
> I gave you commands that delete /usr/local/bin/ranger, and "sudo make
> install" would've installed an up-to-date ranger executable.
> 
> Check again that this really happened.
> 

Cleaning up in /usr/local/bin manually and reinstall helped fix this. Thanks.


Jostein






reply via email to

[Prev in Thread] Current Thread [Next in Thread]