[Zope] tracebacks

2000-08-01 Thread Tom Deprez
Hi, Can somebody explain me how you can use the given tracebacks to find the possible error? For example, I get the following error and I know what causes it, but I don't know where I must go to find the code-line where the error starts: I get the following error when I use a table in which a

RE: [Zope] tracebacks

2000-08-01 Thread Tom Deprez
] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Deprez Sent: 01 August 2000 12:41 To: [EMAIL PROTECTED] Subject: [Zope] tracebacks Hi, Can somebody explain me how you can use the given tracebacks to find the possible error? For example, I get the following error and I know what causes

[Zope] Previous Message

2000-08-07 Thread Tom Deprez
Hi all, Please, forget my previous message! Next question : Is there an easier way for writing the following? dtml-let position=sequence-item dtml-var expr="position+1"/dtml-var count-CENTRE_NO dtml-let This gives the sequence order of every record on the total amount of retrieved records.

[Zope] In-tag Batch processing

2000-08-10 Thread Tom Deprez
Perhaps a stupid question, But how can you provide a link to the next batch of items at the start of the batch table? or : assume you have a result from a query, which is shown in batches of 5 items and you want to be able to allow the users to choose a page. How can you show these possible

Re: [Zope] In-tag Batch processing

2000-08-11 Thread Tom Deprez
Thanks Dieter, But I'm using Zope 2.2 So what am I doing wrong? Regards, Tom At 23:02 10/08/2000 +0200, Dieter Maurer wrote: Tom Deprez writes: But how can you provide a link to the next batch of items at the start of the batch table? You need Zope 2.2 or the patch at URL:http

[Zope] Batch processing

2000-08-11 Thread Tom Deprez
eans that it has to iterate 3 times over the list? Isn't there a way so that it needs only one pass over the list? Thanks in advance, Tom Deprez. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross po

[Zope] Batch Processing, final

2000-08-11 Thread Tom Deprez
Pfew, I managed to implement the thing I wanted. However I'm not satisfied. There must be an easier solution. If somebody knows which, then please let me know! Thanks. Here is the code I use to display something like in a search result : Previous 1 2 3 4 5 6 Next dtml-in address_lookup size=5

[Zope] Login and password

2000-08-11 Thread Tom Deprez
Hi, I'm wondering is it possible to implement a way that Zope asks for a password, but not for a login? eg. like you would give several people the same login password, but that the users don't have to enter the login, only the password? Thanks, Tom.

[Zope] Difference between 2 permissions

2000-08-14 Thread Tom Deprez
Hi, What is the difference between Open/Close database connection and Open/Close database connections Thanks in advance, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] problems connections to database

2000-08-14 Thread Tom Deprez
Hi, I get a strange error here. Suddenly the connection to my interbase db doens't works anymore. I get the following message : H2Zope Error/H2 PZope has encountered an error while publishing this resource. /P PSTRONGProducts.gvibDA.gvib.gvibExceptions.Error/STRONG/P Sorry, a Zope

[Zope] Connection problem with database

2000-08-14 Thread Tom Deprez
Hi, If somebody had the same problem as I've now, please let me know something: At certain moments, Zope encounters problems connecting to my database (Interbase, don't know if it is solely Interbase related). When I then Close and reopen the connection, everything works fine again. Somebody

[Zope] open a database connection

2000-08-17 Thread Tom Deprez
Hi, How can I open a database connection from dtml? Thanks in advance, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] open a database connection

2000-08-17 Thread Tom Deprez
Hi, sorry, found it by myself somewhere in the zope directory: for the people who are interesed: manage_open_connection manage_close_connection Regards, Tom. At 14:46 17/08/2000 +0200, Tom Deprez wrote: Hi, How can I open a database connection from dtml? Thanks in advance, Tom

RE: [Zope] Important Security Concerns

2000-09-12 Thread Tom Deprez
I know not much about security because I don't have to worry about it, but out of your talk, it seems that your company finds apache secure. Then why don't you just run Zope behind Apache with a FASTCGI, or something else? Sorry if I'm completely missing the point of your problem. Regards, Tom.

