#5742 NORM Future : sugar-jhbuild does not set PYTHONPATH or PATH properly

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 28 11:43:35 EST 2007


#5742: sugar-jhbuild does not set PYTHONPATH or PATH properly
-------------------------+--------------------------------------------------
  Reporter:  Phil        |       Owner:  marco         
      Type:  defect      |      Status:  closed        
  Priority:  normal      |   Milestone:  Future Release
 Component:  sugar       |     Version:                
Resolution:  worksforme  |    Keywords:                
  Verified:  0           |    Blocking:                
 Blockedby:              |  
-------------------------+--------------------------------------------------
Changes (by Phil):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Ah ha.  So ... the problem becomes clear.  What's happening is that
 'sugar-jhbuild shell' is actually doing a full login.  Which means it's
 executing .bashrc ... which, on my machine, executes /etc/profile.  Which
 resets PATH and all other sorts of fun stuff.

 I no doubt had a reason to source /etc/profile at some point in the ~8
 year history of my home directory and its .bashrc, but I've completely
 forgotten what that is at this point, so out it goes :)

 Looks like everything's getting set properly now.  Sorry for the noise,
 and thanks for the help; at least now I know where to poke at sugar-
 jhbuild for environment settings.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5742#comment:6>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list