[Zope-dev] 2 Zopes

2000-10-25 Thread Andre Schubert

Hi,

Can anyone tell me a way to get Zope Objects from the first
Zope-Installation to the second.
I need this because i have to program a Product to putting data into
different Zope Installations from one point of the Web.
My boss want this way because he want a central point for data input,
where the data are of different type and therefore they have to stored
in different locations( different Zope Installations) My idea is to use
ZPublisher.Client, but i don't find a way to use it.

thanks as


___
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] Security and Acquisition?!

2000-10-25 Thread Chris Withers

Toby Dickenson wrote:

 Zope security is context based: Users can be defined in a subfolder and only
 have access under that folder, they can also be given local roles for a
 given folder. The role:permission mapping is set per-folder. Any security
 aware object needs to know its context.

Yeah, I think I get it now *grumble* *grumble* ;-)

  That said, I think Shane said that Zope security is
  predicated a lot on
  Acquisition. Now, can I get the solution I'm looking for by mixing in
  Aquisition.Explicit, still have the security stuff work and
  not have the
  DisplayClass acquiring attributes I don't want it do?
 
 Yes, you will need to set Acquisition.Acquired for the necessary attributes.

Anyone know what those attributes are?

Maybe someone could knock up a new class in Acquisiton:

Acquisition.SecurityAcquire which does this but is like
Acquisition.Explicit for everything else?

 
 Wanting to make an object non-acquiring may be a danger-sign of some other
 problems. If the correctness of your program depends on the absence of
 certain attributes (acquired or otherwise) then you need to take extra care
 over PropertyManager-like features, which might allow a user to add the
 critical attribute.

Yeah, I know :-S

But these are very specific classes that exist for no longer than the
duration of serving a single page request, and it'd just be nice to know
that they're not going to acquire and fluff they shouldn't...

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 )




[Zope-dev] RE: Security and Acquisition?!

2000-10-25 Thread Toby Dickenson

 Anyone know what those attributes are?

Heres a good trick: add this method to your class to see which attributes it
is asked for, but doesnt implement.

 def __getattr__(self,id,reg={}):
 if not reg.has_key(id):
 print `id`
 reg[id]=id
 raise AttributeError(id)

 But these are very specific classes that exist for no longer than the
 duration of serving a single page request, and it'd just be 
 nice to know
 that they're not going to acquire and fluff they shouldn't...

An alternative approach: apply tighter security to the method that
constructs these objects, and leave the objects themselves completely open.


___
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] 2 Zopes

2000-10-25 Thread Ender

Andre Schubert wrote:
 
 Hi,
 
 Can anyone tell me a way to get Zope Objects from the first
 Zope-Installation to the second.
 I need this because i have to program a Product to putting data into
 different Zope Installations from one point of the Web.
 My boss want this way because he want a central point for data input,
 where the data are of different type and therefore they have to stored
 in different locations( different Zope Installations) My idea is to use
 ZPublisher.Client, but i don't find a way to use it.
 
 thanks as

i've never done it before, but the options as always are multiple
depending on your needs and requirements.

if you can distill your objects down to simple python types (lists,
dicts, etc) you can try using xml-rpc and reconstructing the object on
the separate system. there is even a product that uses xml-rpc to
facilitate sharing between zope installs.

if you don't need to really replicate the info, and depending on the
frequency which it will need to be accessed you can just use xml-rpc to
a function on the second server and display the results directly on the
first server.

if you need to copy the actual objects verbatim you might want to
investigate exporting to zexp and using file transfer between the hosts
and (using Client to faciltate calling into zope) importing them on the
second server.

hth

kapil

___
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] extending objectValues() and objectIds() or ?

2000-10-25 Thread Dennis Nichols

Thanks for the advice (below). I added another parameter for meta type and 
everything works great. What's the advantage of using Python Method rather 
than an external method, other than thru-the-web editing? Any disadvantages?

At 10/24/00 06:45 PM, Itamar Shtull-Trauring wrote:
Write a Python Method (install the PythonMethods product first) called say,
publishableObjectValues that does that:

paramself/param

# functions that returns publishable objects
result = []
for o in self.objectValues():
if o.isPublishable(): result.append(o)
return result


--
Dennis Nichols
[EMAIL PROTECTED]


___
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] Large file support

