[Bugs] #2199 UNSP: Rainbow changes Python's sys.executable, breaking 0launch's GUI

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Aug 21 05:40:25 EDT 2010


#2199: Rainbow changes Python's sys.executable, breaking 0launch's GUI
------------------------------------------+---------------------------------
    Reporter:  talex5                     |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  0sugar                     |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Needinfo                   
------------------------------------------+---------------------------------

Comment(by talex5):

 (sorry, maybe 0sugar is the wrong component but I couldn't find a better
 one)

 zeroinstall/injector/download.py uses sys.executable to run a new copy of
 Python. This doesn't work under rainbow, because sys.executable is wrong
 for some reason.

 e.g.

 Use rainbow-easy to get a new shell. Run:

 {{{
 0launch --gui http://rox.sourceforge.net/2005/interfaces/Edit
 }}}

 This gives the error "[Errno 13] Permission denied".

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2199#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list