Re: [Zope-dev] "Cache detail" error

2002-01-09 Thread Jens Vagelpohl

my own quick test works now. :)

jens


On Wednesday, January 9, 2002, at 02:01 , Brian Lloyd wrote:

>> ok, i reproduced it. looks like having *any* ZClass among the products in
>> your products folder will cause this symptom.
>>
>> i told brian about it and i assume he will fix it for CVS.
>>
>> jens
>
> I just checked in a fix to the head and 2.5 branch. Jens,
> could you do a quick update and check that it works for
> the sandbox where you reproduced this? Thanks!
>
>
> Brian Lloyd[EMAIL PROTECTED]
> Software Engineer  540.361.1716
> Zope Corporation   http://www.zope.com
>
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: [Zope-dev] "Cache detail" error

2002-01-09 Thread Brian Lloyd

> ok, i reproduced it. looks like having *any* ZClass among the products in 
> your products folder will cause this symptom.
> 
> i told brian about it and i assume he will fix it for CVS.
> 
> jens

I just checked in a fix to the head and 2.5 branch. Jens, 
could you do a quick update and check that it works for 
the sandbox where you reproduced this? Thanks!


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.361.1716   
Zope Corporation   http://www.zope.com



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] "Cache detail" error

2002-01-09 Thread Jens Vagelpohl

ok, i reproduced it. looks like having *any* ZClass among the products in 
your products folder will cause this symptom.

i told brian about it and i assume he will fix it for CVS.

jens



On Wednesday, January 9, 2002, at 11:55 , Brian Lloyd wrote:

>> Clicking on "Cache detail" in the Debug Information
>> Control Panel, I get the following traceback:
>>
>> Zope Error!
>>
>> Zope has encountered an error while publishing this resource.
>>
>> Error Type: AttributeError
>> Error Value: __module__
>
> Hi Andrew -
>
> I'm not able to reproduce this with a stock 2.5b3 install :(
>
> What products do you have installed? From looking at the code,
> it looks like you somehow have an object in your ZODB cache
> whose class has no __module__ attribute. I'm not sure how that
> would happen, unless the __class__ of the object is not really
> a class :(
>
>
> Brian Lloyd[EMAIL PROTECTED]
> Software Engineer  540.361.1716
> Zope Corporation   http://www.zope.com
>
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] "Cache detail" error

2002-01-09 Thread Andrew Sydelko

Brian Lloyd wrote:
> > Clicking on "Cache detail" in the Debug Information
> > Control Panel, I get the following traceback:
> > 
> > Zope Error!
> > 
> > Zope has encountered an error while publishing this resource.
> > 
> > Error Type: AttributeError
> > Error Value: __module__
> 
> Hi Andrew - 
> 
> I'm not able to reproduce this with a stock 2.5b3 install :(
> 
> What products do you have installed? From looking at the code, 
> it looks like you somehow have an object in your ZODB cache 
> whose class has no __module__ attribute. I'm not sure how that 
> would happen, unless the __class__ of the object is not really 
> a class :(

Well, what happens if there is no cache (I'm assuming the c1-*.zec
files are the cache)? Is this the error I'm getting?

The cache detail function doesn't actually query the ZODB in anyway,
right?

We've run into some other interesting things because our ZODB was
started such a long time ago (Zope 1.0 days). 

I'm very interested in a way to run a sanity checker on the Data.fs 
file that we currently have, removing any cruft (and yes, we've 
packed) like invalid objects that Zope would pass over on startup.

--andy.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] "Cache detail" error

2002-01-09 Thread Chris Withers

Brian Lloyd wrote:
> 
> it looks like you somehow have an object in your ZODB cache
> whose class has no __module__ attribute. I'm not sure how that
> would happen, unless the __class__ of the object is not really
> a class :(

Don't ExtentionClass objects behave like that?

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: [Zope-dev] "Cache detail" error

2002-01-09 Thread Brian Lloyd

> Clicking on "Cache detail" in the Debug Information
> Control Panel, I get the following traceback:
> 
> Zope Error!
> 
> Zope has encountered an error while publishing this resource.
> 
> Error Type: AttributeError
> Error Value: __module__

Hi Andrew - 

I'm not able to reproduce this with a stock 2.5b3 install :(

What products do you have installed? From looking at the code, 
it looks like you somehow have an object in your ZODB cache 
whose class has no __module__ attribute. I'm not sure how that 
would happen, unless the __class__ of the object is not really 
a class :(


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.361.1716   
Zope Corporation   http://www.zope.com



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] "Cache detail" error

2002-01-08 Thread Andrew T Sydelko


Clicking on "Cache detail" in the Debug Information
Control Panel, I get the following traceback:

Zope Error!

Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: __module__

Traceback (innermost last):
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZPublisher/Publish.py, 
line 99, in publish
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZPublisher/mapply.py, 
line 88, in mapply
(Object: cache_detail)
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZPublisher/Publish.py, 
line 40, in call_object
(Object: cache_detail)
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/App/CacheManager.py, 
line 189, in cache_detail
(Object: Control_Panel)
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZODB/DB.py, line 161, in 
cacheDetail
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZODB/DB.py, line 135, in 
_connectionMap
  File /data/www/Zope.testing/src/Zope-2.5.0b3-src/lib/python/ZODB/DB.py, line 157, in 
f
AttributeError: __module__


Any ideas?

--andy.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )