Re: [Zope] Vocabulary??

2000-08-04 Thread R. David Murray

On Fri, 4 Aug 2000, Sven Hohage wrote:
> think I've missed something.
> What is the feature "Vocabulary"??Just a hint please!

A Vocabulary allows you to associate an arbitrary method of parsing
input text into words for the purposes of cataloging and searching in
text indexes.  The default Vocabulary uses the original Splitter.c
word parser, which is very English centric.

--RDM


___
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] Precondition

2000-08-04 Thread R. David Murray

On Fri, 4 Aug 2000, RC Compaan wrote:
> What does the "Precondition" property of the file class refer to?

As far as I can tell from a quick scan of the source, the precondition
is an object that is called just before the file object is rendered.
It can raise an exception, in which case the object will not get
rendered.  I could swear I read that documented somewhere, but I
can't find it.  Someone should submit a doc patch for the API help
pane.  I'd do it, but I haven't gotten around to learning how the
help system works yet so I don't know what file to patch .

--RDM


___
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 old hardware??

2000-08-04 Thread Steve Nicholson

Hi I'm looking at running Linux 6.1 and zope on a dual processor P90 Dell
powerEdge server, 128Mb RAM.  Is this a viable proposition for hosting, I'm
not anticipating millions of hits?? I realise it's not the fastest thing in
town but for a good price it gives me a RAID drive for reliability.  What
sort of load will it handle, hits etc? Does Zope take advantage of the Dual
processors?  What improvement is there over one processor?  This box can be
upgraded to P166's what would be the improvement?  Is anyone out there
running Linux on Dell EX590-2, can I expect lots of problems or easy to
set-up?  Pointers to sites with more information would be appreciated.

I haven't got it yet, so want to find out more before I waste to much
time/energy/money on it.

Thanks for any help/advice you can offer.

Steve.


___
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 with two platforms.

2000-08-04 Thread R. David Murray

On Fri, 4 Aug 2000, Francisco Assis Rosa wrote:
> We would like to be able to have
> new developments on products to be passed
> from the development platform to the
> staging platform and to have new
> content to be passed from the staging
> platform to the development platform.

I wonder if you could put your content in a mountable
storage and just periodically copy that storage down
to the development machine, and similarly periodically
copy the master storage (containing the ZClasses) up
from the development machine.  If your products
are Python products you wouldn't even need a mountable
storage.

> Also, how would you see schema versioning
> How could we for instance deal with
> objects generated from a product if the product
> schema changes ?

Zope uses the __setstate__ method for handling this
case in Python products.  I think there's a howto somewhere but I'm
not sure.  If not you can find examples of calling it in
the Zope sources.  For ZClasses the objects get all their
info from the ZClass, so you generally don't run into upgrade
problems (though people have run into trouble with properties
they have tried to delete hanging around on existing instances).

--RDM


___
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] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread R. David Murray

On Fri, 4 Aug 2000, tom smith wrote:
> notice the startDateString=StartDateString...which I thought the  would've handled, anywaythis seems to have fixed it
> 
> can anyone tell me why?

ZSQL methods do not pick variables up out of the name space because
the possability of unintended collision with database variables is
considered too high.  So ZSQL forces you to be fairly explicit
about which variables you are passing.

--RDM


___
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] New Zope Training Dates Announced for San Diego, California and Denver, Colorado

2000-08-04 Thread Gary Graham

New Zope training dates were announced today for San Diego, California and Denver, 
Colorado.  See the Zope training page at http://www.digicool.com/Solutions/Training/ 
for details.

--Gary

Gary Graham [EMAIL PROTECTED]  
Director, Sales & Marketing
Digital CreationsFredericksburg, Virginia
mobile: 540.840.3813  office: 540.371.6909 ext 117
fax: 540.371.1201   private eFax: 781.394.7868

Creators of Zope: The Open Source Application / Content Management Server
www.zope.org
www.digicool.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] New Zope classes announced for San Diego, California & Denver, Coloradolorado

2000-08-04 Thread Gary Graham

Digital Creations has scheduled 2 new Zope Training dates and locations.


The dates are September 25-28, 2000 for Zope 101 & 201 in San Diego,
California and also October 2-5, 2000 for Zope 101 & 201 in Denver,
Colorado.

See http://www.digicool.com/Solutions/Training/ for details.

--Gary

Gary Graham [EMAIL PROTECTED]  
Director, Sales & Marketing
Digital CreationsFredericksburg, Virginia
mobile: 540.840.3813  office: 540.371.6909 ext 117
fax: 540.371.1201   private eFax: 781.394.7868

Creators of Zope: The Open Source Application / Content Management
Server
www.zope.org
www.digicool.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] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal

> > So it looks like PoPy isn't even looking for libpq.
> 
> Agreed.  Something is definately wrong with the build!
> You might want to try a hand build.  My makefile generated this:
> 
> gcc -fPIC  -g -O2 -I/usr/include/python1.5 -I/usr/lib/python1.5/config -DHAVE_CO
> NFIG_H=1  -DHAVE_POSTGRESQL_LIBPQ_FE_H=1 -DHAVE_POSTGRESQL_LIBPQ_LIBPQ_FS_H=1  -
> c ./PoPymodule.c
> gcc -shared -lc  PoPymodule.o  -lpq -o PoPymodule.so
> 
> You might 
> export LD_LIBRARY_PATH=/opt/psql/lib
> 
> and then execute those commands.  Maybe this will fix your PoPY

I'll give this a shot when I get back to the office Monday - Thanks for all of your 
help.

- Steve


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] Less than helpful traceback

2000-08-04 Thread Spicklemire, Jerry

Hi Folks,

Any thoughts about how to find out what the erro message 
(below) means? If I could just find out what exactly is 
not being found, it would help alot, but there's no hint.

Thanks for any thoughts,
Jerry S.

Zope has encountered an error while publishing this resource. 

Resource not found

Sorry, the requested Zope resource does not exist.
Check the URL and try again.




Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML
source for this page. 

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

Traceback (innermost last):
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
151, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/BaseRequest.py, line
308, in traverse
  File /l01/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py, line 249,
in __bobo_traverse__
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/HTTPResponse.py,
line 511, in notFoundError
NotFound: (see above)




___
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] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera

Christian Scholz wrote:
> You actually should use something like this:
> 
> raise 'Redirect','http://my.server/my/path'

Ah yes!  This works wonderfully.  Thanks much! :)

-CJ

___
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] Redirecting from Python?

2000-08-04 Thread Christian Scholz

Hi!

On Fri, Aug 04, 2000 at 12:49:52PM -0500, Christopher J. Kucera wrote:


> I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect()
> from inside the Python code.  What I had was basically this:

[...]

> def someConditions(self):
>   if (some number of conditions):
> return 1
>   else:
> self.REQUEST.RESPONSE.redirect('blahblahblah')

You actually should use something like this:

raise 'Redirect','http://my.server/my/path'

-- christian

-- 
Christian Scholz   MrTopf@IRC
COM.lounge  http://comlounge.net/
communication & design   [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] updating 2 catalogs

2000-08-04 Thread Richard Bartels

