Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford
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

Re: [Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread Loren Stafford
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',

RE: [Zope] Win98 and WEBDAV - you ought to see it if you can

2000-05-23 Thread Loren Stafford
, 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

Re: [Zope] ZScheduler

2000-05-25 Thread Loren Stafford
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

Re: [Zope] ZScheduler

2000-05-26 Thread Loren Stafford
- 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

Re: [Zope] How to ZCatalog DTML documents and/or HTML files automatically?

2000-06-04 Thread Loren Stafford
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 -

RE: [Zope] ZClass and class variable

2000-06-05 Thread Loren Stafford
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:

[Zope] Fw: ZScheduler-0.0.5 problem

2000-06-19 Thread Loren Stafford
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

Re: [Zope] python product - newbie

2000-06-22 Thread Loren Stafford
. 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

RE: [Zope] Proxying/Sharing internet for Windows 95

2000-06-26 Thread Loren Stafford
http://www.winproxy.com/yahoobanner.htm http://www.proxyplus.cz/ http://home.computalynx.co.uk/ ...some bookmarks I made about a year ago when I was invesitgating Win98 proxies. I ended up buying a cheap-but-effective router with proxy and address translation embedded. --HTH --Loren

[Zope] Looking for Zope webmaster or web developer job

2000-07-05 Thread Loren Stafford
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

Re: [Zope] Web site newbie

2000-07-05 Thread Loren Stafford
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

[Zope] Fw: [Zope] Re:Web Site newbie

2000-07-06 Thread Loren Stafford
- 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

Re: [Zope] Problem with ZClient

2000-07-11 Thread Loren Stafford
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

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Loren Stafford
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

Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-13 Thread Loren Stafford
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

Re: [Zope] ZStylesheet

2000-07-16 Thread Loren Stafford
I found the series of articles on CSS compatibility at www.webreview.com helpful in sorting out the incompatibilities and finding a middle ground that would work. -- Loren - Original Message - From: "Neil Burnett" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: July 15, 2000 12:40 PM

Re: [Zope] packing on ZSPs (was Re: [Zope] zope.org down)

2000-07-21 Thread Loren Stafford
- 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

Re: [Zope] Moving site from dev to prod.

2000-07-28 Thread Loren Stafford
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

Re: [Zope] search on www.zope.org

2000-07-28 Thread Loren Stafford
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.

Re: [Zope] How-To: Dropbox date entry for html forms

2000-08-03 Thread Loren Stafford
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

Re: [Zope] How to prime a selection?

2000-08-04 Thread Loren Stafford
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.

Re: [Zope] Python Product Tutorial

2000-08-04 Thread Loren Stafford
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

Re: [Zope] Client.py

2000-08-09 Thread Loren Stafford
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

Re: [Zope] threading cont ...boundary=------------98A416F9F4157B1993D63C72

2000-08-09 Thread Loren Stafford
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

Re: [Zope] Importable Xron

2000-08-09 Thread Loren Stafford
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

Re: [Zope] Importable Xron

2000-08-10 Thread Loren Stafford
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

Re: [Zope] Importable Xron

2000-08-10 Thread Loren Stafford
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

[Zope] ANNOUNCE: Xron alpha version 0.0.8

2000-08-10 Thread Loren Stafford
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

[Zope] Xron Product Screenshots [was: Importable Xron]

2000-08-11 Thread Loren Stafford
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

[Zope] Fw: [Zope] Can't get ZClient to work, zope 2.2.0

2000-08-11 Thread Loren Stafford
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)

Re: [Zope] ANNOUNCE: Xron alpha version 0.0.9

2000-08-14 Thread Loren Stafford
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]

Re: [Zope] Xron not seeming to work

2000-08-14 Thread Loren Stafford
From: "Bill Anderson" [EMAIL PROTECTED] Ok, after downloading the new Xron (0-0-9), I seem to have a problem. This code: = dtml-with "PARENTS[-1].manage_addProduct['DinerItems']" dtml-call "DailyOrder_add(_.None, _)" /dtml-with dtml-with "PARENTS[-1]"dtml-sendmail mailhost=MailHost

