ranger fails to start

Bug #879149 reported by David J. Galvan Jr
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ranger (Debian)
Fix Released
Unknown
ranger (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

running ranger fails to start the program and throws the output:

Traceback (most recent call last):
  File "/usr/bin/ranger", line 58, in <module>
    import ranger
ImportError: No module named ranger

a google search led me to installing python2.6 and sym-linking /usr/bin/python -> /usr/bin/python2.6 (default being /usr/bin/python2.7 ) ---- however, doing so causes CCSM to crash on start, so I've been symlinking back and forth.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ranger 1.4.3-1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Thu Oct 20 18:57:40 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ranger
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David J. Galvan Jr (djgalvan01) wrote :
Revision history for this message
David J. Galvan Jr (djgalvan01) wrote :

just thought of another simple solution, edit the shebang line in '/usr/bin/ranger' from:

#! /usr/bin/python -0

to:

#/usr/bin/python2.6 -0

of course, python2.6 will still need to be installed.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I get the same error message when attempting to run ranger on Ubuntu 11.10. I also found it had been reported to Debian already.

Changed in ranger (Ubuntu):
status: New → Confirmed
Changed in ranger (Debian):
status: Unknown → New
Changed in ranger (Debian):
status: New → Fix Committed
Changed in ranger (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in 'precise' and 'quantal'.

Changed in ranger (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.