I have created a catalogaware zclass following the instructions in How-To: Creating a 
CatalogAware ZClass.  It works fine.  Except for this:

I have a catalog in root folder which indexes the whole site.  Then I have catalogs in 
each of 6 main subfolders beneath the root folder for searching only in these folders. 
 

I am able to update both catalogs, however, when deleting the object it only is 
deleted from one of the catalogs, namely, the one that was updated last.  Is it valid 
to update two catalogs in this way?  Or should I be going about this another way 
entirely?

Thanks much,

Rick Bartels
Bank of America


--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

___
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] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal

> Sorry, but I had one guy complain about PoPY, and psql did not even run!
> He was connecting to a very old pg on a sun with a recent libpg on Linux.
> 
> What does ldd psql say?
> Crap, mine is statically linked.
> 
> OK, what is ldd /whatever_the_path_is/PoPy_...?
> 
root@fastclose:~ > ldd /usr/lib/python1.5/site-packages/PoPymodule.so 
libc.so.6 => /lib/libc.so.6 (0x4001)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)

and

root@fastclose:~ > ldd /opt/pgsql/bin/psql 
libpq.so.2.1 => /opt/pgsql/lib/libpq.so.2.1 (0x4001c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40057000)
libdl.so.2 => /lib/libdl.so.2 (0x4006e000)
libm.so.6 => /lib/libm.so.6 (0x40072000)
libutil.so.1 => /lib/libutil.so.1 (0x4008f000)
libreadline.so.4.0 => /lib/libreadline.so.4.0 (0x40093000)
libncurses.so.5 => /lib/libncurses.so.5 (0x400b9000)
libc.so.6 => /lib/libc.so.6 (0x40102000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

So it looks like PoPy isn't even looking for libpq.

> I am wonderig if PoPy is looking in a particular directory for libpq.
> 
> > 
> > - Steve
> > 
> > 
> > __
> > Get your Private, Anti-Spam, Free Email at http://e3mil.com 
> > and Step into a Friendly Universe!
> > 
> > ___
> > 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 )
> > 


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] Hey buddy can you spare some Zen?

2000-08-04 Thread Steve Drees

> I have the following ZSQLMethod.
>
> ID:
> =
> SQLAddRelease
> =
> Arguments:
> =
> releases.headline releases.author releases.email releases.body
> =
>
>
> Query Template:
> =
> INSERT INTO releases
>   (author,
>   email,
>   body,
>   timestamp,
>   headline)
>   VALUES
>  (,
>   ,
>   ,
>   ,
>   );
>
> SELECT currval('releases_id_seq') AS Article_ID;
> ==
>
> When I test this method zope is smart enough to show me what
> Article_ID is.
> I can't for the life of me figure out how to get that value into the
> namespace.
>
> (Database is Postgres.)


I found the answer.

http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687
f0024bb5f/0249b255731f1729802568e700386b2f?OpenDocument&Highlight=0,currval

Special thanks to NIP for providing this wonderful resource!



___
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] Hey buddy can you spare some Zen?

2000-08-04 Thread Steve Drees

I have the following ZSQLMethod.

ID:
=
SQLAddRelease
=
Arguments:
=
releases.headline releases.author releases.email releases.body
=


Query Template:
=
INSERT INTO releases
(author,
email,
body,
timestamp,
headline)
VALUES
 (,
,
,
,
);

SELECT currval('releases_id_seq') AS Article_ID;
==

When I test this method zope is smart enough to show me what Article_ID is.
I can't for the life of me figure out how to get that value into the
namespace.

(Database is Postgres.)


-steve

[EMAIL PROTECTED]   http://www.the-bridge.net/~drees
"A problem well stated, is a problem half-solved." - C. Kettering


___
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] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-04 Thread Administrator


Send Zope maillist submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the web, visit
http://lists.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]

(When replying, please edit your Subject line so it is more specific than
"Re: Contents of Zope digest...")


Today's Topics:

  1. cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney 
(Administrator)
  2. 2.2 as a service and Zodbcda (Jim Sanford)
  3. Re: create DTML-Source-link like on zope.org (Chris Withers)
  4. Problem accessing property value (David Riggs)
  5. Re: Confusing aq - I don't get it, anyone know why? (Dieter Maurer)
  6. Re: Evaluating a string of DTML code? (Dieter Maurer)
  7. Re: ZSearch generated default report file fails on result set cardinality greater 
50 for content which contains www addresses (Dieter Maurer)
  8. Re: Batchpeocessing with multiple selection (Dieter Maurer)
  9. Re: Problem accessing property value (Chris Withers)
  10. Re: Zope + Apache on FreeBSD 4.0 problems (Peter Haight)
  11. Installation of 2.2.0 under Linux (Steve Sorenson)
  12. Re: create DTML-Source-link like on zope.org (Bill Anderson)
  13. Re: Installation of 2.2.0 under Linux (Nick Garcia)
  14. Re: acquisition vs. inheritance (Jonothan Farr)
  15. Upload applet in Java/JPython (Alexander Limi)
  16. How to prime a selection? (Jean Jordaan)
  17. RE: How to prime a selection? (RC Compaan)
  18. Re: How to prime a selection? (Loren Stafford)
  19. Re: Retrieving the week number with DateTime (Rob W. W. Hooft)
  20. RE: Packing with cron (Andy Dawkins)
  21. Re: acquisition vs. inheritance (Chris Withers)
  22. Re: ZSearch generated default report file fails on result set cardinality 
