ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] Libcaca and Ranger


From: Jostein Berntsen
Subject: Re: [Ranger-users] Libcaca and Ranger
Date: Mon, 31 May 2010 20:06:50 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On 31.05.10,19:42, Roman Z. wrote:
> On Mon, May 31, 2010 at 09:31:15AM +0200, Jostein Berntsen wrote:
> > On 30.05.10,23:26, Roman Z. wrote:
> > > > > Add the --debug switch to ranger to see more details,
> > > > > 
> > > > > How did you install ranger?
> > > > > How do you run ranger to get this error?
> > > > > 
> > > > > 
> > > > 
> > > > When I use the debug switch I get this output:
> > > > 
> > > > "Traceback (most recent call last):
> > > > File "/usr/local/bin/ranger", line 41, in <module>
> > > > from ranger.__main__ import main
> > > > File "/usr/local/bin/ranger.py", line 41, in <module>
> > > > from ranger.__main__ import main
> > > > ImportError: No module named __main__"
> > > > 
> > > > I installed ranger from git and then run "make" and "make install".  I 
> > > > run ranger in a terminal. 
> > > > 
> > > > 
> > > > Jostein
> > > > 
> > > 
> > > It might be a flaw in the Makefile then.
> > > 
> > > What is the output of this command?
> > > 
> > > python -c 'import sys; print("\n".join(sys.path))'
> > > 
> > > 
> > 
> > This is the output from the command above:
> > 
> > "/usr/lib/python26.zip
> > /usr/lib/python2.6
> > /usr/lib/python2.6/plat-linux2
> > /usr/lib/python2.6/lib-tk
> > /usr/lib/python2.6/lib-old
> > /usr/lib/python2.6/lib-dynload
> > /usr/lib/python2.6/site-packages
> > /usr/lib/python2.6/site-packages/PIL
> > /usr/local/lib/python2.6/site-packages
> > /usr/lib/python2.6/site-packages/gst-0.10
> > /usr/lib/python2.6/site-packages/gtk-2.0
> > /usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode"
> > 
> 
> Can you confirm that ranger is installed in one of those paths?
> (most likely /usr/lib/python2.6/site-packages/ranger)
> 
> If yes, you might not have sufficient permissions to read the
> source files.  Or maybe you are starting ranger with another
> python version which has different import paths... like python3.
> Can't think of any other reason why ranger wouldn't run.
> 
> 

Here is the most recent traceback log from ~/.ranger:

Traceback (most recent call last):  File 
"/usr/lib/python2.6/site-packages/ranger/__main__.py", line 199, in main
load_settings(fm, ranger.arg.clean)
File "/usr/lib/python2.6/site-packages/ranger/__main__.py", line 90, in 
load_settings
from ranger.defaults import commands
File "/usr/lib/python2.6/site-packages/ranger/defaults/commands.py", 
line 59, in <module>
alias('e', 'edit')
NameError: name 'alias' is not defined







reply via email to

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