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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Aug 20 08:22:16 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:  Unconfirmed                
------------------------------------------+---------------------------------
 {{{
 $ python -c 'import sys; print sys.executable'
 /usr/bin/python

 $ sudo rainbow-easy bug python -c "import sys; print sys.executable"
 SyntaxError: invalid syntax

 $ sudo rainbow-easy bug python
 >>> import sys; print sys.executable
 /home/test/
 }}}

 The Python docs say:

 sys.executable
     A string giving the name of the executable binary for the Python
 interpreter, on systems where this makes sense.


 This is using the Ubuntu/Lucid universe rainbow package.

 {{{
 $ apt-cache policy rainbow
 rainbow:
   Installed: 0.8.6-1
   Candidate: 0.8.6-1
   Version table:
  *** 0.8.6-1 0
         500 http://gb.archive.ubuntu.com/ubuntu/ lucid/universe Packages
         100 /var/lib/dpkg/status
 }}}

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


More information about the Bugs mailing list