[Bug 337729] [NEW] non obvious warning on configuration formatting issue

Sebastien Bacher seb128 at ubuntu.com
Wed Mar 4 13:19:54 UTC 2009


Public bug reported:

Binary package hint: bzr-builddeb

the default.conf for a sponsoring request has "[BUILDDEB" (lacking the
]) which leads to an non very obvious error when running bzr-
buildpackage

"Building using working tree
bzr: ERROR: bzrlib.util.configobj.configobj.ParseError: Invalid line at line "1".

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 896, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 542, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 320, in run
    config = debuild_config(tree, working_tree, no_user_config)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 127, in debuild_config
    config = DebBuildConfig(config_files)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/config.py", line 93, in __init__
    config = ConfigObj(input[0])
  File "/usr/lib/python2.6/dist-packages/bzrlib/config.py", line 143, in ConfigObj
    return _ConfigObj(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/util/configobj/configobj.py", line 1276, in __init__
    self._load(infile, configspec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/util/configobj/configobj.py", line 1359, in _load
    raise error
ParseError: Invalid line at line "1".

bzr 1.12 on python 2.6.1 (linux2)
arguments: ['/usr/bin/bzr', 'builddeb']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
plugins:
  builddeb             /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb [2.1dev]
  bzrtools             /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.12]
  email                /usr/lib/python2.6/dist-packages/bzrlib/plugins/email [unknown]
  launchpad            /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred."

** Affects: bzr-builddeb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
non obvious warning on configuration formatting issue
https://bugs.launchpad.net/bugs/337729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list