[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] ranger 1.6.0 on the horizon
From: |
Johnathan Jenkins |
Subject: |
Re: [Ranger-users] ranger 1.6.0 on the horizon |
Date: |
Mon, 28 Jan 2013 18:01:25 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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.
On Tue, Jan 29, 2013 at 01:30:18AM +0100, Roman Z. wrote:
> Is that really a crash? For me, it just says "File or directory doesn't
> exist" and exits. Anyway, you can always run "ranger ~" when in a
> directory that doesn't exist.
>
> Roman
>
> On Mon, Jan 28, 2013 at 03:50:16PM -0800, Johnathan Jenkins wrote:
> > Just an idea, sometimes I remove a directory. and rerun ranger in the
> > same terminal, however the directory doesnt exist anymore, causes ranger
> > to crash, is there a way to have ranger default to /home. I'm fairly
> > sure this isnt what you mean for 1.6.0 release. Hardly a bug, more
> > horrible user action. But would be wonderful.
> >
> > On Mon, Jan 28, 2013 at 11:19:40PM +0100, Roman Z. wrote:
> > > Hello ranger users,
> > >
> > > After over a year, it is time for a new minor version number: for ranger
> > > 1.6.0.
> > > This means that new features are getting into ranger-stable, not only bug
> > > fixes. Features like the new file launcher "rifle", rc.conf, visual mode,
> > > removal of the config files "apps.py" and "options.py", a rewritten tabs
> > > backend and several new options and key bindings.
> > >
> > > I'd like to ask you to think of any changes and bug fixes that absolutely
> > > have
> > > to get into 1.6.0. Tell me about your ideas, even if you already told me,
> > > since
> > > I am very forgetful.
> > >
> > > Also, please note that in 1.6.0, all tabs will be converted to 4 spaces in
> > > order to conform with python style guidelines [1] [2]. This might cause
> > > issues
> > > with patches or "git blame", sorry for the inconvenience. Often git
> > > provides a
> > > "--ignore-whitespace" or "-w" option which may help you with the
> > > transition.
> > >
> > > Regards,
> > > Roman
> > >
> > > [1] http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces
> > > [2] https://savannah.nongnu.org/bugs/?36009
> > >
> > >
>
>
>
>
signature.asc
Description: Digital signature