[Zope] manage_changeWorkflow question

2005-04-09 Thread David Pratt
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

Re: [Zope] manage_changeWorkflow question

2005-04-09 Thread David Pratt
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

[Zope] Postgres stored procedures and views support in Zope

2005-05-17 Thread 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

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread David Pratt
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 ___

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread David Pratt
. 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

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-19 Thread David Pratt
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

[Zope] filter_content_type / allowed_content_types query

2005-05-21 Thread David Pratt
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' :

Re: [Zope] filter_content_type / allowed_content_types query

2005-05-21 Thread David Pratt
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

Re: [Zope] Uploading files

2005-06-08 Thread David Pratt
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

[Zope] Set sort variables with nice url

2005-06-21 Thread David Pratt
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

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
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

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
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

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
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

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
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:

Re: [Zope] blacklisting referers and/or specific hosts

2005-07-03 Thread David Pratt
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

[Zope] Make hidden input

2005-07-07 Thread David Pratt
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

Re: [Zope] Make hidden input

2005-07-07 Thread David Pratt
: 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

Re: [Zope] BTreeFolder doubleclick patch

2005-07-07 Thread David Pratt
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

[Zope] DTML bug with database arrays in sqltest

2005-07-08 Thread David Pratt
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

Re: [Zope] DTML bug with database arrays in sqltest

2005-07-11 Thread David Pratt
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

[Zope] Product logging to Postgres

2005-07-12 Thread David Pratt
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

Re: [Zope] XUF and Postgres

2005-07-14 Thread David Pratt
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

Re: [Zope] Product logging to Postgres

2005-07-14 Thread David Pratt
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

Re: [Zope] XUF and Postgres

2005-07-15 Thread David Pratt
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

Re: [Zope] XUF and Postgres

2005-07-16 Thread David Pratt
. 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

[Zope] Folder property with dtml

2005-07-16 Thread David Pratt
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'

[Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread David Pratt
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

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread David Pratt
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

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-20 Thread David Pratt
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

[Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-20 Thread David Pratt
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

Re: [Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-21 Thread David Pratt
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).

Re: [Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-24 Thread David Pratt
: 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

Re: [Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-25 Thread David Pratt
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

Re: [Zope] ZSQLMethod conditional insert

2005-07-27 Thread David Pratt
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

[Zope] ZMI manage main and zpt to provide reasonable view of content type

2005-08-03 Thread David Pratt
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

[Zope] ZODB BTrees File Storage error on start up

2005-08-08 Thread David Pratt
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

Re: [Zope] ZODB BTrees File Storage error on start up

2005-08-08 Thread David Pratt
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

[Zope] BTree Folders questions

2005-08-10 Thread David Pratt
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

Re: [Zope] BTree Folders questions

2005-08-10 Thread David Pratt
. 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

Re: [Zope] ZODB BTrees File Storage error on start up

2005-08-10 Thread David Pratt
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

Re: [Zope] BTree Folders questions

2005-08-11 Thread David Pratt
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

Re: [Zope] FS based product and image replacement

2005-08-12 Thread David Pratt
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

Re: [Zope] FS based product and image replacement

2005-08-12 Thread David Pratt
, 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

[Zope] Workflow question

2005-08-16 Thread David Pratt
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

Re: [Zope] Workflow question - additional information

2005-08-17 Thread David Pratt
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

Re: [Zope] Workflow question

2005-08-17 Thread David Pratt
- 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

Re: [Zope] Workflow question - sort of solved

2005-08-18 Thread David Pratt
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

[Zope] Workflow automatic trigger from FTP (PUT) (was Workflow Problem)

2005-08-19 Thread 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

Re: [Zope] Workflow question

2005-08-19 Thread David Pratt
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

Re: [Zope] Workflow question

2005-08-21 Thread David Pratt
) # 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

Re: [Zope] Workflow question

2005-08-22 Thread David Pratt
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

[Zope] ZTUtils TabindexIterator class

2005-08-24 Thread David Pratt
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

[Zope] SQLObject and Zope2

2005-08-29 Thread David Pratt
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

Re: [Zope] Strange warning after removing products

2005-09-10 Thread David Pratt
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

[Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
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.

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
: 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

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
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

Re: [Zope] how to programmatically control zope?

2005-09-16 Thread David Pratt
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

[Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-17 Thread David Pratt
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

Re: [Zope] Text field and module import questions

2005-09-18 Thread David Pratt
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.

Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-21 Thread David Pratt
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

Re: [Zope] Multiple databases/instances

2005-09-21 Thread David Pratt
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

Re: [Zope] how to programmatically control zope?

2005-09-21 Thread David Pratt
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

Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-22 Thread David Pratt
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

Re: [Zope] filesystem directory view

2005-09-23 Thread David Pratt
Hi David. I would recommend at the blob product. I have been using it with success in CMF. I would consider it a starting point for where you may want to take it. If you are looking for something already developed and ready to go, I would recommend ATManagedFile from Enfold if you plan on using

Re: [Zope] securing webdav

2005-09-23 Thread David Pratt
Hi Tino. Over HTTP is not the problem. It is more on normally https you are rewriting your requests to port 443 with apache proxy and your usual webdav server is port 1980 that is not secure. I am in the same boat as David. I haven't got my webdav running securely at this point either. The

Re: [Zope] How to create an ansynchronous method

2005-09-23 Thread David Pratt
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

Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-23 Thread David Pratt
. 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

Re: [Zope] securing webdav

2005-09-24 Thread David Pratt
Hi Sascha. I realize that you can forward a port this way but this requires providing server accounts to users in addition to zope accounts. scponly is a product to remove other shell functionality - so you can hand out accounts in a more untrusted situation. Either way, handing out server

[Zope] SQLOS, Zope2 and Five

2005-10-25 Thread David Pratt
SQLObject has been updated since original release of SQLOS. It appeared to me yesterday, reviewing the trunk of SVN of SQLOS that it looks like it has being brought up to date. New versions of Five (1.2 and 1.3) also appear to be released soon. I am anxious to move to a different approach to

[Zope] Zope's Webdav port for RESTful web service

2005-11-26 Thread David Pratt
Hi. I am looking at how to implement a RESTful web service in Zope2. Has anyone implemented such a thing that could provide any advice. Is it possible just to use the existing webdav port for this to provide a dedicated port? The only thing close I can think of at the moment is SchoolTool

Re: [Zope] Zope's Webdav port for RESTful web service

2005-11-26 Thread David Pratt
wrote: Am Samstag, den 26.11.2005, 21:17 -0400 schrieb David Pratt: Hi. I am looking at how to implement a RESTful web service in Zope2. Could you expand a bit on whatever a RESTful web service is? thx Tino ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread David Pratt
for this which is reason for possible use of webdav port instead of regular port. Regards, David On Monday, November 28, 2005, at 09:26 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Pratt wrote: Hi Tino. Here are a couple of links that describe it. Boils down

Re: [Zope] [ANN] TextIndexNG 3.1.1 released

2005-12-03 Thread David Pratt
Can TextIndexNG V 3 be used to provide full text search with content stored in a relational database or and accessed through zsql (or potentially other sources besides content within zodb)? I realize this sounds strange since postgres can be made to do a full text search but I am thinking

[Zope] ZDaemon for wsgi server

2005-12-20 Thread David Pratt
Hi I am looking at light wsgi servers to serve an app but want it to be started from command line and have the thread spun off so it stays running (instead of tying up a terminal until a interrupt is given). I was thinking that perhaps ZDaemon could do this since perhaps I could also get

Re: [Zope] Re: ZDaemon for wsgi server

2005-12-26 Thread David Pratt
will eventually use twisted wsgi server. Will Zope2 be going this direction as well or will this be a dead end with ZServer? Regards, David Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Pratt wrote: Hi I am looking at light wsgi servers to serve an app but want

[Zope] Zope and Sqlite3 adapter

2006-01-20 Thread David Pratt
Hi can someone advise whether there is an adapter for sqlite3 for zope. I normally use Postgres but I am curious about this for lightweight use. I realize sqlite3 is not multi-threaded itself but might be fine for small volume sites (if it can be forced to use a single thread for interaction

Re: [Zope] Zope and Sqlite3 adapter

2006-01-20 Thread David Pratt
Hi Dieter. Many thanks. :-) I was hoping there might be something but if I cannot locate anything existing, I will likely go this route if I can find a bit more time. Regards, David Dieter Maurer wrote: David Pratt wrote at 2006-1-20 10:00 -0400: Hi can someone advise whether

Re: [Zope] Zope and Sqlite3 adapter

2006-01-21 Thread David Pratt
: On 1/21/06, *David Pratt* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Dieter. Many thanks. :-) I was hoping there might be something but if I cannot locate anything existing, I will likely go this route if I can find a bit more time. isn't this it? http

Re: [Zope] What product to choose?

2006-01-21 Thread David Pratt
Hi Karlo. Just a few thoughts... I think you would be wise to choose Zope2 for the moment if you feel CMF is the best fit since it is tried and true. Also due to availability of getting help or availability of documentation if your time is tight. I have been developing with Zope2 for almost

Re: [Zope] CMF 2.0.0-alpha released

2006-01-23 Thread David Pratt
This is very cool!! I have been really looking forward to working with this!! Many thanks to those that are making this happen and are pushing Zope2 to the next level! Regards, David Jens Vagelpohl wrote: The CMF developer community and Zope Corporation are pleased to announce the release of

Re: [Zope] SSL over Multiple Zope/Plone sites?

2006-01-24 Thread David Pratt
I think this should be doable for single cert with multiple domains. Setup you exising ip with one domain (ie. mysecure_domain.com). Get the cert on this domain. Setup a rewrite rule in apache for port 443 for mysecure_domain.com You could use a self signed cert to experiment. When user logs

Re: [Zope] SSL over Multiple Zope/Plone sites?

2006-01-24 Thread David Pratt
not follow it through at the time. I am use CMF not Plone however. Regards, David Jens Vagelpohl wrote: On 24 Jan 2006, at 18:10, David Pratt wrote: I think this should be doable for single cert with multiple domains. Setup you exising ip with one domain (ie. mysecure_domain.com). Get

Re: [Zope] SSL over Multiple Zope/Plone sites?

2006-01-24 Thread David Pratt
actually doing anything in Zope. As long as VHM is on it is all fine. Thanks Michael On 1/24/06, *David Pratt* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think this should be doable for single cert with multiple domains. Setup you exising ip with one domain (ie

Re: [Zope] SSL over Multiple Zope/Plone sites?

2006-01-24 Thread David Pratt
at the time when I was trying to work this out for myself with CMF. Regards, David David Pratt wrote: Hi Michael. First you need a way to get to the root of your site two different ways. First is using the domain you have your ssl on and the other for your other domain name(s) www.domain_one.com

[Zope] Status of blobs and rdb plugged into ZODB

2006-03-03 Thread David Pratt
Hi. I have written a blob type product about a year or so ago and I remember at that time there was the promise of being able to plug different backends into the ZODB. This was to be one of the new features of ZODB that would allow some interesting things to occur. What is the status of this

Re: [Zope] Status of blobs and rdb plugged into ZODB

2006-03-04 Thread David Pratt
Hi Andreas. Many thanks for the update. I'll stay tuned. Regards, David Andreas Jung wrote: --On 3. März 2006 18:29:33 -0400 David Pratt [EMAIL PROTECTED] wrote: Hi. I have written a blob type product about a year or so ago and I remember at that time there was the promise of being able

Re: [Zope] best practice, CSS Stylesheets

2006-03-21 Thread David Pratt
Anyone have any idea whether dynamic css via dtml will remain possible as CMF gets more Z3'ish? Or will only possibility be overrides in css itself. Regards, David Peter Bengtsson wrote: Tino Wildenhain wrote: Peter Bengtsson schrieb: John Huttley wrote: Hi, What is the best way of

Re: [Zope] How do you get custom made portal tabs to highlight

2006-03-25 Thread David Pratt
Hi Julian. The actions tool allows you to group actions. CMF on its own has nothing called portal tabs. This is Plone talk I believe. If you are developing in CMF which I am assuming, you are speaking of actions. Any object type can provide actions. In any case, it boils down to writing a

Re: [Zope] Generic SQL insert

2006-04-17 Thread David Pratt
I agree. I am just starting to work with zalchemy in Zope3 and looking to try and make it work with Five so I have it for Zope2. Regards, David Chris Withers wrote: Robert (Jamie) Munro wrote: Whenever I'm using SQL databases in zope, I always seem to have to make a ZSQL instance for

[Zope] Structure for large schema

2006-04-17 Thread David Pratt
Hi. I had asked this question on zope3 about a week ago or so an had no responses. I am hoping I can receive some general guidance on this issue. I am trying to determine the best structure for storing a large schema where some attributes are lists or dictionaries. There are about 70

Re: [Zope] Structure for large schema

2006-04-17 Thread David Pratt
2006 14:08:38 -0300 David Pratt [EMAIL PROTECTED] wrote: Hi. I had asked this question on zope3 about a week ago or so an had no responses. I am hoping I can receive some general guidance on this issue. I am trying to determine the best structure for storing a large schema where some attributes

[Zope] zope.conf question

2006-04-24 Thread David Pratt
Hi. Is there a way to create an INSTANCE_HOME variable in zope.conf more dynamically than hardcoding the path. I want an app to be platform portable so this will be different? Alternatively, I have been considering overriding zope.conf settings for use in zope.app.twisted.main and an

Re: [Zope] zope.conf question

2006-04-25 Thread David Pratt
, wouldn't that be great? Regards, David Dieter Maurer wrote: David Pratt wrote at 2006-4-24 18:29 -0300: Is there a way to create an INSTANCE_HOME variable in zope.conf more dynamically than hardcoding the path. I want an app to be platform portable so this will be different? I fear

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread David Pratt
Tres Seaver wrote: - Another possibility would be to use 'repozo' to create deltas on the primary, and then propagate them to the secondary via rsync, then apply them via 'repozo'. Hi Tres. I have also been investigating strategies but had not thought of this possibility. I am not

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread David Pratt
Andreas Jung wrote: repozo does not help you syncing multiple ZEO server..it just performs an incremental backup of an existing Data.fs file. And I don't know of any solution have multiple master ZEO servers. There can be only one. -aj For sure. I guess the best one could have would be

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread David Pratt
Tres Seaver wrote: ZRS secondaries go into recovery mode whenever they lose connection with the promary: that recovery is sufficient to allow it to resync (even to bring up a new, empty secondary). Hi Tres. This is sort of how I envisioned ZRS (though I have never seen or used it). I

[Zope] First run TypeError

2006-05-06 Thread David Pratt
Hi. I have been experimenting with making a hybrid storage for zodb. The storage seems to work well except that I am getting this error on the first request to the server and I am not exactly sure where it is coming from. Error Type: TypeError Error Value: unbound method method_descriptor

Re: [Zope] First run TypeError

2006-05-07 Thread David Pratt
RequestContainer instance instead) The third GET always succeeds (200 ok) in allowing authentication. The instance behaves as normal in every regard afterwards. This only occurs on startup. Regards, David David Pratt wrote: Hi. I have been experimenting with making a hybrid storage for zodb

Re: [Zope] First run TypeError

2006-05-07 Thread David Pratt
objects with the initial threads to the storage before serving requests. Regards David Andreas Jung wrote: --On 7. Mai 2006 09:04:54 -0300 David Pratt [EMAIL PROTECTED] wrote: I've got a bit more information from my Z2.log: On a normal startup attempt with data.fs: I get one or two lines

  1   2   >