The quick answer is Yes. One method is described by
http://www.zope.org/Members/lstaffor/ZClientMethod. You can also use
XML-RPC.
On the other hand, Zope is an integrated programming environment for web
applications. It includes the capabilities offered by servlets within its
programming system;
Coincidently, I was just trying to edit a file on the filesystem with an FTP
client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS
instance didn't look like a directory to FTP so FTP could neither read nor
write to the directory.
Does that throw a monkey wrench into your idea?
1. If you can use the management interface, you can disable a Xron Scheduled
Method by deleting it from the Schedule catalog or setting its reschedule
interval to null.
2. If you delete (or just rename __init__.py to something else in) the Xron
Product. And restart Zope, there will be no
Does DC plan to have site developer make their own management interface?
The site-developer wouln't mind using the management interface for their
work, but most of them will reject the common users using it. Of cause
there were security issues also.
Allow the site developer to make new
This is a known problem. Search back thru the archives of [EMAIL PROTECTED] for
Xron and you will find some helpful information. I'll also try to find the
relevant email and forward it to you separately.
-- Loren (lstaffor)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
1. Be sure to use the STUPID_LOG_FILE or run Zope in debug mode. That's the
only way you will know what Xron's Dispatcher is doing.
2. Xron DTML Methods run as Anonymous User. You may have to give your Xron
DTML Methods proxy roles so that they can execute the functions you want
them to. This is
http://www.zope.org/Members/rbickers/cataloganything
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Honey George
Sent: Thursday, April 12, 2001 00:46
To: [EMAIL PROTECTED]
Subject: [Zope-dev] Database indexing using Z Catalogs
Hello,
I
Especially, how to set up permissions on the server machine and file servers
so that database connections and Local File Systems work. One problem I have
now and haven't found a good solution to is how to ensure that, when Zope is
started at (NT 4) system initialization, it has the right
No. But you could leave the Access DB on its Win box, and either
1. Use a Linux ODBC driver to access it (something I've never tried)
...or...
2. Install a copy of Zope on the Win box to access the DB with a Win ODBC
driver, then use some kind of remote procedure call (e.g. XML_RPC or
ZClient)
CTED]
Sent: Sunday, January 07, 2001 7:31 AM
Subject: Xron for Zope: Asking for Help
Dear Loren Stafford,
thank You for providing the Xron product, which I would like to regularly
update ZCatalogs of parts of our site. However, I can't figure out
what I have to put into the Xron DTML Method. The si
by addXronDTMLMethod.dtml).
-- Hope that helps
-- Loren
- Original Message -
From: "Dirksen Lau" [EMAIL PROTECTED]
To: "Loren Stafford" [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 7:51 PM
Subject: How to make a zclass as default Xron methods?
Hi Loren,
I w
Here's an example from one of my workinig tech-support forms. I used to have
a Bcc: right after the Cc:
dtml-with "PARENTS[-1]"dtml-sendmail mailhost=MailHost
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], dtml-var ReplyTo
Reply-to: dtml-var ReplyTo
From: [EMAIL PROTECTED]
"title" is a "reserved" property; i.e. most objects automatically get a
title property when you create them, but you are trying to add another
property with the same name. Either use the "built-in" title property or use
a different id for your title.
-- Loren
-Original Message-
From:
You might look into a javascript onClick this.submit. I haven't actually
done this yet, so I don't have the exact syntax at hand, but I'm sure you
could find it on one of the javascript sites.
-- Loren
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
-Original Message-
From: Adam Karpierz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 02:08
To: Loren Stafford
Subject: Re: Variable sort and multiple sort in dtml-in
- Original Message -
From: "Loren Stafford" [EMAIL PROTECTED]
To: [EMAIL PROTECTE
See the concurrent thread "Variable sort ..."
-- Loren
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max M
Sent: Wednesday, January 17, 2001 15:58
To: Zope@Zope. Org
Subject: [Zope] Setting the sort var in dtml-in ...sort=sortVar
Does anybody know
On 02 July 2000, Adam Karpierz, posted a patch that would allow an
expression for the sort specification for the dtml-in tag. Did that patch,
or something like it, ever find its way into the Zope core?
I also seem to remember some discussion of sorting on multiple items (but
can't find any trace
Check out: http://www.codeit.com/codeit/964459526/index_html
-- Loren
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
Cunliffe
Sent: Wednesday, December 27, 2000 16:10
To: [EMAIL PROTECTED]
Subject: [Zope] Z-Commerce components
Hi
Looking for
From: "Kapil Thangavelu" [EMAIL PROTECTED]
[snip]
Xron has a single dispatcher thread. This thread knows how long to
sleep
for until the next job needs to run.
this model has problems when new jobs (for immeadiate execution) are
entered after the system sleeps. i think it should it
What if you want a small job to be done every 30 seconds?
I generally don't... I'm satisfied with cron granularity, although
others
might not be. Do you have this requirement?
I thought a little about the granularity issue and decided to go with
the most general solution. I have no
I would be happy to turn development of Zope scheduling capabilities
over to someone else, because I currently have no demand for scheduling
capabilities and am not actively working on Xron.
This could take any of the following forms:
1. Transfering Xron to another developer. For historical
From: "Jerome Alet" [EMAIL PROTECTED]
[snip]
Our needs are to store hundreds, and possibly thousands of MPEG2 and MPEG4
(generally short) video movies, MP3 audio files, JPEG images, etc...
[snip]
I see 5 solutions:
1 - store both files and their associated datas in ZODB
2 - store files
From: "Dwayne Morrison" [EMAIL PROTECTED]
Hi,
Sorry to mail you directly instead of posting to the zope group, but my
posts are bouncing from egroups.com.
egroups is just a mirror. You have to post to [EMAIL PROTECTED] You can join
[EMAIL PROTECTED] from
From: "Timothy Wilson" [EMAIL PROTECTED]
On Thu, 7 Sep 2000, Tim Cook wrote:
Timothy Wilson wrote:
I'd like to make a large number of PDF files available for download
from my
site. HTML versions of the files will also be available for online
viewing.
I could certainly include
One way to start an asynchronous job in Zope is with the Xron product.
Instead of sending the email, you create a Xron scheduled method to perform
that task. If you specify a trigger time of "now" (or any time in the past),
the scheduled method will execute (almost) immediately in a separate Zope
From: "Karl Anderson" [EMAIL PROTECTED]
"Chui Tey" [EMAIL PROTECTED] writes:
[quoting someone]
Then I tried to edit a py file and see the new output. I had to use
this sequence to see my tiny change:
make the change
save the change
Stop the ZOPE service
A great resource for newbies is the collection of How-To's
http://www.zope.org/Documentation/How-To (or better yet:
http://www.zope.org/Members/AlexR/tips/howto_list where you can use browser
search to find what you need).
Search for "forms" and you will see, for example:
From: "R. David Murray" [EMAIL PROTECTED]
On Sat, 26 Aug 2000, Loren Stafford wrote:
def index_object(self):
if self.nextEventTime() is not None:
CatalogAware.index_object.im_func(self)
# see Python Reference Manual "The standard
I'm not sure if this is the same situation I encountered in Xron's
XronDTMLMethod.py, where I'm overriding CatalogAware's index_object method.
# Only index if nextEventTime returns something
def index_object(self):
if self.nextEventTime() is not None:
From: "Peter Be" [EMAIL PROTECTED]
I managed to go from timestamp to date with
dtml-var "ZopeTime(967322055)" fmt="%H:%M"
But how do convert a date to timestamp?
I.e. from say: "27/08/00 23:59" to 967322xxx?
All I know to begin with is the day, month and year.
Would be nice if I can do
: "Craig" [EMAIL PROTECTED]
To: "Loren Stafford" [EMAIL PROTECTED]
Sent: August 24, 2000 07:05 AM
Subject: Re: [Zope] ZClass Date Fields
On Wed, Aug 23, 2000 at 08:01:54PM -0700, Loren Stafford wrote:
I think what you need is here:
http://www.zope.org/Members/
From: "Jean Jordaan" [EMAIL PROTECTED]
It looks like I'm going to be using cookies now, and I don't find any
How-To on cookies. What's the most instructive place to look? "UTSL" is
fine as an answer, especially if it points me somewhere, and even more
if it's DTML source ..
The *ZQR* is a
I think what you need is here:
http://www.zope.org/Members/lstaffor/zProperties
-- Loren
- Original Message -
From: "Craig" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: August 23, 2000 07:32 PM
Subject: [Zope] ZClass Date Fields
I'm sure you've heard this question before, so bare
Thanks, Steve.
I have few questions below 8-) (I'm always better with questions than
answers.)
-- Loren
From: "Steve Alexander" [EMAIL PROTECTED]
Hi Loren,
I'd be glad to listen to well considered proposals for how Xron should
handle security.
Consider this a "straw man".
On
From: "Marcus Mendes" [EMAIL PROTECTED]
Is it a security risk to leave the Zscheduler pack my Data.fs?
I don't have an answer, but I can clarify the risk. We can use packing
Data.fs as an example application, but the question about security is more
general.
Xron (formerly ZScheduler) does
Nick,
Two other Zopistas reported similar problems. Both succeeded eventually in
getting Xron started, but we didn't succeed in diagnosing the problem, nor
in determining precisely how to work around it. I myself haven't been able
to reproduce the problem.
The problem seems to occur only on
From: "Chris Withers" [EMAIL PROTECTED]
I've noticed that sending mail from within Zope the sendmail tab or
mailhost.send() is very slow (like it adds a few seconds to the time it
takes to get a page back from a post).
Why is that? how can I make it faster?
I'd thought about having the
From: "Nicholas Lo" [EMAIL PROTECTED]
I just wonder if Xron works with ZSQL Methods.
I know that ZSQL Methods only works with the request thread.
Thanks.
I can think of no reason Xron would not work with ZSQL Methods; but I
haven't tried it, because I have no SQL in my applications. Xron's
http://www.zope.org/Members/lstaffor/zProperties falls just a little short
of what you're asking for. There's been a lot of discussion on the subject
recently on this list. Perhaps you could search back, piece together the
collected wisdom, and write the next chapter on Properties.
BTW,
From: "Daniel Rusch" [EMAIL PROTECTED]
I've created a product, installed it and it appears on the Product
Management at /Control_Panel / Products list.
The question is how do I get it to appear in the drop down of Available
Objects?
You have to register the class it defines. If you want
--
From: "Daniel Rusch" [EMAIL PROTECTED]
To: "Loren Stafford" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: August 15, 2000 12:20 PM
Subject: [Zope] Another Product question
Thanks,
I had made a small misspelling which did not generate any errors but which
hosed the Product.
Shortly after posting this, I found a buglet that causes an error when you
edit a Xron DTML Method that was created before version 0.0.9.
I upload the fixed product without changing the version number.
-- Loren
- Original Message -
From: "Loren Stafford" [EMAIL PROTECTED]
From: "Bill Anderson" [EMAIL PROTECTED]
Bill,
After the scheduled time, is there anything in the STUPID_LOG_FILE?
What?
--
2000-08-14T21:15:04 PROBLEM(100) Products.Xron.Loggerr
Trigger event: http://telescop:8100/MakeDailyOrder
Trigger time: 2000/08/14 13:15:00 US/Mountain
From: "Bill Anderson" [EMAIL PROTECTED]
Loren Stafford wrote:
From: "Bill Anderson" [EMAIL PROTECTED]
Bill,
After the scheduled time, is there anything in the STUPID_LOG_FILE?
What?
--
2000-08-14T21:15:04 PROBLEM(100) Products.Xron.Loggerr
I have in a recent email to the mailing list urged all Product creators to
include screenshots and/or demos of their products.
I'd like to put some screenshots the management pages in the README.txt of
Xron where they would illustrate that text that explains those pages.
Can you point to
From: "Bill Welch" [EMAIL PROTECTED]
hit http://zope.carbonecho.com/forum/sepServe to see the error
('expecting read-only buffer...')
This is a known bug. You need to install this patch to Client.py:
#h.connect((self.host, self.port))
h.connect(self.host, self.port)
From: "Graham Chiu" [EMAIL PROTECTED]
On Wed, 9 Aug 2000 14:45:58 -0700
"Loren Stafford" [EMAIL PROTECTED] wrote:
*This message was transferred with a trial version of
CommuniGate(tm) Pro*
Xron is alpha-level software, which means (among other
things) that it is
From: "Bill Anderson" [EMAIL PROTECTED]
Loren Stafford wrote:
...
So how about this: I invite other developers to create rescheduler
sub-products for Xron. If you create a rescheduler product, let me know
about it, and I'll link to it from the Xron product page. Your pro
Xron Version 0.0.9 Date: 2000/08/10
1. Added simple rescheduling capability to the "reschedule" method. Now you
can make repetitive
events without creating a subclass.
http://www.zope.org/Members/lstaffor/Xron
-- Loren
___
Zope maillist - [EMAIL
See collector item #1480 http://classic.zope.org:8080/Collector/1480/view
- Original Message -
From: "Bak @ kedai" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: August 08, 2000 11:08 PM
Subject: [Zope] Client.py
hi all
has anybody successfully used Client.py that ships with
ZScheduler has been superceded by Xron
http://www.zope.org/Members/lstaffor/Xron
-- Loren
From: "Martijn Pieters" [EMAIL PROTECTED]
On Wed, Aug 09, 2000 at 10:12:50AM +0800, Nicholas Lo wrote:
In fact, I'm trying to use ZOPE to do some automation, eg. reminder
emails, news clipping, or
Xron is alpha-level software, which means (among other things) that it is
new, hasn't received a lot of use, doesn't have a lot ready examples, may be
lacking documentation quantity or quality. If you want to use Xron in its
current alpha state you must be willing to invest a little effort in
Hi all
I'm making a document class for a warehouse of papers.
It's based on ZCatalogAware and ObjectManager (to wrap
mainly PDFs and DOCs), and has fields:
title (string type)
origin (string type)
format No value for format_value.
typeNo value for type_value.
I don't know of any tutorial. ZScheduler creates a container (a subclass of
Catalog in fact), so you might use that code as a starting point. It doesn't
put other objects in the container, tho.
-- Loren
http://www.zope.org/Members/lstaffor/ZScheduler
- Original Message -
From: "Erik
Your example in a How-To may well be useful. However, I think you have
maligned the DateTime method. It is quite flexible about the input formats
it accepts. Have you read the extensive documentation in
../lib/python/DateTime/DateTime.py?
-- Loren
- Original Message -
From: "Darran
In Zope version 2.2.0b3 Client.py calls connect in httplib (in two different
places) like this:
sock.connect(self.host,self.port)
In Zope version 2.2.0 (final) it's like this:
sock.connect((self.host,self.port))
In the latter case, Python complains:
world.
I will send this to the list to see if any one else can provide help.
From: Loren Stafford [EMAIL PROTECTED]
From: "Jim Sanford" [EMAIL PROTECTED]
URL: http://www.zope.org/Members/lstaffor
ZScheduler uses Client.py.
Would it be correct to say that if my entire site is only
In the "utilities" directory there is a program that converts from bbb to
fs. Sorry, I don't remember which one or how it works, but this should point
you in the right direction.
-- Loren
- Original Message -
From: "Jeff Nielsen" [EMAIL PROTECTED]
To: "Zope" [EMAIL PROTECTED]
Sent: July
Don't overlook the Google Search on
http://www.zope.org/SiteIndex/searchForm. It works nicely.
Can anybody please tell me the search on www.zope.org does not find any
pages containing?
- mod_pcgi2
In fact there are numerous pages including this term.
The problem noted below with the Trigger tab occurs only when Zope is
limited to a single thread. The problem is due to contention for the single
thread. The workaround is to avoid using the Trigger tab on single threaded
Zope's. Or change ZEvent.py like this:
def manage_triggerZEvent(self,
- Original Message -
From: "Simon Michael" [EMAIL PROTECTED]
Related, though specific to Codeit users: I need to pack to avoid the
above, but fear the data-corrupting packing bugs which were fixed in
more recent versions of zope. Codeit, perhaps time for an upgrade ? At
least to
Title: Newbie: Zope a webserver? Serving PHP and Perl
Your second question almost answers the first. You can use
Zope either with or without Apache. One way to handle existing PHP sites is to
put Apache in front of Zope. Then add configuration parameters to Apache to make
it examine the URLs
Image objects have a tag method for setting all the HTML tags:
Try something like (untested):
dtml-var "yourimageID.tag(align='right')"
... or tested (from one of my sites):
dtml-var "ClearDot.tag(width='25')"
-- HTH
-- Loren
- Original Message -
From: "Terry Babbey" [EMAIL
Title: Problem with ZClient
I can't see for sure what the problem is. But I was bitten
by a problem ZClient had with the port specification. You can read about it at
http://www.zope.org/Members/lstaffor/ZScheduler/CHANGES.txt.
Could that be relevant here?
-- Loren
- Original Message
- Original Message -
From: "Loren Stafford" [EMAIL PROTECTED]
To: "michael montagne" [EMAIL PROTECTED]
Sent: July 06, 2000 01:11 PM
Subject: Re: [Zope] Re:Web Site newbie
As Andy also said, "It depends". It depends on what you want to do with
your web
I'm looking for a new job where I can continue to use Zope for website
management and applications development.
Contract or full-time.
Silicon Valley California or telecommute.
If you know of any openings, please let me know.
-- Thanks
-- Loren Stafford
[EMAIL PROTECTED]
http
I'm looking for a new job where I can continue to use Zope for website
management and applications development.
Contract or full-time.
Silicon Valley California or telecommute.
If you know of any openings, please let me know.
-- Thanks
-- Loren Stafford
[EMAIL PROTECTED]
http
From: "Montagne, Michael" [EMAIL PROTECTED]
I'm very excited about learning Python and Zope. I'm a win98 user and
just
today upgraded my service with my ISP to host my web page from home.
Congratulations on becoming an internet host provider.
I hope you have a firewall in front of your PC
ZScheduler Version 0.0.7 Date: 2000/07/02
1. Fixed a bug that caused ZEvents to execute in the wrong context.
2. If the action method of a ZEvent raises an error, a traceback is written
in the log.
3. Added a Trigger tab to the management screen for ZEvents which fires the
event in the same
I haven't thought much about this; I just followed mj's original design.
Maybe there was some reason for this decision. Any comment Martijn?
-- Loren
Loren Stafford wrote:
In that case we decided to put the Schedule in the root folder.
There is no
more global data than the catalog itself
.
http://www.zope.org/Members/michel/Projects/Interfaces/ProductRegistration
is the new official documentation. There's an example of two classes there
that might be relevant.
-- Loren
- Original Message -
From: "Bak @ kedai" [EMAIL PROTECTED]
To: "Loren Stafford" [EMAI
Could we continue this discussion on zope-dev, because this is an
alpha-level product at this point?
I have ZScheduler 0.0.6 running on a Linux machine (www.fippless.org at
CodeIt Computing), so we can't say it's an NT vs. Linux problem. It's more
likely a Linux/Python/Zope configuration issue.
This is going to be hard to debug remotely. Can you help me out?
First try getting ZScheduler 0.0.6 which fixes a problem of non-responsive
Zope, though there the problem was on shut-down not on start-up. Be sure you
have STUPID_LOG_FILE working. Then uncomment some of my debugging statements
here. Let me know how your
mileage varies.
-- Loren
- Original Message -
From: "Stuart 'Zen' Bishop" [EMAIL PROTECTED]
To: "Loren Stafford" [EMAIL PROTECTED]
Cc: "Loren Stafford" [EMAIL PROTECTED]; "zope-dev"
[EMAIL PROTECTED]
Sent: June 15, 2000
1. Zope 2.1.7 has been withdrawn due to CVS confusion. Can you reproduce
the
problem on another version, such as 2.1.6?. Is there any indication of why
it won't start (error message)? Did you start it with -D set, so it would
display errors on the console?
2. This is a spurious error. It
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Stuart 'Zen' Bishop
Sent: Wednesday, June 14, 2000 20:58
To: Loren Stafford
On Wed, 14 Jun 2000, Loren Stafford wrote:
I need some advise for designing a flexible system for logging
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Phillip J. Eby
Sent: Wednesday, June 14, 2000 21:21
To: [EMAIL PROTECTED]; Loren Stafford
At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote:
Its not a problem with ZScheduler, it a problem
I just got a chance to try out ZScheduler 0.0.5 on Solaris 2.6 and some
version of Linux -- and it works. I've changed the CHANGES.txt file to
reflect that fact without incrementing the product version number.
It should now be safe to try the product out on Unix development systems. It
remains,
I need some advise for designing a flexible system for logging the
activities of scheduled events.
One of the motivations for developing ZScheduler was to have a platform
independent means for scheduling Zope tasks. The lask of a cron on Windows
platforms was a part of the problem. ZScheduler
I found some time to do a little work on ZScheduler. The result is alpha
version 0.0.5. You can get it at
http://www.zope.org/Members/lstaffor/ZScheduler.
It appears fully functional on Win98 with Zope versions 2.1.4 and 2.1.6
(with patch to Client.py). But this is still alpha software, so be
Yes, if what you need is a variable shared by all instances of the class.
You need to use a property sheet.
The "How-To" http://www.zope.org/Members/lstaffor/zProperties might help
answer this question, though it speaks more about instance variables.
-- Loren
-Original Message-
From:
ZScheduler is sort of functional on Win98, but not at all on Unix. It seems
to cause Zope to restart when the product is loaded and it doesn't trigger
events. I haven't had the time to track down the symptoms, let alone the
real causes. I'd gladly accept help from others.
-- Loren
-
-
From: "Graham Chiu" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: May 25, 2000 11:11 PM
Subject: Re: [Zope] ZScheduler
In article 019501bfc6c2$91e19b60$2101a8c0@pavilion, Loren Stafford
[EMAIL PROTECTED] writes
Graham,
Thanks for sending all the info. I haven't had a chan
Message -
From: "Graham Chiu" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: May 21, 2000 02:56 PM
Subject: Re: [Zope] ZScheduler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In article 001901bfc360$6e3f9280$2101a8c0@pavilion, Loren Stafford
[EMAIL PROTECTED] writes
What happen
, May 22, 2000 08:48
To: Loren Stafford; Paul Browning; [EMAIL PROTECTED]
Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can
When I try to "Add a Web Folder" on Win98 I get a 404 error on
the resource
_vti_bin both on my own web sites and on www.zope.org. Any
For an events database, I catalog properties "startdate" and "enddate" of
type "date" as field indexes; then I search it in two steps:
First create a temporary list of events that meet the date criteria
dtml-call "REQUEST.set('NewsEventsList',[])"
dtml-in "NewsEventCat(meta_type='News Event',
What happens when you execute the event's "trigger" method from the
browser's location line?
e.g.
http://my.site.dom/my_scheduled_method/trigger
-- Loren
In article 000101bfc01a$1ec3e2e0$[EMAIL PROTECTED], Loren
Stafford [EMAIL PROTECTED] writes
You can try out ZScheduler on
87 matches
Mail list logo