[Zope] external mailhost

2001-01-09 Thread Otto Pichlhoefer

I am trying to set up Mail Host. I don't have a local SMTP server and would
like to use the server of my ISP. However Mail Host does not allow for
authentication.

So my question:

- Is there a way to transmit a password with Mail Host?

- or, is there software to set up a local SMTP server ( WinNT 4 )?


Thanks,


- Otto Pichlhoefer
  mailto:[EMAIL PROTECTED]






_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




[Zope] Trouble with dates in an External Method

2001-01-09 Thread Steven Grimes



I'm having trouble using dates in an external 
method. I can't get it to import the python DateTime module. I need to 
compare two dates which are in string form in the external method. I know that 
this isn't a good description of what I'm trying to do but I'm new to Zope 
development. If this should go to a different mailing list please let me 
know.
 
Thanks in advance for any help,
Steven


[Zope] xmldocument

2001-01-09 Thread [EMAIL PROTECTED]

happy new year all
i can't get xmldocument to work with zope2.2x  i can install the product ok, 
but can;t add XML Document.  

i got attribute error.  any insight into the error is appreciated.

can anybody suggest ways of rendering xml documents in zope?

thanks

--8<
AttributeError
  
  Sorry, a Zope error occurred.


-- 

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

We don't need no, no, no, no, no parental guidance here!


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




Re: [Zope] multiple unknown parameters -> ZSQL

2001-01-09 Thread Jens Vagelpohl

this could be done in python in either an external method or python
script/method. you can execute arbitrary SQL (which you would dynamically
generate in python) on a database connection using the "query" method that
is part of every database adapter.

you need to

- get a handle to your database connection by *calling* the database
connection you have in your ZODB, like "db_conn = self.mydbconnection()"

- once you have constructed the string carrying the SQL for one update
statement you can pass it as argumant to the query method on the database
connection, like "result = db_conn.query(sql_string)"

looking at that page you put up you will have to create a SQL string for
every student shown on the page and pick the correct variables from REQUEST
for the SQL update statement.

jens



on 1/9/01 17:10, Lee at [EMAIL PROTECTED] wrote:

> Hi,
> 
> As usual, I'm finding this one hard to explain... so I've described it
> with the aid of a diagram @
> http://homepages.strath.ac.uk/~aeu97172/h.htm
> 
> I realise that this may be more of a burden on your time than a normal
> request... but I'm hoping that some of you have met similar problems
> before and can suggest the best way round the problem.
> 
> Any comments would be greatly appreciated.
> 
> Thanks very much,
> 
> Lee
> 
> --
> Lee Reilly
> mailto:[EMAIL PROTECTED]
> 
> ø?º°`°º?øø?º°`°º?øø?º°`°º?øø?º°`°º?ø
> 
> HAVE SKILLS; WILL TRAVEL.
> 
> I'm currently looking for an internship in the USA
> in the field of web development. Ideally, I'm looking
> for a placement for 3 to 18 months. Can you help?
> 
> More details, my resume, etc. @
> http://homepages.strath.ac.uk/~aeu97172/
> 
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 


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




[Zope] Object cleanup: is it possible?

2001-01-09 Thread richard

We have a Product that contains images like so:

application
\
  image collection
  \
 image object

There's going to be a lot of these images, and sometimes they're going to
be big, so we're storing them outside the ZODB. The image object serves the
image up in a variety of sizes, each of which is cached on disk alongside
the raw image. We have a strong requirement that the only way to manipulate
these images is through Zope. Our biggest problem is that there doesn't
appear to be a nice way to clean up those files on disk when the Product is
deleted from Zope.

The obvious solution, using manage_beforeDelete, isn't appropriate, because
the rename and cut operations will both result in _delObject which calls
manage_beforeDelete. I consider this to be a bad design call since there's
no way for _delObject / manage_beforeDelete to know wether the delete is
permanent or "just a rename".

The next solution, __del__, doesn't work either -- even after a ZODB pack
operation, the __del__ method doesn't appear to be called. This also
confuses me.

What I've done is wrap the manage_delObject[s] method of the image
collection object that holds the image objects, and it can call
deleteImages on the subobjects. That's fine 
for actually managing the image objects within the collection, but doesn't
help if someone deletes the image collection object.

Any suggestions?


Richard

-- 
Richard Jones
[EMAIL PROTECTED]
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)

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




Re: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Andy McKay

Well there you go, now I know. Even better

--
  Andy McKay.


- Original Message -
From: "Farrell, Troy" <[EMAIL PROTECTED]>
To: "'Andy McKay'" <[EMAIL PROTECTED]>; "tav" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "Smith Ray" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 2:35 PM
Subject: RE: [Zope] [Newbie] Can Zope ...


> Same as ZPL
>
> http://demo.worldpilot.com:8080/site/LICENSEWPL.txt
>
> -Original Message-
> From: Andy McKay [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 4:06 PM
> To: tav; [EMAIL PROTECTED]; Smith Ray
> Subject: Re: [Zope] [Newbie] Can Zope ...
>
>
> I'd personally stay from Worldpilot since AFIAK its not open source.
> --
>   Andy McKay.
>
>
> - Original Message -
> From: "tav" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Smith Ray" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 09, 2001 4:01 AM
> Subject: Re: [Zope] [Newbie] Can Zope ...
>
>
> > > SR == "Smith Ray" <[EMAIL PROTECTED]> writes:
> >
> > SR> Are there any "Intranet" type packages which have
> > similar
> > SR> functionality to what I have quickly described?
> >
> > there aren't any intranet packages per se, but there is a
> > wonderful zope product called worldpilot which you should take
> > a look at. its available at
> > http://demo.worldpilot.com:8080/site/
> >
> > it has a very nice web based mail client / calendar / todo /
> > address book features. that fulfils half of your requirements
> > in an intranet. for the other half, go out and create something
> > based on other zope tools, e.g. zwiki / squishdot / ptk
> >
> > the drawback is in integrating worldpilot with whatever you
> > create. the code is definitely not the most manageable,
> > however, the source is there - so you can do whatever you want
> > :)
> >
> > SR> If I had to build something like this myself would
> > SR> Zope be the tool of choice? (I'm assuming it would
> > SR> be since I'm on a Zope list!)
> >
> > zope is without doubt one of the best ways to do this. most
> > important for me is the ability to extend the product in a
> > rapid and easy manner
> >
> > at esp (company i work for), we desperately looked around for
> > good intranet solutions and ended up making our own 'xnet'
> > product based on zope. it does pretty much anything you would
> > want from an intranet, and using zope was definitely the best
> > decision we made about it.
> >
> > i would offer you this product, however, its been made
> > primarily for internal use, but with a few days work, i guess
> > it could be be made non-esp centric. pop onto irc
> > (irc.espnow.com / #esp) if you want to talk about it.
> >
> > SR> How long (rough estimate) would something like
> > SR> this take to develop for a Zope newbie?
> >
> > if you dedicate yourself to this, then about two months. zope
> > has a steep learning curve. but once you get to a certain
> > level, everything becomes much clearer... that is, until you
> > want to rise to the next level of zope meisters
> >
> > --
> > best regards, tav
> > [EMAIL PROTECTED]
> >
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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




[Zope] Need help with ZGotW

2001-01-09 Thread LARRY CHUON

I have Zope-2-2-4 and just install ZGotW.  When I try to add ZGotW Issue and ZGotW 
Root, I receive errors such as "Empty entry when integer expected" or "sequence index 
must be integer."

Thanks in advance.

Larry



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




[Zope] dtml-tree and a filtered objectValues

2001-01-09 Thread Jim Hebert

OK, this works:

My DTML Method, "y":


foo


If I change z to read as follows, it breaks:


foo


where y is a DTML Method simply containing



The error I get is:

  Error Type: AttributeError
  Error Value: __getitem__
...
Traceback (innermost last):
  File /usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/Zope-2.2.4-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/local/Zope-2.2.4-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: y)
  File /usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: y)
  File /usr/local/Zope-2.2.4-src/lib/python/OFS/DTMLMethod.py, line 172,
in __call__
(Object: y)
  File /usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: y)
  File /usr/local/Zope-2.2.4-src/lib/python/TreeDisplay/TreeTag.py, line
154, in render
(Object: a tree tag)
  File /usr/local/Zope-2.2.4-src/lib/python/TreeDisplay/TreeTag.py, line
260, in tpRender
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.4-src/lib/python/TreeDisplay/TreeTag.py, line
324, in tpRenderTABLE
(Object: ApplicationDefaultPermissions)
AttributeError: (see above)


This is my boiled down example. The real need for this is because I don't
wish to use the full objectValues list, I have another DTML Method which
does this:











So, for those who are interested in the story, I've been using NFGnav, and
have a fair amount of effort invested in marking things as Reference in
NFGnav or not, and would like to move to a dtml-tree which respects that
setting. The dtml method above gives me a subset of objectValues, those
which are maked 'Reference in NFGnav.'

Note, also, that this works (stolen from someone on zope.org's tips for
debugging a tree):

 
  <>
   
<>
   
 

where nfgObjectValues is the dtml method above.

Any help? Is this a bug in dtml-tree, given that it pukes on something
that dtml-in doesn't?

Thanks,
jim


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




[Zope] slow DocumentTemplate (dtml) import speed

2001-01-09 Thread Federico Grau

Hello, 

I am using the DocumentTemplate (dtml) portion of zope in a python program
using cgi.  The "import DocumentTemplate" step alone seems to take almost 1
(ONE) second on my hardware.  This seems extremely high compared with the load
time of python alone of about 0.3 seconds.

To benchmark this, I made a simple test python script (time_test.py):
#!/usr/bin/python
import time
t1 = time.time()
###import DocumentTemplate
t2 = time.time()
print "t1:%s   t2:%s   diff:%s" % (time.ctime(t1), time.ctime(t2), t2 - t1)

Run as "time ./time_test" with the DocumentTemplate line commented out, the
script takes an average of 0.330 seconds real time.  If I uncomment the import
statement, the script takes an average of 1.350 seconds real time and a 'diff
time' of 0.9 seconds representing time spent importing DocumentTemplate.

Now, I hope not to be laughed out of the list :-D, but my hardware is a
Pentium 100 with 48 Meg of ram.  I am running redhat 6.2 with python 1.5.2.
My DocumentTemplate is extracted from Zope 2.2.2 and placed in my
'site-packages' directory.

My questions:
 - Do people have any suggestions on how to make this process any quicker?  

 - Are there any plans to speed up/optimize DocumentTemplate (I see there is
   already a cDocumentTemplate file, not sure what else can be done)?  

 - I see there is a new version of Zope (2.2.5), does it have any major speed
   improvements in DocumentTemplate (the changelog and history files did not
   reflect this)?

thanks,
donfede

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




[Zope] MySQL

2001-01-09 Thread vishnu prasad



can anyone update me with list of activities that I need to 
follow for having MySQL installed and integrated with Zope?
 
thanks in advance,
vp


[Zope] broken products not indicated after Zope 2.2.5 install

2001-01-09 Thread Fred Yankowski

I just installed a full copy of Zope 2.2.5 onto my NT 4.0 SP 6 machine
and then copied over my data.fs* files from Zope 2.2.3.  Zope 2.2.5
comes up OK after that, but none of the Products in the Control Panel
/ Products folder is shown as broken, even though I have yet to copy
over the dozen or so products that I had added onto Zope 2.2.3.  Of
course, other objects that depend on those products fail and some of
those do display a "broken" icon and state.  But why don't the
incomplete products themselves get flagged as broken?

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

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




Re: [Zope] RSS and JavaScript

2001-01-09 Thread LARRY CHUON

John,
You were right.  There was a typo in my javascript.  I was very and decided to retype 
the entire script all over again.  It turned out that I left out a angle bracket.  

Thanks for your help.

Larry
On Sun, 07 January 2001, John Morton wrote:

> 
> On 7 Jan 2001 17:51:24 -0800 LARRY CHUON <[EMAIL PROTECTED]> wrote:
> 
> > Hi Zopistas,
> > 
> > Happy New Year!
> > 
> > I'm working with SiteSummary and would like htmlPreview to grab the URL
> > and open it up in a new window.  It's not working correct.  I'm unsure
> > how Zope handle javascript either.
> 
> Zope handles javascript in the same way it handles html - it just sends
> it to the client and let's the browser figure out what to do with it.
> DTML, on the other hand, is interpreted beforehand, and the results are
> sent to the browser. 
> 
> >  Any help is greatly appreciated. 
> > Below is my htmlPreview.  I also tried to put the javascript function
> > (I'm new to js as well) in a file and import it to the same directory as
> > standard_html_header.  Then I add  > SRC="openMe.js"> to stand_html_header.  That doesn't work
> > either. By the way, js doesn't seen to work well in Zope.  I could n't
> > find much info on-line.  
> 
> [cut]
> > html_quote>
> 
> My understanding of what happens when this link is traversed is that the
> browser calls the javascript function 'openMe(...)', which should already
> defined in the page. It doesn't attempt to fetch anything from the server
> with that URL.
> 
> So what you need to do is ensure that htmlPreview include the function
> openMe by either including the code into the html document like this:
> 
> 
> 
> 
> 
> (note that I've replaced the dot in openMe.js with an underscore, as
> objects with dots in there ids need to be quoted to be used, and 
> 1) I've forgotten how to do it
> 2) Searching through the documentation has given me a headache
> )
> 
> ...Or do what you did before:
> 
> ">
> 
> Use the absolute_url() method, so that the browser is sure of getting the
> right url for the script (which may have been your problem before).
> 
> I'd use the first method as you can at least eyeball the html output of
> htmlPreview and see if the openMe function has acutally been include,
> before having to use whatever passes for javascript debugging in your
> browser.
> 
> HTH,
> John



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




RE: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Farrell, Troy

Same as ZPL

http://demo.worldpilot.com:8080/site/LICENSEWPL.txt

-Original Message-
From: Andy McKay [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 4:06 PM
To: tav; [EMAIL PROTECTED]; Smith Ray
Subject: Re: [Zope] [Newbie] Can Zope ...


I'd personally stay from Worldpilot since AFIAK its not open source.
--
  Andy McKay.


- Original Message - 
From: "tav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Smith Ray" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 4:01 AM
Subject: Re: [Zope] [Newbie] Can Zope ...


> > SR == "Smith Ray" <[EMAIL PROTECTED]> writes:
> 
> SR> Are there any "Intranet" type packages which have
> similar
> SR> functionality to what I have quickly described?
> 
> there aren't any intranet packages per se, but there is a
> wonderful zope product called worldpilot which you should take
> a look at. its available at
> http://demo.worldpilot.com:8080/site/
> 
> it has a very nice web based mail client / calendar / todo /
> address book features. that fulfils half of your requirements
> in an intranet. for the other half, go out and create something
> based on other zope tools, e.g. zwiki / squishdot / ptk
> 
> the drawback is in integrating worldpilot with whatever you
> create. the code is definitely not the most manageable,
> however, the source is there - so you can do whatever you want
> :)
> 
> SR> If I had to build something like this myself would
> SR> Zope be the tool of choice? (I'm assuming it would
> SR> be since I'm on a Zope list!)
> 
> zope is without doubt one of the best ways to do this. most
> important for me is the ability to extend the product in a
> rapid and easy manner
> 
> at esp (company i work for), we desperately looked around for
> good intranet solutions and ended up making our own 'xnet'
> product based on zope. it does pretty much anything you would
> want from an intranet, and using zope was definitely the best
> decision we made about it.
> 
> i would offer you this product, however, its been made
> primarily for internal use, but with a few days work, i guess
> it could be be made non-esp centric. pop onto irc
> (irc.espnow.com / #esp) if you want to talk about it.
> 
> SR> How long (rough estimate) would something like
> SR> this take to develop for a Zope newbie?
> 
> if you dedicate yourself to this, then about two months. zope
> has a steep learning curve. but once you get to a certain
> level, everything becomes much clearer... that is, until you
> want to rise to the next level of zope meisters
> 
> --
> best regards, tav
> [EMAIL PROTECTED]
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


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

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




[Zope] zope programmers in India ?

2001-01-09 Thread sathya rangaswamy


 Hello ,

Are there any zope programmers from India on this list. We are looking to
get some zope work done on a contract basis.  It involves DTML  and Zope
product development . Familiarity with ZPattern classes and LoginManager is
helpful. The database is Oracle 8i.

If you are interested please reply to [EMAIL PROTECTED]

Thanks
sathya
PS: if this is the wrong list for this please suggest the right forum.


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




Re: [Zope] What's up with MySQL and Zope?

2001-01-09 Thread paul_s_johnson


Why? I don't know, but here's what I did (still not 100% successfully so
user beware).

Use MySQLDA (a Zope Product) and MySQL-python (not a Zope Product, but a
helper python module). The most painless way to get them installed (on
Linux) is from RPMs at

ftp://ftp.logicetc.com/pub/Zope/RPMS/MySQL-python-0.2.1-1.i386.rpm
ftp://ftp.logicetc.com/pub/Zope/RPMS/Zope-ZMySQLDA-1.2.0-1.i386.rpm

There may be some other rpm dependencies such mysql-devel and python-devel
that if you don't have handy, you can find at http://www.rpmfind.net

Some follow-up threads that will likely contain critical information (some
reconstruction may be necessary if the following lengthy links are
word-wrapped in your email reader):

http://zope.nipltd.com/public/lists/zope-archive.nsf/Main/BB05A28ADA1495338025691800352554?OpenDocument&mode=subject&topic

[Zope]TroublecompilingZMySQLDA

http://zope.nipltd.com/public/lists/zope-archive.nsf/Main/A74B8510060DD824802568A10006DDC4?OpenDocument&mode=subject&topic

[Zope]problemconnectingtomysql

Your point about this being complicated is valid. I am on day three of
trying to make it work myself. The Howtos on http://www.zope.org are
out-of-date. Some Zope guru out there should cook up a current Howto for us
pathetic newbies (hint, hint).



>What's up with MySQL and Zope?
>
>Now there are four different products that are related
>to MySQL and Zope.  Which one should I use?
>
>Some don't even look like DA's for zope.  Why are
>these listed in Zope's product page anyway?
>
>Why can't they all get coordinated?
>
>Jason







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




RE: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Steve Drees

> I'd personally stay from Worldpilot since AFIAK its not open source.
> --
>   Andy McKay.

>From their website:

What's worldpilot's licence?
Worldpilot is open source. It's licence WPL (Worldpilot Public Licence) is
identical to the ZPL (Zope Public Licence). Please read it here.


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




[Zope] multiple unknown parameters -> ZSQL

2001-01-09 Thread Lee

Hi,

As usual, I'm finding this one hard to explain... so I've described it
with the aid of a diagram @
http://homepages.strath.ac.uk/~aeu97172/h.htm

I realise that this may be more of a burden on your time than a normal
request... but I'm hoping that some of you have met similar problems
before and can suggest the best way round the problem.

Any comments would be greatly appreciated.

Thanks very much,

Lee

--
Lee Reilly
mailto:[EMAIL PROTECTED]

ø¤º°`°º¤øø¤º°`°º¤øø¤º°`°º¤øø¤º°`°º¤ø

HAVE SKILLS; WILL TRAVEL.

I'm currently looking for an internship in the USA
in the field of web development. Ideally, I'm looking
for a placement for 3 to 18 months. Can you help?

More details, my resume, etc. @
http://homepages.strath.ac.uk/~aeu97172/



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




Re: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Andy McKay

I'd personally stay from Worldpilot since AFIAK its not open source.
--
  Andy McKay.


- Original Message - 
From: "tav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Smith Ray" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 4:01 AM
Subject: Re: [Zope] [Newbie] Can Zope ...


> > SR == "Smith Ray" <[EMAIL PROTECTED]> writes:
> 
> SR> Are there any "Intranet" type packages which have
> similar
> SR> functionality to what I have quickly described?
> 
> there aren't any intranet packages per se, but there is a
> wonderful zope product called worldpilot which you should take
> a look at. its available at
> http://demo.worldpilot.com:8080/site/
> 
> it has a very nice web based mail client / calendar / todo /
> address book features. that fulfils half of your requirements
> in an intranet. for the other half, go out and create something
> based on other zope tools, e.g. zwiki / squishdot / ptk
> 
> the drawback is in integrating worldpilot with whatever you
> create. the code is definitely not the most manageable,
> however, the source is there - so you can do whatever you want
> :)
> 
> SR> If I had to build something like this myself would
> SR> Zope be the tool of choice? (I'm assuming it would
> SR> be since I'm on a Zope list!)
> 
> zope is without doubt one of the best ways to do this. most
> important for me is the ability to extend the product in a
> rapid and easy manner
> 
> at esp (company i work for), we desperately looked around for
> good intranet solutions and ended up making our own 'xnet'
> product based on zope. it does pretty much anything you would
> want from an intranet, and using zope was definitely the best
> decision we made about it.
> 
> i would offer you this product, however, its been made
> primarily for internal use, but with a few days work, i guess
> it could be be made non-esp centric. pop onto irc
> (irc.espnow.com / #esp) if you want to talk about it.
> 
> SR> How long (rough estimate) would something like
> SR> this take to develop for a Zope newbie?
> 
> if you dedicate yourself to this, then about two months. zope
> has a steep learning curve. but once you get to a certain
> level, everything becomes much clearer... that is, until you
> want to rise to the next level of zope meisters
> 
> --
> best regards, tav
> [EMAIL PROTECTED]
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


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




RE: [Zope] MySQL connection woes

2001-01-09 Thread paul_s_johnson




One other bizarre symptom: when I test the database connection with a
INSERT query it works and inserts data into the designated MySQL table in
the query, although there is no indication that it is working in Zope. I
changed the user table for the MySQL user cited in the connection string so
that all privileges are on and still no luck.

P. Johnson

>>For a quick test, run the mysql client from the command line.
>>
>>Let's say your connection string was:
>>  foodb paul passwd
>>
>>Start mysql like this:
>>$ mysql -u paul -p foodb
>>
>>And when prompted for the password, enter passwd.
>>
>>This will ensure mysql is setup correctly.  Make sure you do this from
>>the same machine that is running Zope, as MySql can be configured for
>>different access from different machines.
>>
>>If you want to play with "null" passwords and such, look at the
>>mysql.user and mysql.db tables.  Remember to run "mysqladmin
>>flush-privileges" after making changes to the user and db tables.
>
>This last part I did not know, thanks!
>
>Ok, I am getting closer. I finally found a connection string that Zope
>accepts, but now when I test the connection with a query like "SHOW
>TABLES;" or a SELECT query it I get the message:
>
> "There was no data matching this Z MySQL Database Connection
>(connected) query."
>
>- even though I know these tables exist. The connection says that it is
>open and it will only accept connection strings of databases that really
>exist in MySQL.

>INFO:
>MySQL user name: root
>hostname: www.myhost.com
>password: none
>
>Zope Connection string: [EMAIL PROTECTED] root
>
>In the grant tables there is the following entries:
>In user: [EMAIL PROTECTED] with no privileges
>In db: [EMAIL PROTECTED] with all privileges for mydatabase.* except for
>Grant_priv
>
>One other parameter that may have a bearing: the box's name is
>station99.ispname.net even though it hosts www.myhost.com (or is it the
>other way around?).
>
>Any suggestions why the connection is not working properly?






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




Re: [Zope] Currency formatting

2001-01-09 Thread Andy McKay

Great!
--
  Andy McKay.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 1:53 PM
Subject: RE: [Zope] Currency formatting


> Tanks!  Work great!
>
>
> -Message d'origine-
> De : Andy McKay [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 9 janvier 2001 14:31
> À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Objet : Re: [Zope] Currency formatting
>
>
> >From the quick hack department:
>
> 1: hack the source: DT_Var line 375... or
> 2: Write a bit DTML method that is along the lines of:
>
> return_money:
> 
>
> then a DTML Document that has wher value is the value you want:
> 
> 
> 
> 
>
> 3: This could of course using PythonScript much better
>
> --
>   Andy McKay.
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 09, 2001 10:41 AM
> Subject: [Zope] Currency formatting
>
>
> > I would like to output currency as: 1 300 459,63$
> > I looked at the documention, and I cannot figure how to:
> >
> > - Place spaces instead of commas as thousand separators.
> > - Replace the dot by a comma for the decimals.
> >
> > Any clues?
> >
> > Jean-François Ménard
> > Intranet DPAS
> > Pratiques d'affaires et orientations
> > *(514) 840-3000  poste 3939
> > *  (514) 840-5585
> > *  [EMAIL PROTECTED]
> > * 855 Ste-Catherine est, 6e étage
> >   Montréal, Qué. H2L 4P5
> >
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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




[Zope] Re: [Zope-dev] RE: [Zope] ZDESIGN IDEAS = How to improve 'manage'??

2001-01-09 Thread Ken Manheimer

This thread should not be crossposted to both mailling lists.  I posted a
followup to zope-dev, please see there if you want to respond. In general,
please do *not* cross-post - it's almost never justified, certainly isn't
in this case.

Ken Manheimer
[EMAIL PROTECTED]


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




RE: [Zope] Currency formatting

2001-01-09 Thread Menard . Jean-Francois

Tanks!  Work great!


-Message d'origine-
De : Andy McKay [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 9 janvier 2001 14:31
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : Re: [Zope] Currency formatting


>From the quick hack department:

1: hack the source: DT_Var line 375... or
2: Write a bit DTML method that is along the lines of:

return_money:


then a DTML Document that has wher value is the value you want:





3: This could of course using PythonScript much better

--
  Andy McKay.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:41 AM
Subject: [Zope] Currency formatting


> I would like to output currency as: 1 300 459,63$
> I looked at the documention, and I cannot figure how to:
>
> - Place spaces instead of commas as thousand separators.
> - Replace the dot by a comma for the decimals.
>
> Any clues?
>
> Jean-François Ménard
> Intranet DPAS
> Pratiques d'affaires et orientations
> *(514) 840-3000  poste 3939
> *  (514) 840-5585
> *  [EMAIL PROTECTED]
> * 855 Ste-Catherine est, 6e étage
>   Montréal, Qué. H2L 4P5
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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

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




[Zope] What's up with MySQL and Zope?

2001-01-09 Thread Jason Byron

What's up with MySQL and Zope?

Now there are four different products that are related
to MySQL and Zope.  Which one should I use?

Some don't even look like DA's for zope.  Why are
these listed in Zope's product page anyway?

Why can't they all get coordinated?

Jason  

__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

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




RE: [Zope] Creating a Database connection.

2001-01-09 Thread Farrell, Troy

We need more specific information to help you.  I'll give you an example:

I run one zope installation on Windows NT 4.0SP6.
I use PostgreSQL 7.0.3 on WindowsNT with Cygwin.

1)install Zope
2)compile PostgreSQL with ODBC support and install it
3)install ZODBCDA (Zope ODBC Database adapter)
4)install psqlodbc.dll to enable Windows ODBC to connect to Postgres through
ODBC
5)add an ODBC connection to PostgreSQL through the Windows Control Panel
6)Start Zope and login as a Manager
7)Add a ZODBCDA connection through the drop-down box at the bottom.
7a)select your new-fangled ODBC connection as the connect string
8)select the test tab of your connection object to test the connection
9)create a new ZSQL method to use your connection

