cubicweb #4040315 instance cannot start if section is not upper case in configuration [open]

Got the following error:

2014-06-26 11:43:46 - (cubicweb.configuration) DEBUG: /home/dlaxalde/src/projects/sncf/src/cubes/pn_sncf/site_cubicweb.py loaded
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 162, in run_arg
    status = cmdmeth(appid)
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 536, in start_instance
    if helper.start_server(config) == 1:
  File "/usr/lib/python2.7/dist-packages/cubicweb/etwist/twctl.py", line 42, in start_server
    return server.run(config)
  File "/usr/lib/python2.7/dist-packages/cubicweb/etwist/server.py", line 279, in run
    root_resource = CubicWebRootResource(config, vreg=vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/etwist/server.py", line 65, in __init__
    self.appli = CubicWebPublisher(config, vreg=vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/web/application.py", line 290, in __init__
    self.repo = config.repository(vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/web/webconfig.py", line 278, in repository
    repo = get_repository(config=self, vreg=vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/dbapi.py", line 107, in get_repository
    return _get_inmemory_repo(config, vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/dbapi.py", line 97, in _get_inmemory_repo
    return Repository(config, TasksManager(), vreg=vreg)
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 201, in __init__
    self.init_cnxset_pool()
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 227, in init_cnxset_pool
    config.init_cubes(self.get_cubes())
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwconfig.py", line 1024, in init_cubes
    super(CubicWebConfiguration, self).init_cubes(cubes)
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwconfig.py", line 804, in init_cubes
    self.load_site_cubicweb()
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwconfig.py", line 758, in load_site_cubicweb
    self._load_site_cubicweb(sitefile)
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwconfig.py", line 1107, in _load_site_cubicweb
    self.register_options(mod.options)
  File "/usr/lib/pymodules/python2.7/logilab/common/configuration.py", line 939, in register_options
    self.add_option_group(group, None, options, self)
  File "/usr/lib/pymodules/python2.7/logilab/common/configuration.py", line 484, in add_option_group
    self.cfgfile_parser.add_section(group_name)
  File "/usr/lib/python2.7/ConfigParser.py", line 264, in add_section
    raise DuplicateSectionError(section)
DuplicateSectionError: Section 'pn_sncf' already exists
instance pnsncf10 not started: Section 'pn_sncf' already exists
prioritynormal
typebug
done in<not specified>
closed by<not specified>