[PEAK] PEAK currently doesn't build from CVS on Win32
Paul Moore
pf_moore at yahoo.co.uk
Tue Jul 13 10:19:27 EDT 2004
The persistence module seems not to be present...
Commenting out the _persistence extension from setup.py makes the build go
through.
Also, there's a nasty looking problem if you import peak.binding.api direct
into a new Python instance. I suspect that it's because you need to import
something else first, to get an import hook in place, but nevertheless, it's
not good...
I know, "Don't do that". But I wanted to import that module, just to do help()
on it to get some information. In that context, directly importing just the
module you want to look at seems like a reasonable thing to try...
(> signs changed to $ because gmane thinks I'm top-posting even though I'm
not :-()
$python
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
$$$ import peak.binding.api
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Apps\Python23\Lib\site-packages\peak\binding\api.py", line 3, in ?
from interfaces import *
File "C:\Apps\Python23\Lib\site-packages\peak\binding\interfaces.py", line 4,
in ?
from peak.config.interfaces import IConfigMap, IConfigSource
File "C:\Apps\Python23\Lib\site-packages\peak\config\interfaces.py", line 1, i
n ?
from peak.api import protocols, exceptions, PropertyName, NOT_GIVEN
File "C:\Apps\Python23\Lib\site-packages\peak\api\__init__.py", line 30, in ?
from peak.core import *
File "C:\Apps\Python23\Lib\site-packages\peak\core.py", line 275, in ?
lambda interfaces: (
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 273, in w
henImported
whenImported(
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 273, in w
henImported
whenImported(
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 277, in w
henImported
return _setModuleHook(moduleName,hook)
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 223, in _
setModuleHook
hook(module)
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 274, in <
lambda>
moduleName[:splitpos], lambda m: _setModuleHook(moduleName,hook)
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 223, in _
setModuleHook
hook(module)
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 274, in <
lambda>
moduleName[:splitpos], lambda m: _setModuleHook(moduleName,hook)
File "C:\Apps\Python23\Lib\site-packages\peak\util\imports.py", line 223, in _
setModuleHook
hook(module)
File "C:\Apps\Python23\Lib\site-packages\peak\core.py", line 275, in <lambda>
lambda interfaces: (
AttributeError: 'module' object has no attribute 'IConfigKey'
Paul.
More information about the PEAK
mailing list