[Zope] Re: Xron seems to not work

2000-08-14 Thread Loren Stafford
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

Re: [Zope] Re: Xron seems to not work

2000-08-14 Thread Loren Stafford
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

Re: [Zope] Product question

2000-08-15 Thread Loren Stafford
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

Re: [Zope] Another Product question

2000-08-15 Thread Loren Stafford
-- 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.

[Zope] Re: concerning Xron with DA

2000-08-17 Thread Loren Stafford
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

Re: [Zope] looking for DTML Property examples

2000-08-17 Thread Loren Stafford
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,

[Zope] Re: Xron test

2000-08-18 Thread Loren Stafford
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

Re: [Zope] sending mail slow?

2000-08-18 Thread Loren Stafford
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

[Zope] Xron and Security [was ZScheduler and Pack]

2000-08-22 Thread Loren Stafford
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

Re: [Zope] ZClass Date Fields

2000-08-23 Thread Loren Stafford
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

Re: [Zope] ZClass Date Fields

2000-08-24 Thread Loren Stafford
: "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/

Re: [Zope] Where do I find out about cookies?

2000-08-24 Thread Loren Stafford
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

Re: [Zope] Sub Class Question

2000-08-26 Thread Loren Stafford
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:

Re: [Zope] From date to timestamp

2000-08-26 Thread Loren Stafford
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

Re: [Zope] Sub Class Question

2000-08-27 Thread Loren Stafford
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

Re: [Zope] Newbie question: FORM processing in Zope.

2000-08-28 Thread Loren Stafford
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:

Re: [Zope] Re: ZOPE Python edit debug cycle

2000-08-29 Thread Loren Stafford
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

Re: [Zope] Non-blocking MailHost

2000-09-04 Thread Loren Stafford
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

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Loren Stafford
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

[Zope] Re: Scheduling Xron event reports TypeError

2000-09-08 Thread Loren Stafford
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

Re: [Zope] Xron TypeError revisited

2000-09-12 Thread Loren Stafford
From: "Dwayne Morrison" [EMAIL PROTECTED] Hello, I posted earlier about Xron 0.0.9 event scheduling woes. One of my stabs in the dark seems to work. I removed the 'this()' parameter entirely and now am able to schedule events via DTML. I'm glad you figured out how to proceed. I

Re: [Zope] Should I use ZODB or not ?

2000-09-19 Thread Loren Stafford
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

RE: [Zope] Z-Commerce components

2000-12-28 Thread Loren Stafford
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

[Zope] Variable sort and multiple sort in dtml-in

2001-01-17 Thread Loren Stafford
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

RE: [Zope] Using images as submit buttons

2001-01-18 Thread Loren Stafford
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

[Zope] FW: Variable sort and multiple sort in dtml-in

2001-01-18 Thread Loren Stafford
-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

RE: [Zope] Setting the sort var in dtml-in ...sort=sortVar

2001-01-18 Thread Loren Stafford
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

RE: [Zope] (Cc || Bcc) dtml-sendmail

2001-01-19 Thread Loren Stafford
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]

RE: [Zope] ZClasses and title property

2001-01-19 Thread Loren Stafford
"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:

[Zope] Re: Xron for Zope: Asking for Help

2001-01-30 Thread Loren Stafford
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

[Zope] Re: How to make a zclass as default Xron methods?

2001-01-30 Thread Loren Stafford
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

[Zope-dev] Announce: ZScheduler alpha 0.0.5

2000-06-13 Thread Loren Stafford
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

[Zope-dev] ZScheduler runs on Unix!

2000-06-14 Thread Loren Stafford
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,

[Zope-dev] Logging for ZScheduler?

2000-06-14 Thread Loren Stafford
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

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Loren Stafford
-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

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Loren Stafford
-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

