Re: [Zope-dev] Re: Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-10 Thread Lennart Regebro
From: Evan Simpson [EMAIL PROTECTED] Lennart proposed additional methods, but I'm going to work on that in the post-2.7 branches, since I really want to clean up this mess properly, and beta 3 isn't the time. I totally agree. This is new features, introducing that in a beta3 seems very bad. I

Re: [Zope-dev] ZOPE + SSL

2003-12-10 Thread Chris McDonough
Another solution (although I've not actually used it) is the load balancer Pound by Robert Segall in front of Zope. Pound has explicit Zope/SSL support. On Wed, 2003-12-10 at 04:36, Illarramendi Amilibia, Aitor wrote: Hello all: Which is the best (or more used) solution at this moment

[Zope-dev] api docs [Was: Re: Post-mortem ...]

2003-12-10 Thread Yuppie
Hi! Brian Lloyd wrote: Good call. I think it would be best to make sure the docstring of the new method is clear on its reason for being. I think somewhere there is an interface file that is used to generate some of the api docs - ideally that can get updated too. What is the Right Way to keep

[Zope-dev] RE: api docs [Was: Re: Post-mortem ...]

2003-12-10 Thread Brian Lloyd
What is the Right Way to keep api docs in sync? Example 1: ZCatalog/IZCatalog.py seems to be more up to date, but ZCatalog/help/ZCatalog.py is used by the Zope Help System and I guess also to generate api docs. Example 2: I did add OFS/IOrderSupport.py, but how will it become

[Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
Has anyone run into this one? -- 2003-12-10T14:07:53 ERROR(200) Zope Couldn't install Formulator Traceback (most recent call last): File /var/src/zope/head/lib/python/Zope/Startup/run.py, line 27, in ? run() File /var/src/zope/head/lib/python/Zope/Startup/run.py, line 24, in run

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 02:14:22PM -0200, Sidnei da Silva wrote: | Has anyone run into this one? snip For the records, here's 'classmeta' and 'state' one line before the exception: (('Products.Formulator.FieldHelpTopic', 'FieldHelpTopic'), None) {'field_class': class

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
| Do you actually have more than one database connection? In other words, | is the error totally nonsensical or could the bug be that something is | getting stored in a foreign database connection? I'm just starting Zope by './bin/runzope' from a newly-created instance. No ZEO, no nothing. --

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Chris McDonough
The default Zope setup has two databases: the main database and the session database. So it's not completely nonsensical for any default-configured Zope to raise the error (although I have no idea how this error is occurring). It might be worthwhile to specify a main database explicitly in

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 11:32:27AM -0500, Chris McDonough wrote: | The default Zope setup has two databases: the main database and the | session database. So it's not completely nonsensical for any | default-configured Zope to raise the error (although I have no idea how | this error is

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 12:19:47PM -0500, Chris McDonough wrote: | Right. Ugh. I need to fix this. To work around if for the meantime, | you could comment out Application.py's line 348 and other related lines | around it. Ok, commented out 292-360, and now I'm back to the previous traceback.

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Chris McDonough
And you see only the main database in Control_Panel-Databases? On Wed, 2003-12-10 at 12:35, Sidnei da Silva wrote: On Wed, Dec 10, 2003 at 12:19:47PM -0500, Chris McDonough wrote: | Right. Ugh. I need to fix this. To work around if for the meantime, | you could comment out Application.py's

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 12:36:53PM -0500, Chris McDonough wrote: | And you see only the main database in Control_Panel-Databases? No, I can't get this far. The error happens on startup. -- Sidnei da Silva [EMAIL PROTECTED] http://awkly.org - dreamcatching :: making your dreams come true

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Chris McDonough
Right. ;-) At this point I should just try it myself but if you remove the Formulator product, does Zope start? On Wed, 2003-12-10 at 12:52, Sidnei da Silva wrote: On Wed, Dec 10, 2003 at 12:36:53PM -0500, Chris McDonough wrote: | And you see only the main database in Control_Panel-Databases?

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 12:50:29PM -0500, Chris McDonough wrote: | Right. ;-) At this point I should just try it myself but if you remove | the Formulator product, does Zope start? If I remove Plone and Formulator it starts yes. -- Sidnei da Silva [EMAIL PROTECTED] http://awkly.org -

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
| Probably a good next step is to set a breakpoint in | ZODB/coptimizations.c where this exception is raised and find out what | object is causing the problem, which jar it's already in, and why it's | getting added to a different jar. Or you could add some print | statements. I figured out how

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Jeremy Hylton
On Wed, 2003-12-10 at 14:01, Sidnei da Silva wrote: | Probably a good next step is to set a breakpoint in | ZODB/coptimizations.c where this exception is raised and find out what | object is causing the problem, which jar it's already in, and why it's | getting added to a different jar. Or

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
| I think you're looking for the helpers defined in Misc/gdbinit in the | Python distribution. If you add them to your .gdbinit, you'll be | golden. | | I've included that file's contents below so you don't have to go | hunting. Neat! There we have 'object', 'self' and 'self-jar', as of line

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Jeremy Hylton
On Wed, 2003-12-10 at 14:18, Sidnei da Silva wrote: 'jar' gives: object : attribute '_p_jar' of 'persistent.Persistent' objects type: getset_descriptor refcount: 2 address : 0x40621e6c Does that help? Yes. The code is getting an unexpected raw descriptor. Someone should be calling

