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;

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] 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 - http://lists.zope.org/mailm

[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 mak

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 Dispatch

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 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 PR

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,

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 > O

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 permissio

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)

[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

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 req

Re: [Zope-dev] Xron fragility

2000-10-12 Thread Loren Stafford
From: "Chris McDonough" <[EMAIL PROTECTED]> > > > As a side note, I do not like the fact that Xron requires you to use > special > > > DTML methods. I suppose this is a requirement in this architecture due > to > > > the fact they need to be autocataloged, but I don't really like that > featur

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 sh

Re: [Zope-dev] Xron fragility

2000-10-12 Thread Loren Stafford
From: "Chris McDonough" <[EMAIL PROTECTED]> [snip] > As a side note, I do not like the fact that Xron requires you to use special > DTML methods. I suppose this is a requirement in this architecture due to > the fact they need to be autocataloged, but I don't really like that feature > either

[Zope-dev] Fw: [Zope-dev] ZPublisher.Client

2000-10-10 Thread Loren Stafford
- Original Message - From: "Loren Stafford" <[EMAIL PROTECTED]> To: "Andrew Edmondson" <[EMAIL PROTECTED]> Sent: October 09, 2000 10:59 AM Subject: Re: [Zope-dev] ZPublisher.Client > This is a known problem. > http://classic.zope.org

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".

[Zope-dev] ANNOUNCE: Xron spins off from ZScheduler

2000-08-05 Thread Loren Stafford
The copyright to ZScheduler belongs to my former employer, who, as far as I know do not plan continued development. I have created a derivitive product, Xron, in accord with the GPL licence of ZScheduler, and my future development effort will go into Xron. The copyright for the changes to ZSched

[Zope-dev] Re: ZScheduler and SSL

2000-07-31 Thread Loren Stafford
wn. -- Loren - Original Message - From: "Jim Sanford" <[EMAIL PROTECTED]> To: "Loren Stafford" <[EMAIL PROTECTED]> Sent: July 31, 2000 07:03 AM Subject: Re: ZScheduler and SSL [was: Zope.org feedback] > Every link is hard coded and is fully qualified s

[Zope-dev] Re: zscheduler question

2000-07-31 Thread Loren Stafford
Klaus, Thank you for being an alpha tester of ZScheduler. Let's carry on these discussions on zope-dev (as long as it's still an alpha product), for the benefit of other alpha testers, and to benefit from the ideas of other developers. From: "Klaus Ahrens" <[EMAI

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

2000-07-28 Thread Loren Stafford
om all over the 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 > > ZSch

[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: TypeErro

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, cli

[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]

[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

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 > > mo

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 i

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

2000-06-22 Thread Loren Stafford
I wouldn't waste any time working with Zope 2.1.7 -- it has been withdrawn due (so I understand) to a confusion in the CVS between the 2.1.x branch and the 2.2.x branch; it might be the cause of the problem. Can you go back to 2.1.6 or upgrade to 2.2.0b2 when it comes out (soon)? -- Loren -

[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. T

[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 (ca

Re: [Zope-dev] Logging for ZScheduler?

2000-06-19 Thread Loren Stafford
f the Zope virtual hosting schemes I've read about 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&qu

[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 Computin

RE: [Zope-dev] Logging for ZScheduler?

2000-06-16 Thread Loren Stafford
[EMAIL 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 wou

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: > > >

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 des

[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 ach

[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, h

[Zope-dev] Client.py bug for ZScheduler

2000-06-13 Thread Loren Stafford
A bug that affects ZScheduler was reported (with fix) some time ago at... http://classic.zope.org:8080/Collector/1112/view Any chance of getting this resolved before Zope version 2.2 is finalized? -- Thanks -- Loren ___ Zope-Dev maillist - [EMAIL

[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 car