See...Easier than a 12-step program

Troy

-Original Message-
From: Spicklemire, Jerry [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 06, 2001 3:49 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: [Zope] Creating a Database connection.


Darren wrote:

> I am very new to the Zope idea. I like what Zope is trying  
> to do. But I am trying to set up an external SQL database 
> connection

While it would be ideal for one set of instructions to serve 
every possible requirement, in reality it will be best for 
you to provide as much detail as you can about the specific 
scenario you are facing.

For starters:

What Operating System will Zope be hosted on?

What Database "backend" do you need to connect to?

Will the Database be resident on the same system as Zope?

If not, what Operating System will be hosting the Database?

Get back to the list with the answers, and anything else you 
think might help, plus what you have already tried, that 
hasn't worked.

Later,
Jerry S.

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

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




[Zope] Special-name of variables called 'name' or 'domain'

2001-01-09 Thread Mayers, Philip J

I've got some SQL method, and a folder structure, and am seeing some *very*
annoying results. Namely,  seems to cancel out variable
assignments from an enclosing 

/root
  get_machine_hosts (SQL method)
  get_host_aliases (SQL method)
  show (dtml method)
  /host
show (dtml method)
  /alias
show (dtml method)

get_machine_hosts takes 'machineid' and returns 'name','domain','ip', e.g.

(for a 5-homed box) get_machine_hosts('535252'):

www,random.com,192.168.3.2
mail,hosting.com,192.168.3.3
news,random.com,192.168.3.4
sqldb,random.com,192.168.3.5
workstation,random.com,192.168.3.6

get_host_aliases takes 'ip' and returns 'name','domain' e.g.

get_host_aliases('192.168.3.3') [mail.random.com]:

'pop3','random.com'
'smtp','random.com'
'mail','random.com'
'imap','random.com'

But, I'm having problems with the 'in' and 'with' tags using the variable
'name'. The DTML methods are:

/root/show


  


/root/host/show


  &dtml-ip;
  &dtml-name;
  &dtml-domain;



  POINT A
  
POINT B

  


/root/alias/show


  
  &dtml-name;
  &dtml-domain;



Now, assuming I'm looking at machineid 535252 (mail.random.com). I get this:


|  192.168.3.3  |   mail   |  hosting.com  |
|   |   mail   |  hosting.com  |
|   |   mail   |  hosting.com  |
|   |   mail   |  hosting.com  |
|   |   mail   |  hosting.com  |


That is, the variable 'name' and 'domain' aren't set correctly. But, if I
modify /root/host/show as follows:


  &dtml-ip;
  &dtml-name;
  &dtml-domain;



  POINT A
  

&dtml-name;
&dtml-name;
  
  
POINT B

  




I get:


|  192.168.3.3  |   mail   |  hosting.com  |
|   |   pop3   |  random.com  |
|   |   mail   |  hosting.com  |
|   |   imap   |  random.com  |
|   |   mail   |  hosting.com  |
|   |   smtp   |  random.com  |
|   |   mail   |  hosting.com  |
|   |  webmail |  random.com  |
|   |   mail   |  hosting.com  |


It would appear that the  tag wipes out the 'name' and
'domain' variables back to the values they had outside the  tag, so calling /root/alias/show gives wrong data. Very
odd. *BUT*, if I use 'aliasname' and 'aliasdomain' as the variable names,
everything is OK.

WTF?

While I'm at it, is 
really the best way to call a DTML method of a folder?

Regard,
Phil


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




RE: [Zope] MySQL connection woes

2001-01-09 Thread paul_s_johnson

   
   
   
   
"Randall F.  To: <[EMAIL PROTECTED]>  
   
Kern"cc:   
   
   
   
   
   
01/09/01   
   
12:08 PM   
   
   
   
   
   







>For a quick test, run the mysql client from the command line.
>
>Let's say your connection string was:
>  foodb paul passwd
>
>Start mysql like this:
>$ mysql -u paul -p foodb
>
>And when prompted for the password, enter passwd.
>
>This will ensure mysql is setup correctly.  Make sure you do this from
>the same machine that is running Zope, as MySql can be configured for
>different access from different machines.
>
>If you want to play with "null" passwords and such, look at the
>mysql.user and mysql.db tables.  Remember to run "mysqladmin
>flush-privileges" after making changes to the user and db tables.

This last part I did not know, thanks!

Ok, I am getting closer. I finally found a connection string that Zope
accepts, but now when I test the connection with a query like "SHOW
TABLES;" or a SELECT query it I get the message:

 "There was no data matching this Z MySQL Database Connection
(connected) query."

- even though I know these tables exist. The connection says that it is
open and it will only accept connection strings of databases that really
exist in MySQL.

INFO:
MySQL user name: root
hostname: www.myhost.com
password: none

Zope Connection string: [EMAIL PROTECTED] root

In the grant tables there is the following entries:
In user: [EMAIL PROTECTED] with no privileges
In db: [EMAIL PROTECTED] with all privileges for mydatabase.* except for
Grant_priv

One other parameter that may have a bearing: the box's name is
station99.ispname.net even though it hosts www.myhost.com (or is it the
other way around?).

Any suggestions why the connection is not working properly?






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




Re: [Zope] How to set a REQUEST variable inside a PythonMethod?

2001-01-09 Thread Dieter Maurer

=?iso-8859-1?Q?Juan_Carlos_Coru=F1a?= writes:
 > REQUEST.update({'NoRows': 4})
REQUEST.other.update({'NoRows': 4})
 > REQUEST.set('NoRows', 4)
This, too, should work, as Evan already said.


Dieter

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




RE: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Dieter Maurer

=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?= writes:
 > Zope can easily do most all of the things you mention in zClasses. The most
 > difficult items you are requesting though is calendaring and discussion.
I looked at SquishDot, at it seems not to be bad for discussions
(a la bulletin board).
Calender generation is facilitated by the "Calendar" tag.



Dieter

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




Re: [Zope] Unidentified problem with SiteRoot

2001-01-09 Thread Dieter Maurer

Kelvin Cheong writes:
 > ... ZSQL methods stick to their connections, even if copied ...
This is not a site access problem (as Evan already told you).

Search the searchable list archive.
I think, I saw this (or a similar) problem already in the list.


Dieter

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




Re: [Zope] How to set proxy roles in dtml method?

2001-01-09 Thread Dieter Maurer

Dirksen writes:
 >  only ends in this error:
 > 
 > You are not authorized to change myMethod because you do not have proxy roles. 
 > 
 > even though I'm calling the above statement in Manager role. Is it possible to do 
 >that?
It is a bit strange, but as a security feature, you can change
an object with a proxy role only, if you have *THAT PRECISE* role.
Give your Manager user this role and it should work.

In Zope 2.1.6 (which we use still in a production site),
this did apparently (I did not dig in and may have been simply confused)
not work. However, as Superuser, I could change the object.


Dieter

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




[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-09 Thread Dieter Maurer

Morten W. Petersen writes:
 > Is there anyone who could try to give an estimate of how long it would
 > take to add fuzzy logic (regexp-like) searching capability to the
 > ZCatalog?
I do not think that "fuzzy logic" is strongly related to "regexp-like".
Anyway.

Fuzzy searching often means "finding matches with characters omitted,
replaced or inserted".

Zope's globbing vocabularies support wildcards '*' and '?'.
To implement wildcard based searches efficiently, they
index words under their two letter consitutents.
When you now get a pattern, you derive from the pattern
what two letter constituents the matching words must
have and retrieve them. This defines a candidate word set.
Then you check, whether the retrieved word really match
the expression.

You can extend this algorithm to get fuzzy searches.



Dieter

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




RE: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Mohan Baro

My view is that as a sysadmin, I rather give ZOPE superuser/manager the
ability install products through ZOPE, rather than giving them access to the
OS.

Another view I have is that I do not want my developers to think about which
platform they are working on.

ZOPE runs on a variety of OSes and each one of then have their own way of
providing file/directory security (or no security win9x). Zope should rely
on its own security for its products.

..IMHO

Mohan



-Original Message-
From: Martijn Pieters [mailto:[EMAIL PROTECTED]]On Behalf Of Martijn
Pieters
Sent: Tuesday, January 09, 2001 9:42 AM
To: Mohan Baro
Cc: Jason Cunliffe; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?


On Mon, Jan 08, 2001 at 12:18:37PM -0500, Mohan Baro wrote:
> Are you planning a manage_install for products?
> The ability for superusers to install complelte products directly through
> the management interface, no need for ftp.
> similar to import/export feature

I hope not!

Anyone gaining management access to your Zope server will be
able to install arbitrary products on your server and gain access to the
file system.

There is a strict dividing line between the file system and the ZMI,
allowing installation through the web interface will cross that line with
one giant step.

--
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

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



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




Re: [Zope] Multiple servers on Zope?

2001-01-09 Thread Andy McKay

And there I was thinking bud.ca would be about beer

--
  Andy McKay.


- Original Message -
From: "Kevin Teague" <[EMAIL PROTECTED]>
To: "Etienne Labuschagne" <[EMAIL PROTECTED]>; "Zope" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 1:47 AM
Subject: Re: [Zope] Multiple servers on Zope?


> > How can I create "multiple" web servers on Zope as in IIS?  We have a
few
> > domains that resolve to the same IP address. When a user accesses eg.
> > www.geospace.co.za they must get to a different site than when they
access
> > www.triangletyre.co.za even though both addresses resolve to the same IP
> > address.  In IIS you just create a new virtual web site that "responds"
to
> > the new domain name.  I am not using Zope through IIS and would actually
> > like to get rid of IIS altogether.
>
> You'll need to install the excellent SiteAccess Product to do virtual
> hosting from within Zope (I used to use Apache with mod_rewrite to do the
> virtual hosting, but it's much better to let Zope handle it).
>
> http://www.zope.org/Members/4am/SiteAccess2
>
> One caveat is that virtual hosting doesn't work cleanly with the Zcatalog.
> This will be fixed in Zope 2.3, but if you aren't running 2.3alpha, and
you
> are using the Zcatalog, then you'll need this patch:
>
>
http://www.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix/FrontPage
>
>
> Kevin Teague
> http://www.bud.ca
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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




Re: [Zope] Currency formatting

2001-01-09 Thread Andy McKay

>From the quick hack department:

1: hack the source: DT_Var line 375... or
2: Write a bit DTML method that is along the lines of:

return_money:


then a DTML Document that has wher value is the value you want:





3: This could of course using PythonScript much better

--
  Andy McKay.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:41 AM
Subject: [Zope] Currency formatting


> I would like to output currency as: 1 300 459,63$
> I looked at the documention, and I cannot figure how to:
>
> - Place spaces instead of commas as thousand separators.
> - Replace the dot by a comma for the decimals.
>
> Any clues?
>
> Jean-François Ménard
> Intranet DPAS
> Pratiques d'affaires et orientations
> *(514) 840-3000  poste 3939
> *  (514) 840-5585
> *  [EMAIL PROTECTED]
> * 855 Ste-Catherine est, 6e étage
>   Montréal, Qué. H2L 4P5
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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




Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Jonas Luster

* Joachim Werner sez:

> Again you are right, but as Zope is really easy to install, I'd guess that it 
> is not only used (and installed) by "uberadmins" who know exactly what they 
> are doing  ...

Hmmm... coming to think about it. Zope comes with /Extensions as
drwxrwxr-x and UID='nobody' in z2.py. Unless the admin modifies the
standard setup, he's at least safe from people putting stuff into his
/Extensions.

You're right at a general level, tho. Hmm, wonder if I should write a
Zope-chroot-howto :)

Windoze-Zope-Users, on the other hand... well...

jonas

-- 
Jonas Luster -- http://smurftarget.net (while netwarriors.org is down) -- 
[EMAIL PROTECTED]

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




Re: [Zope] Learning ZOPE - a useful guide

2001-01-09 Thread Chris McDonough

Just FYI, this is linked from the zope.org Documentation page... it's the
first link.  (Thanks Itamar!)

You should probably post this request to Zope Newbies so that Luke will have
a better chance of reading it (DC doesn't administer the Zope Newbies site).

- Original Message -
From: "Lloyd Kvam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Zope mailing list" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 1:05 PM
Subject: [Zope] Learning ZOPE - a useful guide


> I have been struggling to figure out Zope.  It is a complicated product
and it
> is very hard to know where to begin.  This link provides a general guide
as how
> to proceed.  What should you learn first?  What comes next?  While I am
sure
> there is more than one way to answer those questions, this guide does a
terrific
> job.
>
>  A Developer's Guide to Learning Zope Howto v1.0.2
>  http://itamarst.org/learningzope/index.html
>
> I would recommend adding it to the zopeNewbies listings.
>
> --
> Lloyd Kvam
> Venix Corp.
> 1 Court Street, Suite 378
> Lebanon, NH 03766-1358
>
> voice: 603-443-6155
> fax: 801-459-9582
>
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>


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




Re: [Zope] MySQL connection woes

2001-01-09 Thread Luciano Ramalho

I don't know how to create a null login in MySQL, but I know a better
solution. The last time I had a problem like yours I created a user in
MySQL and used it connect Zope.

In mysql you type:

GRANT ALL ON my_database.* TO my_user IDENTIFIED BY my_passwd

(The .* part is a wildcard meaning all tables in this database.)

Then you can connect Zope using a connection string like this:

my_user@localhost my_passwd

Good luck,

Luciano

PS. 


[EMAIL PROTECTED] wrote:
> 
> After following several howtos, tracking numerous threads from this list,
> and spending several days losing my mind, I sense that I am finally getting
> closer to having Zope and MySQL talking to each other.
> 
> SETUP:
> I am running on Linux with Redhat with MySQL 3.22.32 and ZMySQLDA with
> ZMySQL-python.  The later two are installed such that ZMySQLDA is NOT
> broken. I installed using the RPMs supplied by Ron Bickers available on his
> FTP site (thanks, Ron) and followed additional instructions supplied on
> earlier threads.
> 
> PROBLEM:
> My problem now is I can't find a connection string that works. I understand
> the connection syntax and tried every possibility. My suspicion is that I
> am having a permissions problem with MySQL. I found this former list email:
> 
> >> My suggestion would be to set up mysql to accept a null login (no
> >> username, no password), create a database in there called "test" and
> >> connect with the connection string "test@localhost"
> 
> >thank u, this was the point to my problem. I have tried a nologin mysql
> and it
> >worked with database@myhost !!! :)
> >so i know i have a grant table problem in mysql (no big deal - i hope :) )
> 
> QUESTION:
> Being a relative newbie to this whole thing (Linux, Zope, MySQL, etc.), how
> do I create a null login in MySQL with blanket privleges? Could it still be
> a faulty ZMySQLDA setup? How do I troubleshoot that possibility?
> 
> Thanks,
> 
> P. Johnson
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

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




[Zope] Currency formatting

2001-01-09 Thread Menard . Jean-Francois

I would like to output currency as: 1 300 459,63$
I looked at the documention, and I cannot figure how to:

- Place spaces instead of commas as thousand separators.
- Replace the dot by a comma for the decimals.

Any clues?

Jean-François Ménard
Intranet DPAS
Pratiques d'affaires et orientations
*(514) 840-3000  poste 3939
*  (514) 840-5585
*  [EMAIL PROTECTED]
* 855 Ste-Catherine est, 6e étage
  Montréal, Qué. H2L 4P5


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




Re: [Zope] Tux & Zope?

2001-01-09 Thread Shane Hathaway

[EMAIL PROTECTED] wrote:
> What I would really like to see is this: Images and multi-media that can be
> served by Tux, but managed by Zope, so that all content is managed, but
> serving the images and multi-media is really fast, and not reliant on the
> ODB.  I thought I saw something about a product that is like OFS:File &
> OFS:Image, but saves the files to the filesystem - that kind of thing might
> work for such a config.

This is precisely what Zope's new cache management architecture is
designed to do.  Just create the site then install a cache manager
object such as an "Accelerated HTTP Cache Manager", available in the
StandardCacheManagers product.  Visit the "Associate" tab of the cache
manager to locate all images that should be served by Tux rather than
Zope.  Turn on the checkboxes.  Voila!

Accelerated HTTP cache managers set some HTTP headers on the response. 
The headers are recognized by downstream caches and the response is
cached for a determined period.  Simple, reliable, and flexible.

Shane

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




[Zope] ZSQL database connection (ZPoPy) not giving expected results

2001-01-09 Thread Mark N. Gibson

Ok, here's the situation.

I create a folderish object.  I insert some info into the postgresql
database related to this folderish object.  I create a ZPopy database
connection within this folderish object.  All of this is done through a
python method.

If I do a query using this new database connection, select for rows I
just inserted.  The query comes back with no results.  I can do this
query using another ZSQL DB connection, and on the command line, it
works fine.

Caching is off for the query.

Eventually, after 30 seconds to 4 minutes, all queries seem to work
fine.  This behavior is inconsistent, sometimes the queries work after
no wait at all.

Any ideas?

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




Re: [Zope] Tux & Zope?

2001-01-09 Thread Joachim Werner

> Are you sure Tux will help in conjunction with Zope ? AFAIK Tux can only
> handle static html pages and nothing more. Any request to dynamic pages
> (and I wold consider any Zope powered system being 100% dynamic) has to
> be passed to another (user-level) webserver. So IMHO in the case of Zope
> this would be no improvement at all.
>
> But that's just my thoughts, please correct me, if I'm wrong.

Yes, Tux can only serve static content, but images in dynamically created 
HTML pages behave exactly the same as images in static web sites. How should 
the web browser know that a page was served by a dynamic server? It gets 
every single image by sending a new HTTP request. So of course the images 
(and all other static stuff like sound files, PDF documents etc.) can be 
served by Tux after the corresponding HTML page was served by Zope!

Cheers,

Joachim.


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




Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Joachim Werner


> > - You can work with full SSL-encryption, maybe even client certificates.
> >This is much more secure than TELNET or FTP. (Unfortunately, SSH/SCP,
> >while being the "better  TELNET/FTP" is not always an option, and it
> >always opens up more than necessary)
>
> what exactly does SSH open uo 'more than necessary'. Sufficient clue on
> admin's side provided?

Of course, "suficient clue on admin's side provided", you are right. But I 
don't know too many cases of perfectly secure configurations ...

> > - People won't hack together their own solutions for the problem (with
> >LocalFS installed and me having the rights to add LocalFS instances,
> > it would take me not very long to "infiltrate" any Zope server. Just add
> > the "Extensions" folder via LocalFS and upload all you need as External
> > Methods ...)
>
> That requires a few things, if I am not mistaken...
>
> a) ZServer runs as anything but nobody/nogroup and is not
>jail(8)ed/chrooted. If that is the case, well, I'd personally shoot
>the admin responsible for that if something comes up.
>
> b) ${ZOPEROOT}/Extensions allows nobody to write into it - shoot admin.

