[Zope-dev] Zope 2.7.0-b2 startup error on windows -- SOLVED

Michael Long mlong at datalong.com
Wed Sep 10 14:29:35 EDT 2003


I have found the offending code...he said sheepishly. In the __init__.py
file I had the following:

def initialize(context):
    ...
    import traceback; traceback.print_exc()

instead of:

def initialize(context):
    try:
        ...
    except:
        import traceback; traceback.print_exc()

My thanks goes out to all who helped.

Later,
Mike


> After some further investigation I have found that a product that I am
> developing is causing the error to appear. The product appears to work
> fine in zope. I can add it, create objects with it and the objects are
> persistent. Can someone give me some advice on how to go about debugging
> my product to identify the offending code? The error appears in the
> following environments:
> 
> SuSE 8.2 -- Zope 2.6.1
> WinXP Pro -- Zope 2.7.x
> 
> Thanks,
> Mike
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
> 
> 





More information about the Zope-Dev mailing list