2000-10-25 Thread Toby Dickenson

On Tue, 24 Oct 2000 20:31:52 +0200, [EMAIL PROTECTED] wrote:

   If the Zope object knows how to produce the data themselves, they
   could push producer(s) directly to the channel.  I added a single
   check in ZServer.HTTPResponse(256) where a temporary file is only
   created if the data is larger than the in-memory buffer *and*
   doesn't already look like a producer with 'more' as a method.

Wahay! thats been on my todo list for ages. Ill take a look when I get
some time.


Toby Dickenson
[EMAIL PROTECTED]

___
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] Unique and Contant object IDs

2000-10-25 Thread Chris Withers

Toby Dickenson wrote:
 
 On 24 Oct 2000 15:14:24 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote:
 
 Unfortunately there are a lot of things that Zope just can't do because
 there is no way to get a persistent "ticket" for an object that can be
 handed out to some external system, and then later redeemed for the
 (properly wrapped) object. Pathnames are not useful, because they don't
 last for the object's lifetime.
 
 How come? because you want the identity to remain unchanged even after
 the object is moved? or duplicated?

Yeah, I'd love an ID I could use to grab an object no matter how often
it was used.

Why wouldn't the following work though:

...in a class method...

self.theobject = theObject

...where theObject is something I want a reference to and self is a
persistent class...


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] Large file support

2000-10-25 Thread Chris Withers

How does this differ from Local FS?

cheers,

Chris

[EMAIL PROTECTED] wrote:
 
 I have been building an "ExternalFile" class which stores the body of
 the file in an external file, mirroring the Zope path/hierarchy.  This
 will allow easy integration with servers that can mount the external
 representation of the content and serve it with a consistent namespace.
 
 To make life zimple, I tried to move all file manipulation to Zope,
 including upload/download/copy/cut/paste/delete and permissions.  These
 external files are transaction aware, blah blah..
 
 Working with files  20MB I notices some serious performance/scalability
 issues and investigated.  Here are the results.
 
 A diff with my changes against version 2.2.2 is available at
 http://www.superchannel.org/Playground/large_file_zope2.2.2_200010241.diff
 
 Concerns:
 
 Zope objects like File require data as a seekable file or as a
 coherent block, rather than as a stream.  Initializing/updating
 these objects *may* require loading the entire file into memory.
 
 In memory buffering of request or response data could cause
 excessive swapping of the working set.
 
 Multi-service architecture (ZServer-ZPublisher) could limit the
 reuse of stream handles.
 
 Creating temporary files as FIFOs buffers between the services
 causes signficant swapping.
 
 Modifications:
 
 Using pipes I found that FTPServer.ContentCollector was using a
 StringIO to buffer the uploads from FTP clients.  I changed this
 into a TemporaryFile for a while which revealed the leaked file
 descriptor bug (see below).  This intermediary temp file caused 1
 extra file copy for each request.  The goal is to not have any
 intermediary files at all, and pipeline the content directly into
 the Zope objects.
 
 To remove this FTP upload file buffer, I converted the FTP collector
 again from a TemporaryFile into a pipe with a reader and writer file
 objects.  The FTPRequest receives the reader from which it can
 process the input on the publish thread in processInputs.
 
 Since we are dealing with blocking pipes it is OK to have a reader
 on the publish thread and a writer on the ZServer thread.  The major
 considerations were regarding the proper way to read from a pipe
 through the chain of control, especially in cgi.FieldStorage.
 
 Stdin is treated as the reader of the pipe throughout the code.  All
 seek()s and tell()s on sys.stdin type objects (a tty not a seekable
 file) should be considered illegal and removed.
 
 Usage of FieldStorage from FTP (Unknown content-length)
 
 To gain access to the body of a request, one typically calls
 REQUEST['BODY'] or REQUEST['BODYFILE'].  This returns the file
 object the FieldStorage copied from stdin.
 
 To prevent FieldStorage from copying the file from stdin to a
 temporary file, we can set the CONTENT_LENGTH header to '0' in the
 FTP _get_env for a STOR.
 
 In this case, FieldStorage creates a temporary file but doesn't read
 any data from stdin so we can return stdin directly when BODYFILE is
 requested and 'content-length' is '0'.  However, BODYFILE could be a
 pipe which doesn't support 'seek' or 'tell'.  The code used to suck
 the data off the BODYFILE needs to be modified to adapt to the
 possibly of being passed a pipe.
 
 Updating Image.File to play with pipes
 
 The _read_data method of Image.File pulls the data out of the
 BODYFILE and sticks it in the instance as a string, pdata object, or
 a linked list of pdata objects.  The existing code reads and builds
 the list in one clean sweep back-to-front.  I belive this keeps the
 pdata.data chunks out of memory, quickly (sub)committing then
 deactivating (_p_changed = None) them.
 
 Since we can no longer safely assume 'seek' is valid for BODYFILE, I
 tried to read and build the list front-to-back.  This kept the data
 in memory, even though I tried to deactivate the objects quickly.
 
 As a tradeoff, I read the data front-to-back then built the list
 back-to-front taking another pass to reverse the list so it is in
 the correct order.
 
 Memory usage appears to be steady, meaning the whole file is not
 loaded into the working set.  This also prevents unecessary reading
 into a temporary FieldStorage file during an FTP upload.
 
 Web based uploads...
 
 ...suck.  I do not recommend doing a web based upload for files
  1mb.  First, a content-length is known, so we don't get the
 advantage of pipelining the data directly from the socket, a
 temporary file must be created, written and read.  Second, I 

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Chris Withers

