RE: [Zope] is it possible to see whether any user is using a perticular zope object
Hi, Same as you, i tried to use this gadfly thing when I started and even when choosing it I received a message from zope telling me that it wasn't the real thing/unreliable/etc. I *think* there is a more stable GadFly somewhere but I would advise you to go with mySQL which I use and never had any problems with. Unless I'm wrong, it wouldn't be such a pain to change to mySQL or other DBMS... You would only have to dump the content of the current DB and create the tables, if necessary. mySQL's learning curve is not that big and is faily easy to understand/use/get used to. HTH Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of subrahmanyan kalathur Sent: Wednesday, November 22, 2000 7:36 AM To: Phil Harris; Chris Withers Cc: [EMAIL PROTECTED] Subject: Re: [Zope] is it possible to see whether any user is using a perticular zope object No, I haven't used any other DBMS. I have almost finished working in this gadfly. So I can't change now. Because there is no time to change it now. So please give me the solution. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
In reality changing the dbms shouldn't cause too many problems (I'd give it a day to get the conversion done myself). Try MySQL or Interbase as they work fine on Win32 (which if I remember correctly is what you use?) Phil - Original Message - From: "subrahmanyan kalathur" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]>; "Chris Withers" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 11:36 AM Subject: Re: [Zope] is it possible to see whether any user is using a perticular zope object > No, > I haven't used any other DBMS. > I have almost finished working in this gadfly. > So I can't change now. > Because there is no time to change it now. > So please give me the solution. > thanks > > yours, > > K.H.Subrahmanyan > > ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
No, I haven't used any other DBMS. I have almost finished working in this gadfly. So I can't change now. Because there is no time to change it now. So please give me the solution. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
Have you tried using any other dbms to alleviate the problem. - Original Message - From: "subrahmanyan kalathur" <[EMAIL PROTECTED]> To: "Chris Withers" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 11:03 AM Subject: Re: [Zope] is it possible to see whether any user is using a perticular zope object > hi > I am n using gadfly database. > This is not the problem of ZSQL method.(I think) > Because when only one user is working there won't be any problem. > It seems like when more than one users access the same table it gives the > error message. > That is why when more than one users try to access the same DTML method > only one will be able to continue , others will get the error message. > > thanks > > yours, > > K.H.Subrahmanyan > > ( [EMAIL PROTECTED] ) > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
hi I am n using gadfly database. This is not the problem of ZSQL method.(I think) Because when only one user is working there won't be any problem. It seems like when more than one users access the same table it gives the error message. That is why when more than one users try to access the same DTML method only one will be able to continue , others will get the error message. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
subrahmanyan kalathur wrote: > > Error Type: SyntaxError > Error Value: unexpected token sequence.near :: "\012Q_name = 'q24'"*'' > *** current state = 231 expects: 'EXCEPT', '+', > ')', 'HAVING', '-', 'UNION', 'AND', 'GROUP', '*', ';', 'OR', 'ORDER', > 'INTERSECT', ('nomatch1',) current token = ((-6, 'WHERE'), 'WHERE') It sounds more likely that your SQL has problems. Perhaps you could post your ZSQL method to the list? (but only if it's shorter than 20 lines long! ;-) What dabatase are you using? What database adapter? What versions? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
hi, when I use the DTML method which include call to SQL methods, if someone is also using that DTML Method then either of us get the error message. And the error message is as follows. Error Type: SyntaxError Error Value: unexpected token sequence.near :: "\012Q_name = 'q24'"*'' *** current state = 231 expects: 'EXCEPT', '+', ')', 'HAVING', '-', 'UNION', 'AND', 'GROUP', '*', ';', 'OR', 'ORDER', 'INTERSECT', ('nomatch1',) current token = ((-6, 'WHERE'), 'WHERE') I would like to avoid that error, instead of that I would like say 'wait ' or something like that. and after the first one gets the complete page the other's page should come. Can u give any suggestions. thanks bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
Okay, firstup, keep CC:'ing [EMAIL PROTECTED] so other people can help, and so other people can _get_ help from any answers you find... subrahmanyan kalathur wrote: >so now I am getting the error. What is this error? (the lines starting with 'traceback:' are really useful...) > what is that ZEO and all. It's probably best you don't go there for a while ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to see whether any user is using a perticular zope object
subrahmanyan kalathur wrote: > > So it is natural that more than one users can access the same page at the > same time. So in my project, if such a situation comes then at least one > user will get the error message. Why? Zope is a multi-threaded we bserver capable of handling several simultaneous requests. Many more if you use ZEO, but I would go there just yet... cheers, Chris PS: Thanks for not using HTML mail anymore ;-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] is it possible to see whether any user is using a perticular zope object
hi, I got your reply. thanks. Actually my problem is not that. I am doing some web based stuff. So it is natural that more than one users can access the same page at the same time. So in my project, if such a situation comes then at least one user will get the error message. To avoid that I am planning to block one user until the other gets the complete page downloaded. So if it is possible to see whether the method is used by another user, then I can block that new user until the first user completes his task. How can I use tag for that. OR do u have any other alternative solution. I will be grateful to u. thanks bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] is it possible to see whether any user is using a perticular zope object
hello , I am subrahmanyan. I am using zope for my project. Now I would like to know is it possible to know if any body is using the zope object. I mean , if one user is running one DTML method , I want to know that one user is using that object. Is there any DTML tag for that. thanks. bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] )