Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#513 closed defect (fixed)

sugar-jhbuild: --help-commands not working

Reported by: sascha_silbe Owned by: marcopg
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Minor Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

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'

Change History (2)

comment:1 Changed 12 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 12 years ago by sascha_silbe

Fix confirmed. Thanks!

Note: See TracTickets for help on using tickets.