Toby Dickenson wrote:
 
  Yeah, I'd love an ID I could use to grab an object no matter how often
  it was used.
 
 I suspect you will have to build this yourself. Store a sufficiently random
 id inside your objects when they are created, and use a ZCatalog to index
 them.

blech! ;-)

  Why wouldn't the following work though:
 
  ...in a class method...
 
  self.theobject = theObject
 
  ...where theObject is something I want a reference to and self is a
  persistent class...
 
 theObject would need to be persistent too. This has a number of
 characteristics that I would class as problems, but may be exactly what you
 want:
 
 * theObject will have different acquisuition context when accessed through
 its main path, and through self.theobject. This means different:
* security

:-(

* absolute_url

...that'd probably behaev how I'd want

* configuration obtained through acquisition. What if theObject is
 CatalogAware?

CatalogAware is the work of the devil anyway ;-) ZPatterns ahs got to be
better for doing that kindof stuff ;-)

 * theObject isnt removed from the database when it is deleted from its
 folder; this other reference keeps it alive.

That, too, would be what I want... although I can think of other
situations where that would be bad... argh!

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] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring

Chris Withers wrote:

  I suspect you will have to build this yourself. Store a sufficiently random
  id inside your objects when they are created, and use a ZCatalog to index
  them.
 
 blech! ;-)

This is the normal way to keep references to objects.  I asked Jim Fulton at
IPC8, and he basically said "don't use _p_oid", which means this is the only
way.  Of course, once the observer interface is more well developed you
won't need the Catalog part.

 CatalogAware is the work of the devil anyway ;-) ZPatterns ahs got to be
 better for doing that kindof stuff ;-)

Yup - no object_reindex() every time you change the object, no need to
inherit from anything.  You can  have automatic catalogging in any DataSkin
object trivially, with no change to your class.

-- 
Itamar S.T.  [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C

___
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] WriteLocking RiskFactors updated

2000-10-25 Thread Brian Lloyd

 The WriteLocking RiskFactors artifact has had some new work done on it and
 I'm interested in some editorial comments and review before work begins on
 Architecture and UseCases.
  http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/RiskFactors

 Make any comments you have at:

 http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/ProjectDi
 scussion

I added a few comments on this...


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.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] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring

Johan Carlsson wrote:

 Why are the _p_oid depriciated?

Not depreciated, just "don't use them."

-- 
Itamar S.T.  [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C

___
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] Large file support

2000-10-25 Thread seant

There is not much difference between the ExternalFile class I'm working
with and the File objects produced by LocalFS except External Files can
be put anywhere in the Zope hierarchy and LocalFS files need to be under
a LocalFS.  Each approach has its pros and cons.

This proposal mostly deals with the Zope framework, which will effect
both products.

Chris Withers([EMAIL PROTECTED])@Wed, Oct 25, 2000 at 12:35:23PM +0100:
 How does this differ from Local FS?
 
 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] Large file support

2000-10-25 Thread Toby Dickenson

 I should also note that if you create a producer, you will have to
 override the __len__ method to return the entire length of the data.

 This is because RESPONSE.write doesn't allow you to set the 
 length of a
 write and there code during output that checks the size of the written
 object.

  Wahay! thats been on my todo list for ages. Ill take a look 
 when I get
  some time.


Damn. Its back on my to-do list then ;-)

___
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] Unique and Contant object IDs

2000-10-25 Thread Johan Carlsson




 Johan Carlsson wrote:
 
  Why are the _p_oid depriciated?
 
 Not depreciated, just "don't use them."

But I want too, why shouldn't I?
They solves my problems with mapping relational data to objects.

If I were to use my own random id generator I would need a global
registry for my UID. I really want that to be a feature in the ZODB.

//Johan




___
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] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring

Johan Carlsson wrote:

   Why are the _p_oid depriciated?
 
  Not depreciated, just "don't use them."
 
 But I want too, why shouldn't I?
 They solves my problems with mapping relational data to objects.

I would guess multiple databases can have the same oid's for their objects -
and Zope does support multiple databases.  Plus you're breaking
encapsulation, using an implementation detail of the ZODB for other
purposes.

-- 
Itamar S.T.  [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C

___
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 Error: You are not authorized to access this resource

2000-10-25 Thread Loibl Johann

Hi,

do anyone know how to generate my own error message if there is a authorization 
problem? The standard_error_message.html do not influence the response from zope.

Thanks, Hannes 


___
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] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1

2000-10-25 Thread Kim Friesen

Hi,

I am trying to get Login Manager working and I am getting the following 
error message when I add the LoginManager type to a user folder, has anyone 
encountered this before ?

Thanks,
Kim Friesen

__ACTION__
   Add User Folder
   Add Login Manager to User Folder
  Error

__PRODUCTS__
   LoginManager 0.8.8b1
   ZPatterns 0.4.3b1
   Zope2 (from CVS 2000-10-25)
   Python 2.0

__ERROR MESSAGE__

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: UnboundLocalError
Error Value: Local variable 'path' referenced before assignment

Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the HTML 
source for this page.

If the error persists please contact the site maintainer. Thank you for your 
patience.

[Powered by Zope]

Traceback (innermost last):
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
222, in publish_module
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
187, in publish
  File /unix2/usr/src/python/Zope2/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
171, in publish
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/mapply.py, line 
160, in mapply
(Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
112, in call_object
(Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/App/special_dtml.py, line 120, 
in __call__
(Object: addLoginManager)
(Info: 
/unix2/usr/src/python/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml)
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_String.py, 
line 528, in __call__
(Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_In.py, 
line 633, in renderwob
(Object: UserSourcesMetaTypes(this()))
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_Util.py, 
line 331, in eval
(Object: UserSourcesMetaTypes(this()))
(Info: UserSourcesMetaTypes)
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/HTTPRequest.py, 
line 772, in __getitem__
UnboundLocalError: (see above)


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.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 )




Re: [Zope-dev] Migrating from ZClasses to Python Products

2000-10-25 Thread Jason Spisak

Toby Dickenson:

Thanks for the advice.
I have looked at that before, and having a hybrid ZClass/Python product
seemed to place a lot of design considerations heavily in the python base
class.  I've looked _holdOntoYourButts before as well.

Thanks again,


 On Tue, 24 Oct 2000 20:16:30 GMT, "Jason Spisak" [EMAIL PROTECTED]
 wrote:
 
 I am trying to address shortcomings like not having a
 "dictionary" type property in Zope properties, etc.
 
 Aha! in that case you dont really need to convert from ZClass to
 python class; you only need to modify your existing ZClass so that it
 has an extra python base class.
 
 * No need to trawl through your database to convert each instance
 
 * No need to rewrite the bits that work well as a ZClass
 
 
 You can do this using the method _setBasesHoldOnToYourButts defined in
 ZClass.py, and you may be able to find some instructions in the list
 archives.
 
 (Its often safer to create a special python base class for each new
 ZClass, even if that class is empty, just in case)
 
 Toby Dickenson
 [EMAIL PROTECTED]
 
 ___
 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 )
 


Jason Spisak

___
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] FW: FastCGI under IIS

2000-10-25 Thread Becker, Glen



