Does anyone have any further information on this bug in 2.10 regarding
ZSQL methods? Would an upgrade from 2.9 to 2.10+ in an app using lots of
zsql methods cause unforseen issues?
On 04/07/11 09:46, Stefan Loidl wrote:
Hi Fernando,
the option 'enable-product-installation' in zope.conf has
I can not tell for sure if the problem was that one of the aliases
mentioned by Tres Seaver in results.py. However, I had a simple
application displaying merely one page and involving a few tables and
maybe 10 queries, and 2.10 could not even take hundreds of hits.
I made a simple Python program
Stefan, thanks for your reply.
In the meanwhile I was indeed able to put products in INSTANCE/Products
(Zope 2.13.8). I did not know about that option you mention and I cannot
check it now, but the Products from pypi were being recognised, as long
as I put only the specific Product subfolder (not
On 4 July 2011 13:26, Fernando ferna...@cmartins.nl wrote:
Stefan, thanks for your reply.
In the meanwhile I was indeed able to put products in INSTANCE/Products
(Zope 2.13.8). I did not know about that option you mention and I cannot
check it now, but the Products from pypi were being
On Jul 4, 2011 13:30 Laurence Rowe l...@lrowe.co.uk l...@lrowe.co.uk
wrote:
I suggest using
http://pypi.python.org/pypi/plone.recipe.zope2instance
(it is not Plone specific) and referring to the Plone documentation
for installing add-ons:
On 4 July 2011 14:48, Fernando ferna...@cmartins.nl wrote:
On Jul 4, 2011 13:30 Laurence Rowe l...@lrowe.co.uk wrote:
I suggest using http://pypi.python.org/pypi/plone.recipe.zope2instance
(it is not Plone specific) and referring to the Plone documentation
for installing add-ons:
[resending as original seems to have got lost]
I got stuck with 2.9.9 because 2.10 introduced a major leakage in the
ZSQL Methods. Now the number of users in my web site have increased and
other leakages have become also major issue (e.g.,
PageTemplates.Expressions.SubPathExpr).
I was
On 07/03/2011 09:30 AM, Fernando Martins wrote:
merely dropping Products in the site-packages does not add a product.
Browsing through the list I saw this post:
https://mail.zope.org/pipermail/zope/2011-June/176165.html
with reference to a directive in zope.conf:
products
There is a zope.testing.exceptions module. It contains only one
exception: DocTestFailureException, which is used by the testrunner,
and as far as I can tell, only the testrunner. So we should probably
move that one over to zope.testrunner as well. Which means deprecating
it in zope.testing, of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lennart Regebro wrote:
There is a zope.testing.exceptions module. It contains only one
exception: DocTestFailureException, which is used by the testrunner,
and as far as I can tell, only the testrunner. So we should probably
move that one over to
On Thu, Apr 29, 2010 at 21:55, Tres Seaver tsea...@palladion.com wrote:
+1. Does zope.testing depend on zope.testrunner already?
No, and with this zope.testrunner doesn't have to depend on
zope.testing either, except for running the tests. Freedom baby yeah!
:)
--
Lennart Regebro: Python,
+---[ michael nt milne ]--
| ok thanks. I guess then if you're using the ZMI could you embed this in your
| ZPT? But I guess that is not best practice.
Using the ZMI you'd make a Python Script to call from your ZPT instead.
--
Andrew Milton
[EMAIL PROTECTED]
ok thanks. I guess then if you're using the ZMI could you embed this in your
ZPT? But I guess that is not best practice.
On 11/6/07, Andrew Milton [EMAIL PROTECTED] wrote:
+---[ michael nt milne ]--
| thanks. Is there an example or a tutorial at all on this anywhere?
You could also write a Product or External Method to access your
databases directly, using something like: http://pymssql.sourceforge.net/
you should not do that, you would get into lots of problems with zope's
transaction machinery.
always go trough a zope connection.
robert
begin:vcard
Hi
We have some dynamic ZSQL methods all working but are looking to optimise
our code and also access some stored procedures which are already written in
SQL Server.
The question is, can you go straight through to a relational database using
the connector object and call a stored procedure
Yes
- Original Message -
From: michael nt milne
We have some dynamic ZSQL methods all working but are looking to optimise
our code and also access some stored procedures which are already written in
SQL Server.
The question is, can you go straight through to a relational database
thanks. Is there an example or a tutorial at all on this anywhere?
On 11/6/07, Jaroslav Lukesh [EMAIL PROTECTED] wrote:
Yes
- Original Message -
From: michael nt milne
We have some dynamic ZSQL methods all working but are looking to optimise
our code and also access some stored
IIRC, DB connections have a 'manage_test' method that could be (ab)
used for things like that.
On 6. Nov 2007, at 15:23, Jaroslav Lukesh wrote:
The question is, can you go straight through to a relational
database using the connector object and call a stored procedure
straight from a ZPT?
+---[ michael nt milne ]--
| thanks. Is there an example or a tutorial at all on this anywhere?
# queryConnection holds the id of a DA
connectionObject=getattr(self, queryConnection)
connection = connectionObject()
results = connection.query(SQL_GOES_HERE)
This is from
Ok, little correction here: I used ploneout on plone-trunk and it then
uses Zope trunk and thus 2.11.
This problem seems to be a new problem coming from refactoring:
r78767 | andreasjung | 2007-08-12 12:55:45 +0200 (So, 12 Aug 2007) | 4 lines
- Collector #2339: ZPT: fixed unicode issue when
Dieter Maurer schrieb:
Joachim Schmitz wrote at 2007-7-20 10:40 +0200:
Obviously, you got the wrong mainling list.
This is not a ZODB problem...
my mistake it should have gone to the zope-dev list.
...
I found in Catalog.py updateMetadata around line 306
else:
if
Suppose I have a variable foo that has value request/name|nothing.
Is it possible from a Python Script to have this evaluated as a TAL
expression?
Alternatives?
Thanks
jim
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
En/na [EMAIL PROTECTED] ha escrit:
Suppose I have a variable foo that has value request/name|nothing.
Is it possible from a Python Script to have this evaluated as a TAL
expression?
AFAIK TALES machinery ($ZOPE_HOME/lib/python/Products/PageTemplates)
can't be accessed from restricted code.
Thanks, the external method appears to work fine. I thought about the
silly Page Template, but forgot the path: modifier exists! But the EM
should be far faster, anyway.
Thanks again.
jim
[EMAIL PROTECTED] wrote on 06/21/2006 04:04:31 PM:
En/na [EMAIL PROTECTED] ha escrit:
Suppose I have
Hi-Does anyone know
if you can you can alter the user registration process in plone and zope to
create extra user entry fields? Basically altering the zope database.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No
Yeah, you need to do some programming. Look at Chris Withers'
SimpleUserFolder product.
On 8/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi-Does anyone know
if you can you can alter the user registration process in plone and zope to
create extra user entry fields? Basically altering the
mark hellewell wrote at 2005-5-7 20:22 +0100:
On 5/7/05, Chris McDonough [EMAIL PROTECTED] wrote:
Web Folders pass cookies around too, FWIW, so it's probably not strictly
necessary to use http basic auth. But without using http basic auth,
there is no way to log in unless you have them go to
On May 6, 2005, at 23:52 , mark hellewell wrote:
On 5/6/05, Tino Wildenhain [EMAIL PROTECTED] wrote:
Actually, it does not. You have no such thing like a session
when all you have is webdav. I dont know if many dav-clients
store cookies too - it may depend on your usecase.
Yes the use-case is
Web Folders pass cookies around too, FWIW, so it's probably not strictly
necessary to use http basic auth. But without using http basic auth,
there is no way to log in unless you have them go to the web interface
first, then launch a web folder, so maybe impractical.
- C
On Sat, 2005-05-07 at
Am Samstag, den 07.05.2005, 12:04 -0400 schrieb Chris McDonough:
Web Folders pass cookies around too, FWIW, so it's probably not strictly
necessary to use http basic auth. But without using http basic auth,
there is no way to log in unless you have them go to the web interface
first, then
On 5/7/05, Chris McDonough [EMAIL PROTECTED] wrote:
Web Folders pass cookies around too, FWIW, so it's probably not strictly
necessary to use http basic auth. But without using http basic auth,
there is no way to log in unless you have them go to the web interface
first, then launch a web
On 5/7/05, Tino Wildenhain [EMAIL PROTECTED] wrote:
Well, in theory its possible if the client accepts cookie to just
store the amount of wrong attempts via cookie (or id - which would
be the same) and deny any password, be it even the correct one
when it comes via basic auth.
Store the
Hello!
I'd like a little help, please :)
I have a site that uses PluggableUserFolders for its acl_users.
The web-based portion of the login process locks out a user
after 3 unsuccessfull attempts at the password and i'd like to be
able to do something similar for users who try to connect
via
mark hellewell wrote at 2005-5-6 14:44 +0100:
I have a site that uses PluggableUserFolders for its acl_users.
The web-based portion of the login process locks out a user
after 3 unsuccessfull attempts at the password and i'd like to be
able to do something similar for users who try to connect
via
Am Freitag, den 06.05.2005, 19:26 +0100 schrieb mark hellewell:
On 5/6/05, Dieter Maurer [EMAIL PROTECTED] wrote:
WebDAV uses basic HTTP authentication which should use whatever
UserFolder you have installed.
Thanks.. So, I think I should be able to modify the authentication plugin
of
On 5/6/05, Tino Wildenhain [EMAIL PROTECTED] wrote:
Actually, it does not. You have no such thing like a session
when all you have is webdav. I dont know if many dav-clients
store cookies too - it may depend on your usecase.
Yes the use-case is Windows Explorer users only.
Without cookies
Tres Seaver wrote:
I still think we should look at making a Windwos version of the
'zdaemon' handler, which uses a Unix-domain socket between parent and
child: we could either use a named pipe on Windows, or else a socket on
localhost, to achieve the same ends.
This would have the upside that
Mark Hammond wrote:
Would a lockfile work ok to signify running state? IOW, Zope would
lock a file as one of the last steps during startup (which it actually
does now, but might do it a bit too early). The Windows
service manager
would attempt to lock the same file after timeout seconds
Well, if you want to grab what is probably going to turn in to Python
2.1.2 from CVS, you can get the release21-maint branch from
:pserver:[EMAIL PROTECTED]:/cvsroot/python package
python.
This already has the important change to ceval.c in it; but I'm not sure
that the rest of the changes
Leonardo Rochael Almeida wrote:
On Tue, 2001-12-18 at 13:44, Matthew T. Kromer wrote:
Soo... if shutting off GC extends time between crashes for some folks
from every 15 minutes to 3 times a day, my advise is to shut off GC.
Now I can really confirm that gc.disable() is enough to avoid
Matthew T. Kromer wrote
Anthony Baxter is anticipating a Python 2.1.2 beta real soon now (probably
this weekend) so I am going to try to get that into Zope 2.5's binary
releases, although we may put out a Zope 2.5 beta 3 first. This will
include the necessary Python patches to ceval.c to
Matthew T. Kromer wrote
Well, if you want to grab what is probably going to turn in to Python
2.1.2 from CVS, you can get the release21-maint branch from
:pserver:[EMAIL PROTECTED]:/cvsroot/python package
python.
I'd _love_ it if people wanted to do this, once the release candidate is
Matt -
If possible, I would prefer to use a source Python 2.1.2 release with
a source zope 2.4.4 ? bugfix release (or create my own from the 2.4
cvs branch) once the fixes are complete. We do not want to put a 2.5
release in production at this time.
Thanks for the update.
regards,
- j
At
Jeremy Hylton wrote:
MTK == Matthew T Kromer [EMAIL PROTECTED] writes:
MTK A side effect of shutting off the garbage collector is that you
MTK can have some storage leaks. We're working on being able to
MTK re-enable the garbage collector so that you don't exhaust
MTK memory over
Leonardo Rochael Almeida wrote:
On Tue, 2001-12-18 at 13:44, Matthew T. Kromer wrote:
Soo... if shutting off GC extends time between crashes for some folks
from every 15 minutes to 3 times a day, my advise is to shut off GC.
Now I can really confirm that gc.disable() is enough to avoid the
I've been fooling around with htDig as a method of searching both my
dynamic pages and older static pages, on two different sites, and it
works great, since it's a 'spidering' search engine But since it is
running on the same machine as my Zope install, while experimenting with
it, I've had
And if so, how would I set that up?
-Use Apache as your main server.
-Use mod_proxy(?) to proxypass Zope requests through to ZServer.
-install htdig as a normal CGI under Apache
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
On Mon, 29 Jan 2001, Chris Withers wrote:
And if so, how would I set that up?
-Use Apache as your main server.
-Use mod_proxy(?) to proxypass Zope requests through to ZServer.
-install htdig as a normal CGI under Apache
Presumably, then, this would be the same approach for getting
Just a quick Idea:
Can somebody make a routine RESIZING an image...?
It would be great if someone could make something like that...
Just imagine it: You add an Image_with_thumb... Browse for the image, then
it adds your image to the site AND it is being resized to, for instance,
16x16pixels,
: Wednesday, January 24, 2001 4:28 AM
To: zope
Cc: thomas
Subject: [Zope] Is it possible to make a thumbnail from an added
image..?
Just a quick Idea:
Can somebody make a routine RESIZING an image...?
It would be great if someone could make something like that...
Just imagine it: You add
3dfestival - WebMaster wrote:
Just a quick Idea:
Can somebody make a routine RESIZING an image...?
It would be great if someone could make something like that...
Just imagine it: You add an Image_with_thumb... Browse for the image, then
it adds your image to the site AND it is being
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Zope] Is it possible to make a thumbnail from an added
image..?
You could try:
http://www.zope.org/Members/haqa/archive/ZPhotoAlbum
http://www.zope.org/Members/Drew/Photo
These seem to do something similar to what you are asking.
If not well, dtml
Hi!
How do I combine the PHP code with ZOPE ?
How to tell Apache to parse the PHP code ?
Where do I find info ?
Best regards,
Greg
--
BEZPLATNE konto e-mail o adresie [EMAIL PROTECTED] i NIELIMITOWANEJ pojemnosci
Tylko w POLAND.COM ! www.poland.com
A lot came up with you just put 'PHP' in the Zope.org search box.
Here are the best.
http://www.zope.org/Members/Mamey/PHP
http://www.zope.org/Members/Ioan/PHPObject
J
At 7:18 PM +0100 1/21/01, Greg Nowak wrote:
Hi!
How do I combine the PHP code with ZOPE ?
How to tell Apache to parse
Frederic Quin wrote:
Hi all,
I can't find the bug collector product to install it in my zope. Maybe it's not
possible... If it is, please tell me where to download it.
http://www.zope.org/Members/klm/TrackerWiki/
cheers,
Chris
___
Zope
I have a specialist "Instructors".
It holds a rack, containing DataSkin-derived ZClasses of meta-type
"Instructor".
The Instructor class has a DataSkin Attribute propertysheet called
"Basic", and this has properties for forename, surname, address, areas.
I have some skinscript in the
At 06:03 PM 1/4/01 +, Steve Alexander wrote:
I think what is happening in the broken example is that when the zope
security machinery asks for __roles__, name is also computed. The
machinery must request __roles__ before changing anything.
The behavior is as documented, though I'm not
Hi all,
I can't find the bug collector product to install it in my zope. Maybe it's not
possible... If it is, please tell me where to download it.
Frederic
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
When on a windows platform, I prefer to define an ODBC datasource on the
excel spreadsheet, write ZSQL method that selects the fields to be
imported, write a DTML method that iterates on returned records and call
another ZSQL method that writes into Gadfly.
You may need to handle
Gadfly is a distinct product, www.chordate.com/gadfly.html, so you can, at
least, write python to insert data directly into gadfly. You can get the
data out of Excel through COM or export to csv.
Bill.
On Wed, 27 Dec 2000, K H Subrahmanyan wrote:
Now we have developed some database using
On Wednesday 27 December 2000 17:30, K H Subrahmanyan wrote:
Hello,
Now we have developed some database using gadfly in zope.
Actually there are some datum which are there in Excel. I would like to
know is it possible to import all that datum from Excel to zope database,
instead of giving
When on a windows platform, I prefer to define an ODBC datasource on the
excel spreadsheet, write ZSQL method that selects the fields to be
imported, write a DTML method that iterates on returned records and call
another ZSQL method that writes into Gadfly.
You may need to handle None/Missing
Hello,
Now we have developed some database using gadfly in zope.
Actually there are some datum which are there in Excel. I would like to know
is it possible to import all that datum from Excel to zope database, instead
of giving all the data to zope manually.
Actually all those data are the
Quote: "ASP Sux, Php isOK, but ZOPE
RULEZ!"
Stoons (me) friday 8th
dec. 2000.
Q: Is it posible to get the current users
SCREEN-RESOLUTION (without using Javascript!)..?
Stoons = )
Q: Is it
posible to get the current users SCREEN-RESOLUTION (without using
Javascript!)..?
Since Zope is a server-side application, it is completely ignorant to
client settings. It can get only variables from the HTTP environment
settings. Since Javascript is a client side language, it can get
On Fri, 8 Dec 2000, Stoonsdesign wrote:
Q: Is it posible to get the current users SCREEN-RESOLUTION (without
using Javascript!)..?
You can't, and you don't need. Even if you get the resolution, you'd
have hard times generating HTML for that resolution: HTML is very bad
concerning strict
Oleg Broytmann wrote:
On Fri, 8 Dec 2000, Stoonsdesign wrote:
Q: Is it posible to get the current users SCREEN-RESOLUTION (without
using Javascript!)..?
You can't, and you don't need. Even if you get the resolution, you'd
have hard times generating HTML for that resolution: HTML is
Hi,
To run a DTML method is there any other method than using a browser.
Or even if it is running in a browser, it should not be there in the task
bar.
I have an application which need to run for some times.
So one DTML method will be running continuously , and it will refresh it
self
after
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
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
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
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'"*''
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',
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
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 possibl
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
ot; [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
-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
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
, Iwant to know that one user
is using that object.
Is there any DTML tag for that.
thanks.
is it possible to use zope to run a demo program written in c++, online
in a html environment? If it is possible, than how do you do this?
thanks, boogie.
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman
Hi Zopers,
apparently, WorldPilot has an error in the getIMAPFolders function, that
do not allow the creation of folders.
The line is the following:
cf.AddChild(IMAPFolder(Folder,TmpFolderFullName[:-1] , padding+Folder))
I have changed it in:
y, June 22, 2000 10:16 AM
Subject: [Zope-dev] possible bug in dtml-in
hi *,
an external method returns a list of tuples like this one:
[(elt1, elt2), (elt3, elt4), ...]
and i want to print something after the last one so i do:
dtml-in "build_list(args...)"
82 matches
Mail list logo