Re: [Zope-dev] Unit testing on win32 with FAT requires patch to custom_zodb.py,isthis a known issue?
Craeg K Strong wrote: > > I was just curious as to what the status is on this. > I just had to apply the patch to yet another Win2000 computer. > Thanks, Well, whoever packages the Win32 binaries needs to re-package them properly. OR we need to be told that Data.fs.in should no longer be used. In which case, we need to change the testing package. cheers, Chris ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Trouble populating a dictionary of dictionaries
From: "Anton Hughes" <[EMAIL PROTECTED]> > After playing around for too long on it, I can't seem to get it to work. I > even tried pre-filling the d-o-d with empty strings. I just don't understand > what I am doing wrong. Your not thinking object oriented enough. Encapsulate, encapsulate, encapsulate. :-) Make objects of everything instead, and thank me later. :-) Then you index the objects in a ZCatalog so you can do searches. Best Regards Lennart Regebro, Torped http://www.easypublisher.com/ ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
Same thing on Debian. 'Data.fs.in' is missing there as well. This is a problem for me as the ZopeTestCase relies on a working Testing package and error reports start to trickle in... AFAIK, 'Data.fs.in' already contains things like the root Application object and the Control_Panel. If no base is given to the DemoStorage, these objects would have to be created every time. Also, 'Data.fs.in' is only 75kb and setting up a test ZODB from it is very fast. Using a large(r) Data.fs file as base for DemoStorage slows things down _considerably_. I am wondering how "getting rid of Data.fs.in" is supposed to look like, and for now am all for advising the packagers not to break the Testing package. ;-) Stefan --On Mittwoch, 11. September 2002 09:05 +0100 Chris Withers <[EMAIL PROTECTED]> wrote: > Craeg K Strong wrote: >> >> I was just curious as to what the status is on this. >> I just had to apply the patch to yet another Win2000 computer. >> Thanks, > > Well, whoever packages the Win32 binaries needs to re-package them > properly. OR we need to be told that Data.fs.in should no longer be used. > In which case, we need to change the testing package. > > cheers, > > Chris > > > ___ > 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/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- Those who write software only for pay should go hurt some other field. /Erik Naggum/ ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Logging in as admin and impersonating another user - is it possible with Zopes sec policy?
Hello! I am wondering if it is possible to write a userfolder that does the following: For certain categories of users, for instance Teachers, while keeping their current authorisation of Teachers, I need to let them "impersonate" a user with lower authorisation than they currently have, say Students. So a logged in Teacher could for instance examine what a particular student sees in a Student portal (i.e. "previewing" it as would that particular student) Is this possible with Zopes current securtiy mechanisms? /dario - Dario Lopez-Kästen, [EMAIL PROTECTED]IT Systems & Services System Developer/System Administrator Chalmers University of Tech. ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
On Wed, Sep 11, 2002 at 03:49:25PM +0200, Stefan H. Holek wrote: > Same thing on Debian. 'Data.fs.in' is missing there as well. This is a > problem for me as the ZopeTestCase relies on a working Testing package and > error reports start to trickle in... > This is not correct. Data.fs.in is in /var/lib/zope/Data.fs.in. As part of the postinst, it is copied to /var/lib/zope/var. Jim Penny ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
Good to hear that! However, I have received the following report: ---8<--- > I do have a 'Data.fs', 'Data.fs.lock' and 'Data.fs.tmp' files in the > '/usr/lib/zope/var' directory, but no 'Data.fs.in' file. =( Is this bad? > My zope is 2.5.1 and I'm using python 2.1.3. I installed zope using the > debian "apt-get" command... ---8<--- Stefan --On Mittwoch, 11. September 2002 10:49 -0400 Jim Penny <[EMAIL PROTECTED]> wrote: > On Wed, Sep 11, 2002 at 03:49:25PM +0200, Stefan H. Holek wrote: >> Same thing on Debian. 'Data.fs.in' is missing there as well. This is a >> problem for me as the ZopeTestCase relies on a working Testing package >> and error reports start to trickle in... >> > > This is not correct. Data.fs.in is in /var/lib/zope/Data.fs.in. As > part of the postinst, it is copied to /var/lib/zope/var. > > Jim Penny -- Those who write software only for pay should go hurt some other field. /Erik Naggum/ ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope-Dev digest, Vol 1 #1825 - 11 msgs
I am away on vacation until Sept 16. If your inquiry is urgent please resend your request to Chris Martin ([EMAIL PROTECTED]) and he will look after it. Alternatively, you can call Chris at 566-0604 Tom Germaine Access Services Administrator ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] finally adding win32 build instructions to zope distro
Let me start with a smiley face :-) Now please can I get ahold of come instructions or notes on how to build zope on win32. I have ms vc5 can I use it or do I need vc6? I'll even take gcc or ming32 help if someone knows how to build it that way on win32. I've looked at the notes on zope.org and not sure if the current inst notes for the source will help me. Since its been promised for some time in the distro notes :-). Is there an ETA for an official win32 build notes to be included with current Zope releases. thanks, - James _ Chat with friends online, try MSN Messenger: http://messenger.msn.com ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Some Zope distributions are missing Data.fs.in
Hi all, I'm using win2k and zope2.5.1 and python 2.1.2. And I don't have the file Data.fs.in. I have the others files. Am I suppose to have this file on win32. tia, - James >Good to hear that! >However, I have received the following report: ---8<--- >I do have a 'Data.fs', 'Data.fs.lock' and 'Data.fs.tmp' files in the >'/usr/lib/zope/var' directory, but no 'Data.fs.in' file. =( Is this bad? >My zope is 2.5.1 and I'm using python 2.1.3. I installed zope using the >debian "apt-get" command... _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
James Johnson wrote: > Hi all, >I'm using win2k and zope2.5.1 and python 2.1.2. And I don't have > the file Data.fs.in. I have the others files. Am I suppose to have > this file on win32. > tia, > - James > You don't need it; it merely provides a bootstrap of what Zope does on startup if there is no Data.fs anyway. ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
Matt, You need Data.fs.in to run unit tests. The Testing package does not work without it. See lib/python/Testing/custom_zodb.py. Stefan --On Mittwoch, 11. September 2002 16:25 -0400 "Matthew T. Kromer" <[EMAIL PROTECTED]> wrote: > James Johnson wrote: > >> Hi all, >>I'm using win2k and zope2.5.1 and python 2.1.2. And I don't have >> the file Data.fs.in. I have the others files. Am I suppose to have >> this file on win32. >> tia, >> - James >> > > You don't need it; it merely provides a bootstrap of what Zope does on > startup if there is no Data.fs anyway. > -- Those who write software only for pay should go hurt some other field. /Erik Naggum/ ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some Zope distributions are missing Data.fs.in
Stefan H. Holek wrote: > You need Data.fs.in to run unit tests. The Testing package does not work > without it. See lib/python/Testing/custom_zodb.py. FWIW, I'm looking into removing that requirement. With a tweaked custom_zodb.py and minor changes to the sessioning machinery, all but three tests pass. (And if I recall correctly, the failing tests are ZEO tests.) Shane ___ 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/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )