Hi Chris. I downloaded ZASync and did a bit of reading and comparing
between your Stepper product as well. ZASync at present relies on an
older version of Twisted which is now I think into the 2 series so
maybe later the products will come together this way. I think Stepper
is really
.
Regards,
David
On Friday, September 23, 2005, at 02:03 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-9-22 17:50 -0300:
...
I am interested in what you might recommend when you are dealing with
a
number of virtual sites of the smaller zodb scale since this is really
the issue I am
Hi Dieter
This was discussed on a zope mailing list (I think
zodb-dev@zope.org).
Please search the archives (via your favorite search engine).
Thanks. I'll look for this.
ZEO is not very RAM hungry.
Only for packing, a higher amount of RAM is necessary.
This is good to know.
Does
Hi Dieter! This is really nice to know. Zope is really flexible and
so awesome as a result. If I wanted to configure with multiple zodb
for a single ZEO server you say there may be a possible downside in
requiring a single ZEO server per database instance further down the
road. Is this
Hi Eric. I am in the same boat and trying to determine a similar issue. I want to use ZEO because of what I can to to perform maintenance and testing without affecting production sites. I know it is not a problem to work with a mount point (separate database) for each virtual site in a single
method / daemon gets signal to run if not already
running, job gets added to queue and jobs run queue is empty (then
daemon goes to sleep).
Regards,
David
On Wednesday, September 21, 2005, at 10:13 AM, bruno modulix wrote:
David Pratt wrote:
Hi. This discussion has really helped me with my
Hi Ivan. Script Python scripts permit a limited number of modules to
be used for security reasons. You will get these types of errors
whenever you try to import a module that is not allowed. The best way
to use other modules in Zope is by developing a product - like a simple
tool product.
Hi. Is it possible for ZEO to be configured with multiple databases,
one for each virtual host similar to creating a ZODB mount point for an
instance so if there is a problem with a site's database it is limited
to a single site and that individual backups can be made of each ZODB?
Many
Hi. This discussion has really helped me with my question about running
asynchronous methods also since these kinds of requests could be
cronned at the very least. But what about triggering this kind of
script from the running zope instance. Is this possible?
What I am hoping to accomplish
Hi. I have a workflow that is triggered by a file upload and the
processing of the file can be minutes of processing depending upon the
size of the file uploaded. I am concerned about number of threads
available to serve zope so I believe this is a good candidate for an
asynchronous process.
:
On Tue September 13 2005 02:52 pm, David Pratt wrote:
Hi. I have a workflow that is triggered by a file upload and the
processing of the file can be minutes of processing depending upon the
size of the file uploaded. I am concerned about number of threads
available to serve zope so I believe
On Wednesday, September 14, 2005, at 12:11 AM, Ron Bickers wrote:
On Tue September 13 2005 08:16 pm, David Pratt wrote:
How is it that you send a signal to the long running
process?
The long-running process writes a pid file and waits for a SIGUSR1
signal
(using Python's signal module). A small
PlacelessTranslationService is very nasty to remove. It leaves
remnants in the zodb. I do not know about the other two products.
Have you also made sure you have removed from your products management
in ZMI since even if you remove products in Products folder sometime
they will stay unless
I would like to use SQLObject module from Ian Bicking in Zope2. Has
anyone any thoughts on how it could be used and still work with
adapters and zope transactions. If I could handle sql this way, there
is very little effort in moving the code to Zope3 afterwards.
Regards
David
Can I contribute a small TabindexIterator class for ZTUtils. It is not
big, but handy for generating tabindex values in a site. The current
Iterator class available was not meant to do this but this is. I think
this could be added to Iterators.py It seems better to incorporate
something
Hi Dieter.
On Monday, August 22, 2005, at 01:45 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-8-21 23:43 -0300:
...
# Catch put in traversal
def __bobo_traverse__(self, REQUEST):
method=REQUEST.get('REQUEST_METHOD', 'GET')
if method == 'PUT
)
# ob = self.__parent__._getOb(name)
# ob.PUT(REQUEST, RESPONSE)
RESPONSE.setStatus(201)
RESPONSE.setBody('')
return RESPONSE
On Sunday, August 21, 2005, at 05:58 PM, Dieter Maurer wrote:
David Pratt
An automatic trigger in workflow appears possible from FTP'd content
but to soon to be involved in zope heirarchy. You can get hold of the
state_change object from the workflow itself but methods that would
normally be available such as its data attribute or manage_ xxxObjects
type methods
Hi Dieter. This is an excellent idea! I was looking at this to
restrict the content that could be put into the folder as well. This
fits really well with this too. First step is to make new type - will
do this today but might need to ask a question or two when I get to
bobo traverse
variable and the transaction
completes on PUT and no more 426 Error. Yay! I am not sure if there is
any other way to go but interested
if there is a better solution.
Regards,
David
On Wednesday, August 17, 2005, at 06:08 PM, David Pratt wrote:
Hi Dieter. Many thanks for your reply. The place in my
it?
Regards,
David
On Wednesday, August 17, 2005, at 12:13 AM, David Pratt wrote:
I created a workflow for my images so that they would be processed as
soon as they are transferred into a specific directory. It works fine
when I cut and paste images to the directory it acts on but when I FTP
- no errors. Only
generates errors when workflow is attached to type it acts on and then
426 error appears.
Regards,
David
On Wednesday, August 17, 2005, at 05:07 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-8-17 00:13 -0300:
...
but when I FTP
my images to this directory it fails giving
I created a workflow for my images so that they would be processed as
soon as they are transferred into a specific directory. It works fine
when I cut and paste images to the directory it acts on but when I FTP
my images to this directory it fails giving me a 426 Error creating
file. My
Hi Nicholas. You want to put your images, templates, script pythons etc that you want to be available in a skin folder for your product. Then you make skin folder a DirectoryView as part of your product development and install so that the DirectoryView is installed with portal skins. Once you
, but I don't and can't use CMF :)
It's plain Zope.
I'm not interested in skins, this is an internal app, so I just have to provide a usable UI.
Thanks for trying.
ngw
David Pratt [EMAIL PROTECTED]> ha scritto:
Hi Nicholas. You want to put your images, templates, script pythons etc
that you w
This is really super, Jens! This is what I was hoping. Many thanks
for your help and suggestions.
Regards,
David
In CMF-HEAD, which depends on Zope 2.8 and thus guarantees the
availability of BTreeFolder2, it is an oversight that CMFBTreeFolder
is not one of the automatically installed
How many objects should one have in a single folder to consider using
BTree Folder over the regular Folder? Does it make sense to use a
BTree folder for 100 - 500 objects or should it be reserved for
situations where there are say 1000 + objects or more. Are there any
benefits to be gained at
.
Regards,
David
On Wednesday, August 10, 2005, at 07:38 PM, Jens Vagelpohl wrote:
On 10 Aug 2005, at 21:57, David Pratt wrote:
How many objects should one have in a single folder to consider using
BTree Folder over the regular Folder? Does it make sense to use a
BTree folder for 100 - 500 objects
Maurer wrote:
David Pratt wrote at 2005-8-8 11:11 -0300:
I just began receiving this error this morning in one of my event logs
on start up. It looks serious.
2005-08-08T08:49:26 WARNING ZODB.FileStorage Failed to load database
index: exceptions.AttributeError: type object
'BTrees._fsBTree.fsBTree
I just began receiving this error this morning in one of my event logs
on start up. It looks serious.
2005-08-08T08:49:26 WARNING ZODB.FileStorage Failed to load database
index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree'
has no attribute '__basicnew__'
Can someone
Hi Chris. Thanks for your reply. It is a relatively new ZODB from a
fresh 2.8.0 installed a week or so ago.
I went back over what I had been doing last evening with the site and
it looks like something may have happened with a CMFBTree Folder
instance - not sure exactly what at this point
Hi. I have been working on a product in that works with filesystem
content for CMF. I have my content types developed and they are all
registered and working fine but my hitch has to do with edit and views
screens. I want to emulate the way that the ZMI handles things because
the
Hi Thomas. I would say postgres is better for this sort of thing. In
postgres, you can write a function in plpgsql or other function
language (there is also a python function language) that you install in
postgres. In any case once you write it and then call it - it is
executed in a single
New methods on the iterator would do the trick. I had suggested
currval and nextval or similar - two or three simple methods would
increase the versatility of the Iterator class for a variety of things.
Is there interest in adding new methods to ZTUtils to expose these
values? It seems to
:
David Pratt wrote:
Ah, I see what you're after, something akin to an SQL sequence,
right?
Well, Iterator ain't that ;-)
I guess something like that but that is what an iterator does.
Why makes you think ZTUtils Iterators were designed for this?
Well, by hand is not the solution either
Ah, I see what you're after, something akin to an SQL sequence, right?
Well, Iterator ain't that ;-)
Hi Chris
I guess something like that but that is what an iterator does. ZTUtils
just doesn't provide a method to get the values out of it (which it
could if the methods were available).
On Wednesday, July 20, 2005, at 03:51 AM, Chris Withers wrote:
David Pratt wrote:
div tal:define = tabindex python:Iterator(range(100));
div
.. html form contents
.. a field
input tal:attributes=tabindex/next ...
... another field
this.
Regards
David
On Wednesday, July 20, 2005, at 10:24 AM, Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Pratt wrote:
Hi Chris. Thanks for your reply.
My understanding (which may be flawed) is that ZTUtils iterator
provides
values of a sequence as you iterate over
I want to intialize the value of ZTUtils.Iterator and use the value
to increment tabindex attribute in my ZPT for forms in CMF
Something like:
div tal:define iterator python:modules['ZTUtils'].Iterator;
div
.. html form contents
.. a field
the iterator for the next value.
What am I missing?
Regards,
David
On Tuesday, July 19, 2005, at 07:18 PM, Peter Bengtsson wrote:
On 7/19/05, David Pratt [EMAIL PROTECTED] wrote:
I want to intialize the value of ZTUtils.Iterator and use the value
to increment tabindex attribute in my ZPT for forms
.
Garth
On 7/15/05, Dieter Maurer [EMAIL PROTECTED] wrote:
David Pratt wrote at 2005-7-14 20:30 -0300:
Thanks Dieter. I was really hoping it is a good solution since it is
the only User Folder product for Postgres that I have seen thus far.
Chris Withers would tell you, that Simple User Folder
I want to test for a value of a folder property to conditionally
include css in a css.dtml
instead of putting a condition on the whole css file in zpt or adding
additional css
to unstyle and restyle in some classes in same skin.
Something like this...
dtml-if 'here.my_property == some_value'
schrieb David Pratt:
| I am looking at using the ExUserFolder with Postgres. Any users
of
| this combination that could share feedback (positive or negative)
on
| how this solution is working for them. Many thanks.
|
| I use it but in a very hacked up form because I need inline auth
| and I
Thanks Dieter. I was really hoping it is a good solution since it is
the only User Folder product for Postgres that I have seen thus far.
Regards
David
On Thursday, July 14, 2005, at 06:49 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-7-14 12:46 -0300:
I am looking at using
On Thursday, July 14, 2005, at 05:40 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-7-12 10:44 -0300:
I am wanting to log a product to postgres database. I want to write to
the log from my Script Python methods (in skins) when certain actions
occur. The product itself uses a number of zsql
I am wanting to log a product to postgres database. I want to write to
the log from my Script Python methods (in skins) when certain actions
occur. The product itself uses a number of zsql methods. Can I import
existing zope logging classes in my Script Python to to this or will I
need to
uly 10, 2005, at 06:59 PM, Dieter Maurer wrote:
David Pratt wrote at 2005-7-8 14:08 -0300:
...
dtml-and>
dtml-sqltest column=a_table.an_array_field[dtml-sqlvar
an_array_key type=int>][2] name=a_title_var op=eq type=string
optional>
. (rest of query)
The issue is how to test agai
I am using arrays in Postgres. I need to be able to compare a string value in a specific position of a text array field (text[] is a field type in Postgres) against a variable(argument) I am passing to my query. I am only using parts of the query to illustrate the problem as the rest is
Hi. I am trying to use the make_hidden_input function in ZTUtils to
create a hidden input in a ZPT but it does not appear.
I am using this:
form name=language_delete_form action=actions_language_summary
method=post enctype=multipart/form-data
tal:define=mhi
:
On 7/7/05, David Pratt [EMAIL PROTECTED] wrote:
Hi. I am trying to use the make_hidden_input function in ZTUtils to
create a hidden input in a ZPT but it does not appear.
Well, then, whats the problem?! :-) (sorry)
___
Zope maillist - Zope@zope.org
Hi Peter or Shane. I have been using nested CMFBTreeFolders inside a
CMF instance but I am not clear on difference between CMFBTreeFolder
and BTreeFolder2. I am trying to limit the number of objects to 2000
per folder. Either folder type can be made inside a CMF site. Should I
be using
Hi Tim. I think what Jens has to say is the best solution. I have also
made my own thing with zope as well since I don't always have control
of the firewall. I worked out a simple ip and country-ip solution. I
made a simple interface for adding ips to a black list or selecting
countries to
I have gone over the zope book to see what I can do about calling a sql
with a form and getting three additional parameters in the request and
am wanting this to get better looking urls that calling the parameters
directly in the url. I asked a similar question yesterday but perhaps
it
to be one of the goals of using zope's traversal. I am
exploring the possibilities of getting rid of the ? = in my
application.
Regards,
David
On Wednesday, June 22, 2005, at 12:14 PM, Jonathan wrote:
- Original Message - From: David Pratt
[EMAIL PROTECTED]
I have gone over
in get_environ() to
http://demo.issuetrackerproduct.com/
ListIssues?sortorder=urgencyreverse=true
On 6/22/05, David Pratt [EMAIL PROTECTED] wrote:
I have gone over the zope book to see what I can do about calling a
sql
with a form and getting three additional parameters in the request and
am wanting
Hi Pascal. These are good suggestions. Can you point me to something
that could help me with the Site Access Rule part of this solution? I
am sure I can google for a mod_rewrite rule that could help.
Regards,
David
On Wednesday, June 22, 2005, at 12:18 PM, Pascal Peregrina wrote:
Hi. I have a nice scheme for my ordering, sorting and batch paging my
summary columns for objects and sql data but I have been using urls
like
employee_edit_form?employee_id=42start:int=2sort=employeereverse:int=
0 in my lists up till now.
These would be tal:attributes in my zpt, (a
Hi Tino. I was reading this and I was looking at incorporating some
kind of response to users while processing a time consuming script. I
was thinking about just putting up an animated gif that says
'Processing' (or something similar or to send some text advising where
they are in the
I am creating a CMF product. It is simple and will only have an id,
title, description and the ability to upload its content. I am wanting
to restrict the files uploaded to a certain mime type, specifically
.txt files (plain text).
I see many products like this:
'filter_content_types' :
wrote:
David Pratt wrote at 2005-5-21 12:36 -0300:
I am creating a CMF product. It is simple and will only have an id,
title, description and the ability to upload its content. I am
wanting
to restrict the files uploaded to a certain mime type, specifically
.txt files (plain text).
I see many
it
on a development server to learn and experiment.
Regards,
David
On Thursday, May 19, 2005, at 05:39 AM, Lennart Regebro wrote:
On 5/18/05, Stephan Richter [EMAIL PROTECTED] wrote:
On Wednesday 18 May 2005 16:50, David Pratt wrote:
Wow. This could really simplify things however I am still
Can someone advise whether Zope3 with continue to use DTML for
filesystem zsql or is there something else? I am starting something
and concerned about compatibility say a year or more from now when
Zope3 will become the standard.
Regards,
David
___
. I could really use that now. I haven't used Five
before. Would this allow me to use the zope schema to autogenerate my
forms with the validation but run it through Zope2?
Regards
David
On Wednesday, May 18, 2005, at 11:56 AM, Stephan Richter wrote:
On Wednesday 18 May 2005 10:45, David Pratt
Can someone tell me whether/how zope supports views and stored
procedures with zope. Do I need any other product besides the psycopg
adapter? Any links to references appreciated.
Regards
David
___
Zope maillist - Zope@zope.org
Hi, I have been working through programatically adding and modifying my
workflows. I managed to get my workflow factories installed and then
used the manage_addWorkflow to obtain the desired workflow with the
appropriate id. Where I am having trouble is changing my default
workflow to my new
to be?
David
On Saturday, April 9, 2005, at 12:41 PM, David Pratt wrote:
Hi, I have been working through programatically adding and modifying
my workflows. I managed to get my workflow factories installed and
then used the manage_addWorkflow to obtain the desired workflow with
the appropriate id. Where
101 - 166 of 166 matches
Mail list logo