[Bugs] #513 UNSP: sugar-jhbuild: --help-commands not working

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Mar 10 07:48:06 EDT 2009


#513: sugar-jhbuild: --help-commands not working
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  marcopg                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-jhbuild              |        Version:  Git as of bugdate          
    Severity:  Minor                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfimed                 
------------------------------------------+---------------------------------
 sugar-jhbuild --help-commands doesn't work:

 Traceback (most recent call last):
   File "./sugar-jhbuild", line 49, in <module>
     sys.exit(main.main(base_dir, sys.argv[1:]))
   File "/home/sugar/sugar-jhbuild/sjhbuild/main.py", line 116, in main
     options, args = parser.parse_args(args)
   File "/usr/lib/python2.5/optparse.py", line 1385, in parse_args
     stop = self._process_args(largs, rargs, values)
   File "/usr/lib/python2.5/optparse.py", line 1425, in _process_args
     self._process_long_opt(rargs, values)
   File "/usr/lib/python2.5/optparse.py", line 1500, in _process_long_opt
     option.process(opt, value, values, self)
   File "/usr/lib/python2.5/optparse.py", line 782, in process
     self.action, self.dest, opt, value, values, parser)
   File "/usr/lib/python2.5/optparse.py", line 802, in take_action
     self.callback(self, opt, value, parser, *args, **kwargs)
   File "/home/sugar/sugar-jhbuild/sjhbuild/main.py", line 79, in
 help_commands
     for fname in os.listdir(os.path.join(thisdir, 'commands')):
 OSError: [Errno 2] No such file or directory: '/home/sugar/sugar-
 jhbuild/sjhbuild/commands'

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


More information about the Bugs mailing list