greater 50 for content which contains www addresses (Andreas Rippel)
  23. Vocabulary?? (Sven Hohage)
  24. Help with demoportal (Owen Smith)
  25. New Wikis on zope.org (Bill Anderson)
  26. SiteAccess and zope2.2 (Terry Kerr)
  27. Re: Help with demoportal (Chris Withers)
  28. Moving Objects that are Cataloged... (Chris Withers)
  29. Caching How-To (was Cache concerns (was zope/proxy_pass
 configuration problem) (Ragnar Beer)
  30. Re: Moving Objects that are Cataloged... (Chris Withers)
  31. Re: Moving Objects that are Cataloged... (Terry Kerr)
  32. RE: Moving Objects that are Cataloged... (Andy Dawkins)
  33. Re: Moving Objects that are Cataloged... (Chris Withers)
  34. Re: Informix and Zope (Erich Seifert)
  35. Re: Moving Objects that are Cataloged... (Chris Withers)
  36. Re: Help with demoportal (Owen Smith)
  37. ZCatalog attachments? (Simon Coles)
  38. Precondition (RC Compaan)
  39. RE: SiteAccess and zope2.2 (Jens Vagelpohl)
  40. Re: Caching How-To (was Cache concerns (was zope/proxy_pass configuration 
problem) configuration problem) (Toby Dickenson)
  41. Re: Caching How-To (was Cache concerns (was
 zope/proxy_pass configuration problem) configuration problem) (Ragnar Beer)
  42. zope not receiving POSTs from Apache (Fabio Akita)
  43. Re: ZCatalog attachments? (Aleksander Salwa)
  44. Please help !! (Pedro Vega)
  45. Python Product Tutorial (Erik Enge)
  46. Re: compile ZPoPyDA product problems (continued) (Stephen Nosal)
  47. REPOST: README.txt Tab ([EMAIL PROTECTED])
  48. Re: dtml-calendar question (still not working) (tom smith)
  49. Re: REPOST: README.txt Tab (Jeff K. Hoffman)
  50. Re: dtml-calendar question (I GOT IT) (tom smith)
  51. Re: ZODBC and Zope as a service` (Jim Sanford)
  52. Re: REPOST: README.txt Tab (Pavlos Christoforou)
  53. Re: Python Product Tutorial (Loren Stafford)
  54. RE: Caching How-To (was Cache concerns (waszope/proxy_pass configuration 
problem) configuration problem) (bak @ kedai)
  55. ZDOM backward compatibility (Chime Thomas-Ogbuji)
  56. XSL Template proposal (Chime Thomas-Ogbuji)
  57. Moving an entire Zope site (Douglas Bates)
  58. Re: Moving an entire Zope site (Christopher J. Kucera)
  59. Redirecting from Python? (Christopher J. Kucera)
  60. Re: acquisition vs. inheritance (Jonothan Farr)
  61. Re: Redirecting from Python? (Jonothan Farr)
  62. Powered by Zope in different colors? (Marcin Kasperski)
  63. Re: Redirecting from Python? (Christopher J. Kucera)
  64. Zope with two platforms. (Francisco Assis Rosa)
  65. Re: compile ZPoPyDA product problems (continued) (Stephen Nosal)
  66. Re:[Zope]compile ZPoPyDA product problem (continued) (Stephen Nosal)
  67. Pluggable brains aren't seen by first-nnn in ? (Brad Clements)
  68. Re: Powered by Zope in different colors? (Christopher J. Kucera)

--__--__--

Message: 1
Date: Thu, 03 Aug 2000 15:44:21 -0400
To: [EMAIL PROTECTED]
From: "Administrator" <[EMAIL PROTECTED]>
Reply-To: "Administrator" <[EMAIL PROTECTED]>
Subject: [Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin 
Kiffney


Send Zope maillist submissions to
[EMAIL PROTE

[Zope] Solution Suggestions?

2000-08-04 Thread Craig

Unfortunately I do not know enough about Zope yet to know what the best
approach is to solving my problem, so please let me know if you have any
suggestions or have done something similar before.

I am trying to build a "tips" site and am trying to decide on how to store
the tips. The options I can think of are database, XML documents (stored
within Zope), or my own custom Zope object type or product. I've read a
little about XML documents in Zope, but I know nothing about creating my own
object types or products. Can anyone give me some advantages (and
disadvantages) of the latter approach? Perhaps there is already a product
for something similar. Squishdot is slight overkill for what I'm looking
for, although I would eventually like to attach discussion threads to each
tip, so maybe it is not.

This is the information that would need to be stored for each tip
(hypothetically) :

Tip title
Abstract
Tip text
Author (email, etc...)
Date submitted
Date approved (if we allow users to submit tips)
Number of hits (so we can have a "10 most popular", etc...)
Image link 

...and more may be added as time goes on.

Any thoughts?

Later,
-- 
\ Craig "Cowboy" McDaniel 
/_\ Software Engineer
/_/_\ Internet Tool & Die
/_/_/_\ [EMAIL PROTECTED]
/_/_/_/_\ (502) 584-8665 ext 108

___
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] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal

On Fri, 04 August 2000, [EMAIL PROTECTED] wrote:

> 
> On Fri, Aug 04, 2000 at 11:42:38AM -0700, Stephen Nosal wrote:
> OK, to start another line entirely--
>  does psql work?

Sure does - no problems at all. Even have a database up and running with users...

- Steve


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] Controlling object type when uploading via FTP?

2000-08-04 Thread Paul D. Godley

Is there a way to control the type of an object when you upload via FTP. It
seems to always create DTML documents. What if I want to create a DTML
method or DTML template?

If not that, is there an easy way to change the type of a group of objects?

Thanks.

-P

--
Technology Concepts & Design, Inc.
(336) 773-0323



___
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] Powered by Zope in different colors?

2000-08-04 Thread Christopher J. Kucera

Marcin Kasperski wrote:
> Has anyone considered preparing some collection of differently colorized
> and sized 'Powered by Zope' logos? Recently I wanted to put it on two

I just created a few that would probably work well with your sites:

http://www.zope.org/Members/cyborg/icons

One is just a plain inverse of the standard, and the other translated
the color into blue . . .

Hope those help!

-CJ

___
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] Pluggable brains aren't seen by first-nnn in ?

2000-08-04 Thread Brad Clements

I have a ZSQL method that has an associated class. That class defines 
a method eventday(self) that returns just the date portion of a datetime 
value.

I want to be able to use   to print the date only 
when it changes.

However first-eventday is ALWAYS true, however when I print &dtml-
eventday; the output value is always the same for each row, so first-
eventday shouldn't be true on any row except the first.

I've been looking at dt_insv.py, I assume that eventday() isn't seen as a 
true variable in self.data, so ... 

Any suggestions for how I can easily simulate first-nnn for a datetime 
when I only want to key off the date portion?



Brad Clements,[EMAIL PROTECTED]   (315)268-1000
http://www.murkworks.com  (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com   AOL-IM: BKClements

___
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]compile ZPoPyDA product problem (continued)

2000-08-04 Thread Stephen Nosal

Federico -

I downloaded PoPy-1.3.3.tgz and I'm running into the following problems:

PostgreSQL was compiled from 7.0.2 source from ftp.postgresql.org

Run as root:
root@fastclose:/opt/src/PoPy > ./autogen.sh --with-postgres-libraries=/opt/pgsql/lib 
--with-postgres-includes=/opt/pgsql/include


Results:
>creating cache ./config.cache
>checking for python... /usr/bin/python
>checking python version... 1.5
>checking python installation prefix... /usr
>checking python installation exec_prefix... /usr
>checking definitions in Python library makefile... >done
>checking location of python library... >$(prefix)/lib/python1.5/site-packages
>checking location of python shared modules... 
>>$(exec_prefix)/lib/python1.5/site-packages
>checking for PQconnectStart in -lpq... no
>configure: error: can't build without PostgreSQL >libraries
>
>Now type 'make' to compile PoPy python module.
>root@fastclose:/opt/src/PoPy > 

What am I missing? the libraries are in /opt/pgsql/lib, 
the includes in /opt/pgsql/include, posgresql is in /opt/pgsql/bin. I've modified 
ld.so.conf and run ldconfig, I've also run
export LD_LIBRARY_PATH=/opt/pgsql/lib
No luck.

Please give me a hand here. I've got ZPyGreSQLDA running, but I'm just failing with 
ZPoPyDA. I'm running a new install of Suse 6.4 Linux.

- Steve

Thanks.

On Wed, 02 August 2000, Federico Di Gregorio wrote:

> 
> hi,
> 
> > > I keep getting the same compile error -
> > > 
> > > gcc - shared PoPymodule.o -lpq -o PoPymodule.so
> > > /usr/i486-suse-linux/bin/ld: cannot find -lpq
> > 
> > -Find libpq.so on your machine.
> > -Edit the last? (going from memory) line of Makefile, adding
> >-L/directory/that/holds/your_libpq 
> >  (just the directory, not the filename) right before -lpq
> 
> with the new versions of PoPy you can simply do:
> 
> ./configure --with-postgres-libs=/directory/that/holds/your_libpq
> 
> ciao,
> federico
> 
> -- 
> Federico Di Gregorio
> MIXAD LIVE System Programmer   [EMAIL PROTECTED]
> Debian GNU/Linux Developer & Italian Press Contact[EMAIL PROTECTED]
>   Debian. The best software from the best people [see above]
>   -- brought to you by One Line Spam
> 
> ___
> 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 )


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal

> > > Exactly what message are you getting now?
> > 
> > I'm still getting the same error: At the python interactive prompt, the command 
>import PoPy results in the following: ImportError: 
>/usr/lib/python1.5/site-packages/PoPymodule.so: undefined symbol: PQfsize
> > 
> > Any additional help would be greatly appreciated.
> > 
> > - Steve
> > > > 
> > > > There is no reference to libpq.so, and I still receive the same error with 
>import PoPy. I question if I need a libpq.o listing from ldconfig -v or not?
> > > > 
> > > > Thanks for your prompt replies and help. I really appreciate it.
> > 
> 
> Hokay..
> 
> go to /opt/pgsql/libs and execute
> strings libpq.so.2.1 | fgrep PQfsize
> 
> On my system this returns
> PQfsize
> PQfsize
> 
> If it returns similar on your system, then 
> 1) ld is still not finding the library.  This may perhaps be
> modified by rechecking ld.so.conf and rerunning ldconfig;
> or you can edit the start script of zope and insert something like
> export LD_LIBRARY_PATH=/opt/pgsql/lib
> 
> or, if not, 2)
> The pgsql library is badly compiled.  (get an update, or install
> your own postgres)

Okay, this is really starting to get to me.

strings libpq.so.2.1 |grep PQfsize
returns:
PQfsize
PQfsize

I checked ld.so.conf and reran ldconfig. I looks as though it knows where the 
libraries are. No luck.

I did an export LD_LIBRARY_PATH=/opt/pgsql/lib
export shows that it was recognized. Still No luck.

The PostgreSQL install was compiled from the 7.0.2 source. I'm beginning to think the 
problem is in the PoPy source - ZPyGreSQLDA works just fine, and I think it's using 
the same libraries.

I just downloaded the ZPoPy-1.3.3 tarball - still no luck yet, post to follow.

Thanks again for all of your help, and if you can thnk of anything else...

- Steve


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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 with two platforms.

2000-08-04 Thread Francisco Assis Rosa

Hi all,

I have a question I would like to pose you.
We want to setup a environment where we have
a development platform and a staging platform
(two distinct machines with two distinct Zope
instances).  On the development platform we
want to develop Zope Products while on
the staging platform we want to, based on
these products, add content to our
zope database.

We would like to be able to have
new developments on products to be passed
from the development platform to the
staging platform and to have new
content to be passed from the staging
platform to the development platform.

Any ideas on how we could do that using
Zope as our application server ?
In particular how do you think we
could deal with allowing content editing
to proceed in parallel with development of
products ? Is there any available solution for
Zope databases integration ?
Also, how would you see schema versioning
How could we for instance deal with
objects generated from a product if the product
schema changes ?

Thank you in advance,

Francisco.


--
Francisco Assis Rosa email: [EMAIL PROTECTED]
Dynamic Diagrams   tel: 401.331.2014 ext. 136
12 Basset St., Providence, RI 02903fax: 401.331.2015




___
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] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera

Jonothan Farr wrote:
> Are you doing a dtml-var or dtml-call to call your external method? I believe
> you need a dtml-call.

I've tried both. :)  Other things I've tried:
  * Explicitly passing in the REQUEST object
  * Explicitly passing in the RESPONSE object
  * slapping a "return" in front of the call

Also, it's not really an external method . . .  It's a method
defined in the product's class.  (Perhaps that's significant somehow.)

Thanks for the info, though . . . :)
-CJ

___
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] Powered by Zope in different colors?

2000-08-04 Thread Marcin Kasperski

Has anyone considered preparing some collection of differently colorized
and sized 'Powered by Zope' logos? Recently I wanted to put it on two
different web pages I created and in both situations I needed to change
it. And I am not completely satisfied with the results (you can see them
on http://www.softax.com.pl/prywatne/marcink/ and
http://www.softax.com.pl) - on first of them I finally removed nice Z
letter, on the second I am unhappy with the colors.


-- Serwis nie tylko mieszkaniowy: http://www.mk.w.pl 
|
| You have the right to change your mind, to substitute functionality,  
| and to change priorities. (Ken Beck's Third Customer Right)   
|

___
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] Redirecting from Python?

2000-08-04 Thread Jonothan Farr

Are you doing a dtml-var or dtml-call to call your external method? I believe
you need a dtml-call.
--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998

- Original Message -
From: Christopher J. Kucera <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 10:49 AM
Subject: [Zope] Redirecting from Python?


> Greetings!
>
> I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect()
> from inside the Python code.  What I had was basically this:
>
> 
>   View the page . . .
> 
>   
> 
>
> This works fine, but rather than having that sitting out in DTML-land,
> I figured I could put the conditions in the Python code and simplify
> the if statement, so all I'd have to do is:
>
> 
>   View the page . . .
> 
>
> The Python code I was hoping would accomplish this was:
>
> def someConditions(self):
>   if (some number of conditions):
> return 1
>   else:
> self.REQUEST.RESPONSE.redirect('blahblahblah')
>
> My problem is that the redirect just doesn't happen.  I've had this
> function return values and the like, so I know it's parsing my conditions
> correctly, and I can even do a "return self.REQUEST.RESPONSE.redirect" and
> have the function returned back into my page, but it won't actually
> redirect.
>
> Any ideas?  Thanks in advance . . .
>
> -CJ
>
> ___
> 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] acquisition vs. inheritance

2000-08-04 Thread Jonothan Farr

Dang! Just when I think I understand this acquisition thing. ;)

Sorry for the misinformation.

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998

- Original Message -
From: Chris Withers <[EMAIL PROTECTED]>
To: Jonothan Farr <[EMAIL PROTECTED]>
Cc: Bob Horvath <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 1:54 AM
Subject: Re: [Zope] acquisition vs. inheritance


> Jonothan Farr wrote:
> >
> > > Is it possible to have just one top level object that refers to
> > > other objects that get overridden as you go into other folders?
> >
> > Acquisition works the other way around. You can create objects in subfolders
> > whose contents are overriden higher up. You can't have an object at the top
> > whose contents get overridden as you go down.
>
> Urm, I think wires are getting crossed here, so here's an example which
> may help (and which we use on most of our sites):
>
> index_html is a DTML method:
>
> 
> 
> 
>
> Now, in each folder we have DTML documents called index.html which
> actually contain the pages.
>
> So, we have one index_html and many index.html's.
>
> When someone does http://www.mysite.com/folder/
> This actually renders http://www.mysite.com/folder/index_html
> Then, index_html is acquired from the root.
> However, because index.html exists is /folder, it is that which is
> displayed.
>
> I hope this makes it a little clearer :S
>
> cheers,
>
> Chris
>
> PS:
> > Your solution was correct. Create another index_html in the subfolder,
>
> As long as index_html is a method, you only need one of them, in the
> root.
>
> > which
> > uses the 'contents' object in the subfolder,
>
> This will still happen if there's only one index_html
>


___
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] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera

Greetings!

I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect()
from inside the Python code.  What I had was basically this:


  View the page . . .

  


This works fine, but rather than having that sitting out in DTML-land,
I figured I could put the conditions in the Python code and simplify
the if statement, so all I'd have to do is:


  View the page . . .


The Python code I was hoping would accomplish this was:

def someConditions(self):
  if (some number of conditions):
return 1
  else:
self.REQUEST.RESPONSE.redirect('blahblahblah')

My problem is that the redirect just doesn't happen.  I've had this
function return values and the like, so I know it's parsing my conditions
correctly, and I can even do a "return self.REQUEST.RESPONSE.redirect" and
have the function returned back into my page, but it won't actually
redirect.

Any ideas?  Thanks in advance . . .

-CJ

___
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] Moving an entire Zope site

2000-08-04 Thread Christopher J. Kucera

Douglas Bates wrote:
> I will be doing a demo of a Zope-based query system at a conference
> soon and need to replicate my entire site on a stand-alone machine.
> Is there a convenient way to archive a Zope site and move it to another
> machine?

Just copy the Data.fs file.  (And any External Methods, etc, you might
be using, of course.)

-CJ

___
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] Moving an entire Zope site

2000-08-04 Thread Douglas Bates

I will be doing a demo of a Zope-based query system at a conference
soon and need to replicate my entire site on a stand-alone machine.
Is there a convenient way to archive a Zope site and move it to another
machine?

Please cc: me on replies.  I'm over 1000 messages behind on reading
this list and probably will never catch up. :-)
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/

___
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] XSL Template proposal

2000-08-04 Thread Chime Thomas-Ogbuji

A proposal for an XSL Template product in Zope has been posted on the
Zope developer site.  We would appreciate, feedback suggestions,
additions, etc. to the proposal.  If you would like to participate with
the process and you aren't already a  member you can join here 
http://dev.zope.org/Register/register.html, and you will then be able to 
participate in the collaborative process.  The proposal can be found here:

http://dev.zope.org/Wikis/DevSite/Proposals/XSLTMethod

Chimezie Thomas-Ogbuji
Consultant
Fourthought Inc. (303) 583 9900 ext 104
[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] ZDOM backward compatibility

2000-08-04 Thread Chime Thomas-Ogbuji

A decision needs to be made regarding ZDOM backward compatibility with DOM
level I.  We would like to know to what extent pcople use the old
interfaces and if adhering to DOM II only would break a lot of prior work.

The wiki describing the situation can be found here:

http://www.zope.org/Wikis/zope-xml/ZDOMCompatibility

Chime


___
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 How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread bak @ kedai


has anybody had bad experience with caching when using ie?  i've done as
what you did, but ie keeps showing old data.  this with a no-cache
header,must-revalidate.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Ragnar Beer
Sent: Friday, August 04, 2000 9:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [Zope] Caching How-To (was Cache concerns
(waszope/proxy_pass configuration problem) configuration problem)


Cool! I took a quick look at it and I think they fit together quiete
nicely. In your howto you wrote "Some people have reported success
with Apache using ProxyPass". This is exactly what my howto is about.
Perhaps you could set a link?

Ragnar


>On Fri, 4 Aug 2000 12:33:53 +0200, Ragnar Beer
><[EMAIL PROTECTED]> wrote:
>
>>During the last couple of days I could finally figure out how to set
>>up caching with mod_proxy. This morning I put together a caching
>>howto and submitted it for review.
>>
>>If it's accepted it will be available under
>>http://www.zope.org/Members/rbeer/caching
>
>Hey really? Me too.
>
>  http://www.zope.org/Members/htrd/howto/caching
>
>
>
>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 )


___
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 Product Tutorial

2000-08-04 Thread Loren Stafford

I don't know of any tutorial. ZScheduler creates a container (a subclass of
Catalog in fact), so you might use that code as a starting point. It doesn't
put other objects in the container, tho.

-- Loren

http://www.zope.org/Members/lstaffor/ZScheduler

- Original Message -
From: "Erik Enge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: August 04, 2000 08:47 AM
Subject: [Zope] Python Product Tutorial


> Hi.
>
> Are there any good Python Product tutorials that deals with creating a
> container (OFS.Folder.Folder will do) object and putting other objects
> within it?
>
> Thanks.
>
> ___
> 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] REPOST: README.txt Tab

2000-08-04 Thread Pavlos Christoforou

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

> I'll re-ask the question:
> 
> > How do I get the README tab to appear in a product?
> > 
> > What do I need to do?

Its been a while but I think what you say is essentially correct. If there
is a README.txt it would be displayed assuming your product was
initialized correctly. Also make sure you delete the product from the
product management screen and restart Zope.

Pavlos


___
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: ZODBC and Zope as a service`

2000-08-04 Thread Jim Sanford

Thanks for the feedback.

we've been running Zope 2.1.2 from the start bat and so far
I have not had to run into the office to restart it in the
middle of the night.

I was hoping to not have to keep running it that way.

Jim - Original Message -
From: "Stephen Nosal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 10:13 AM
Subject: Re: ZODBC and Zope as a service`


Jim -

I never got it to work as a service and got no help from the
list. Since it was a test machine, I just ran it as a
startup file.

I was hoping it would go away in 2.2, but I guess not.

Good luck, and let me know if a solution is found.

(I'm moving my production box to Linux and having a bit more
luck there).

- Steve

On Wed, 02 August 2000, "Jim Sanford" wrote:

>
> Read a post you did in may on the subject of problems with
ZODBC and Zope running as a service on Windows.
>
> I am having similar problems with Zope 2.2 and ZODBCDA
3.1.0b2. When i start it manually with the start.bat my ZSQL
methods work
> fine. When I start it as a service, every ZSQL method  has
an SQL error where it says the table I am looking for does
not exist.
>
>  Did you ever get it to work?
>
> If so, what was the answer?
>
> Thanks in advance.
>
>

__
>
>   Jim Sanford
>   .   Database Engineer
>  / \  /   Accelerated Technology, Inc.
> /   / 720 Oak Circle Drive East
>/  /  \Mobile, AL 36609
>   / / \   Voice: 334-661-5770  fax: 334-661-5788
>  / \  E-Mail: [EMAIL PROTECTED]
>   Web: http://www.atinucleus.com
>
>  Nucleus.  All You NEED in an RTOS.  Royalty Free
>

__



__
Get your Private, Anti-Spam, Free Email at http://e3mil.com
and Step into a Friendly Universe!



___
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] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread tom smith

My problem was with passing the arguments around

I used ...

 
 


notice the startDateString=StartDateString...which I thought the 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] REPOST: README.txt Tab

2000-08-04 Thread Jeff K. Hoffman

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

> I'll re-ask the question:
> 
> > How do I get the README tab to appear in a product?
> > 
> > I created a product and it is working great.  However, I would like to add
> > the 'README' tab to the product (and if possible to each instance of the
> > product).  I looked at other products that have the README tab and looked
> > at the Product.py source code.  It appears that I should just be able to
> > put a README.txt file in my product subdirectory and the tab should
> > automagically appear.  It doesn't.
> > 
> > What do I need to do?

If this is a Python product (NOT a ZClass "open box" product), delete the
product from your Product list and re-start Zope. Voila.

--Jeff

---
Jeff K. Hoffman   704.849.0731 x108
Chief Technology Officer  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.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] dtml-calendar question (still not working)

2000-08-04 Thread tom smith

This message is about how to use  to get it's data out of an
odbc database

on 3/8/00 5:35 pm, R. David Murray at [EMAIL PROTECTED] wrote:

> On Thu, 3 Aug 2000, tom smith wrote:
>> I'm still getting allsorts of errors. My code is like this...
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> I'm having trouble passing StartDateString to get_days_events. If I look at
>> StartDateString using  it looks OK.
> 
> What kind of errors?

I get

Zope has encountered an error while publishing this resource.

Error Type: Bad Request
Error Value: ['startDateString']

the get_days_events() sql function looks like this...

SELECT * FROM tblCalendar
WHERE
(startDate <=' 23:59:00'
AND endDate >= ' 00:00:00')
OR 
(startDate >= ' 00:00:00'
AND startDate <= '  23:59:00')
ORDER BY startDate

with startDateString entered into the arguments field

I know the sql is a bit ugly but it's what I'm stuck with
:-|


I tried using 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] REPOST: README.txt Tab

2000-08-04 Thread Robert_J_Roberts

I'll re-ask the question:

> How do I get the README tab to appear in a product?
> 
> I created a product and it is working great.  However, I would like to add
> the 'README' tab to the product (and if possible to each instance of the
> product).  I looked at other products that have the README tab and looked
> at the Product.py source code.  It appears that I should just be able to
> put a README.txt file in my product subdirectory and the tab should
> automagically appear.  It doesn't.
> 
> What do I need to do?
> 

___
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] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal


> > Maybe I wasn't clear - my lib directory has the same links and files as yours (my 
>libpq.a is smaller than yours). It's just that ldconfig -v gives me
> > 
> > /opt/pgsql/lib:
> >   libpq.so.2.1 -> libpq.so.2.1
> 
> OK, so does mine
> libpq.so.2.1 => libpq.so.2.1,
> so not.
> 
> Exactly what message are you getting now?

I'm still getting the same error: At the python interactive prompt, the command import 
PoPy results in the following: ImportError: 
/usr/lib/python1.5/site-packages/PoPymodule.so: undefined symbol: PQfsize

Any additional help would be greatly appreciated.

- Steve
> > 
> > There is no reference to libpq.so, and I still receive the same error with import 
>PoPy. I question if I need a libpq.o listing from ldconfig -v or not?
> > 
> > Thanks for your prompt replies and help. I really appreciate it.


__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] Python Product Tutorial

2000-08-04 Thread Erik Enge

Hi.

Are there any good Python Product tutorials that deals with creating a
container (OFS.Folder.Folder will do) object and putting other objects
within it?

Thanks.

___
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] Please help !!

2000-08-04 Thread Pedro Vega

Anyone is working OK with the below configuration :

Zope-2.2.0b4
DCOracle-1.3.1b1
ZOracleDA-2.2.0b1
Oracle 8.1.6R2

if not, any similar configuration suggested ??


Thousands of thanks in advance.

Pedro Vega


___
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 attachments?

2000-08-04 Thread Aleksander Salwa


On Fri, 4 Aug 2000, Simon Coles wrote:

> We have binary files stored in Zope, for example Word documents (but 
> could be any of a variety of document types).
> 
> We would like to be able to index and search the contents of these 
> files using ZCatalog. So if a Word file contains the word "Fred", 
> then any search for "Fred" would include that file in the list of 
> documents returned.
> 
> Is anyone doing something like this? If so, how?
> 

Simple search in binary data of course won't do it, because of complex
format of Word documents. So:
Try to keep beside every document its 'rendered' version - converted to
plain text (created by saving them with Word in plain text format).
Then create class representing your document. This class should provide
parameterless method 'PrincipiaSearchSource' returning rendered version of
document. However, it's untested - but seems to be a step in right
direction ;)


[EMAIL PROTECTED]

/--\
| `long long long' is too long for GCC |
\--/



___
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 not receiving POSTs from Apache

2000-08-04 Thread Fabio Akita

Hi

And again there´s a weird behavior concerning Zope+Apache :) Well, I have
successfully set up an Apache in a Solaris system with Zope configured
behind it using the ProxyPass/Rewrite modules and SiteAccess Product method.
It looked to work fine but then I realized that the forms are not submitting
correctly. When I click a submit button it do goes to the correct page but
no data is passed to it, it´s like there was no Post at all.

