[Zope] NTUserFolder still useful?

2005-10-17 Thread Sean Dunn








I’m running Zope on WindowsXP with plans to run it on
server 2003. Instead of creating user accounts I’d like to leverage NT
authentication.. And NTUserFolder looks like it might be what I want, except
that it looks like a dead product. Besides a note that it works on Win2k under
certain constraints, I’m not sure if I should try using it. Have people
had success installing this on WinXP/S2003?

 

Thank you,

Sean

 

-

Sean Dunn

Tools Programmer

Troublemaker Digital

 






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Python editor in zope?

2005-09-02 Thread Sean Dunn
I've tried the ExternalEditor feature, and after a couple sessions I get
an error that says it can no longer find the process. This is from
Firefox. But even if that did work for me, I'd never use it since I'm
often working on different platforms in different locations, so it's not
guaranteed that I'll have a good external editor at any given point. 

And to reply to Ricardo's post that just came in, I like through-the-web
development.. It's really convenient. Having a web-based sandbox to work
in is actually one of the reasons I'm using Zope instead of some LAMPish
system. Sorry if I seemed like I was complaining about Zope -- I think
it's great. 

Thanks for your replies,
Sean

-Original Message-
From: Paul Winkler [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 02, 2005 9:36 AM
To: Sean Dunn
Cc: zope@zope.org
Subject: Re: [Zope] Python editor in zope?

> ... there any pure
> JavaScript/CSS code editors that can do search/replace, block indents,
> and (this would be amazing) Python syntax highlighting?

I don't know about that, but have you tried using ExternalEditor?

-PW



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Python editor in zope?

2005-09-02 Thread Sean Dunn








I’m new to Zope, and am getting tired of using
textarea’s to edit my Python/[HD]TML code. My space-bar thumb is starting
to get an unnatural twitch, from hitting it multiple times at the beginning of every
line of code. J 

 

I’ve installed TinyMCE and Epoz, and they’re
both great for documents.. But they’re both useless for writing code.
Instead of writing my own skin for TinyMCE (and reinventing the wheel), are
there any pure _javascript_/CSS code editors that can do search/replace, block
indents, and (this would be amazing) Python syntax highlighting?

 

Thanks,

Sean

 






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Locking MySQL tables via Z MySQL Database Connections

2005-08-25 Thread Sean Dunn








I’m confused as to what the thread “scope rules”
are between Zope and MySQL.

 

I would like to be able to emulate transaction control in
MySQL in a Python script in Zope, but I’m unclear as to how the Z MySQL
DB Connection works, and what defines a “thread” for it? I need to
be able to LOCK tables, INSERT, SELECT, INSERT, and then UNLOCK the tables.
But, if I put each of these commands in separate Z SQL queries, and call them
each from a Python script, are they guaranteed to be in the same SQL thread, so
that their locking context will be the same, or will they all be executed on
different MySQL threads? Or…on the other extreme, does every query from a
Zope server use the same connection thread? And does that thread simply exist
until the connection times out and it has to reconnect?

 

Thank you,

Sean

 






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] max 2 levels of indirection?

2005-08-22 Thread Sean Dunn








I’m running Zope 2.0.7, and I’m having a
problem.. Consider me a newbie, as I’ve only been using Zope for a few
weeks.

 

After boiling the problem down to a test case, it seemed
that I couldn’t have a DTML method call a DTML method which then calls a
Python script. But then I realized it was a more general problem of max number
levels of indirection.. So I can’t have a DTML->DTML->DTML or
DTML->DTML->PythonScript. Is this a bug? When I try this, I get a Name
Error, which says that the name of the 3rd level object is not
defined.

 

 

Here’s an example:

 

DTML Method TestA:



 

DTML Method TestB:



 

DTML Method TestC:

Test C has run.

 

 

If I view TestA, I get the NameError that TestC doesn’t
exist. If I view TestB, I get the output “Test C has run”. All objects
are in the same folder.

 

Is there some namespace weirdness that I don’t
understand?

 

Thanks,

Sean

 






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )