ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] ranger 1.6.0 on the horizon


From: Roman Z.
Subject: Re: [Ranger-users] ranger 1.6.0 on the horizon
Date: Sun, 17 Feb 2013 20:46:28 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jan 28, 2013 at 06:01:25PM -0800, Johnathan Jenkins wrote:
> example, I make a dir, or use an existing one. Most often its something
> I downloaded recently, like an archive that creates the dir "taco" in my
> ~/Downloads/ folder. (silly example but you get the idea). If I use cd
> /~Downloads/taco then run ranger from within the dir, it fires up in
> said folder no worries. Now I leave the terminal and delete that directory.
> If I return to the first terminal thats in the same directory and reopen
> ranger I get this
> 
> address@hidden [05:52:37] [~/Downloads/taco] 
> -> % ranger
> ranger version: 1.5.5, executed with python 2.7.3
> Locale: en_US.UTF-8
> Current file: None
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 
> 114, in main
>     fm.initialize()
>   File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 83, 
> in initialize
>     enumerate(self.start_paths))
>   File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 82, 
> in <genexpr>
>     self.tabs = dict((n+1, Tab(path)) for n, path in
>   File "/usr/local/lib/python2.7/dist-packages/ranger/core/tab.py", line 19, 
> in __init__
>     self.path = abspath(expanduser(path))
>   File "/usr/lib/python2.7/posixpath.py", line 356, in abspath
>     cwd = os.getcwd()
> OSError: [Errno 2] No such file or directory
> 
> ranger crashed.  Please report this traceback at:
> http://savannah.nongnu.org/bugs/?group=ranger&func=additem   
> 
> 
> 
> I understand this is totaly a weird usage situation and I explain myself
> poorly, but thats what happens lol.

I can reproduce that crash if I use "ranger --debug".  Do you use
--debug too?

Also: What would you expect to happen?  Ranger can't work in a
nonexistant directory.  Should ranger just act as though it exists?
Should it go to home directory?  I'm not quite sure.

Roman




reply via email to

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