deprecation warnings when starting Grok 0.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Released
|
Undecided
|
Jan Wijbrand Kolman | ||
0.11 |
Fix Released
|
Undecided
|
Unassigned | ||
Trunk |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I think this only happens with older Data.fs files, perhaps when there's somehow a broken object (though it isn't
obvious to me which one it would be). It doesn't seem to happen with fresh Data.fs files.
/home/faassen/
__import_
/home/faassen/
__import_
I think this is because Grok 0.11 is using a newer zope.app.error (which deprecates things) and ZODB hasn't been adjusted yet.
Changed in grok: | |
milestone: | none → 0.11 |
Changed in grok: | |
milestone: | 0.11 → 1.0 |
Changed in grok: | |
assignee: | nobody → janwijbrand |
On 12 Nov 2007, at 20:10 , Martijn Faassen wrote:
> I think this only happens with older Data.fs files, perhaps when
> there's somehow a broken object (though it isn't obvious to me which
> one it would be).
Unfortunately, it never is. The ZODB (or zoep.app.broken) coudl
definitely do some better error reporting.
> It doesn't seem to happen with fresh Data.fs files. buildout- eggs/ZODB3- 3.8.0b2- py2.4-linux- i686.egg/ ZODB/ error.interface s has error.interface s will _(modulename) buildout- eggs/ZODB3- 3.8.0b2- py2.4-linux- i686.egg/ ZODB/ error.error has moved to error.error will become _(modulename)
>
> /home/faassen/
> broken.py:181: DeprecationWarning: zope.app.
> moved to zope.error.error. Import of zope.app.
> become unsupported in Zope 3.6
> __import_
> /home/faassen/
> broken.py:181: DeprecationWarning: zope.app.
> zope.error.error. Import of zope.app.
> unsupported in Zope 3.6
> __import_
>
> I think this is because Grok 0.11 is using a newer zope.app.error
> (which deprecates things) and ZODB hasn't been adjusted yet.
I don't think the ZODB imports thigns from zope.app.error. In fact,
I'm certain of that. It must be somemething else in zope.app.broken or
so.
How can we reproduce this problem? Can you share a Data.fs?