Again you are right, but as Zope is really easy to install, I'd guess that it 
is not only used (and installed) by "uberadmins" who know exactly what they 
are doing  ...

Joachim

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




[Zope] Learning ZOPE - a useful guide

2001-01-09 Thread Lloyd Kvam

I have been struggling to figure out Zope.  It is a complicated product and it
is very hard to know where to begin.  This link provides a general guide as how
to proceed.  What should you learn first?  What comes next?  While I am sure
there is more than one way to answer those questions, this guide does a terrific
job.

 A Developer's Guide to Learning Zope Howto v1.0.2
 http://itamarst.org/learningzope/index.html

I would recommend adding it to the zopeNewbies listings.

--
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice: 603-443-6155
fax: 801-459-9582



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




Re: [Zope] Zope on Win2K stable ?

2001-01-09 Thread Andy McKay

> Hi,
> 
> - is Zope under Win2K stable enough to be used in a production
>   environment ?

Yes, perhaps more than IE ;) 

> - is it possible to start Zope under Win2K as a service
>   (controlable through the system management console) ?
> 


Yes

--
  Andy McKay.


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




Re: [Zope] Tux & Zope?

2001-01-09 Thread Takashi Veikko Linzbichler

Hi, Jonathan,

Jonathan wrote:
> 
> Just one of those things that keeps popping up on my list of 'things I
> should try': Zope behind the Tux webserver. For those who do not know:
> Tux is a very fast webserver for Linux because it operates at kernel
> level. It can pass requests it can't handle to another server, ZServer
> for example.

Are you sure Tux will help in conjunction with Zope ? AFAIK Tux can only
handle static html pages and nothing more. Any request to dynamic pages
(and I wold consider any Zope powered system being 100% dynamic) has to
be passed to another (user-level) webserver. So IMHO in the case of Zope
this would be no improvement at all. 

But that's just my thoughts, please correct me, if I'm wrong.

mailx,
ta

--
smartferret it-consulting Dipl.-Ing. Linzbichler KEG

Dipl.-Ing. Takashi Veikko Linzbichler
Tannhofweg 28/3
A-8044 Graz, Austria

Tel.:   0316 / 39 89 40 -0
Fax:0316 / 39 89 40 -20
Mobil:  0676 / 31 26 286
eMail:  [EMAIL PROTECTED]

WWW:http://www.smartferret.com
--

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




Re: [Zope] Re: [Zope-dev] Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Jonas Luster

* Joachim Werner sez:

Ok, let me try to understand this one. I am a bit dumb, sorry...

> - You can work with full SSL-encryption, maybe even client certificates.
>This is much more secure than TELNET or FTP. (Unfortunately, SSH/SCP,
>while being the "better  TELNET/FTP" is not always an option, and it
>always opens up more than necessary)

what exactly does SSH open uo 'more than necessary'. Sufficient clue on
admin's side provided?

> - People won't hack together their own solutions for the problem (with
>LocalFS installed and me having the rights to add LocalFS instances, it
>would take me not very long to "infiltrate" any Zope server. Just add the
>"Extensions" folder via LocalFS and upload all you need as External
>Methods ...)

That requires a few things, if I am not mistaken... 

a) ZServer runs as anything but nobody/nogroup and is not
   jail(8)ed/chrooted. If that is the case, well, I'd personally shoot
   the admin responsible for that if something comes up.

b) ${ZOPEROOT}/Extensions allows nobody to write into it - shoot admin.

http://www.post1.com/home/ngps is a good way to start securing Zope, the
problem of transmitting passwords in the clear is a big one, but has
been solved at my domains by deploying SecurID-tokens, which might not
be the ultiamte solution (lots of stuff I wanted to hide is still
transmitted in the clear) but is a good start.

jonas

-- 
Jonas Luster -- http://smurftarget.net (while netwarriors.org is down) -- 
[EMAIL PROTECTED]

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




[Zope] MySQL connection woes

2001-01-09 Thread paul_s_johnson

After following several howtos, tracking numerous threads from this list,
and spending several days losing my mind, I sense that I am finally getting
closer to having Zope and MySQL talking to each other.

SETUP:
I am running on Linux with Redhat with MySQL 3.22.32 and ZMySQLDA with
ZMySQL-python.  The later two are installed such that ZMySQLDA is NOT
broken. I installed using the RPMs supplied by Ron Bickers available on his
FTP site (thanks, Ron) and followed additional instructions supplied on
earlier threads.

PROBLEM:
My problem now is I can't find a connection string that works. I understand
the connection syntax and tried every possibility. My suspicion is that I
am having a permissions problem with MySQL. I found this former list email:

>> My suggestion would be to set up mysql to accept a null login (no
>> username, no password), create a database in there called "test" and
>> connect with the connection string "test@localhost"

>thank u, this was the point to my problem. I have tried a nologin mysql
and it
>worked with database@myhost !!! :)
>so i know i have a grant table problem in mysql (no big deal - i hope :) )

QUESTION:
Being a relative newbie to this whole thing (Linux, Zope, MySQL, etc.), how
do I create a null login in MySQL with blanket privleges? Could it still be
a faulty ZMySQLDA setup? How do I troubleshoot that possibility?

Thanks,

P. Johnson


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




RE: [Zope] ZCatalog and 'fuzzy logic'

2001-01-09 Thread sean . upton

My understanding is that part of the problem is that sorting a dataset based
upon regular expression (doesn't matter what algorithm you use) creates a
rather large tree of possibilities that is largely impractical to sort, at
least not without a lot of overhead.  

My compromise for the searches that I'm planning on using is to allow regex
searches of "search results" from the catalog.  This requires a bit more
patience, as it is an unindexed search...

Sean

-Original Message-
From: Morten W. Petersen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 7:46 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [Zope] ZCatalog and 'fuzzy logic'


Is there anyone who could try to give an estimate of how long it would
take to add fuzzy logic (regexp-like) searching capability to the
ZCatalog?

And reasoning as to why would be appreciated. ;)

-Morten


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

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




Re: [Zope] Zope on Win2K stable ?

2001-01-09 Thread Wolfgang Strobl

On 9 Jan 2001, at 9:13, Andreas Jung wrote:

> - is Zope under Win2K stable enough to be used in a production
>   environment ?

IMHO, yes. Neither Zope nor Win2K can protect you against a 
buggy driver on the kernel level which happens to crash the 
machine, though.

> 
> - is it possible to start Zope under Win2K as a service
>   (controlable through the system management console) ?

Yes. It's no different from NT 4 in this respect.

-- 
Wolfgang Strobl

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




RE: [Zope] Tux & Zope?

2001-01-09 Thread sean . upton

I have extensively looked over the documentation, and am in the midst of
compiling for the first time on my PC.

Haven't tried it already, though; my main reason, is that I operate most of
my Linux servers on Sun hardware, and am waiting for the dust to settle on
2.4.0 before I start trying to work with Tux; Tux is (in theory) only tested
for i386, thought I don't see any reason (offhand) it won't work on
Linux/sparc (unless there are some endian issues I am not aware of with the
kernel-space module).  The main advantage to Tux is that it caches TCP
checksums (for all the content it serves, I believe), reducing CPU load,
which seems likes a good idea (especially if you have hardware - like Sun -
where your CPU is a bigger bottleneck than the bus, I/O, etc).

Anyway, as complicated as it sounds, I am going to be setting up some new
servers that likely have a configuration that uses Tux on port 80 (serving
images only), Apache on 8080 (serving static pages, and logging access), and
ZServer on 9080.  Tux would proxy to Apache, and once that was set up, I
could set up an Apache mod_proxy connection to Zope using the ideas in the
howtos.  This way, I get fast serving of images and multimedia via Tux, a
full Apache config, and Zope running with virtual hosts.

Once I try this config, I will let everyone know how it works out.

What I would really like to see is this: Images and multi-media that can be
served by Tux, but managed by Zope, so that all content is managed, but
serving the images and multi-media is really fast, and not reliant on the
ODB.  I thought I saw something about a product that is like OFS:File &
OFS:Image, but saves the files to the filesystem - that kind of thing might
work for such a config.

Sean

-Original Message-
From: Jonathan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 3:09 AM
To: Zope Mailinglist
Subject: [Zope] Tux & Zope?


Hi all,

Just one of those things that keeps popping up on my list of 'things I
should try': Zope behind the Tux webserver. For those who do not know:
Tux is a very fast webserver for Linux because it operates at kernel
level. It can pass requests it can't handle to another server, ZServer
for example.

Any tried it already?

Cya
Jonathan



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

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




[Zope] Re: [Zope-dev] Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Joachim Werner

On Tuesday 09 January 2001 15:41, Martijn Pieters wrote:
> On Mon, Jan 08, 2001 at 12:18:37PM -0500, Mohan Baro wrote:
> > Are you planning a manage_install for products?
> > The ability for superusers to install complelte products directly through
> > the management interface, no need for ftp.
> > similar to import/export feature
>
> I hope not!
>
> Anyone gaining management access to your Zope server will be
> able to install arbitrary products on your server and gain access to the
> file system.
>
> There is a strict dividing line between the file system and the ZMI,
> allowing installation through the web interface will cross that line with
> one giant step.

I think this is a political one. For me, the things that are really valuable 
on a web site are the data and the user information, which both are available 
through the web interface. At least if Zope runs as a user and has its own 
home directory, the additional damage that can be caused by people with file 
system access is not very high. O.k., they can shut down my server. They can 
do that by using "manage_shutdown" from the web anyway. Same with deleting 
all data on the server. IMHO a well-designed "over-the-web" installation 
concept would make Zope MORE secure, not less e.g.:

- You can work with full SSL-encryption, maybe even client certificates.
   This is much more secure than TELNET or FTP. (Unfortunately, SSH/SCP,
   while being the "better  TELNET/FTP" is not always an option, and it
   always opens up more than necessary)

- People won't hack together their own solutions for the problem (with
   LocalFS installed and me having the rights to add LocalFS instances, it
   would take me not very long to "infiltrate" any Zope server. Just add the
   "Extensions" folder via LocalFS and upload all you need as External
   Methods ...)

Cheers,

Joachim.

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




Re: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Peter Sabaini

On Tue, 9 Jan 2001, Toby Dickenson wrote:

:On Tue, 9 Jan 2001 09:31:35 +0100 (CET), Peter Sabaini
:<[EMAIL PROTECTED]> wrote:
:
:>actually i use a combination of squid / apache because i need some
:>re-writing, you could as well use squid for caching and apache for
:>(name-based) virtual hosting. this of course introduces additional
:>latency, but this shouldnt be a problem if your objects are fairly
:>cacheable, ie. most content would be served out of squid anyway.
:
:That's an interesting configuration. For a while Ive been considering
:a solution based on longer-than-usual chains of http proxies, and a
:"do one thing well" principal. In my case:
:
:Apache (for rewriting and SSL)
:  -> Squid accelerator
:   -> A custom load-balancing redirector
:-> Multiple Zopes
:
:Have you had any significant latency, or other problems?
:
:Toby Dickenson
:[EMAIL PROTECTED]

my configuration was:

  --> squid --> apache w/ rewriting and logging --> zserver / zope

there was of course some latency added but nothing significant -- <
0.5s afai can remember. and, since squid was the first stage, most
content would be served of squid (and thus with no added latency)
anyway. ssl was not an issue.

the problem i had with zserver-only was that the most-requested pages
(frontpage and index pages) were also the most expensive to render
(drawing in content from diverse categories etc.) with the proxy
setup, the most-requested pages would be in the cache, and
little-requested pages (article views) are a) simple to render and
therefore dont contribute much to load and latency and b) there's more
willingness for users to wait half a second longer for a detailed view
than for an index page, where they decide if they want to read
anything at all (imho).

i needed apache for logging and also served all static images via
apache -- all those small gifs can have quite an impact of subjective
load times. and since these dont change often you dont need
manageability via zope. you just have to write  instead of  (or
whatever)...

ru,
peter.



-- 

_
peter sabaini, mailto: [EMAIL PROTECTED]
-


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




Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread Jason Cunliffe

> I give up, what and where is IEMethod? Zope.org search turns up nothing.

The Wiki for ZIE = 'The Zope Internet Explorer Editor Project' is

http://www.zope.org/Members/johanc/ZIE/wiki/FrontPage


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




Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread Paul Browning


Does

http://www.zope.org/Members/johanc/ZIE/ZIE-demo

fit the bill?

Paul

--On 09 January 2001 15:07 + peter bengtson <[EMAIL PROTECTED]> wrote:

> Try searching for "Internet Explorer" in Software release search.
>
> - Original Message -
> From: "Dennis Nichols" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Zope Mailinglist" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 09, 2001 2:09 PM
> Subject: [Zope] IEMethod (was: Can Zope ... )
>
>
>> At 1/9/01 08:33 AM, Olaf Zanger wrote:
>> > Smith Ray schrieb:
>> >
>> > > * Allows non technical people to create content plus add users /
> managers
>> > > etc without any HTML knowledge or knowledge outside of the package.
>> > product: IEMethod
>> > wysiwyg even in internet explorer.
>> > really great! check it out
>>
>> I give up, what and where is IEMethod? Zope.org search turns up nothing.
>>
>>
>>
>> --
>> Dennis Nichols
>> [EMAIL PROTECTED]
>>
>>
>> ___
>> Zope maillist  -  [EMAIL PROTECTED]
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )
>>
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>



--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/


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




Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread Jason Cunliffe

> Try searching for "Internet Explorer" in Software release search.

also

http://www.zope.org/Members/johanc/ZIE/xmlrpc_client


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




Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread Jason Cunliffe

> Try searching for "Internet Explorer" in Software release search.

http://www.zope.org/Members/johanc/ZIE/ZIE-demo


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




[Zope] ZCatalog and 'fuzzy logic'

2001-01-09 Thread Morten W. Petersen

Is there anyone who could try to give an estimate of how long it would
take to add fuzzy logic (regexp-like) searching capability to the
ZCatalog?

And reasoning as to why would be appreciated. ;)

-Morten


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




RE: [Zope] Re: EMarket 0.1.04b1

2001-01-09 Thread James Sintz

Steve,

I think that may be what I'm missing. I don't see any way to add MarketItems
from within the marketItems folder. The only form is
ShopperMarketItemAddForm which doesn't seem to let me actually add
MarketItems and always returns the following message "You must be validated
for submission first..." no matter who I am logged in as (Zope manager or
EMartket Shopper).

Is a ShopperMarketItem the same as a MarketItem?

I'm aware that more effort is being put into 0.2 for obvious reasons so I
don't want to take up too much more of your time. I just really don't need
the power of the ZPattern version nor do I want to waste time trying to get
ZPatterns installed. I have tried a few of the other e-commerce products and
EMartet seems to have the best mix of simplicity and power.

Thanks!!

Jamey


