Re: [Zope-dev] Help: __getstate__ overriding

2004-06-01 Thread Syver Enstad
Tim Peters [EMAIL PROTECTED] writes: [Syver Enstad, wants to switch an attribute of a Persitent subclass From PersistentList to an IOBTree] [Tim, guessing] Quick guess (untested, untried, ... ... Perhaps shuffling the code around would work, a la: Persistent.__setstate__(self,

[Zope-dev] Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-06-01 Thread Jim Fulton
Chris Withers wrote: ... I thought we had this whole discussion about 1-2 years ago, and I REMEMBER writing CODE for this back then that involved : as the adapter indicator. Yup. We implemented: ob/adapter:name which is equivalent to: ob/adapter:/name and, in fact, you can say just:

Re: [Zope-dev] Bug Day status report

2004-06-01 Thread Paul Winkler
On Mon, May 31, 2004 at 10:55:22PM +0200, PieterB wrote: RESOLVED: #1213, #852, #1293, #1355, #1265, #1352, #1094, #993, #1132, #596 Thanks for resolving some of the Zope bugs! It noticed http://collector.zope.org/Zope/1265 is still 'Pending' according to the collector. I can change the

Re: [Zope-dev] Bug Day status report

2004-06-01 Thread Andreas Jung
It's resolved --On Dienstag, 1. Juni 2004 9:54 Uhr -0400 Paul Winkler [EMAIL PROTECTED] wrote: On Mon, May 31, 2004 at 10:55:22PM +0200, PieterB wrote: RESOLVED: #1213, #852, #1293, #1355, #1265, #1352, #1094, #993, #1132, # 596 Thanks for resolving some of the Zope bugs! It noticed

RE: [Zope-dev] Help: __getstate__ overriding

2004-06-01 Thread Tim Peters
[Syver Enstad] I was aware that __setstate__ doesn't allow me to commit my changes after only loading the object into memory (__setstate__ is called). I may have explained myself unclearly (not a native english speaker/writer), I don't think that matters much: English instead of code is

[Zope-dev] Product Testing

2004-06-01 Thread Marshall Powers
I'm somewhat new to zope in general, and I've been having some trouble developing products. Im running 2.7 on WinXP as a windows service. My biggest problem is with debugging my products. Right now, the only feedback I get is whether or not the zope service starts successfully. It would really

Re: [Zope-dev] Product Testing

2004-06-01 Thread Chris McDonough
For development, it's better to run Zope under a DOS box by using runzope.bat than it is to continually stop and start the Zope NT service. Zope as an NT service has particularly poor error reporting for startup problems ( see http://zope.org/Collectors/Zope/1020 ). If you use runzope.bat

Re: [Zope-dev] Product Testing

2004-06-01 Thread robert rottermann
Do not run Zope as a service but from a batch file (you find it as /YOURINSTANCE/bin/runzope.bat) Then I would propose using wing from www.wingide.com. I recomend the beta 2.0 version since it has a muchg nicer UI than the V 1.X Robert Marshall Powers wrote: I'm somewhat new to zope in general,

[Zope-dev] Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-06-01 Thread Chris Withers
Jim Fulton wrote: Yup. We implemented: ob/adapter:name ...which to me says: take adapter, apply to it object with name as a parameter ...what I'd like it to say would give meaning to: my_content_object/zapi:title ...meaning apply the title adapter from the zapi package to my_content_object,

[Zope-dev] Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-06-01 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: Yup. We implemented: ob/adapter:name ...which to me says: take adapter, apply to it object with name as a parameter That's close to the meaning of Even Simpson's Zope 2 ':' extension. Which is why we don't want to use this syntax for adapters. ...what I'd

[Zope-dev] dynamic database connection

2004-06-01 Thread gknath2003
hi all, i am quite new to zope. i am using mxODBC to connect to mssql server. i need to create a connection dynamically to the database depending on dsn,name and password obtained from the user. what is the best way to do this? As all my sqls depend on this connection object, do i need to create