[Bugs] #2846 UNSP: view source not parsing bundle path properly

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri May 13 15:31:29 EDT 2011


#2846: view source not parsing bundle path properly
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 The LearnWriting Activity uses a Java-style bundle-path. View Source seems
 to be stopping at the top-level trying to find a .py file.

 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/view/palettes.py", line
 105, in
 __view_source__cb
     setup_view_source(self._home_activity)
   File "/usr/lib/python2.7/site-packages/jarabe/view/viewsource.py", line
 89, in
  setup_view_source
     activity.get_title())
   File "/usr/lib/python2.7/site-packages/jarabe/view/viewsource.py", line
 149, i
 n __init__
     self._source_display.file_path = self._selected_file
   File "/usr/lib/python2.7/site-packages/jarabe/view/viewsource.py", line
 461, i
 n _set_file_path
     self._buffer.set_text(open(self._file_path, 'r').read())
 IOError: [Errno 2] No existe el fichero o el directorio:
 '/home/walter/Activitie
 s/LearningWriting.activity/com.py'

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


More information about the Bugs mailing list