[Erik Enge]
| What happens if you run this with ZEO? Will the file be kept «in
| sync» with all ZEO Clients?
Good point. I don't think so. It could be that it is kept in sync
with one Zope instance "being responsible" and the others calling
it via XML-RPC.
Cheers,
Morten
Hola!
Some of us over at ZopeZen.org (URL:http://www.zopezen.org) have
been discussing the fenomena that is called ZopePrints. I'll give a
brief explanation, and would appretiate feedback as to whether this a
good idea or not.
A ZopePrint is a document, or maybe a set of documents, which
Morten W. Petersen wrote:
[Erik Enge]
| What happens if you run this with ZEO? Will the file be kept in
| sync with all ZEO Clients?
Good point. I don't think so. It could be that it is kept in sync
with one Zope instance "being responsible" and the others calling
it via XML-RPC.
Johan Carlsson wrote:
Hi,
I am trying to figure out ZPatterns and because I rather work with Python Products
when with Zclasses I am trying to convert the EmployZ product to Python.
So far I got half the way there, the Rack recognizes the DataSkin
And on newItem in the Specialist it a new
Johan Carlsson wrote:
Hi,
I am trying to figure out ZPatterns and because I rather work with Python Products
when with Zclasses I am trying to convert the EmployZ product to Python.
So far I got half the way there, the Rack recognizes the DataSkin
And on newItem in the Specialist it a new
On Mon, Feb 12, 2001 at 01:31:04AM +0100, Morten W. Petersen wrote:
As I've understood it, two threads serving requests have a copy each of the
database, and only when changes are committed are they reflected in
the database. Therefore, two requests created at the same time could
get an
Hi all,
I'm trying to get InterbaseStorage working on Win32.
I've got all the requisite parts and they all seem to be working OK (well,
kinterbasdb and mxDateTime do) outside Zope in plain Python.
When I try and import _kinterbasdb.dll, from within Zope I'm getting an
error message:
Unable to
[Wolfgang Strobl]
| Doesn't even install on Windows, because it imports and uses fcntl.
|
| From the fcntl docs: "Availability: Unix".
Well, the download page says "Platform: Generic UNIX-like", doesn't it?
-Morten
___
Zope-Dev maillist - [EMAIL
Steve Alexander wrote:
Johan Carlsson wrote:
You need to derive EmployX from DataSkin and some Zope persistent
class such as SimpleItem. Otherwise,
it won't be persistent.
Accualy I dont have to do that.
Looking more closely at DataSkins.py, I see that class DataSkin derives from
But as I noticed the "properties" was saved as
attributes not as properties in a propertysheet.
That's another way of doing it. It is a bit less transparent.
I find it more straightforward to make my classes SimpleItems
and PropertyManagers, as it means I can just call
You need to derive EmployX from DataSkin and some Zope persistent
class such as SimpleItem. Otherwise,
it won't be persistent.
Accualy I dont have to do that.
Looking more closely at DataSkins.py, I see that class DataSkin derives from
Persistent.
So, I was wrong -- please
Johan Carlsson wrote:
Ah, I see.
But why do I need SimpleItems, isn't PropertyManagers sufficient?
It makes your class play nicely with Zope.
So, it can work with DAV, be copied and pasted, properly work
with traversal, work with ZDOM, be Owned, support undo, work
with Acquisition, and
Johan Carlsson wrote:
Whoooha!
I added PropertyManager to EmployX and it saves properties?
Is that a question? I'm not sure I can answer that.
Is this correct?
- The objects are stored presistently in the Racks storage (BTree).
With the way a rack is set up by default, yes. You just say
Jon Franz [EMAIL PROTECTED] wrote
Ah! this makes more sense, the idea of persistent properties even
fits with this idea, though a true write-in-place property might be
even better for some applications ;)
Two things:
* Don't count on storing the hit counter as a separate, "persistence
[Tres Seaver]
| Please see:
|
| http://dev.zope.org/Projects/PTK
|
| for our work-in-progress.
Hey, looks like what I'm after. I can see that it's a work in
progress, so if you need any help, give me a shout. It didn't say too
much about the project itself, do you have any such information
Anyone know how I can log or view the http headers that Zope sends when it
responds to a http request?
Tim McLaughlin
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
-Original Message-
From: Jeremy Hylton [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 10, 2001 1:49 AM
To: Chris Withers
Cc: Anthony Baxter; Chris McDonough; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [Zope-dev] Greedy except clauses
"CW" == Chris Withers [EMAIL
On Mon, Feb 12, 2001 at 02:27:24PM +, Toby Dickenson wrote:
On Mon, 12 Feb 2001 10:27:02 +0100, Martijn Pieters [EMAIL PROTECTED]
wrote:
The ZODB will invalidate and force a retry on one of the connections.
Chris's code is threadsafe and will result in unique, sequential values.
"TJ" == Tom Jenkins [EMAIL PROTECTED] writes:
TJ I agree. I think this would be a good project for new zope
TJ developers to get into the zope code. Would we need an
TJ ZopeException class hierarchy?
IME, it's been a good idea to have a root exception class per
subsystem, which
Timestamp columns do not seem to be converted to DateTime objects in Zope
when used with 2.2.4 and PoPy 1.4.1 and ZPoPyDA 1.0.1. It returns a string
object which will not convert to a DateTime without some help. The string
returned is this '2001-01-24 21:52:19-05' which does not convert because
I have concluded that DateTime has bugs in its isCurrent* methods.
Basically isCurrentMinute, isCurrentHour, isCurrentDay and
isCurrentMonth all would return true at inappropriate times. For
instance, isCurrentDay will currently return true if the day number of
the date is equal to the current
Steve Alexander wrote:
Chris Withers wrote:
Hi,
I was if do something like:
if zope_version = 2.3:
# balh
else:
# blah
Where do I get the zope_version bti and what format will it be in?
You can get it as version_txt from Control_Panel. For example, from DTML:
I've put up the latest version of my DataSkin as Python Laboration Product
I have done 2/3 of my goal, that is to have Plugin/DataSkins.
(the next 4/3 will probably be to let a SQL-server take care of the attributes.)
If anybody would have a peek it's at:
Chris Withers writes:
Is it true that you have to have the Manager role to use any methods that start
with manage_?
No.
"manage_" methods are mapped to permissions (as are any other methods).
You can decide which roles have which permissions.
If you like, you can 'Anonymous' (or any
Another you might consider (though Shane's is great, but
required Tkinter, which not everybody (me!) has really easy
accesss to... ) is the more browser based, but less flexible:
http://www.cyberclip.com/webdebug/
-steve
"SA" == Steve Alexander [EMAIL PROTECTED] writes:
SA Tim
Gang,
BTreeFolder, now at version 0.2, has been updated for Zope 2.3.0,
including the managment interface and the fix for a clipboard bug.
Come'n get it!
http://www.zope.org/Members/hathawsh/BTreeFolder
If no one reports any problems, I think we can consider this version
"stable" and re-label
[Morten W. Petersen]
| There's a new product available, which enables unique ids in a given context,
| take a look at url:http://www.zope.org/Members/morphex/ThreadSafeCounter.
On every view - a call to index_html() - it prints '{}' to stdout. Bug?
[Erik Enge]
| On every view - a call to index_html() - it prints '{}' to stdout. Bug?
Forget it. My fault. *shame, shame*
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
[Shane Hathaway]
| If no one reports any problems
No problems so far :). Tried them with Zope 2.2.1.
| But here's the biggest news: the Refresh product
Excellent! When will this be included in standard Zope distributions?
___
Zope-Dev maillist -
So the only difference between this and FSCounter is that you implemented
the locking I didn't. To cut a long story short the reason i didnt
implement locking was Python on Windows doesnt have fnctl
(http://velocity.activestate.com/docs/ActivePython/lib/module-fcntl.html),
Perl does though
Anyone tried or got a script to create / delete the windows registry
settings for running a zope server as a service. It would make my life a lot
easier... If no-one has I could recreate them from observation.
Cheers.
--
Andy McKay.
___
Zope-Dev
Last week I was setting up an Apache VirtualHost to point to a Zope
object tree using the ProxyPass directive and SiteAccess to get all the
urls right (great stuff!).
However, I noticed that the REMOTE_ADDR was always set to the
proxy host. This makes sense because Zope just gets the host/port
[Andy McKay]
| I released FSPoll recently and was going to combine the two into one
| FSCountThing with FSPoll and FSCounter subclassing of it, so maybe we could
| co-operate on ThreadSafeCounter and FSCounter?
The ideal solution would be to use an object that lives in the ZODB, I wonder
if
[Erik Enge]
| Forget it. My fault. *shame, shame*
*chuckle* :-)
-Morten
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
If I recall correctly, there is a tool for doing this call srvany, part of
the resource kit.
Mine installed as a service on w2k by default...
Chris.
On Mon, 12 Feb 2001, Andy McKay wrote:
Anyone tried or got a script to create / delete the windows registry
settings for running a zope
35 matches
Mail list logo