[Zope-dev] Re: guarded_getattr

2005-02-15 Thread Stefan H. Holek
Most excellent fix, thanks!
Stefan
On 14. Feb 2005, at 20:24, Jim Fulton wrote:
Tres Seaver wrote:
Jim and I worked on an alternative fix today -- he will be checking it
in to your branch shortly, including modifying cAccessControl.
Done.
Jim
--
Software Engineering is Programming when you can't.  --E. W. Dykstra
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: doubt in starting Zope in debug mode on Windows

2005-02-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Withers wrote:
| [resending 'cos zope-dev bans batch files for some stupid reason :-S]
|
| Aruna Kathiria wrote:
|
|> It started but Im not getting the python command prompt as how we get it
|> on unix when we use zopectl start (in debug mode).
|
|
| I'm fairly sure you mean "zopectl debug" on linux :-)
|
| ...in which case, I use the attached batch script and python script to
| get what you're after.
|
| cheers,
|
| Chris
|
| PS: Debug mode is a red herring here, it has nothing to do with Zope
| starting a command prompt or not.
It does affect what logging output goes to the console, however.  If you
don't switch it on, and start Zope in the foreground, you wont see much
happen, at least until Zope hits a breakpoint.
Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCEjUvGqWXf00rNCgRAtn7AJsG7XjnOfOlSm4v9WUtYnWkDsLf0QCffqn1
x7Nm6YAgq0OZtc7LJQ6iLnc=
=ZOtr
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] doubt in starting Zope in debug mode on Windows

2005-02-15 Thread Chris Withers
[resending 'cos zope-dev bans batch files for some stupid reason :-S]
Aruna Kathiria wrote:
It started but Im not getting the python command prompt as how we get it
on unix when we use zopectl start (in debug mode).
I'm fairly sure you mean "zopectl debug" on linux :-)
...in which case, I use the attached batch script and python script to
get what you're after.
cheers,
Chris
PS: Debug mode is a red herring here, it has nothing to do with Zope
starting a command prompt or not.
runinteractive.bat:
set ZOPE_HOME=e:\Zope\2.7.3
set PYTHON=%ZOPE_HOME%\bin\python.exe
set INSTANCE_HOME=E:\Zope\MyInstance
cls
%PYTHON% -i %INSTANCE_HOME%\bin\interactive.py %INSTANCE_HOME%\etc\zope.conf
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk

# (c) Simplistix Ltd 2004
# All rights reserved

import os
import sys

config_file = os.path.realpath(sys.argv[1])
sys.argv=sys.argv[:1]
print "Parsing %s" % config_file
import Zope
Zope.configure(config_file)
app = Zope.app()

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