← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

I'd like to confirm this bug. It took me ages to discover why I couldn't
change the super admin password.

If you have the [webdav] section in your config file you CANNOT change
the admin password via either GTK or Web clients.

Remove the [webdav] section and password changing works again.

** Description changed:

  Staring a V6.0.2 server with this configuration file:
-      1	[options]
-      2	admin_passwd = admin
-      3	[webdav]
-      4	enable = True
-      5	vdir = webdav
+      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)
+   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

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

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

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

Status in OpenERP Addons (modules):
  Confirmed

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


References