[Zope] Problem Creating Instances Mysteriously Solved
Dan Shafer
pydan@danshafer.com
Mon, 22 Apr 2002 15:05:15 -0700
Now *that's* weird! Thanks for that note, Matthew. I could have spent a lot
of time looking for that kind of non-obvious solution.
At 07:26 AM 4/22/2002 -0400, Matthew T. Kromer wrote:
>Sometimes ZClasses can get wedged -- I don't know the details on when,
>but one workaround is to delete the last character from the class ID
>(usually an equal sign) and then add it back again (two separate
>changes). That will usually re-attach broken ZClasses in my experience.
>
>
>On Friday, April 19, 2002, at 08:26 PM, Dan Shafer wrote:
>
>>While we have no idea why this is the case, my incredible Zope hosting
>>dude, David Elkins (hurrah.com) and I managed to get my code working so
>>that I can now create instances of my own ZClasses reliably. We only did
>>two things.
>>
>>We took the code that should have worked and didn't, copied it, and
>>pasted it into a new DTML Method object with a different name (we called
>>it 'test' instead of 'startClearing').
>>
>>We restarted the back end of the Zope server.
>>
>>Now it works. It even works in its original form and name.
>>
>>No clue why. Frankly, only mildly interested in the reason. It works.
>>
>>I must, however, say that this has shaken my confidence in Zope a bit
>>even though I am acutely aware that there could be dozens of non-Zope
>>reasons for this to happen. This was just too weird and it cost me 21
>>unbillable hours.
>>
>>Weird.
>>
>>
>>
>>_______________________________________________
>>Zope maillist - Zope@zope.org
>>http://lists.zope.org/mailman/listinfo/zope
>>** No cross posts or HTML encoding! **
>>(Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
>>http://lists.zope.org/mailman/listinfo/zope-dev )