> -Original Message-
> From: Steve Spicklemire [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, January 08, 2001 10:36 PM
> To:   [EMAIL PROTECTED]
> Cc:   [EMAIL PROTECTED]
> Subject:  Re: [Zope] Re: EMarket 0.1.04b1
> 
> 
> Hi Jamey,
> 
>Sorry.. you're right. I haven't used 0.1.x in quite a while.
> 
> Have you tried just using the administrative interface 
> to add a MarketItem in the marketItems folder? 
> 
> -steve
> 
> > "James" == James Sintz <[EMAIL PROTECTED]> writes:
> 
> James> Do I need to have ZPatterns installed to use Emarket
> James> 0.1.04b1? I thought Zpatterns was only needed for EMarket
> James> 0.2.
> 
> James> Jamey
> 
> 
> James> -Original Message- From: Steve Spicklemire To:
> James> [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> James> Sent: 1/8/2001 4:25 PM Subject: [Zope] Re: EMarket 0.1.04b1
> 
> 
> James> Sorry.. it's my fault for not providing better docs.. sadly
> James> it's not been something I've had time for... esp since all
> James> the ZPatterns changes were added.
> 
> James> 1) Create ZClasses for your MarketItems, Baskets,
> James> BasketItems and Shoppers (be sure to subclass from
> James> ZPatterns:DataSkin)
> 
> James> 2) In the Racks for each of these Specialists set the
> James> storage to the appropriate ZClass.
> 
> James> 3) There is a very simple marketItem management interface
> James> in the marketItems specialist that you should modify to
> James> suit your taste.  It should be enough to get you going.
> 
> James> When I get some time... dunno when... I'll try to make a
> James> more complete example for folks.
> 
> James> -steve
> > "James" == James Sintz <[EMAIL PROTECTED]> writes:
> 
> James> Perhaps I'm missing something fundamental, but I can't seem
> James> to figure out how to add products to EMarket 0.1.04b1
> James> running on Zope 2.2.2
> 
> James> Everything installed just fine and I can add an EMarket
> James> object, but I don't see where, or how I go about adding
> James> things to sell. I don't care about the auction features, I
> James> just want to sell a handful of products on my site.
> 
> James> When I go to the MarketItems folder, and try submitting an
> James> item using the ShopperMarketItemAddForm it returns a screen
> James> saying "You must be validated for submission first...". I
> James> am logged in as a manager. If I log out and then register a
> James> new user and then try I'm told I don't have permission to
> James> add a new MarketItem. What gives?  The read me doesn't
> James> provide much insight on what I am doing wrong. Are there
> James> zClasses I need to add or templates I need to create before
> James> the thing will work?  Thanks!!  Jamey
> 
> 
> James> ___ Zope
> James> maillist - [EMAIL PROTECTED]
> James> http://lists.zope.org/mailman/listinfo/zope ** No cross
> James> posts or HTML encoding!  ** (Related lists -
> James> http://lists.zope.org/mailman/listinfo/zope-announce
> James> http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

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




Re: [Zope] Unidentified problem with SiteRoot

2001-01-09 Thread Evan Simpson

From: Kelvin Cheong <[EMAIL PROTECTED]>
> I have a problem which i suspect is site root's problem.

Shouldn't be; Site Roots only affect the generation of URLs by the REQUEST,
and by absolute_url.

Cheers,

Evan @ digicool & 4-am


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




Re: [Zope] How to set a REQUEST variable inside a PythonMethod?

2001-01-09 Thread Evan Simpson

From: Juan Carlos Coruña <[EMAIL PROTECTED]>
> REQUEST.update({'NoRows': 4})
>
> and I tried:
>
> REQUEST['NoRows'] = 4
>
> and I tried:
>
> REQUEST.set('NoRows', 4)

That last one should have worked; The first two wouldn't.  Do you get an
error on the last one?

Cheers,

Evan @ digicool & 4-am


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




Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread peter bengtson

Try searching for "Internet Explorer" in Software release search.

- Original Message -
From: "Dennis Nichols" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Zope Mailinglist" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 2:09 PM
Subject: [Zope] IEMethod (was: Can Zope ... )


> At 1/9/01 08:33 AM, Olaf Zanger wrote:
> >Smith Ray schrieb:
> >
> > > * Allows non technical people to create content plus add users /
managers
> > > etc without any HTML knowledge or knowledge outside of the package.
> >product: IEMethod
> >wysiwyg even in internet explorer.
> >really great! check it out
>
> I give up, what and where is IEMethod? Zope.org search turns up nothing.
>
>
>
> --
> Dennis Nichols
> [EMAIL PROTECTED]
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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




[Zope] How to set a REQUEST variable inside a PythonMethod?

2001-01-09 Thread Juan Carlos Coruña

Hello all!

I have another question related with PythonMethod. This time I tried:

REQUEST.update({'NoRows': 4})

and I tried:

REQUEST['NoRows'] = 4

and I tried:

REQUEST.set('NoRows', 4)

but without success.
(I passed the REQUEST object in the parameter list.)

Anybody has set a REQUEST variable from inside a PythonMethod?


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




Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Martijn Pieters

On Mon, Jan 08, 2001 at 12:18:37PM -0500, Mohan Baro wrote:
> Are you planning a manage_install for products?
> The ability for superusers to install complelte products directly through
> the management interface, no need for ftp.
> similar to import/export feature

I hope not! 

Anyone gaining management access to your Zope server will be
able to install arbitrary products on your server and gain access to the
file system. 

There is a strict dividing line between the file system and the ZMI,
allowing installation through the web interface will cross that line with
one giant step.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

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




Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Martijn Pieters

On Mon, Jan 08, 2001 at 11:19:36AM -0500, Jason Cunliffe wrote:
> The need to improve the manage interface has grown urgently clear to me
> while using Zope myself, designing for all sorts of community and
> collaborative Zope-based projects, demos for a number of innocent
> bystanders, interested parties and potential clients.
> Zope 'manage' is plain primitive at present.
> 
> Considering the power of Zope, and the real workflow needs of people working
> with it, imho this present lack of thoughtful user interface makes no sense.
> By ignoring these basics, Zope is neglecting a #1 self-promotion
> opportunity - how it runs out of the box, and how quickly one can use it as
> site-planning/design tool.It is quite unproductive now compared to what it
> could/should be.
> 
> I am looking for real help here on how best to improve this...
> 
> Here is a list of features I believe should be default manage screen
> behavior now.
> Please submit your comments and improvements to these improvements:
> 
> KISS
> For those who do not want any added features, there should be an option in
> z2.py or as a manage_config DTML method in "/" or anywhere else in the tree
> to enable or disable 'advanced manage' features.
> 
> ---
> 1. SORT TABLE
> 'manage' needs to presented with basic column listings so one can display
> sort by headings.
> 
> I am not sure if this turns into a CatalogAware Inferno or whether all this
> info is  already hidden in the ZODB and could be extracted adn cached
> sensibly and quickly. What do you think?
> 
> For example some headings I see a real need for:
> 
> NAME [default now], DATE[created, last modified] SIZE, TYPE[meta-type],
> USER[default=owner], DEPTH, COUNT, CHANGES, PROPERTY, DISPLAY

The created date is not available in the ZODB. Depth I rather not use; you
don't want to wake up a huge subtree (like the Zope.org Members folder)
when determining the depth of a tree.

There has been some discussion about using the 'title' attribute of HTML
tags to add additional mouse-over visible information to objects, I think
a lot of the information fields you describe may have a place in that
field (and not clutter up the view).



> How easy hard is the above to do?
> Has it already bee done?
> What techniques/components exists already to make it happen?
> What need to be developed?
> How does this affect Zope core?
> What woudl you like to see when you click on manage?
> What would you lceints liek to see?

If you check out Zope 2.3 from CVS now, you'll see that a great many
changes have been made to the Zope Management Interface, included some of
the changes you listed, like sorting.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

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




[Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread Dennis Nichols

At 1/9/01 08:33 AM, Olaf Zanger wrote:
>Smith Ray schrieb:
>
> > * Allows non technical people to create content plus add users / managers
> > etc without any HTML knowledge or knowledge outside of the package.
>product: IEMethod
>wysiwyg even in internet explorer.
>really great! check it out

I give up, what and where is IEMethod? Zope.org search turns up nothing.



--
Dennis Nichols
[EMAIL PROTECTED]


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




Re: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Toby Dickenson

On Tue, 9 Jan 2001 09:31:35 +0100 (CET), Peter Sabaini
<[EMAIL PROTECTED]> wrote:

>actually i use a combination of squid / apache because i need some
>re-writing, you could as well use squid for caching and apache for
>(name-based) virtual hosting. this of course introduces additional
>latency, but this shouldnt be a problem if your objects are fairly
>cacheable, ie. most content would be served out of squid anyway.

That's an interesting configuration. For a while Ive been considering
a solution based on longer-than-usual chains of http proxies, and a
"do one thing well" principal. In my case:

Apache (for rewriting and SSL)
  -> Squid accelerator
   -> A custom load-balancing redirector
-> Multiple Zopes

Have you had any significant latency, or other problems?

Toby Dickenson
[EMAIL PROTECTED]

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




RE: [Zope] I did a blunder now I can't access zope...

2001-01-09 Thread Dany Rioux

Thanks!

I got it back to work with your help! :)

Dany

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 8:00 AM
> To: Dany Rioux
> Cc: Zope Mailing List
> Subject: Re: [Zope] I did a blunder now I can't access zope... 
> 
> 
> On Tuesday 9 January 2001, at 7 h 24, the keyboard of "Dany Rioux" 
> <[EMAIL PROTECTED]> wrote:
> 
> > I installed a product in the root and when it asked me 
> about the base
> > url, I typed an URL that isn't "attached" to zope, 
> 
> If this product is SiteAccess:
> 
> http://www.zope.org/Members/4am/SiteAccess2/info
> 
> ...
> 
> If an Access Rule is broken, and is preventing normal 
> access, it can be disabled by restarting Zope with 
> environment variable SUPPRESS_ACCESSRULE set.
> 
> 
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
 smime.p7s


RE: [Zope] Is there any (paper) book on Zope?

2001-01-09 Thread Magnus Heino (Rivermen)



> Does anybody know if someone is going to publish a book on Zope?

http://www.zope.org/Members/michel/ZB/

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




[Zope] Is there any (paper) book on Zope?

2001-01-09 Thread Alessandro Bottoni

Does anybody know if someone is going to publish a book on Zope?

I heard about a book from O'Reilly a few months ago but www.oreilly.com
still does not list it...

Thanks

---

Alessandro Bottoni
Web Architect
Quadrante SRL
Piazza Galileo, 6
40123 Bologna
[EMAIL PROTECTED]
http://www.quadrante.com


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




RE: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Ragnar Beer

I started using mod_proxy, because I needed the configuration options 
(redirection etc.) and squid wouldn't cache ssl stuff. It's running 
very well since about six months now.

The downside is that it's really badly documented. BTW there is a new 
book by Ralf Engelschall that you can download for free from 
http://www.apacheref.com that also covers mod_proxy. Not in detail 
though. He calls mod_proxy apache's stepchild.

Concerning numbers I gave some in my caching with mod_proxy howto 
(http://www.zope.org/Members/rbeer/caching).

Ragnar

>Hmm.  That's been my thought on squid as well, given its ground-up design
>for caching in the first place.  My worry, though, is that with squid I lose
>support for virtual hosts on seperate boxes, because I need to support Zope,
>static content, and some legacy stuff running ColdFusion on an NT box.  My
>impression is that Squid's http accelerator mode (inverse transparent proxy,
>or whatever you want to call it) is somewhat of an afterthought compared to
>the standard proxy use case.  If it supports the ability to direct traffic
>based upon the virtual host address, then squid works - if not, I think I
>have to go the Apache route... I also wonder just how good Apache's
>mod_proxy caching is?  Any thoughts?
>
>Sean
>
>-Original Message-
>From: Shane Hathaway [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 08, 2001 12:59 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [Zope] Caching/http-acceleration and proxying Zope-served
>content
>
>
>[EMAIL PROTECTED] wrote:
>>
>>  I have a question, for anyone experienced in working with Zope and caching
>>  proxies:
>>
>>  I'm setting up a load-balanced server farm that has nodes that will run
>>  Apache and proxy (via mod_proxy) to ZEO clients running ZServer.  This
>farm
>>  is routed (both ways) through a layer 4 load-balancing appliance, and all
>>  these boxes (both nodes and the balancer) are sitting inside a DMZ with
>>  private IP addresses.  The public world will access these servers via a
>>  firewall box running transparent proxy (actually, I guess, similar to
>>  squid's http_accel mode; the semantics here are a bit tricky, as it's more
>>  of a inverse trans-proxy).  Between Apache and Zope, there would be
>several
>>  virtual hosts, and I'd be using the SiteAccess product.  It gets a bit
>>  tricky in that I need to access several different virtual hosts inside the
>>  DMZ (one for the ZEO farm, and another for a dedicated CGI-based ad server
>>  on another box) via the proxy.  A more detailed (ascii art) diagram of
>what
>>  I am trying to do, is at http://209.132.8.98/server_ascii_art.txt
>>
>>  My question is this: does anybody have any thoughts on the merits of Squid
>>  (http accelerator mode) versus Apache/mod_proxy in terms of caching,
>virtual
>>  hosts, and the like when working with Zope sites?  Any big pitfalls to
>this
>>  kind of setup with Zope sites?
>
>I would prefer Squid since its only purpose in life is caching.  It
>follows the "do one thing and do it well" mantra.
>
>But whatever your choice, I hope you make use of the new CacheManagement
>feature in Zope 2.3.  It is designed to make things like this
>straightforward and easy.  There's a recent news announcement that links
>to everything you need--including complete help docs!
>
>Shane
>
>___
>Zope maillist  -  [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>___
>Zope maillist  -  [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


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




Re: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread tav

> SR == "Smith Ray" <[EMAIL PROTECTED]> writes:

SR> Are there any "Intranet" type packages which have
similar
SR> functionality to what I have quickly described?

there aren't any intranet packages per se, but there is a
wonderful zope product called worldpilot which you should take
a look at. its available at
http://demo.worldpilot.com:8080/site/

it has a very nice web based mail client / calendar / todo /
address book features. that fulfils half of your requirements
in an intranet. for the other half, go out and create something
based on other zope tools, e.g. zwiki / squishdot / ptk

the drawback is in integrating worldpilot with whatever you
create. the code is definitely not the most manageable,
however, the source is there - so you can do whatever you want
:)

SR> If I had to build something like this myself would
SR> Zope be the tool of choice? (I'm assuming it would
SR> be since I'm on a Zope list!)

zope is without doubt one of the best ways to do this. most
important for me is the ability to extend the product in a
rapid and easy manner

at esp (company i work for), we desperately looked around for
good intranet solutions and ended up making our own 'xnet'
product based on zope. it does pretty much anything you would
want from an intranet, and using zope was definitely the best
decision we made about it.

i would offer you this product, however, its been made
primarily for internal use, but with a few days work, i guess
it could be be made non-esp centric. pop onto irc
(irc.espnow.com / #esp) if you want to talk about it.

SR> How long (rough estimate) would something like
SR> this take to develop for a Zope newbie?

if you dedicate yourself to this, then about two months. zope
has a steep learning curve. but once you get to a certain
level, everything becomes much clearer... that is, until you
want to rise to the next level of zope meisters

--
best regards, tav
[EMAIL PROTECTED]


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




Re: [Zope] I did a blunder now I can't access zope...

2001-01-09 Thread Stephane Bortzmeyer

On Tuesday 9 January 2001, at 7 h 24, the keyboard of "Dany Rioux" 
<[EMAIL PROTECTED]> wrote:

> I installed a product in the root and when it asked me about the base
> url, I typed an URL that isn't "attached" to zope, 

If this product is SiteAccess:

http://www.zope.org/Members/4am/SiteAccess2/info

...

If an Access Rule is broken, and is preventing normal access, it can be disabled by 
restarting Zope with environment variable SUPPRESS_ACCESSRULE set.




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




Re: [Zope] images transfering

2001-01-09 Thread Oleg Broytmann

On Tue, 9 Jan 2001, Nuno Goncalves wrote:
> I'm trying to import to zope an directory in my file system which has
> several images (about 1000) !
> How can i do this without importing an image one by one (little bit
> tiring :) !!!

   There is load_site.py in Zope utilities, and there is new version of it
somewhere on zope.org; Just search for "load site" or "load_site" or such...

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] images transfering

2001-01-09 Thread Chris Withers

Nuno Goncalves wrote:
> 
> I have searched several ways, including building a XML-RPC function
> to transfering all the images, but unsuccessful !!!

Use the LocalFS productand don't both uploading them at all ;-)

cheers,

Chris

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




RE: [Zope] Python Scripts in 2.2.x

2001-01-09 Thread Mayers, Philip J

Oops, ignore that - copied the wrong error from the window (from an earlier
attempt). The *real* error was that I was running zpasswd as root with a
umask of 077, which of course meant the webserver and Zope couldn't read the
resulting file.

So, the LoginManager product appears to work, but the problem now is when I
try to add a LoginManager to a folder, I get a NameError for 'path', with a
traceback:

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


Regards,
Phil

+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+  

-Original Message-
From: Mayers, Philip J 
Sent: 09 January 2001 10:01
To: 'Bill Anderson'
Subject: RE: [Zope] Python Scripts in 2.2.x


No, I'm afraid not:

Traceback (innermost last):
  File "/usr/local/Zope23/lib/python/OFS/Application.py", line 405, in
import_products
product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/Zope23/lib/python/Products/LoginManager/__init__.py",
line 1, in ?
import LoginManager, LoginMethods, UserSources
  File "/usr/local/Zope23/lib/python/Products/LoginManager/LoginManager.py",
line 8, in ?
from Products.ZPatterns.Specialists import Specialist
  File "/usr/local/Zope23/lib/python/Products/ZPatterns/__init__.py", line
1, in ?
import Rack, Specialists, Customizers, AttributeProviders,
SheetProviders
  File "/usr/local/Zope23/lib/python/Products/ZPatterns/Rack.py", line 9, in
?
from DataSkins import DataSkin
  File "/usr/local/Zope23/lib/python/Products/ZPatterns/DataSkins.py", line
1, in ?
from DynPersist import DynPersist
ImportError: No module named DynPersist

Regards,
Phil

+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+  

-Original Message-
From: Bill Anderson [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2001 04:42
To: Mayers, Philip J
Subject: Re: [Zope] Python Scripts in 2.2.x


Mayers, Philip J wrote:

> I need to use LoginManager, which doesn't seem to work with 2.3, 

It does after a minor modification...
http://www.egroups.com/message/zope/47172

Bill Anderson


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




Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-09 Thread Oleg Broytmann

Hello!

   Many thanks to all who replied! Sorry for late answer - twas XMas
holidays in Russia (Russian Orthodox church celebrates XMas Jan 7).

On Fri, 5 Jan 2001, Rik Hoekstra wrote:
> >If I call http://machine:port/top/middle/AFolder/ADocument (in terms of
> > this HOWTO), and ADocument calls , what is acquisition
> > path for AMethod?
>
> what might come handy in your case is the howto "Shane's Aquisition
> Understander" at
>
>  http://www.zope.org/Members/chrisw/showaq
> it'll help you visualize the acquisition path from your document.

   I used it for sometime, sure...

> You may also want to look at my howto Changing Contexts in Zope
> http://www.zope.org/Members/Hoekstra/ChangingZopeContexts

   Read and reread it many times, sure. Cannot live without it :) The thing
that I didn't understand from this (and the thing is still cloudy) is that
there is One Acquisition Path for a request. When I call a Method through
the web, I have proper path, so I can call Documents and Methods from each
other. But when I call a Document through the web, I have "wrong" path -
static path, and when I try to call a Method from the Document, the Method
will use this static path. I thought the Method will use dynamic path,
based on request (URL). That was my mistake.

> Or Jim's acquisition algebra from a Python point of view of these matters:
> http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/index.html

   Of course.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] I did a blunder now I can't access zope...

2001-01-09 Thread Dany Rioux

Hello...

No, I'm not proud of myself. Anyway, here's what happened.

I installed a product in the root and when it asked me about the base
url, I typed an URL that isn't "attached" to zope, now I find myself
trying to connect to zope as I would usually do but only receive "The
requested URL /manage was not found on this server."

I know this message is generated by Apache but even after changing
Apache's configuration so the sub-domain that is refered is sent to
zope, I still get that message sent by apache for a 404. If I remove
the port number, I am getting the "normal" site (which is an apache
only site).

Now, from what I can guess, I have to remove the part I added as the
base url in the Data.fs but I don't know how to do that.

Sorry, I can't explain it better than that... Any suggestions except
reinstalling?

TIA!

Dany

---.oo0O--O0oo.

Dany Rioux  UnderSoft Inc.
Business
www.dating-reviews.com
[EMAIL PROTECTED]

Personal
www.drioux.com
[EMAIL PROTECTED]

---.o00O---O00o.---


BEGIN:VCARD
VERSION:2.1
N:Rioux;Dany;;M
FN:Dany Rioux
ORG:UnderSoft Inc.
TITLE:President
TEL;WORK;VOICE:(506) 753-7515
ADR;WORK:;;78B Roseberry St;Campbellton;NB;E3N 2G7;Canada
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:78B Roseberry St=0D=0ACampbellton, NB E3N 2G7=0D=0ACanada
X-WAB-GENDER:2
BDAY:20010710
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20001122T152751Z
END:VCARD



[Zope] images transfering

2001-01-09 Thread Nuno Goncalves

Hello !!
I'm trying to import to zope an directory in my file system which has
several images (about 1000) !
How can i do this without importing an image one by one (little bit
tiring :) !!!
I have searched several ways, including building a XML-RPC function
to transfering all the images, but unsuccessful !!!

I apreciate any suggestions

thanks !
Nuno


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




[Zope] Tux & Zope?

2001-01-09 Thread Jonathan

Hi all,

Just one of those things that keeps popping up on my list of 'things I
should try': Zope behind the Tux webserver. For those who do not know:
Tux is a very fast webserver for Linux because it operates at kernel
level. It can pass requests it can't handle to another server, ZServer
for example.

Any tried it already?

Cya
Jonathan



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




Re: [Zope] Multiple servers on Zope?

2001-01-09 Thread Kevin Teague

> How can I create "multiple" web servers on Zope as in IIS?  We have a few
> domains that resolve to the same IP address. When a user accesses eg.
> www.geospace.co.za they must get to a different site than when they access
> www.triangletyre.co.za even though both addresses resolve to the same IP
> address.  In IIS you just create a new virtual web site that "responds" to
> the new domain name.  I am not using Zope through IIS and would actually
> like to get rid of IIS altogether.

You'll need to install the excellent SiteAccess Product to do virtual
hosting from within Zope (I used to use Apache with mod_rewrite to do the
virtual hosting, but it's much better to let Zope handle it).

http://www.zope.org/Members/4am/SiteAccess2

One caveat is that virtual hosting doesn't work cleanly with the Zcatalog.
This will be fixed in Zope 2.3, but if you aren't running 2.3alpha, and you
are using the Zcatalog, then you'll need this patch:

http://www.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix/FrontPage


Kevin Teague
http://www.bud.ca


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




[Zope] Multiple servers on Zope?

2001-01-09 Thread Etienne Labuschagne

Hi there

How can I create "multiple" web servers on Zope as in IIS?  We have a few
domains that resolve to the same IP address. When a user accesses eg.
www.geospace.co.za they must get to a different site than when they access
www.triangletyre.co.za even though both addresses resolve to the same IP
address.  In IIS you just create a new virtual web site that "responds" to
the new domain name.  I am not using Zope through IIS and would actually
like to get rid of IIS altogether.

Any help to a Zope newbie would be GREATLY appreciated!
Etienne

Tel: (012) 348 4586
Cel: 082 442 8981
Fax: (012) 361 8355


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




[Zope] Multiple select boxes saves selected id's even though the Objectsare deleted. are deleted.

2001-01-09 Thread Max Møller Rasmussen

I have a zClass with a multiple selection. The selected items are selected
from a list of id's from a folder. 

They are then saved in the zClass as a list of strings.

But when one of the selected items on the folder is deleted the id is still
in the zClass.

Naturally it should be deleted from the "selected" list automatically, but I
don't think that is feasible. I would have to traverse a lot of different
subfolders to see if an object was selected there.

Is there a standard idiom for doing this?

(Don's say zPatterns please as this won't help here.)

Regards Max M

--
Another way of explaining the same problem is here:

Folder1
   item1
   item2
   item3
   item4

selectBox = ['item1', 'item2', 'item3', 'item4']

selected = ['item1','item2']

After delete of item1 from Folder1

Folder1
   item2
   item3
   item4

selectBox = ['item2', 'item3', 'item4']

selected = ['item1','item2']

The problem is that 'item1' still is in selected.

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




RE: [Zope] [Newbie] Can Zope ...

2001-01-09 Thread Max Møller Rasmussen

From: Smith Ray [mailto:[EMAIL PROTECTED]]

>The cost thrown up in the air was in the order of $AUS20,000 for a 
>3 year rental, per site (At the moment that is about $US35,000)
>When you start talking dozens of sites you quickly start looking
>for alternatives!

Zope can easily do most all of the things you mention in zClasses. The most
difficult items you are requesting though is calendaring and discussion.
Currently there are no real good products available so I guess you will have
to roll your own in a Python Product, and that can be a bit difficult to
learn.

The rest sounds like a 2-4 weeks job. maybe 4-6 weeks if depending on how
newbie you are :-)

For me the biggest bonus about Zope vs. closed system is not the $ savings
but the gained flexibility and freedom. It might take a little longer to set
up your own system in zope, but You will know it by heart afterwards and can
easily change the sites.

Regards Max M

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




RE: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Peter Sabaini


not sure if thats what you want, but squid _can_ act as a frontend to
multiple backend-servers. check out the squid users guide
(http://squid-docs.sourceforge.net/latest/html/book1.htm)
specifically http://squid-docs.sourceforge.net/latest/html/x2544.htm
which deals with "accelerator" options

peter.

On Mon, 8 Jan 2001 [EMAIL PROTECTED] wrote:

:Hmm.  That's been my thought on squid as well, given its ground-up design
:for caching in the first place.  My worry, though, is that with squid I lose
:support for virtual hosts on seperate boxes, because I need to support Zope,
:static content, and some legacy stuff running ColdFusion on an NT box.  My
:impression is that Squid's http accelerator mode (inverse transparent proxy,
:or whatever you want to call it) is somewhat of an afterthought compared to
:the standard proxy use case.  If it supports the ability to direct traffic
:based upon the virtual host address, then squid works - if not, I think I
:have to go the Apache route... I also wonder just how good Apache's
:mod_proxy caching is?  Any thoughts?
:
:Sean
:
:-Original Message-
:From: Shane Hathaway [mailto:[EMAIL PROTECTED]]
:Sent: Monday, January 08, 2001 12:59 PM
:To: [EMAIL PROTECTED]
:Subject: Re: [Zope] Caching/http-acceleration and proxying Zope-served
:content
:
:
:[EMAIL PROTECTED] wrote:
:>
:> I have a question, for anyone experienced in working with Zope and caching
:> proxies:
:>
:> I'm setting up a load-balanced server farm that has nodes that will run
:> Apache and proxy (via mod_proxy) to ZEO clients running ZServer.  This
:farm
:> is routed (both ways) through a layer 4 load-balancing appliance, and all
:> these boxes (both nodes and the balancer) are sitting inside a DMZ with
:> private IP addresses.  The public world will access these servers via a
:> firewall box running transparent proxy (actually, I guess, similar to
:> squid's http_accel mode; the semantics here are a bit tricky, as it's more
:> of a inverse trans-proxy).  Between Apache and Zope, there would be
:several
:> virtual hosts, and I'd be using the SiteAccess product.  It gets a bit
:> tricky in that I need to access several different virtual hosts inside the
:> DMZ (one for the ZEO farm, and another for a dedicated CGI-based ad server
:> on another box) via the proxy.  A more detailed (ascii art) diagram of
:what
:> I am trying to do, is at http://209.132.8.98/server_ascii_art.txt
:>
:> My question is this: does anybody have any thoughts on the merits of Squid
:> (http accelerator mode) versus Apache/mod_proxy in terms of caching,
:virtual
:> hosts, and the like when working with Zope sites?  Any big pitfalls to
:this
:> kind of setup with Zope sites?
:
:I would prefer Squid since its only purpose in life is caching.  It
:follows the "do one thing and do it well" mantra.
:
:But whatever your choice, I hope you make use of the new CacheManagement
:feature in Zope 2.3.  It is designed to make things like this
:straightforward and easy.  There's a recent news announcement that links
:to everything you need--including complete help docs!
:
:Shane
:
:___
:Zope maillist  -  [EMAIL PROTECTED]
:http://lists.zope.org/mailman/listinfo/zope
:**   No cross posts or HTML encoding!  **
:(Related lists -
: http://lists.zope.org/mailman/listinfo/zope-announce
: http://lists.zope.org/mailman/listinfo/zope-dev )
:
:___
:Zope maillist  -  [EMAIL PROTECTED]
:http://lists.zope.org/mailman/listinfo/zope
:**   No cross posts or HTML encoding!  **
:(Related lists -
: http://lists.zope.org/mailman/listinfo/zope-announce
: http://lists.zope.org/mailman/listinfo/zope-dev )
:

-- 

_
peter sabaini, mailto: [EMAIL PROTECTED]
-


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




[Zope] Unidentified problem with SiteRoot

2001-01-09 Thread Kelvin Cheong

Hello all,

I have a problem which i suspect is site root's problem.

The scenario, I have folders F1, F1a and F2, where F1a is a child of F1
and F2 is on the same directory level as F1. Also F1 and F2 have their
own DB-connections DB1 and DB2 respectively, which have the exact same
properties/connection.

Then...

1) i placed a SiteRoot in F1, 
2) then removed it,
3) copied & pasted F1a into F2,
4) renamed the F1a in F2 to F2a,
5) create a SiteRoot in F1 again,
6) and create a SiteRoot in F2

i've also tried restarting Zope between steps 2 and 3

Then it seems that the ZSQL Methods in F2a are referring still referring
to the MySQL DB connection in F1. I've tested it many tiems with otehr
folders aswell, and it seems that they're all reacting the same way. 

In other words, it seems like once a SiteRoot has been created in the
folder, the DB connections stick to it. I've also tried the "Undo" from
Zope's Management Interface, but to no avail.

Perhaps my intuition of all this is wrong altogether. 

Anyone out there experienced the same problem, or have any solutions to
this problem?

Thanks Zopistas,
amoebia

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




[Zope] Zope on Win2K stable ?

2001-01-09 Thread Andreas Jung

Hi,

- is Zope under Win2K stable enough to be used in a production
  environment ?

- is it possible to start Zope under Win2K as a service
  (controlable through the system management console) ?

Andreas

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




[Zope] How subclass calls its ancestor's method in zope?

2001-01-09 Thread Dirksen

Here is a ZClass testa, with a dtml method 'do'. Its subclass testb
overrides do. How testb calls its ancestor's 'do'? In python, it can be done as
'testa.do()', but what's the equivallent in zope? 

Dirksen



__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

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