zopectl adduser crash on 2.11.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
zopectl adduser crash: seems to use attributes removed in Zope 2.11:
AttributeError: 'module' object has no attribute '__ac_permissio
zopectl> adduser foo bar
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/opt/scodoc/
opts = _setconfig(
File "/opt/scodoc/
opts.
File "/opt/scodoc/
self.
File "/opt/scodoc/
self.schema = ZConfig.
File "/opt/scodoc/
return SchemaLoader(
File "/opt/scodoc/
return self.loadResour
File "/opt/scodoc/
schema = ZConfig.
File "/opt/scodoc/
xml.
File "/usr/lib/
parser.
File "/usr/lib/
xmlreader.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/opt/scodoc/
getattr(self, "start_" + name)(attrs)
File "/opt/scodoc/
keytype, valuetype, datatype = self.get_
File "/opt/scodoc/
datatype = self.get_
File "/opt/scodoc/
return self._registry.
File "/opt/scodoc/
t = self.search(name)
File "/opt/scodoc/
package = __import__(n, g, g, component)
File "/opt/scodoc/
import OFS.Uninstalled
File "/opt/scodoc/
import SimpleItem, Globals, Acquisition
File "/opt/scodoc/
import AccessControl.Role, AccessControl.
File "/opt/scodoc/
from Globals import DTMLFile, MessageDialog, Dictionary
File "/opt/scodoc/
from App.special_dtml import HTML, HTMLFile, DTMLFile
File "/opt/scodoc/
from Shared.
File "/opt/scodoc/
InitializeC
File "/opt/scodoc/
AccessContr
File "/opt/scodoc/
Products.
AttributeError: 'module' object has no attribute '__ac_permissio
Changed in zope2: | |
status: | New → Fix Committed |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Emmanuel wrote: ns__'
> Public bug reported:
>
> zopectl adduser crash: seems to use attributes removed in Zope 2.11:
>
> AttributeError: 'module' object has no attribute '__ac_permissio
I can't reproduce this problem using the released tarball for 2.11::
$ cd /tmp www.zope. org/Products/ Zope/2. 11.0/Zope- 2.11.0- final.tar 11.0-final. tar python= /path/to/ python2. 4 && make inplace nce.py -d /tmp/lp245649 -u dummy:dummy
$ wget http://
$ tar xzf Zope-2.
$ cd Zope-2.11.0-final
$ ./configure --with-
...
$ bin/mkzopeinsta
$ cd /tmp/lp245649
$ bin/zopectl adduser realuser realpass
with no error. I can log in with those credentials after starting Zope.
Tres. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFIbuNC+ gerLs4ltQ4RAu8x AJ9CLjHZggxoy69 WCtW45EUnygXslQ CbB5kH EC1j1YTs=
mIfammeA1pyArCs
=mosq
-----END PGP SIGNATURE-----