[Zope] ZSQL

2000-09-12 Thread Tom Deprez
Hi, I use an ZSQLMethod to query a database. In the result report I try to insert the results of another ZSQLMethod per each record of the first result report. The problem is that the first record shows the correct result of the second result, but that the following records all show the second

[Zope] SQL

2000-09-20 Thread Tom Deprez
Hi, Somebody experience with a parent code table and how to implement it in Zope (with dtml-tree)? Or is a PArent-Code table not SQL-like and is there a better solution? eg : Parent Code Description 0 0 MasterNode 0 1 Child1 of MasterNode 0 2 Child2 of MasterNode 1

[Zope] Return an object?

2000-09-21 Thread Tom Deprez
Hi, Can someone tell me how I can get the object with a certain 'id'? Does getObject exists or something? Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] Guidelines for showing most exciting things of Zope?

2000-10-03 Thread Tom Deprez
Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you

[Zope] Integers in ZSQLMethod

2000-10-04 Thread Tom Deprez
Hi, Is it possible to use following code in ZSQLMethod : !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int --, But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. ___ Zope maillist - [EMAIL

Re: [Zope] Integers in ZSQLMethod

2000-10-04 Thread Tom Deprez
Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: On Wed, 04 Oct 2000, you wrote: Hi, Is it possible to use following code in ZSQLMethod : !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int --,

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Tom Deprez
Why do you test the one with ZServer and the other with Apache? If you want correct results you've to test both with ZServer or both with Zope behind Apache. Not? Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope] normal result with acquisition?

2000-10-24 Thread Tom Deprez
Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code : dtml-with sql dtml-in selectallcentres tabletrtd dtml-var show_abc /td/tr/table /dtml-in /dtml-with 1) When you call this function from

[Zope] expr