-Original Message-
From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 2:45 PM
To: Glen Becker
Cc: Zope Webmaster
Subject: Re: FastCGI under IIS


Glen Becker wrote:
 
 Apparently, Zope has support for FastCGI under IIS.   We want to find a
FastCGI plug-in for IIS, but have been unable to do so.   Is this portion of
Zope segregable, so that it could be used by other FastCGI programs?

I am but a lowly webmaster. We don't use fastcgi or IIS for zope.org,
and so I haven't an idea on what it should be.  Please consider
contacting the zope developer's list ( [EMAIL PROTECTED] ) for more
information.

Thanks,
-- 
-mindlace-
Zopatista Community Liason

___
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] zoplets....

2000-10-25 Thread Josh Zeidner


groove.net has a lot of potential for coordinating open-source projects... 
maybe someone can schedule one of those hairy zope-xml discussions on there.

-josh

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.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 )




Re: [Zope-dev] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1

2000-10-25 Thread Kim Friesen

oops, sorry I didn't mean a 'User Folder' ...

I actually added a 'Folder' and then added a 'Login Manager' to that Folder.
I also tried this with a 'Folder w/Customizer Support'


Thanks,
Kim Friesen

Message: 11
From: [EMAIL PROTECTED] (Ty Sarna)
Subject: Re: [Zope-dev] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1
Date: 25 Oct 2000 17:43:07 GMT
Organization: Endicor Technologies, Inc., San Antonio, Texas
To: [EMAIL PROTECTED]

In article [EMAIL PROTECTED],
Kim Friesen [EMAIL PROTECTED] wrote:
  I am trying to get Login Manager working and I am getting the following
  error message when I add the LoginManager type to a user folder, has 
anyone
  encountered this before ?

What do you mean by "Add the LoginManager to a user folder". You can't
add LoginManager to a User Folder; it's a replacement for User Folder.

--__--__--


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.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 )




Re: [Zope-dev] FW: FastCGI under IIS

2000-10-25 Thread Andy McKay

The fastCGI plugin for IIS is unfortunately not open source. FastCGI bought
it and you now have to pay for it. Try pcgi instead.

http://www.fastcgi.com/

- Original Message -
From: "Becker, Glen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 12:41 PM
Subject: [Zope-dev] FW: FastCGI under IIS




 -Original Message-
 From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 25, 2000 2:45 PM
 To: Glen Becker
 Cc: Zope Webmaster
 Subject: Re: FastCGI under IIS


 Glen Becker wrote:
 
  Apparently, Zope has support for FastCGI under IIS.   We want to find a
 FastCGI plug-in for IIS, but have been unable to do so.   Is this portion
of
 Zope segregable, so that it could be used by other FastCGI programs?

 I am but a lowly webmaster. We don't use fastcgi or IIS for zope.org,
 and so I haven't an idea on what it should be.  Please consider
 contacting the zope developer's list ( [EMAIL PROTECTED] ) for more
 information.

 Thanks,
 --
 -mindlace-
 Zopatista Community Liason

 ___
 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 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] Migrating from ZClasses to Python Products

2000-10-25 Thread Jason Spisak

Ender writes:

Point taken.


 Jason Spisak wrote:
  
  Ender writes:
  
   Jason Spisak wrote:
   
The only problem I am dealing with is size.
What kind of a transaction will that be?
Huge, no doubt.
   
I would run out of space to buffer it.  Does Zope do subtransactions now,
or is that still just the ZCatalog?
  
   zope has done subtransactions for a while, i'm not sure if this predates
   zcatalog or not ( i assume'd it does).
  
   just call get_transaction.commit(1) to save work. and call
   get_tranaction.commit() when you're done. i'm in the process of writing
   an advanced transaction how-to which will hopefully give some more
   enlightenment on this process, but i've been busy with work so i don't
   expect to have it public for another week.
  
Also, I am running on stock RH6.2 linux and to double my ZODB puts me near
the 2 gig file limit.  Not as much of a concern as a pain in my neck.  Is
it faster to modify my installation to allow  2GB or create from
xml/export?
  
   you could create the python product instances in a mounted db.
  
  
  I looked into this.  The webpage is very exclamitory about it's volitility,
  and yet Zope.org uses it.  Worth a shot.
 
 do make a backup, i hosed something in my zodb using it.
 
 kapil


Jason Spisak

___
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 )