Re: [Zope-dev] Zope Head (2.8) breaks refresh

2003-12-10 Thread Dieter Maurer
Stuart Bishop wrote at 2003-12-10 11:24 +1100: On 08/12/2003, at 12:15 AM, Dieter Maurer wrote: Playing with Zope Head (as of 2003-12-04) revealed problems with refresh. This is not just a 2.8 issue - the behavior is in the 2.7 betas (at least up to beta 2 - havn't tested autorefresh with

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Jeremy Hylton
Actually, there are two equally valuable clues from the debugger session: object : class 'Products.Formulator.StandardFields.LabelField' type: ExtensionClass.ExtensionClass refcount: 7 address : 0x8503bec If I understand correctly: LabelField is a class that inherits from Persistence and

Re: [Zope-dev] Re: Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-10 Thread Evan Simpson
Brian Lloyd wrote: Good call. I think it would be best to make sure the docstring of the new method is clear on its reason for being. I think somewhere there is an interface file that is used to generate some of the api docs - ideally that can get updated too. Done and done! Cheerios, Evan

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Sidnei da Silva
On Wed, Dec 10, 2003 at 03:26:03PM -0500, Jeremy Hylton wrote: | Actually, there are two equally valuable clues from the debugger | session: | | object : class 'Products.Formulator.StandardFields.LabelField' | type: ExtensionClass.ExtensionClass | refcount: 7 | address : 0x8503bec | | If I

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-10 Thread Jeremy Hylton
On Wed, 2003-12-10 at 15:36, Sidnei da Silva wrote: | 'jar' gives: | object : attribute '_p_jar' of 'persistent.Persistent' objects | type: getset_descriptor | refcount: 2 | address : 0x40621e6c | | Thus, asking for the class's _p_jar gives the descriptor back. In ZODB4 | I hacked

[Zope-dev] zopectl start not working on Mac OS X

2003-12-10 Thread Jim Roepcke
We are planning on shipping Zope 2.7 with the Plone 2 installer for Mac OS X. I can start a Zope instance on Mac OS X 10.2.8 using $INSTANCE_HOME/bin/runzope, but not using $INSTANCE_HOME/bin/zopectl start. I'm using Python 2.3.2 built from source, and Zope was built using: ./configure

[Zope-dev] Preview of a Stackless Zope Application

2003-12-10 Thread Christian Tismer
Howdy, I made a little demo of Stackless Zope. It is just a quick hack to see how things can work. The example is a long-running Python method which prints lines to the browser. The key to this surprizing solution is tasklets, channels, and thread pickling. Let me know your thoughts...