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...
http://w
On Wed, 2003-12-10 at 15:36, Sidnei da Silva wrote:
> | 'jar' gives:
> | object :
> | type: getset_descriptor
> | refcount: 2
> | address : 0x40621e6c
> |
> | Thus, asking for the class's _p_jar gives the descriptor back. In ZODB4
> | I hacked around this by requiring that the value of _p_j
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 :
| type: ExtensionClass.ExtensionClass
| refcount: 7
| address : 0x8503bec
|
| If I understand correctly: LabelField is a class that inher
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
__
Actually, there are two equally valuable clues from the debugger
session:
object :
type: ExtensionClass.ExtensionClass
refcount: 7
address : 0x8503bec
If I understand correctly: LabelField is a class that inherits from
Persistence and some other object has a reference to it that isn't via
_
| >1.) "from ZODB import Persistent, PersistentMapping" doesn't work anymore
| >
| >Maybe Zope 2.7 should have a deprecation warning?
|
| Hm, or maybe we should make this work for zodb. Jeremy, what do you think?
What has been decided about this? I notice Yuppie changed the imports
to 'from Glob
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
On Wed, Dec 10, 2003 at 02:17:23PM -0500, Jeremy Hylton wrote:
| On Wed, 2003-12-10 at 14:18, Sidnei da Silva wrote:
| > 'jar' gives:
| > object :
| > type: getset_descriptor
| > refcount: 2
| > address : 0x40621e6c
| >
| > Does that help?
|
| Yes. The code is getting an unexpected raw des
On Wed, 2003-12-10 at 14:18, Sidnei da Silva wrote:
> 'jar' gives:
> object :
> type: getset_descriptor
> refcount: 2
> address : 0x40621e6c
>
> Does that help?
Yes. The code is getting an unexpected raw descriptor. Someone should
be calling __get__() on this descriptor to get the value.
| 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 1
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
| 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 t
On Wed, 2003-12-10 at 13:07, Sidnei da Silva wrote:
> 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.
Proba
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
-
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 - dreamcat
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->Databas
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
htt
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.
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. So
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.
On Wed, 2003-12-10 at 11:45, Sidnei da Silva wrote:
> On Wed, Dec 10, 2003 at 11:32:27AM -0500, Chris McDonough wrote:
> | The default Zope setu
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 occurring)
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 zope.c
| 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.
--
S
On Wed, 2003-12-10 at 11:14, Sidnei da Silva wrote:
> Has anyone run into this one?
[ traceback snipped ]
> ZODB.POSException.InvalidObjectReference: Attempt to store an object
> from a foreign database connection
Do you actually have more than one database connection? In other words,
is the erro
On Wed, Dec 10, 2003 at 02:14:22PM -0200, Sidnei da Silva wrote:
| Has anyone run into this one?
For the records, here's 'classmeta' and 'state' one line before the
exception:
(('Products.Formulator.FieldHelpTopic', 'FieldHelpTopic'), None)
{'field_class': , 'id': 'LabelField',
'title': 'Formula
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 ru
> 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 wil
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
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 momen
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 b
Hello all:
Which is the best (or more used) solution at this moment for having Zope
supporting SSL secure connections?
ZOPE + Apache + Apache mod_ssl + openSSL + Virtual_Host(or similiar
solution)?
Is ok, but it is not a little bit contradictory
31 matches
Mail list logo