Toby Dickenson wrote:
(Ive CCed everyone who has commented on the proposal; I hope thats OK)
Could everyone stick to zope-dev only? One copy of each email is enough ;)
___
Zope-Dev maillist - [EMAIL PROTECTED]
Shane Hathaway wrote:
But you don't need reliability compensation to multiplex. SSH assumes
the transport layer is reliable. So an SSH tunnel and an SSL tunnel are
virtually synonymous.
They're not really, but yeah, I was wrong :)
A SSL forwarder takes a packet, and then sends over
Adam Manock wrote:
For a look at why TCP over TCP is a bad idea, (e.g. ssh port forwarding)
see: http://sites.inka.de/sites/bigred/devel/tcp-tcp.html
For a solution, see: http://sites.inka.de/~bigred/devel/cipe.html
That may be true, but it also means that you need to hook in at the
Toby Dickenson wrote:
but ssh port forwarding is only one layer of TCP. ssh port forwarding
is good.
I'mp pretty sure it's TCP over TCP (ssh protocol does multiplexing). SSL
OTOH is not TCP over TCP.
___
Zope-Dev maillist - [EMAIL PROTECTED]
kapil thangavelu wrote:
twisted is GPL and zope is not gpl compatible and that does not appear to be
changing despite some mention from zc about trying to achieve compatiblity.
Twisted is LGPL, and it might be possible to license it under something that
will work with ZPL. I don't think
Phil Harris wrote:
That said, I think JPE/PJE is the best way forward, but this problem needs
to be solved (if it hasn't already).
Latest CVS README says:
Multithreading
==
Multithreading issues are taken care of.
There is still a known issues concerning process termination
Oops, forgot the URL: http://www.twistedmatrix.com/
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
Chris Withers wrote:
In ZClasses it is possible to control where a ZClass instance
should be permitted to be added, in other words show up
in the factory listing in a ObjectManagers manage_main view.
Didn't Itamar have a proposal/project on this?
It's still unimplemented - you can view
Here's what was causing my KeyErrors, and how I solved it, and why I think
KeywordIndexes broke. I have a keyword index on the "categories" property of
my CatalogAware object. "categories" is a list.
def manage_removeItems(self, ids=[]):
""" Remove listed items from this category """
Carlos Neves wrote:
But that just isn't enough... though it works for a specific caching scheme,
it's not a site wide, or should I say, server wide. Mindstorming with my fellow
workers, one (the boss, and that's why he's the boss) came up with the magic
words... cache the html on it's way
Chris Withers wrote:
I've read that ZPatterns and ZCatalog don't interact too well and I was
wondering if this is also true of the new ZPatterns release. I might be
looking to move something to ZPatterns so that it can get all benefits
of Zope's security system and things like the Catalog,
Shane Hathaway wrote:
Not long ago I created a wrapper around File objects which automatically
splits the file before it reached a predefined limit. It could handle
any number of partitioned file segements.
Yes please! Perhaps it could be integrated into the ZODB codebase while
you're at
Chris Withers wrote:
self.manage_addProperty('AProperty','1\n2\n3','lines')
I'm guessing that this is because self isn't an acquisition wrapper in
__init__ (even though SimpleItem is Acquisition.Implicit) but what am I
supposed to do to add a property in __init__?
I usually override
Shane Hathaway wrote:
Are you running Zope 2.2.1 or later? There were pointer arithmetic
errors that occurred on earlier versions, even with operating systems
that support 2 GB files.
So on W2K, Zope can have 2GB databases? I'd really like to hear if you get
it to work Andy (or if anyone
Philipp Auersperg wrote:
in ZClass I have found a nice-sounding method _setBasesHoldOnToYourButts() grin,
and the source is commented with '#Eeeek', h
What are the risks for a good shot into my foot using this function?
If your new base classes requires some variables to be initialized
"Phillip J. Eby" wrote:
DataSkin is strictly a mix-in class. Sometimes I forget to remind people
of that, and sometimes I even forget it myself. :(
DataskinAddons provides a nice DataSkin-derived class for debugging purposes
- it has a debug() method that prints out __dict__, and lets you
How stable is the latest ZPatterns beta? I'd like to put up a site using
it, but I'm still kinda wary of doing it. Admittedly, I ahven't had any
TransactionErrors since upgrading. Has anyone had them? Or are the
transaction problems solved? That's what worries me most, since it takes
down all
Simon Michael wrote:
Flat Database (was ListMate) is just what I need to whip up an
interface for non-technical administrators - thanks. So I migrated two
data tables ("workshops" "registrations") from gadfly to flatdb
instances using the CSV import feature, and the admin interface is
Chris Withers wrote:
I suspect you will have to build this yourself. Store a sufficiently random
id inside your objects when they are created, and use a ZCatalog to index
them.
blech! ;-)
This is the normal way to keep references to objects. I asked Jim Fulton at
IPC8, and he
Johan Carlsson wrote:
Why are the _p_oid depriciated?
Not depreciated, just "don't use them."
--
Itamar S.T. [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C
___
Zope-Dev maillist - [EMAIL PROTECTED]
Johan Carlsson wrote:
Why are the _p_oid depriciated?
Not depreciated, just "don't use them."
But I want too, why shouldn't I?
They solves my problems with mapping relational data to objects.
I would guess multiple databases can have the same oid's for their objects -
and Zope does
Write a Python Method (install the PythonMethods product first) called say,
publishableObjectValues that does that:
paramself/param
# functions that returns publishable objects
result = []
for o in self.objectValues():
if o.isPublishable(): result.append(o)
return result
--
Itamar
I'm using CVS Zope, and I want to add a function of mine to _, so I have the
following code in a Product's __init__.py:
from log2vis import log2vis
from DocumentTemplate.DT_Util import d
d["log2vis"] = log2vis
However, when I call the function, I get an error about DocumentTemplate,
I setup virtual hosting on Zope 2.2.1 with SiteAccess 2. I used Apache with
ProxyPass (Apache acting as a reverse HTTP proxy in front of ZServer)
instead of FastCGI, since this is much faster (with caching headers apache
is about 10 times as fast as ZServer).
The setup is as follow - each site
Chris Withers wrote:
What difference does it make if you do REQUEST.setVirtualRoot('/',1)?
This might actually solve most of my problems, since it deletes the parents
I don't need from PARENTS. However, when I do this I can't view anything -
it keeps raising Unauthorized. Setting the
Jim Fulton wrote:
It's not really favored, both are quite useful. xml-rpc is more for
when you want two different system to interoperate. ZClient is very
zope specific and probably gives you a bit more functionality than
xml-rpc (because it has the 'remote object' abstraction).
I
Phil Harris wrote:
Have you seen the Zope on CDROM howto?
Try searching on zope.org (when it's back up that is) for it.
I don't think it's relevant actually. WHat you do want is Jim Fulton's talk
about ZODB from IPC8 - search zope.org for that.
--
Itamar S.T. [EMAIL PROTECTED]
I need to do initialize some properties of new instances of a DataSkin
subclass - ASPAccount. However, I can't put this in __init__ since the
object hasn't been stored at that point.
Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem
should by default call a function
(ZPatterns 0.4a5, Zope 2.2.0) If an agent raises an exception, you don't get
to see the traceback. Instead, the object is simply not added (if the
exception was in _objectAdded, donno what happens in _objectChanged). This
makes debugging agents basically impossible...
--
Itamar S.T. [EMAIL
"Phillip J. Eby" wrote:
Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem
should by default call a function on newly created objects, say __init? I
don't want to have to subclass Specialist (or in my case, LoginManager) each
time I want to this, since it's a *very*
(URL:
http://www.zope.org/Members/michel/Projects/Interfaces/RestrictedCreation)
Restricted Creation of Objects
The problem - certain types of objects should not be added except in certain
places or with certain restrictions. For example, we may want to make sure
Laundry objects are only added
Are there (or better yet, what are) any potential problems here? My gut
feeling was that it wouldn't work, but you can at the very least add objects
in instances of the ZClass - deleting and renaming don't work though.
--
Itamar S.T. [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534
Shane Hathaway wrote:
The place where this is needed most (IMHO) is for ZClass factories. So
there needs to be a way to create meta type filters through the Web.
Yes, but in Python products too, where you have Items that should only go in
specific ItemHolders. This is very common.
On the
As far as I can tell, the first time an object is changed, an Agent's
_objectChanged() will be called, but as long as the object is still in the
memory cache, _objectChanged() will not be called again.
That is, I change an object - _objectChanged() is called. However, the
object is now in the
"Dan L. Pierson" wrote:
You might want to take a look at the bottom of http://www.lfw.org/python/...
He finally released it! I've been waiting for this since IPC8.
--
Itamar S.T. [EMAIL PROTECTED]
"It don't get thingier than that!"
___
Petr Knapek wrote:
Container - object with some attributes and methods which can collect
other objects (also Containers)
For these you should inherit from OFS.ObjectManager.ObjectManager.
Item - an object with some attributes and methods which can not collect
any other objects but can be
Hung Jung Lu wrote:
I have been using RAM-based session management for a while, but never wrote
a product for it. Since Graham Chiu has mentioned it again about making a
real product, I have taken the time to make one, and called it HappySession.
:) Well, in short, it uses cookie for session
I've been playing around with ZPatterns, and I must say it's very cool -
finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly
different than regular Zope objects in that you have to find the ZCatalog in
the Rack's acquisition path, but that's about it.
The absolute_url
Sorry if this arrives twice, but mailing lists seem to have swallowed my
earlier mail.
I've been playing around with ZPatterns, and I must say it's very cool -
finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly
different than regular Zope objects in that you have to find
A common pattern when developing in Zope is to have a sort of Document that
contains text with some special codes, and then to render them and return
the output to the user. So we have DTML Documents, and Structured Text
Documents, and Python Methods, and I've written a few for my own use and
I'm adding some RackMountable objects (subclassed from RackMountable and
SimpleItem.Item) and when I try to access them via URL I get an
AttributeError like they don't have attribute __of__:
Traceback (innermost last):
File
Bill Anderson wrote:
I am about to dive into a custom tag, it will be a 'container' tag.
I have seen the HowTo, and it really isn't that clear when you get to
the container tag info.
Can anyone provide a better rundown? Anyone have a custom tag they
would mind sharing for perusal?
Just
42 matches
Mail list logo