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:
http://localhost:8
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
> 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
y
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 i
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 so
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
>
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 ".
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 -
http:/
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
http://l
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 cro
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
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 d
Or even:
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 PROTECTED]>
Sent: Thursday, Novem
Or even:
;-)
Chris
Andy McKay wrote:
>
>
>
> --
> 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
>
--
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... :)
>
> I've made
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.for
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.
<--- that's where I'm stuck. I don't
- 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 mis
Here's a fix. Change the line:
to:
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 method
to .
Cheers,
Chris
On Wed, 22 Nov 2000, Mike Kelland wrote:
> What does actually do? Looks like all it would do is
>
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
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, Developer
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.
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 in dtml? I
>don't
> want to pass AUTHENTICATED_user as a parameter. A hint please.
>
> cheers
> Dirksen
>
> ___
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 2
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 s
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 f
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
t
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 bu
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
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 fir
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 op
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 th
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 s
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
nam
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
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
*
>
> 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
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
>
>D
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 Meth
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
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
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 Method
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 m
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 a
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?" t
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
> "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
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
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 m
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 -
http://lists.zope.org/mailman/listinfo/zope
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 Intern
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
"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 ?
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 thin
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'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 a known bug or should I
retrace my steps to figure out where I messed up?
Chris
_
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?
>
> 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
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
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. I can't think of the link on top of my head but if
you can't find it, get back to me, I'll do what I can to find it.
HT
Would it be useful to (or rather, is it possible to) let one of these
scripts call up another one ? I tested the Python script object; and it
looks really nice for letting end users extend a server installed system
over the Web link. In my test, I needed lists of data from a second script
as input
Ok,
found a way to see the navigation on Zope.
But I'm still looking for other implementations aswell.
Tom.-
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
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.
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
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
/usr/local/Zope-2.1
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
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 'onCl
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]
http://lists.zope.org/mailman/listinf
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:
http:/
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
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/DumbZPatternsEx
i am having a bizarre problem with zcatalog (Zope2.2.2 win2k):
I use Zcatalog for indexing a Zclass( todo-task, (catalogaware)) with a property
named 'priority' (an integer between 1 and 10,- a field-index in the
catalog) among others ..
If i pass 'sort_on=priority' to the catalog-search, new
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 he
>
> 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 -
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 'onClick'
instead of 'onSubmit' )
The follo
75 matches
Mail list logo