Anyone knows something about this?

Regards


___
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 How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread Ragnar Beer

Cool! I took a quick look at it and I think they fit together quiete 
nicely. In your howto you wrote "Some people have reported success 
with Apache using ProxyPass". This is exactly what my howto is about. 
Perhaps you could set a link?

Ragnar


>On Fri, 4 Aug 2000 12:33:53 +0200, Ragnar Beer
><[EMAIL PROTECTED]> wrote:
>
>>During the last couple of days I could finally figure out how to set
>>up caching with mod_proxy. This morning I put together a caching
>>howto and submitted it for review.
>>
>>If it's accepted it will be available under
>>http://www.zope.org/Members/rbeer/caching
>
>Hey really? Me too.
>
>  http://www.zope.org/Members/htrd/howto/caching
>
>
>
>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] Caching How-To (was Cache concerns (was zope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread Toby Dickenson

On Fri, 4 Aug 2000 12:33:53 +0200, Ragnar Beer
<[EMAIL PROTECTED]> wrote:

>During the last couple of days I could finally figure out how to set 
>up caching with mod_proxy. This morning I put together a caching 
>howto and submitted it for review.
>
>If it's accepted it will be available under 
>http://www.zope.org/Members/rbeer/caching

Hey really? Me too.

 http://www.zope.org/Members/htrd/howto/caching



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] SiteAccess and zope2.2

2000-08-04 Thread Jens Vagelpohl

terry,

have you done the following:

* get the *latest* version of SiteAccess (only SiteAccess versions >2.0
work woth zope 2.2.0
* run the little helper script that comes with SiteAccess2 to upgrade
all existing SiteAccess-related objects to version 2
* just to be on the safe side, re-registered the access rules with their
respective folders

jens


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Terry Kerr
> Sent: Friday, August 04, 2000 06:04
> To: [EMAIL PROTECTED]
> Subject: [Zope] SiteAccess and zope2.2
> 
> 
> Hi,
> 
> I am trying to upgrade from zope2.1.6 to zope2.2 and my SiteAccess no
> longer seems to work.  I have the new version of SiteAccess, 
> and product
> is not broken, it just doesn't redirect any hostnames of any of my
> sites.  All domains point to the root of zope instead of their
> respective folders.
> 
> Do I have to change anything else?
> 
> terry
> 
> 
> --
> Terry Kerr ([EMAIL PROTECTED])
> Adroit Internet Solutions Pty Ltd (www.adroit.net)
> Phone:   +613 9563 4461
> Fax: +613 9563 3856
> Mobile:  +61 414 938 124
> ICQ: 79303381
> 
> 
> 
> 
> ___
> 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] Precondition

2000-08-04 Thread RC Compaan

What does the "Precondition" property of the file class refer to?

Roché


___
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 attachments?

2000-08-04 Thread Simon Coles

Hi,

We have binary files stored in Zope, for example Word documents (but 
could be any of a variety of document types).

We would like to be able to index and search the contents of these 
files using ZCatalog. So if a Word file contains the word "Fred", 
then any search for "Fred" would include that file in the list of 
documents returned.

Is anyone doing something like this? If so, how?



Simon
-- 
- My opinions are my own, NIP's opinions are theirs --
Simon J. Coles Email: [EMAIL PROTECTED]
New Information Paradigms  Work Phone: +44 1344 753703
http://www.nipltd.com/ Work Fax:   +44 1344 753742
=== Life is too precious to take seriously ===

___
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] Help with demoportal

