← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 822836] [NEW] [6.0]configuration for webdav is uncompatible with --save option

 

Public bug reported:

Staring a V6.0.2 server with this configuration file:
     1	[options]
     2	admin_passwd = admin
     3	[webdav]
     4	enable = True
     5	vdir = webdav
and --save option fails :
Traceback (most recent call last):
  File "/home/sisalpuser/openerp/version6/server/bin/openerp-server.py", line 58, in <module>
    import netsvc
  File "/home/sisalpuser/openerp/version6/server/bin/netsvc.py", line 292, in <module>
    import tools
  File "/home/sisalpuser/openerp/version6/server/bin/tools/__init__.py", line 24, in <module>
    from config import *
  File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 514, in <module>
    config.parse_config()
  File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 375, in parse_config
    self.save()
  File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 479, in save
    p.set(sec,opt,self.misc[sec][opt])
  File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'webdav'

without --save, it is ok
regards

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/822836

Title:
  [6.0]configuration for webdav is uncompatible with --save option

Status in OpenERP Modules (addons):
  New

Bug description:
  Staring a V6.0.2 server with this configuration file:
       1	[options]
       2	admin_passwd = admin
       3	[webdav]
       4	enable = True
       5	vdir = webdav
  and --save option fails :
  Traceback (most recent call last):
    File "/home/sisalpuser/openerp/version6/server/bin/openerp-server.py", line 58, in <module>
      import netsvc
    File "/home/sisalpuser/openerp/version6/server/bin/netsvc.py", line 292, in <module>
      import tools
    File "/home/sisalpuser/openerp/version6/server/bin/tools/__init__.py", line 24, in <module>
      from config import *
    File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 514, in <module>
      config.parse_config()
    File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 375, in parse_config
      self.save()
    File "/home/sisalpuser/openerp/version6/server/bin/tools/config.py", line 479, in save
      p.set(sec,opt,self.misc[sec][opt])
    File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
      raise NoSectionError(section)
  ConfigParser.NoSectionError: No section: 'webdav'

  without --save, it is ok
  regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/822836/+subscriptions


Follow ups

References