[Zope3-dev] Utility registry bug

2006-07-20 Thread dev
Hi

I included zope.app.module with a additional 
configure.zcml and got the following error.

Note:
I'm not asking to use zope.app.module. I just whould make 
sure that everything is correct with the utility registry.

Do you know what's going on here?

2006-07-20T10:24:23 ERROR ZODB.Connection Couldn't load state for 0x0b
Traceback (most recent call last):
  File D:\projektCompiler\trunk\src\ZODB\Connection.py, line 732, in
setstate
self._setstate(obj)
  File D:\projektCompiler\trunk\src\ZODB\Connection.py, line 786, in
_setstate
self._reader.setGhostState(obj, p)
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 604, in
setGhostState
state = self.getState(pickle)
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 596, in
getState
unpickler.load() # skip the class metadata
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 459, in
find_global
return factory(conn, modulename, name)
  File D:\projektCompiler\trunk\src\ZODB\DB.py, line 615, in classFactory
return find_global(modulename, globalname)
  File D:\projektCompiler\trunk\src\ZODB\broken.py, line 181, in
find_global
__import__(modulename)
  File D:\projektCompiler\trunk\src\zope\app\module\__init__.py, line 69,
in __import__
fromlist)
  File D:\projektCompiler\trunk\src\zodbcode\module.py, line 243, in
_import
mod = registry.findModule(name)
  File D:\projektCompiler\trunk\src\zope\app\module\__init__.py, line 38,
in findModule
manager = zapi.queryUtility(IModuleManager, name)
  File D:\projektCompiler\trunk\src\zope\component\_api.py, line 210, in
queryUtility
return getSiteManager(context).queryUtility(interface, name, default)
  File D:\projektCompiler\trunk\src\zope\component\registry.py, line 132,
in queryUtility
return self.utilities.lookup((), provided, name, default)
  File D:\projektCompiler\trunk\src\ZODB\Connection.py, line 732, in
setstate
self._setstate(obj)
  File D:\projektCompiler\trunk\src\ZODB\Connection.py, line 786, in
_setstate
self._reader.setGhostState(obj, p)
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 604, in
setGhostState
state = self.getState(pickle)
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 596, in
getState
unpickler.load() # skip the class metadata
  File D:\projektCompiler\trunk\src\ZODB\serialize.py, line 459, in
find_global
return factory(conn, modulename, name)
  File D:\projektCompiler\trunk\src\ZODB\DB.py, line 615, in classFactory
return find_global(modulename, globalname)
  File D:\projektCompiler\trunk\src\ZODB\broken.py, line 181, in
find_global
__import__(modulename)
  File D:\projektCompiler\trunk\src\zope\app\module\__init__.py, line 69,
in __import__
fromlist)
  File D:\projektCompiler\trunk\src\zodbcode\module.py, line 243, in
_import
mod = registry.findModule(name)
  File D:\projektCompiler\trunk\src\zope\app\module\__init__.py, line 38,
in findModule
manager = zapi.queryUtility(IModuleManager, name)
  File D:\projektCompiler\trunk\src\zope\component\_api.py, line 210, in
queryUtility
return getSiteManager(context).queryUtility(interface, name, default)
  File D:\projektCompiler\trunk\src\zope\component\registry.py, line 132,
in queryUtility
return self.utilities.lookup((), provided, name, default)
AttributeError: '_LocalAdapterRegistry' object has no attribute 'lookup'
Traceback (most recent call last):
  File C:\Python24\lib\threading.py, line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File D:\projektCompiler\trunk\src\twisted\python\threadpool.py, line
149, in _worker
context.call(ctx, function, *args, **kwargs)
  File D:\projektCompiler\trunk\src\twisted\python\context.py, line 59, in
callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File D:\projektCompiler\trunk\src\twisted\python\context.py, line 37, in
callWithContext
return func(*args,**kw)
--- exception caught here ---
  File D:\projektCompiler\trunk\src\twisted\web2\wsgi.py, line 139, in run
result = self.application(self.environment, self.startWSGIResponse)
  File D:\projektCompiler\trunk\src\zope\app\wsgi\__init__.py, line 54, in
__call__
request = publish(request, handle_errors=handle_errors)
  File D:\projektCompiler\trunk\src\zope\publisher\publish.py, line 147,
in publish
publication.endRequest(request, obj)
  File
D:\projektCompiler\trunk\src\zope\app\publication\zopepublication.py, line
171, in endRequest
notify(EndRequestEvent(ob, request))
  File D:\projektCompiler\trunk\src\zope\event\__init__.py, line 23, in
notify
subscriber(event)
  File D:\projektCompiler\trunk\src\zope\component\event.py, line 26, in
dispatch
for ignored in zope.component.subscribers(event, None):
  File D:\projektCompiler\trunk\src\zope\component\_api.py, line 130, in
subscribers
return sitemanager.subscribers(objects, interface)
  File D:\projektCompiler\trunk\src\zope\component\registry.py, line 292,
in 

Re: [Zope3-dev] buildbot failure in Zope3 trunk 2.4 Linux zc-buildbot

2006-07-20 Thread Benji York

[EMAIL PROTECTED] wrote:

The Buildbot has detected a failed build of Zope3 trunk 2.4 Linux zc-buildbot.


I'll look into this.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Subversion Externals

2006-07-20 Thread Benji York
We (ZC) had some internal buildbots overnight because Twisted's 
Subversion server was having problems.


We've always known that depending on other people's Subversion servers 
was a risk, but I'd like to bring it up for discussion again.


I propose we limit non-zope.org externals repos to feature/bug fix 
development branches.

--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Subversion Externals

2006-07-20 Thread Christian Theune

Benji York wrote:
We (ZC) had some internal buildbots overnight because Twisted's 
Subversion server was having problems.


We've always known that depending on other people's Subversion servers 
was a risk, but I'd like to bring it up for discussion again.


I propose we limit non-zope.org externals repos to feature/bug fix 
development branches.


What's the proposed way to handle those things that are externals now?

--
gocept gmbh  co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Subversion Externals

2006-07-20 Thread Fred Drake

On 7/20/06, Christian Theune [EMAIL PROTECTED] wrote:

What's the proposed way to handle those things that are externals now?


I'm looking forward to Jim's new buildout for these things.  Externals
are painful, and I'd really rather things like Twisted, ZODB, and
ZConfig to be eggs rather than checkouts anyway.


 -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Every sin is the result of a collaboration. --Lucius Annaeus Seneca
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Subversion Externals

2006-07-20 Thread Philipp von Weitershausen
Fred Drake wrote:
 On 7/20/06, Christian Theune [EMAIL PROTECTED] wrote:
 What's the proposed way to handle those things that are externals now?
 
 I'm looking forward to Jim's new buildout for these things.  Externals
 are painful, and I'd really rather things like Twisted, ZODB, and
 ZConfig to be eggs rather than checkouts anyway.

+1

Let's not forget docutils.

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com