2000-08-04 Thread Owen Smith

I installed the ptk snap shot -but Im not sure which version this is..
but I then installed  ZopePTK-0.8.0-alpha.tar.gz -but I get the same
error on restart
Owen

Chris Withers wrote:

> What version of the PTK are you using?
>
> Chris
>
> Owen Smith wrote:
> >
>


___
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] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers

Andy Dawkins wrote:
> 
> Whilst in agreement with Chris I would like to throw another situation in
> here that CatalogAware doesn't cater for.
> 
> If you change a folder name, somewhere higher in the tree, then all the
> cataloged objects references are incorrect.
> 
> I think this is the same problem that Chris mentioned but a different
> implementation.

Slightly different, but still the same basic problems caused by storing
a patch to an object rather than a reference to the object.

Can someone remind me of the advtanges of storing the path?

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] Informix and Zope

2000-08-04 Thread Erich Seifert

"Nestor A. Diaz L." wrote:
> 
> HI,
> 
> Can anybody tell me if there is a posibility to use Zope with Informix 7.3
> on a Linux machine? maybe using odbc driver?
> 
> thanks you..

I would be interested in this, too.
Could anyone help or give some hints.

Thanks
Eric

___
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] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers

Terry Kerr wrote:
> i think that is the whole point of making objects catalogAware.