2000-10-25 Thread Tom Deprez
I get an error when using following expr: dtml-in expr="address_select(ADDRESS.CENTRE_NO=CENTRENO)" This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. ___ Zope maillist - [EMAIL

[Zope] Date

2000-11-21 Thread Tom Deprez
Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an easy formula for this? Or do I've to check myself for a new year, leap year Tom. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Date

2000-11-22 Thread Tom Deprez
Hum, but then you also have to take into account the possible year change. But a nice idea. Tom. At 23:17 21/11/2000 +0100, Dieter Maurer wrote: Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months

[Zope] DTML source

2000-11-23 Thread Tom Deprez
Hi, Are there some sites which publish there DTML source(structure)? I'm particulary looking on how several navigation, menu, ... structures are implemented in Zope. On Zope.org you can see the DTML-source. Unfortunately not the implementation of the navigation (or the menu on the left). Tom.

RE: [Zope] Objection to Python Script Name

2000-11-23 Thread Tom Deprez
Why not just Python Script Perl Script ? Tom. At 13:17 23/11/2000 -0400, Dany Rioux wrote: I have to agree with Chris (Gray). It is enough confusing already (for me it is that is :). I personnaly think that a name like "ZoPy Scripting" (w/ or w/o Method) should be used. My 0.02c Dany

[Zope] sqlgroup

2000-11-30 Thread Tom Deprez
Hi, Is there a reason why the attribute 'having' doesn't exists? I want to use dtml-sqlgroup having dtml-sqltest ... optional /dtml-sqlgroup this way when the sql-test tag contains nothing, also the having clause is not attached to the query. Why does 'where' exists and 'having' not? Is

[Zope] ZSQLMethods

2000-12-04 Thread Tom Deprez
Hi, I'm wondering how the following can be done. I've 2 databases. I want to do a 'join' with 2 tables, both in a different database. Is it possible to retrieve data of both tables with a ZSQLMethod and then do a programatically join? What's the easiest python way? Thanks, Tom.

Re: [Zope] ZSQLMethods

2000-12-04 Thread Tom Deprez
to query database2 Is there another way to do this? (more efficient?, ie less database query) Tom. - Original Message - From: "Chris Gray" [EMAIL PROTECTED] To: "Tom Deprez" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, December 04, 2000 3:45 PM Subject: Re: [Zope

Re: [Zope] ZSQLMethods

2000-12-04 Thread Tom Deprez
- From: "Phil Harris" [EMAIL PROTECTED] To: "Chris Gray" [EMAIL PROTECTED]; "Tom Deprez" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, December 04, 2000 5:06 PM Subject: Re: [Zope] ZSQLMethods Depending on the number of records in the tables this could g

[Zope] where (required)

2000-12-04 Thread Tom Deprez
Hi, I've a sort of interpretation error : I want to use the following query 2 ways : 1. Provinding the variables. (will give me one record) 2. Without providing the variables. (will give me all records). I use the following query : select * from address dtml-sqlgroup where dtml-sqltest

[Zope] HTML - ZOPE?

2000-12-05 Thread Tom Deprez
Hi, I'm not sure if this is a strictly zope question, but I hope some people can give me an idea on how to solve this problem. I'm creating a form which has amonng it's input tags 2 comboboxes. Now, the content of one combobox, depends on the selection of the first combobox. How can I

[Zope] Data.fs

2000-12-06 Thread Tom Deprez
Hi, My Zope is installed in /usr/local/zope Is it possible to tell zope to store the data.fs file on another directory? eg. /home/zope/var ie. Can you run zope from the directory /usr/local/zope and let it use the data.fs file from /home/zope/var and not /usr/local/zope/var If so, how can

[Zope] data.fs

2000-12-07 Thread Tom Deprez
Hi, I'm experiencing a strange problem here. I followed the how-to of 4am : Make your life easier with INSTANCE_HOME. Now, when I start zope in debug mode, everything works fine. However! When I start zope in normal mode, I get an error : InstallError : No access file found at cd $ reldir;

[Zope] data.fs

2000-12-07 Thread Tom Deprez
Arg, Forget previous message. Sometimes, you've to get away from the error to find it out. ยด ` are not the same that was the mistake I made in the start script Tom. ___ Zope maillist - [EMAIL PROTECTED]

[Zope] finding by which object uses which methods

2000-12-21 Thread Tom Deprez
Hi, Has somebody created a tool which can tell all the objects which uses a specified object? eg. ask zope to return a list of objects which use standard_html_footer. This tool would come handy to me... perhaps to others also. So if you've created it for yourself, perhaps you want to share it

Re: [Zope] finding by which object uses which methods

2000-12-22 Thread Tom Deprez
and not standard_html_footer. I'm looking which objects depend on certain objects. Regards, Tom. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Tom Deprez" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 21, 2000 8:18 PM Subject: Re: [Zope] finding by which objec

[Zope] Memory problems

2001-01-10 Thread Tom Deprez
Hi, Since a few days I'm experiencing some response problems on my zope site. At some moments calling a page goes very fast a few seconds later, recalling this page takes very long! At the end, every page takes long time, if they ever appear If I use a simple memory checker program, then I

[Zope] ZServer

2001-01-11 Thread Tom Deprez
Hi, Can anybody tell me what the following warning means, or where I can find documentation on this warning? ZServer warning : server accept() threw EWOULDBLOCK Thanks in advance Tom Deprez ___ Zope maillist - [EMAIL PROTECTED] http

[Zope] exporting zope

2001-01-17 Thread Tom Deprez
Hi, I'm looking for the products who can make plain html-files from zope folders. Unfortunately, I can't find them anymore on the zope.org site. Probably I missed them, but are there people who know the names of these products/tools, for easier finding. Are there people who have experience with

[Zope] Flat-style

2001-01-17 Thread Tom Deprez
Not really zope specific, but I hope nobody minds me asking. How do you implement flat-looking input boxes? Does somebody knows this? Thanks in advance, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez
Hi all, Thanks for this file! Yesterday I thought I'd lost it, altough I heard more rumours of 'slowdown' I couldn't find a solution for my problem since I gave that demo and zope was so slow... you should have seen my face at that moment (completely red!). I tried everything, reinstallation of

Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez
Forgive my enthousiastic comment in my previous message! Some more news: The overall response is better than before, but sometimes Zope (or ZServer) is very slow. This slowdown is at my Linux Server and at my Win Clients (NT 4 sp5) It takes 1-2 minutes before I even get the log-on screen (on my

[Zope] Creating PDF's

2001-01-20 Thread Tom Deprez
Hi, I read in Itamar's 'A Developers Guide to learning Zope' about 'Reportlab'. It is a python library to create pdf files. Is there somebody among here who already used this library with zope? And is it possible to give a little example in how we can use it with zope? Thanks in advance, Tom.

[Zope] Zope 2.3

2001-01-20 Thread Tom Deprez
To all who feels him/herself addressed : Congrats to the new look of zope! And to the new implemented products! All I can say is ... keep up the good work! Regards, Tom. ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Object DB versus Relational DB

2001-01-21 Thread Tom Deprez
Hi, Can somebody provide me informational links of documents which present the benefits and non-benefits of both DB? eg. When to use one and when not to use one? Thanks, Tom. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Tom Deprez
ZODB with Data.fs is optimized to fetch data. Inserts or updates have a lot of overhead. It's the price we pay for the excellent versioning features. Therefore, when the are many we have been avoinding ZODB even when the problem domain calls for an OODB Thanks for the link. However, the

Re: [Zope] Editors [OT]

2001-01-25 Thread Tom Deprez
Hi, What about http://freshmeat.net/projects/boa-constructor/?highlight=boa ? I heard about this yesterday from Godefroid. With some changes we perhaps could add a Zope interface? Tom. - Original Message - From: "Dario Lopez-Ksten" [EMAIL PROTECTED] To: "Chris Withers" [EMAIL

[Zope] Problem of performance

2001-01-30 Thread Tom Deprez
Hi, It's strange, I thought I was rid of it, but it seems to pop-up now and then. I'm talking of a slow performance of Zope2.2.x Here is the problem: When I'm working in Zope, the following happens sometimes : eg. I copy an object and then try to paste it. The pasting can take minutes, or the

[Zope-dev] Permission

2000-08-09 Thread Tom Deprez
approach? Which, sounds for me, a little bit more complicated. Thanks for any explanation! Tom Deprez. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-dev] bouncing e-mail

2000-09-27 Thread Tom Deprez
Hi, Has somebody noticed some problems with my e-mail? It looks like my account was turned of at zope-dev. Since I didn't do it, it must be an automatic thing. So my q'n had someone of you problems with my e-mail? Tom. ___ Zope-Dev maillist -

[Zope-dev] Python products

2001-02-07 Thread Tom Deprez
Hi, I'm wondering, is there somewhere a simple example on how to create a python product which behaves like the following ZClasses : A simple zclass which contains some data (this is easy with the existing examples) A folder-like zclass which only allows to contain the simple zclass. (easy?) A

[Zope-dev] ZClass - Python Product

2001-02-22 Thread Tom Deprez
Hi, Is there a way to convert a running application with ZClass to Python Products without loosing data? Even better : Is there a tool which converts a ZClass in a rough Python Product Code? So that we've already the python source code and only have to make to code cleaner? Thanks in advance,

[Zope-dev] python scripts

2001-05-14 Thread Tom Deprez
perfect allow to ignore a parameter when not passed... Can somebody tell me more on this? Why this is the case and perhaps a solution for (2) Thanks in advance, Tom Deprez ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] Re: [Zope] zope t-shirts available!

2001-06-15 Thread Tom Deprez
It would be great if someone going to the ZopeConference in Berlin, working at DC or living close to DC, could take a few t-shirts with him/her. If this would be possible, I would order a Zope and Python t-shirt directly. I'd pay the person in Berlin. This is much easier then sending a check

[Zope-dev] EuroPython2002

2002-05-28 Thread Tom Deprez
Hi all,, Only four days left to take advantage of the early bird registration fee for the EuroPython 2002 26.6 - 28.6.2002 in Charleroi Belgium. The EuroPython congress contains dedicated Zope Tracks! We've several really interesting Zope talks, including about Zope3! And there is more for