Shane Hathaway wrote:
What couldn't be tested by my limited resources:
- Platforms other than Linux.
I'm running this on my NT4 Workstation, not high load but I'll let you
know if anything weird happens (that isn't caused by me ;-)
I wonder if this will help with the conflict errors I've
Chris,
Any hints/tips on how you did this (just to save me from having to do any
work of course ;))
Phil
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Shane Hathaway" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 10:31 AM
Subject: Re:
I have a method called getModulesForProduct to which I pass a ProductID eg:
dtml-in "Products.Modules.getModulesForProduct(this(), _, ProductID)"
sort=name
If ProductID is passed on from a form variable it works fine.
If I set the ProductID through REQUEST.set:
dtml-call
On Thu, 23 Nov 2000, Chris Withers wrote:
Chris Withers wrote:
Error Type: AttributeError
Error Value: _tstatus
Problem found...
Shane, you did your stuff on version 1.48 of FileStorage.py, while Zope
2.2.x uses version 1.37.12.8 of SileStorage.py
Sadly, it appears the two are
Hi Roch,
The whole traceback would be helpful.. one clue:
Error Type: TypeError
Error Value: hasattr, argument 2: expected string, int found
'hasattr' is the function that is complaining do you use
it in your code?
-steve
"Roch'e" == Roch'e Compaan [EMAIL PROTECTED] writes:
OK.. it's the 'in' tag that's causing the problem. Why not try:
dtml-var "experession that's causing problem with in" html_quote
and see what 'in' is choking on...
It's choking on a list of instances. This is what is returned when I "var"
the expression:
[Module instance at 8b97660,
Hmm... OK ... next question... what are you doing *in* the 'in' tag?
Somehow you're trying to access an object contained in an
object manager (one of your modules?) and you're using an
'int' rather than a string as an id. Can you post the code?
thanks,
-steve
"Roch'e" == Roch'e Compaan
The form="a" and its input field="custid" is being
validated,when the alert message box came outtheni clicked on
the 'OK' button which is inside the alert message box, but it return to another
page insteadreturn to form="a".
( Ipreferto use 'onClick'
insteadof 'onSubmit' )
The following is
OK.. The new ZPatterns Example is up there now off to fix
some EMarket problems
for which the secret url is:
http://www.zope.org/Members/sspickle/DumbZPatternsExample
I hope you don't mind me reveiling it ;-)
Rik
___
Zope maillist -
Hello,
I have the following method, having problems understanding how to get the "delete"
link to work correctly. I get the following error:
No items were specified!
This is because there is no checkbox checked to pass on a file name? Is there another
way to delete files by url?
Thanks for
Urp.. yes. sorry!
Thanks!
-steve
"Rik" == Rik Hoekstra [EMAIL PROTECTED] writes:
OK.. The new ZPatterns Example is up there now off to fix
some EMarket problems
Rik for which the secret url is:
Rik http://www.zope.org/Members/sspickle/DumbZPatternsExample
On Thu, 23 Nov 2000, chas wrote:
Goal: an end-user fills in a form on a webpage and clicks
the 'submit' button. As a result, thousands of
customized e-mail messages are sent.
Problems:
(i) The msgs are customized so Mailman is not appropriate.
also, there is
Edward Muller wrote:
How would you record data in the ZODB? Would you have to write a Product for
each thing you want to store? If you can provide some links it would be great!
Well, HiperDom's XML templates product apparently contains some data
object thing which might do the job:
Hi.
What is the status of the Tracker product?
I remember someone saying that it had some problems with the latest version
of Zope a while ago, is that still true?
/Magnus
___
Zope maillist - [EMAIL PROTECTED]
On Thu, 23 Nov 2000, Angietel wrote:
The form="a" and its input field="custid" is being validated, when the alert message
box came out then i clicked on the 'OK' button which is inside the alert message box,
but it return to another page instead return to form="a".
( I prefer to use
Hmmm... er.. it's just page with a picture and some text there's
nothing zopey at all... I (almost) never run IE or Windowsso
I'll dig around here and see if I can reproduce it it's wierd
though.. it's just simple html!
Does the app part work for you?
-steve
"jimbo" == jimbo
Hi,
I'm having problems with Python methods. I've followed the instructions
for the guestbook example [1] to the letter but when I add the Python
method [2] is causes an error as follows:
Error Type: NameError
Error Value: context
TraceBack: Traceback (innermost last): File
Evan Simpson wrote:
so it's official. Zope 2.3 will introduce "Python Script"
objects.
Sounds good enough to me :-)
When do DTML Methods become DTML Scripts?
(never, hopefully ;-)
There will be no "Unrestricted" vs. "Restricted". If you
want to write unrestricted code, you can use a
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.
Hi!
On Thu, 23 Nov 2000, Tom Deprez wrote:
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
On Thu, 16 Nov 2000 Andreas Tille wrote:
we intent to buy new web server hardware. We want to run Debian GNU/Linux
on a Sun system. I wonder if zope could profit from a multi-processor
architecture on such a system.
If you mix in ZEO (now open source), yes it can. With ZEO you can
Just one point of clarification added below since the original poster
seemed confused on this point.
Chris
On Thu, 23 Nov 2000, Diny van Gool wrote:
At 23:07 22-11-00 -0500, John Cappelletti wrote:
[...]
What is the process for connecting to a MS Access database? Can it be
done?
Yes,
At 11/23/00 01:38 PM, Tom Deprez wrote:
Are there some sites which publish there DTML source(structure)? I'm
particulary looking on how several navigation, menu, ... structures are
implemented in Zope.
I use the following DTML Method (probably shouldn't be done in dtml) to
produce a vertical,
I know, I know. It's a little late to speak up, but I think there is a
logical objection to this name: inconsistency with "DTML Method" and
"ZSQL Method".
I think some better options were left off the vote.
ZIP Method (Zope Internal Python Method)
ZoPy Method
PyZo Method
ZPython Method
I
"Evan Simpson" [EMAIL PROTECTED] writes:
A few announcements. First, in the interests of sanity and
getting things moving, I'm choosing the only name other than
"Python Method" to get a positive score in the naming poll.
For the sake of future votes: did you actually hold a second poll ?
Using Zope, I have managed to put together a nice site for friends to create
folders, pages and upload images, etc. But there are some fundamentals that
are eluding me.
I am able to 'register' a new user through a form to create a new acl_user.
But I cannot figure out how to let them login again
Chris Gray wrote:
I know, I know. It's a little late to speak up, but I think there is a
logical objection to this name: inconsistency with "DTML Method" and
"ZSQL Method".
These are old, horrible and will hopefully be re-thought and given
different names ;-)
ZIP Method (Zope Internal
Hi;
Can Zope be used to create a *MyYahoo* style GUI?
TIA,
BenO
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Thanks Stefan,
Nice analysis - esp. of the locking problems which explains
why I wasn't managing to scale with multiple threads, even
from a straight python script (no Zope). Pretty certain I'm
going to botch up qmail if I start writing directly to the
maildrop, but will investigate.
As for
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
Subject: Re: [Zope] Objection to Python Script Name
Chris Gray wrote:
I know, I know. It's a
"Evan Simpson" [EMAIL PROTECTED] writes:
A few announcements. First, in the interests of sanity and
getting things moving, I'm choosing the only name other than
"Python Method" to get a positive score in the naming poll.
For the sake of future votes: did you actually hold a second
I'm interested in making a non-commercial "e-bay" type application
for selling second hand books @ my university.
any suggestions?
Cheers.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
On Thu, 23 Nov 2000, Ben Ocean wrote:
Can Zope be used to create a *MyYahoo* style GUI?
Yes.
Actually, Zope can be used to create *anything*. But the amount of work
may differ :)
Now, if you want to reformulate your question as "can zope be used to
create this without much effort?"
I agree with you.
My vote: ZPython Method.
-Message d'origine-
De : Chris Gray [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 23 novembre 2000 11:29
À : [EMAIL PROTECTED]
Objet : [Zope] Objection to Python Script Name
I know, I know. It's a little late to speak up, but I think there is
Oleg Broytmann wrote:
On Thu, 23 Nov 2000, Ben Ocean wrote:
Can Zope be used to create a *MyYahoo* style GUI?
Yes.
Actually, Zope can be used to create *anything*. But the amount of work
may differ :)
PTK?
Chris
___
Zope maillist
Chris Gray:
I think there is a logical objection to this name [Python Scrpit]:
inconsistency with "DTML Method" and "ZSQL Method".
Chris Withers:
These are old, horrible and will hopefully be re-thought and given
different names ;-)
ZIP Method (Zope Internal Python
Yes. They are all websites.. try looking at
http://www.zope.org/Members/Roug/Yihaw
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Ben Ocean" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 9:04 AM
Subject: [Zope] Simple Yes or No (I
To Hamish, the other Chris, and anyone else who's going to jump in on
this.
To be quite blunt, this has now been _decided_ as I understand it. So
it's pointless to keep arguing and suggesting new and different names.
We now _have_ a president and it's name is 'Python Script' ;-)
Like it or hate
Greetings to the Knights-Who-Until-Recently-Said-Python-Methods,
On Thu, 23 Nov 2000, Chris Withers wrote:
Chris Gray wrote:
I know, I know. It's a little late to speak up, but I think there is a
logical objection to this name: inconsistency with "DTML Method" and
"ZSQL Method".
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
But there is a difference for the internal methods (restrictions on
security and builtins), as well as similarities with other Zope methods
(the way you call it from DTML or via URL). I was thinking of the analogy
with ZSQL.
BTW, can you use DTML tags in Python Script the same way you
Tom Deprez wrote:
Why not just
Python Script
Perl Script
There goes the idea of reading the thread before you post ;-)
Chris (sorry, couldn't resist ;-)
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
Well, half-and-half (joking/serious, that is). I was in a speculative
mood about the extent of the analogies among the different kind of
methods.
Actually the idea makes a little more sense to me on second thought than
it did at first blush. Being able to build a Python Script on the fly
might
Sorry,
My intention was not to annoy Chris Withers or create a headache for him.
Really, I'm pretty neutral about any name for any software item. I was
just thinking out loud about consistent naming practices in an OO
environment. It helps to talk about related things if they have related
I can't help it. No, I won't say it. Dimples anyone?
Jason Cunliffe wrote:
"Evan Simpson" [EMAIL PROTECTED] writes:
A few announcements. First, in the interests of sanity and
getting things moving, I'm choosing the only name other than
"Python Method" to get a positive score in the
Did you un-comment re-index in add?
Hitting update catalog is not necessary.
Chris Gray wrote:
I've gone through the catalog aware example in the Zope book but there was
one small problem. The vocabulary was not being updated until I went in
and clicked the update catalog button. Is this
Shane Hathaway wrote:
On Thu, 16 Nov 2000 Andreas Tille wrote:
we intent to buy new web server hardware. We want to run Debian GNU/Linux
on a Sun system. I wonder if zope could profit from a multi-processor
architecture on such a system.
If you mix in ZEO (now open source),
Just don't put two of it into a page. You can have this problem when you use
frame sometimes.
Dany Rioux wrote:
Hi Tom,
There's a package for Zope called ZNavigation. I use it. It's very nice
once you understand the basics. It's not very hard to use but it is a bit
intimidating at first.
Hi,
Some times my site stop responding. I have a winnt32odbc system
dsn to a sqlserver70. In my zope I have a ZOdbc_Connection using
this dsn. When my site hangs if I do a restart the python.exe process
grows to some size and then stop. I think he finished import Data.fs
and start ZServer but it
This confirms my understanding of Zope and Python. ZEO does not solve your problem
explicitly because ZEO is more of distributed way of balancing the load. This is
another ball of wax and ,in theory, it works great. But it has its own particular
problems.
Until someone conclusively shows, our
I know the subject is closed (or is it really???) but I have to say that a
name like Python Script or Perl Script sounds to me like any scripting not
associated with a product and that's why I have to agree with Chris Gray.
If I would see an addon telling me it's a Python Scritp I wouldn't even
subrahmanyan kalathur wrote:
As you want to serialize access to your database, you might
be interested in locking. Search the (searchable) list archive
for "lock" and "locking" to find more information about it.
For locking, too, my "SharedResource" can help you.
*HOWEVER*, I follow
Develop UIs to set that for example?
pseudo thoughts
1. check getRoles() and getUserName()
2. right role or right owner
3. allow changing those things (which I have no clue how you implmented
your data; sheet provider, plugin)
Good luck.
Dirksen wrote:
How can I do that, like setting
Hmmm... Good point.
I don't use frames so I never encountered that behavior/bug/feature :) but
on non-frames it does wonders. I really like the way it can be used and
it's easy to modify.
Dany
-Original Message-
From: Chalu Kim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 23,
look LoginManager.py under Products/LoginManager to look for how it is refered and
figure it
out?
Dirksen wrote:
How can I do that just as dtml-var "AUTHENTICATED_USER.getUserName()" in dtml? I
don't
want to pass AUTHENTICATED_user as a parameter. A hint please.
cheers
Dirksen
eMarket comes to my mind... It has several features. Nothing that does
everything you need out of the box.
Little more involved now that ZPatterns is used.
Diarmaid Lynch wrote:
I'm interested in making a non-commercial "e-bay" type application
for selling second hand books @ my university.
Either a) fiddle with ZCatalog so it does or
b) add in an "and" in between search terms before the catalog a crude way
could be
_.string.join(_.string.split(_.str(query),' '), ' and ' )
And thanks for the holiday wishes but we had Thanksgiving a month ago in
Canada :)
--
Andy McKay,
On Thu, 23 Nov 2000, Chris Withers wrote:
Chris Gray wrote:
I know, I know. It's a little late to speak up, but I think there is a
logical objection to this name: inconsistency with "DTML Method" and
"ZSQL Method".
These are old, horrible and will hopefully be re-thought and given
Here's a fix. Change the line:
dtml-call UpdateHours(REQUEST)
to:
dtml-call "UpdateHours(myval=_['myval'], mykey=_['mykey'],
sequence_item=_['sequence-item'])"
and change the name of the parameter in your ZSQL method from
sequence-item to sequence_item and change the dtml-var tag in the
- Original Message -
From: Stefan H. Holek [EMAIL PROTECTED]
On Thu, 23 Nov 2000, Chris Withers wrote:
I had already made my point when the last poll was taking place.
Renaming the XY Methods will break all documentation, how-tos, snippets,
whatever. After all the traffic the mismatch
Hi everyone,
Simple newbie question... :)
I've made a directory called News into which I will put files named
newsXXX. X being a number from 999 to 001.
What I want to do is to tell zope to put each file into a document.
Now, here is what I figured out.
dtml-with News
dtml-in ??? --- that's
Phil Harris writes:
Wouldn't it be better to pass in self?
As in:
def my_method(self,REQUEST=None):
'''my_method interpreting *REQUEST*.form.'''
if REQUEST is None:
REQUEST=self.REQUEST # safety_valve in case you forget to pass in
REQUEST
form= REQUEST.form # this
dtml-in "objectValues()"
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Dany Rioux" [EMAIL PROTECTED]
To: "Zope Mailing List" [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 2:20 PM
Subject: [Zope] Newbie Question
Hi everyone,
Simple newbie question...
Or even:
dtml-in objectValues
;-)
Chris
Andy McKay wrote:
dtml-in "objectValues()"
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Dany Rioux" [EMAIL PROTECTED]
To: "Zope Mailing List" [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 2:20 PM
Or even: dtml-in "objectValues(['File'])"
if this news thing is a file ;-P
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: "Dany Rioux" [EMAIL PROTECTED]; "Zope Mailing List" [EMAIL
On Thursday 23 November 2000 18:46, Daniel Dittmar wrote:
I don't think Python (and therefor Zope) will profit from a
multiprocessor as there is something known as the 'global lock' which
prevents more than one Python thread to run at a time.
Things look different if you're accessing a
You can use ZOPE and the 6 XML files layed out in the XML
HANDBOOK with some other language. This is all you need for
your application. Let me once you are done.
Philip
Message: 1
From: "Diarmaid Lynch" [EMAIL PROTECTED]
Organization: UUC
To: [EMAIL PROTECTED]
Date: Thu, 23 Nov 2000
Hi Chalu
I have been runing with Dual_CPU for a year without probelm.
You should be ok and gain the general muilti-cpu advantages,
in performance.
Philip
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No
Thanks to all for the immense help.
Richard
___
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
Hi People,
Anybody knows What is Medusa Monitor ? What it do ? How can I use it ?
Thank you
hugs
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
I´m trying install the ZEO in my Zope ( Windows NT System ) and when I use
this command :
python ..\lib\python\ZEO\start.py -p 8800
to start the ZEO I get this :
Traceback (innermost last):
File "..\lib\python\ZEO\start.py", line 304, in ?
if __name__=='__main__': main(sys.argv)
File
No problem here. I thought I would mention it anyway. The other parts of the app
including links work. I'm not sure why one link works and not the other, I'm guessing
it's a problem between IE4 and win98. I'm also not running the latest patches for IE.
Thanks for the good stuff.
-Jimbo
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
Well, using HTTP to run an application is not the right way to go. It is
because of the nature of HTTP or TCP/IP. There is such naggin thing as time
out and a notion of transaction.
Short answer is to break things into parts; initiation and completion. If a
task takes longer than N minutes, it
Use RPC? Perhaps install ZEO and use one server to work on ZODB and ?
the
others to serve HTTP requests? This way, you have a delivery machine and a
report machine.
hi,
what is RPC ? , ZEO, ZODB.
how to install it.
where to install it.
using that how to run my DTML method.
thanks
On Thu, 23 Nov 2000, Chris Withers wrote:
To Hamish, the other Chris, and anyone else who's going to jump in on
this.
To be quite blunt, this has now been _decided_ as I understand it. So
it's pointless to keep arguing and suggesting new and different names.
We now _have_ a president and
The Zope book discusses calling a ZSQL Method via a URL, saying that a
request for a URL like:
http://localhost:8080/zsql_method/parameter/value
"will return a result object", but what I get is the index_html document
at the root, although I do get a rendered record with:
77 matches
Mail list logo