RE: [Zope-dev] Logging for ZScheduler?

2000-06-16 Thread Loren Stafford
PROTECTED]]On Behalf Of Stuart 'Zen' Bishop Sent: Thursday, June 15, 2000 13:52 To: Loren Stafford Cc: Loren Stafford; zope-dev Subject: RE: [Zope-dev] Logging for ZScheduler? On Thu, 15 Jun 2000, Loren Stafford wrote: It would be a good idea if there was a field in the ZEvent that defined

[Zope-dev] ZScheduler alpha Version 0.0.6

2000-06-19 Thread Loren Stafford
ZScheduler Version 0.0.6 Date: 2000/06/19 1. Inserted dispatcher.setDaemon(1) in __init__.py so Dispatcher thread terminates when you shut down Zope. 2. Created companion product FrozenLogger to help with STUPID_LOG on Zope ISPs. FrozenLogger has been successfully tested at my CodeIt

Re: [Zope-dev] Logging for ZScheduler?

2000-06-19 Thread Loren Stafford
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

[Zope-dev] Re: Objet : Re: ZScheduler-0.0.5 problem

2000-06-20 Thread Loren Stafford
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

[Zope-dev] Re: [Zope] ZScheduler-0.0.6 problem

2000-06-21 Thread Loren Stafford
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.

RE: [Zope-dev] Product Data Storage

2000-06-30 Thread Loren Stafford
This issue sounds similar to ZScheduler's Schedule catalog. In that case we decided to put the Schedule in the root folder. There is no more global data than the catalog itself, but if there were it could be stored in the catalog folder, since catalogs are folderish. There used to be some code

RE: [Zope-dev] Product Data Storage

2000-06-30 Thread Loren Stafford
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

[Zope-dev] Announce: ZScheduler alpha Version 0.0.7

2000-07-03 Thread Loren Stafford
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

[Zope-dev] Looking for Zope webmaster or web developer job

2000-07-05 Thread Loren Stafford
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

Re: [Zope-dev] Announce: ZScheduler alpha Version 0.0.7

2000-07-27 Thread Loren Stafford
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,

[Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler

2000-07-28 Thread Loren Stafford
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:

[Zope-dev] Client.py prevents ZScheduler with SSL? (was: Zope.org feedback)

2000-07-28 Thread Loren Stafford
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

Re: [Zope-dev] Xron and security

2000-08-22 Thread Loren Stafford
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

Re: [Zope-dev] Xron fragility

2000-10-12 Thread Loren Stafford
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

Re: [Zope-dev] Xron fragility

2000-10-12 Thread Loren Stafford
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

[Zope-dev] Future of Xron and method scheduling in Zope

2000-10-12 Thread Loren Stafford
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

RE: [Zope-dev] access db linux

2001-03-29 Thread Loren Stafford
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)

RE: [Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Loren Stafford
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

RE: [Zope-dev] I am looking for a DragDrop target.

2001-04-09 Thread Loren Stafford
I'm just speculating, because I've never done this, but I do remember that Javascript has a event handler named "onDragDrop". Perhaps you could use that to fill in the name of the file object. -- Loren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: [Zope-dev] Database indexing using Z Catalogs

2001-04-12 Thread Loren Stafford
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

RE: [Zope-dev] Xron

2001-05-11 Thread Loren Stafford
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

RE: [Zope-dev] : XCRON

2001-05-11 Thread Loren Stafford
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

RE: [Zope-dev] Xron error!!!

2001-05-24 Thread Loren Stafford
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

[Zope-dev] Manage Interface

2001-05-24 Thread Loren Stafford
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

RE: [Zope-dev] SearchIndex Splitter lowercase indexes?

2001-05-24 Thread Loren Stafford
Have you seen http://www.zope.org/Members/brianh/JSplitter FYI -- Loren ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Loren Stafford
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?

RE: [Zope-dev] a beginners question ...

2001-06-13 Thread Loren Stafford
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;