But catalogAware doesn't support subtransactions. It also doesn't handle
indirect deleting and several other conditions IIRC..

Also, in this particular case, the ZCatalog is a Squishdot Site and the
obejcts are Squishdot Postings so I don't really knwo how I could work
CatalogAware in even if I wanted to :S

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] Moving Objects that are Cataloged...

2000-08-04 Thread Andy Dawkins

Whilst in agreement with Chris I would like to throw another situation in
here that CatalogAware doesn't cater for.

If you change a folder name, somewhere higher in the tree, then all the
cataloged objects references are incorrect.

I think this is the same problem that Chris mentioned but a different
implementation.

-Andy

> then as far as i know there is no way around the problem?  anyone else
> have comment?
>
> i think that is the whole point of making objects catalogAware.
>
> Chris Withers wrote:
>
> > Terry Kerr wrote:
> > >
> > > how are you moving them?
> > >
> > > catalogAware objects unindex themselves when deleted then reindex
> > > themselves if pasted somewhere.
> >
> > The objects aren't catalogAware..
> >
> > 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] Moving Objects that are Cataloged...

2000-08-04 Thread Terry Kerr

then as far as i know there is no way around the problem?  anyone else
have comment?

i think that is the whole point of making objects catalogAware.

Chris Withers wrote:

> Terry Kerr wrote:
> >
> > how are you moving them?
> >
> > catalogAware objects unindex themselves when deleted then reindex
> > themselves if pasted somewhere.
>
> The objects aren't catalogAware..
>
> Chris

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124
ICQ: 79303381




___
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] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers

Terry Kerr wrote:
> 
> how are you moving them?
> 
> catalogAware objects unindex themselves when deleted then reindex
> themselves if pasted somewhere.

The objects aren't catalogAware..

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 )




[Zope] Caching How-To (was Cache concerns (was zope/proxy_passconfiguration problem)configuration problem)

2000-08-04 Thread Ragnar Beer

During the last couple of days I could finally figure out how to set 
up caching with mod_proxy. This morning I put together a caching 
howto and submitted it for review.

If it's accepted it will be available under 
http://www.zope.org/Members/rbeer/caching

I'm going on holiday now (Crete: wonderful greek island) and I'm 
going without my laptop so I won't answer any emails for the next two 
weeks ;)

Ragnar

>Ragnar,
>
>Caching is a subject I'm not all that familiar with but one I need to learn
>really fast.  My site is about to go live, and I have a monster of a query
>that will bring my system to its knees if 100 students run it at a time.  So
>I'm sending this off to the Zope mailing list wondering if anyone can give
>us some caching/performance tips.
>
>- T.J.
>
>-Original Message-
>From: Ragnar Beer [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 02, 2000 12:48 PM
>To: T.J. Mannos
>Subject: RE: [Zope] zope/proxy_pass configuration problem
>
>
>Very good idea! I tried it and it works like a charm :) Thanks a lot!
>
>One problem is left over: apache doesn't cache the documents although I have
>
>_.DateTime(_.DateTime().timeTime() + 3600).toZone('GMT').rfc822())">
>
>in my standard_html_header. ab -n 100 -c 1
>http://www.dummy.com/index_html shows 100 queries in Z2.log where
>there should be only one.
>What could I be doing wrong?
>
>Ragnar
>
>>Ragnar,
>>
>>If you're referring to my ZServer+Apache+SSL HOWTO, this would be a
>problem.
>>Going in through https will only give you access to the 'ssl' directory.
>>The quick & dirty solution (while retaining the ability to distinguish
>>between http and https) is to reverse the setup, i.e. place the https
>>SiteRoot in the main folder and create a separate folder called, say,
>>'http', which holds the http SiteRoot.  This solution will kill two birds
>>with one stone: it will grant access to the entire site via https while
>>restricting http users to an empty subdirectory.
>>
>>Hope this helps,
>>T.J.
>>
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>>Ragnar Beer
>>Sent: Wednesday, August 02, 2000 1:30 AM
>>To: [EMAIL PROTECTED]
>>Subject: [Zope] zope/proxy_pass configuration problem
>>
>>
>>Hi Zope-Configuristas!
>>
>>I would finally like to say goodbye to pcgi but one thing keeps me
>>hooked. I tried and tried but the solution just won't appear. Here is
>>the problem:
>>
>>I have a site that is supposed to be reachable via http as well as
>>via https. That's not a problem per se. Configuration of zope with
>>proxy_pass is easy as can be. The problem is that management shall be
>>possible via https _only_ (for obvious reasons). But as soon as I use
>>site access to define the http-branch this branch is not
>>managable/accessable via https any more. Is there a solution?
>  >
>  >Ragnar
>  >
>  >___
>  >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] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers

...is bad :(

Because Catalog stores objects not by reference but by the path to where
they are, if you move those objects, you'll start getting lots of
'Uncatalog of absent id' errors and your search results will point to
objects that don't exist.

And ideas/comments?

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] Help with demoportal

2000-08-04 Thread Chris Withers

What version of the PTK are vyou using?

Chris

Owen Smith wrote:
> 
> 2000-08-04T09:29:53 ERROR(200) Zope Couldn't install DemoPortal
> Traceback (innermost last):
>   File /usr/local/dc/zope/lib/python/OFS/Application.py, line 464, in
> install_products
> (Object: ApplicationDefaultPermissions)
> (Info: DemoPortal)
>   File /usr/local/dc/zope/lib/python/App/Product.py, line 425, in
> initializeProduct
> (Object: Products.DemoPortal)
>   File /usr/local/dc/zope/lib/python/ZODB/ExportImport.py, line 284, in
> importFile
> SystemError: Failed to import class _ZClass_for_DemoPortalBase from
> module Products.PTKDemo
> 
> anyone help me with this?
> 
> Owen
> 
> ___
> 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] SiteAccess and zope2.2

2000-08-04 Thread Terry Kerr

Hi,

I am trying to upgrade from zope2.1.6 to zope2.2 and my SiteAccess no
longer seems to work.  I have the new version of SiteAccess, and product
is not broken, it just doesn't redirect any hostnames of any of my
sites.  All domains point to the root of zope instead of their
respective folders.

Do I have to change anything else?

terry


--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124
ICQ: 79303381




___
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] New Wikis on zope.org

2000-08-04 Thread Bill Anderson

I have added a couple of new wikis to my section on zope.org at 
http://www.zope.org/Members/Bill

The first one deals with the Membership product. I hope to expose some of my reasons 
and methodology in the development
of the product. You can get to it by going to my page at 
http://www.zope.org/Members/Bill/MembershipProductWiki . I do
ask that general questions go to the mailing list (zope-dev, thank you), and not to 
the discussion page. 

The second one I hope will be of use to some zopistas, new and old. it is an open 
documentation and logging of the
development of a Zope Powered Site. the site it references, is already up and public, 
but it is far from complete. It is
currently in the 'it works, let us get it out there' phase. it can be reached at
http://www.zope.org/Members/Bill/ThroughTheLookingGlass

Both sites have a seperate page for members to edit, as I'd like to keep the main 
pages clear and concise. I just put
these up, with some basic pages added, so bear with me the next few days. I'm readying 
another Membership release :) 

Yours in Zope, Bill

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
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] Help with demoportal

2000-08-04 Thread Owen Smith

2000-08-04T09:29:53 ERROR(200) Zope Couldn't install DemoPortal
Traceback (innermost last):
  File /usr/local/dc/zope/lib/python/OFS/Application.py, line 464, in
install_products
(Object: ApplicationDefaultPermissions)
(Info: DemoPortal)
  File /usr/local/dc/zope/lib/python/App/Product.py, line 425, in
initializeProduct
(Object: Products.DemoPortal)
  File /usr/local/dc/zope/lib/python/ZODB/ExportImport.py, line 284, in
importFile
SystemError: Failed to import class _ZClass_for_DemoPortalBase from
module Products.PTKDemo

anyone help me with this?

Owen


___
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] Vocabulary??

2000-08-04 Thread Sven Hohage

Hallo,
think I've missed something.
What is the feature "Vocabulary"??Just a hint please!


___
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] ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses

2000-08-04 Thread Andreas Rippel

Dieter Maurer wrote:
> 
> Andreas Rippel writes:
>  > I came across the situation, where the result rows of a Z SQL access
>  > contained www strings like
>  > www.uni-ko-ld.de/veranstaltungen/lehramt.html, see below.
>  > Using ZSearch generated dtml-methods generated the following html code,
>  > when the result set contains more
>  > than 50 items. See the generated reference for the next items
>  >   > 
>href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25&SUBMIT=Submit+Query&query_start=51">,
>  > which didn't refer to the running zope environment. Instead it merged
>  > address stuff from a result row.
> 
 I expect that your table contains a column with the same name
 as the DTML-variable used to build the navigation (URL, I think).
> 
> "dtml-in" brings the column names of your rows in the namespace.
> they hide their other variables defined outside the "dtml-in".
> 
> If you can, rename your database column.
> 
> If you cannot, build your own DTML methods for testing by customizing
> the DTML methods generated by the Z Search Interface.
> Z SQL methods have the argument "src__" (in 2.2, there
> is something for tests too). It gives you the generated SQL,
> without executing it.
> 
> Dieter
This was exactly the reason.

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




Re: [Zope] acquisition vs. inheritance

2000-08-04 Thread Chris Withers

Jonothan Farr wrote:
> 
> > Is it possible to have just one top level object that refers to
> > other objects that get overridden as you go into other folders?
> 
> Acquisition works the other way around. You can create objects in subfolders
> whose contents are overriden higher up. You can't have an object at the top
> whose contents get overridden as you go down.

Urm, I think wires are getting crossed here, so here's an example which
may help (and which we use on most of our sites):

index_html is a DTML method:





Now, in each folder we have DTML documents called index.html which
actually contain the pages.

So, we have one index_html and many index.html's.

When someone does http://www.mysite.com/folder/
This actually renders http://www.mysite.com/folder/index_html
Then, index_html is acquired from the root.
However, because index.html exists is /folder, it is that which is
displayed.

I hope this makes it a little clearer :S

cheers,

Chris

PS:
> Your solution was correct. Create another index_html in the subfolder, 

As long as index_html is a method, you only need one of them, in the
root.

> which
> uses the 'contents' object in the subfolder, 

This will still happen if there's only one index_html

___
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] Packing with cron

2000-08-04 Thread Andy Dawkins

> Have you ever used this from cron? Just so I know before I try it.
>
No I haven't tried it from cron yet but I see any reasons why you couldn't,
except to make sure all the libs are in a common/accessable place. eg.
Python/lib

-Andy


___
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] Retrieving the week number with DateTime

2000-08-04 Thread Rob W. W. Hooft

> "DC" == David Coe <[EMAIL PROTECTED]> writes:

 DC> I suspect there is no 'standard' definition of week number.

You're wrong. According to the calendar FAW (thanks, Google:-):


5.7 What is the week number? 

International standard IS-8601 (mentioned in section 5.6) assigns a number to each 
week of the year. A week that lies partly in one year
and partly in another is assigned a number in the year in which most of its days lie. 
This means that 

Week 1 of any year is the week that contains 4 January, 

or equivalently 

Week 1 of any year is the week that contains the first Thursday in January. 

Most years have 52 weeks, but years that start on a Thursday and leap years that start 
on a Wednesday have 53 weeks. 


Regards,

Rob Hooft

-- 
=   [EMAIL PROTECTED]  http://www.hooft.net/people/rob/  =
=   R&D, Nonius BV, Delft  http://www.nonius.nl/ =
= PGPid 0xFA19277D == Use Linux! =

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