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 <dtml-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 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. free client to map Zope-FTP to drive letters on Windows OR Alex File System AFS 
(Marcus Schopen)
  2. (no subject) ([EMAIL PROTECTED])
  3. Re: Packing with cron (Jason Spisak)
  4. Re: dtml-calendar question. (R. David Murray)
  5. Re: dtml-calendar question (still not working) (R. David Murray)
  6. Re: Zope Usage (R. David Murray)
  7. Re: free client to map Zope-FTP ([EMAIL PROTECTED])
  8. Re: How do I count children? (Kapil Thangavelu)

-- __--__-- 

Message: 1
From: Marcus Schopen <[EMAIL PROTECTED]>
Subject: [Zope] free client to map Zope-FTP to drive letters on Windows OR Alex File 
System AFS
Date: Thu, 03 Aug 2000 18:11:31 +0100
To: [EMAIL PROTECTED]

Hi there,

I'm looking for a free(!) Windows 95/98 programm to map my Zope-FTP
to a drive letter on my Windows workstation. Commercial Versions are
ftpNetDrive or WebDrive. But these are not free.

Thank you
Marcus

P.S.: mounting Zope`s FTP with AFS (Alex FS to local directory on my linux-box and
sharing this mounted directory by SAMBA seems to be to much work. But
if someone has experiences with this serverside solution, please let me know.

______________________________________

     (0>   Marcus Schopen
     //\   Bielefeld, Germany
     V_/_
______________________________________


-- __--__-- 

Message: 2
From: [EMAIL PROTECTED]
Date: Thu, 3 Aug 2000 10:13:03 -0700 (PDT)
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: [Zope] (no subject)


Greetings,

Is there a limit to the number of objects that may appear in a product?

The goal is to be search engine friendly:

http://www.myserver.com/us/ca/San_Francisco/mycategory/index_html

/myroot
  /us
    /mycategory


Would it be unreasonable to have 42620 folders (one for each US city and town) in a 
zclass?

Regards,

Kevin Smith

-- __--__-- 

Message: 3
From: "Jason Spisak" <[EMAIL PROTECTED]>
To: "Andy Dawkins" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Packing with cron
Date: Thu, 03 Aug 2000 08:21:09 GMT

Andy Dawkins writes:

Thank you Andy.  That was generous.
Have you ever used this from cron? Just so I know before I try it.

All my best,


> Jason
> 
> I'm not sure if it is worthy of putting up on Zope.
> Although I'm sure people will correct me if I am wrong.
> 
> But I have no problems in letting you have it
> 
> <packDb.py> is the main python script.
>       You will need to change the line that reads
>       s=xmlrpclib.Server('http://myserver:8080/', transport=None,
> username='username', password='password')
>       To reflect your correct server details.
> 
> <xmlrpclib.py> xmlrpc Library for python.
>       Place this in your python/libs directory, or the same directory as
> packDb.py
> 
> <packExtension.py> This contains the code for the external Method.
>       Place this in your zope/Extensions directory.  Create it if it doesn't
> exist.
> 
> You will need to add an external method to the root of your ZODB that points
> to packExtensions.py script
> 
> If you have any problem then please let me know.
> 
> -Andy
> 


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

-- __--__-- 

Message: 4
Date: Thu, 3 Aug 2000 13:27:23 -0400 (EDT)
From: "R. David Murray" <[EMAIL PROTECTED]>
To: Chris Withers <[EMAIL PROTECTED]>
cc: Andrew Kenneth Milton <[EMAIL PROTECTED]>, zope <[EMAIL PROTECTED]>
Subject: Re: [Zope] dtml-calendar question.

On Thu, 3 Aug 2000, Chris Withers wrote:
> > In what way does it *not* follow Python (expression) syntax rules?
> 
> _['something'] doesn't just return the value from the dictionary which
> has the 'something' key, if it's callable, it'll try to call it and then
> return that... not nice :(
> 
> If you want to be safe, use _.getitem('something',0)...

True enough, that's a somewhat weird semantic, but it's still
following python *syntax* rules <grin>.

--RDM



-- __--__-- 

Message: 5
Date: Thu, 3 Aug 2000 13:35:31 -0400 (EDT)
From: "R. David Murray" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Zope] dtml-calendar question (still not working)

On Thu, 3 Aug 2000, tom smith wrote:
> I'm still getting allsorts of errors. My code is like this...
> 
> <dtml-let yearnr="date.yy()" monthnr="date.mm()" daynr="date.dd()">
>     <dtml-let startDateString="monthnr+'/'+daynr+'/'+yearnr">
> 
> 
>     <dtml-in expr="get_days_events(startDateString)">
>         <dtml-var EventName>
>     </dtml-in>
> 
>     </dtml-let>
> 
> </dtml-let>
> 
> I'm having trouble passing StartDateString to get_days_events. If I look at
> StartDateString using <dtml-var startDateString> it looks OK.

What kind of errors? 

--RDM


-- __--__-- 

Message: 6
Date: Thu, 3 Aug 2000 13:52:10 -0400 (EDT)
From: "R. David Murray" <[EMAIL PROTECTED]>
To: Marc Dullien <[EMAIL PROTECTED]>
cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Re: [Zope] Zope Usage

On Thu, 3 Aug 2000, Marc Dullien wrote:
> Q1: With what tool inside Zope do I program the HTML Templates ?

Read the DTML reference.

> Q2: I want to fill those templates with database entries

Read the ZSQL reference.

> Q3: How can I do the linkage

Isn't that the same as Q2?

> If you could send me a short Howto or something, that would be great, I can
> find ma way through from there !

Well, neither one is exactly short...so you might want to skim them
first and then go back and read in detail as you try things out.

--RDM


-- __--__-- 

Message: 7
From: [EMAIL PROTECTED]
To: Marcus Schopen <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Date: Thu, 3 Aug 2000 13:26:55 -0500
Subject: Re: [Zope] free client to map Zope-FTP


My first question is "Do you realy need a drive letter?".   If you don't
need a drive letter, but really just need a connection which is mapped
within the Windows drive space, there is a utility called Internet
Neighborhood from KnoWare.   It allows you to map FTP sites into the
Windows 'File Explorer'.  It is not free, but it is shareware.   I don't
use it personally, but I did run across it when I was testing some
utilities for a client.  Depending on what your underlying need is, it
should work well for you.

>I'm looking for a free(!) Windows 95/98 programm to map my Zope-FTP
>to a drive letter on my Windows workstation. Commercial Versions are
>ftpNetDrive or WebDrive. But these are not free.








-- __--__-- 

Message: 8
Date: Thu, 03 Aug 2000 06:33:52 -0700
From: Kapil Thangavelu <[EMAIL PROTECTED]>
To: "J. Atwood" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] How do I count children?

"J. Atwood" wrote:
> 
> So In ZUBB (my discussion product) I want to be able to show how many
> replies there have been to any one main topic. All replies are 'children' of
> the main post and when I state it with
> 
> <dtml-tree branches=children>
>     Stuff
> </dtml-tree>
> 
> It works and knows that each message is a child of the message.
> 
> When in go through a searchResult to list the message I want to  show many
> replies there are to that message.
> 
> Q: How do I count the 'children' of any one onject?



if children aren't nested
<dtml-let x="objectIds(['childrenClass'])">
<dtml-var "_.len(x)">
</dtml-let>

if children are nested you probably need a recursive dtml/python method.

in python 

def count_children(o):
        x = o.objectItems(['childClass'])       
        sum = len(x)
        for child, child_name in x:
                sum = sum + count_children(child)
        return sum


Kapil



-- __--__-- 

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]



-- __--__-- --

End of Zope Digest



--__--__--

Message: 2
From: "Jim Sanford" <[EMAIL PROTECTED]>
To: "Zope List" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: [Zope] 2.2 as a service and Zodbcda
Date: Thu, 3 Aug 2000 15:05:40 -0500
charset="iso-8859-1"

Can you shed any insite?

***********Result of testing Z SQL Method with Zope 2.2 running as a service:

 Z SQL Method at /scripts/Zope.pcgi / testing / test2

--------------------------------------------------------------------------------
Error, sql.error: ('S0002', 173, "[Microsoft][ODBC Visual FoxPro Driver]File 
'names.dbf' does not exist.")
--------------------------------------------------------------------------------
SQL used:

Could not render the query template!

Registry Parameter= start : REG_SZ : "C:\Progra~1\ATIAny~1\bin\python.exe" "C:\Program 
Files\ATIAnywhere\z2.py" -D -p
C:\InetPub\scripts\Zope.pcgi
=================================================

************Result of testing Z SQL Method with Zope 2.2 running from start.bat.:

 Z SQL Method at /scripts/Zope.pcgi / testing / test2

--------------------------------------------------------------------------------
Company
ATMEL

--------------------------------------------------------------------------------
SQL used:

select company
from names where val(id)=27000

Start.bat="C:\Program Files\ATIAnywhere\bin\python.exe" "C:\Program 
Files\ATIAnywhere\z2.py" -D -p C:\InetPub\scripts\Zope.pcgi


=============================================
Both are running via pcgi through MS IIS 4.0

Here is Zope.pcgi:

#!C:\Program Files\ATIAnywhere\pcgi\win32\pcgi-wrapper.exe
#
# This PCGI info file was generated automatically by
# the Zope installer. See the file doc/WEBSERVER.txt
# for more information on setting up PCGI support.

PCGI_NAME=Anywhere
PCGI_PORT=8090
PCGI_MODULE_PATH=C:\Progra~1\ATIAnywhere\lib\python\Main.py
PCGI_PUBLISHER=C:\Progra~1\ATIAnywhere\pcgi\pcgi_publisher.py
PCGI_EXE=C:\Progra~1\ATIAnywhere\pcgi"
PCGI_SOCKET_FILE=C:\Progra~1\ATIAnywhere\pcgi\pcgi.soc
PCGI_PID_FILE=C:\Progra~1\ATIAnywhere\pcgi\pcgi.pid
PCGI_ERROR_LOG=C:\Progra~1\ATIAnywhere\pcgi\pcgi.log
PCGI_DISPLAY_ERRORS=1
BOBO_REALM=Zope
BOBO_DEBUG_MODE=1
INSTANCE_HOME=C:\Progra~1\ATIAnywhere


--__--__--

Message: 3
Date: Thu, 03 Aug 2000 21:27:30 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Deryk Barker <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] create DTML-Source-link like on zope.org

Deryk Barker wrote:
> > Try something like:
> >
> > http://www.mysite.com/folder/dtmlmethod/view_source
> 
> 404 document not found...:-(

Of course it was, I made up the url as an example :P

> I'd like to view the source of my index_html.

So you go to:

http://www.yoursite.com/index_html/view_source.

cheers,

Chris

--__--__--

Message: 4
Date: Thu, 03 Aug 2000 17:08:17 -0400
From: David Riggs <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Zope] Problem accessing property value

This is a problem I'm running into using Zope 2.1.6 and PTK 0.7.1 on an
NT machine...I plan on upgrading both as soon as the 2.2.1 bug fix is
released...I believe the problem is just a syntax one...

I'm running into a snag trying to access the value of a property I've
assigned to an instance of a ZClass...specifically, I've created a
ZClass of meta-type Customize, and created an instance (also called
Customize for simplicity) in each member's home folder. [for reference
sake, PTK creates a folder in the path
/ZopeRoot/PortalRoot/Members/UserName for each member] The instance has
a long list of properties that I'd like to access and use as
customization settings for each individual user.

Calling the property like this...
      <dtml-var
"AUTHENTICATED_USER.getHomeUrl()+'/Customize.some_property'">
Yields the following string literal (which isn't what I need)
        http://host:8080/Portal/Members/UserName/Customize.some_property

And calling it like so...
     <dtml-var
"_(AUTHENTICATED_USER.getHomeUrl()+'/Customize.some_property')">
Gives me this weird string (definitely not what I want)
      <DictInstance object at 134fdc0>
Where the hex number varies between 11xxxxx - 13xxxxx each time I render

it.

I've tried calling the Customize method like this
     <dtml-var "Members.UserName.Customize.some_property">
And I get the value I need, but this way I'm hard coding the user's name

into the path, where I want it to not be user specific.

I've tried a few times with getAttribute and getProperty, but can't seem

to get the syntax correct...If any Zope Masters could offer a hand, it'd

be GREATLY appreciated!

Thanks,
David Riggs





--__--__--

Message: 5
From: Dieter Maurer <[EMAIL PROTECTED]>
Date: Thu,  3 Aug 2000 23:11:07 +0200 (CEST)
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Confusing aq - I don't get it, anyone know why?

Brad Clements writes:
 > ... Name Error in called DTML method ....

 > <dtml-var "FormatColumnTable(columnlist=packagecolumns,obj=GetSelf(),notable=1)">

Here, you break the namespace propagation!

As a general rule:

  If you call a DTML object explicitely (i.e. inside "..."),
  then *always* use "_.None" (or an object or object tuple)
  and "_" as the first two positional parameters.
  Only after these two, use your parameters as keyword
  parameters.

  If you do not, you break the namespace propagation
  (passing the "_" down to your called DTML object).

If you use the DTML object outside "..." (or in _[...]), then
the DTML magic does automatic propagation.
Inside "...", you must do it explicitely.



Dieter

--__--__--

Message: 6
From: Dieter Maurer <[EMAIL PROTECTED]>
Date: Thu,  3 Aug 2000 23:03:00 +0200 (CEST)
To: "T.J. Mannos" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: Re: [Zope] Evaluating a string of DTML code?

T.J. Mannos writes:
 > I have an ExternalMethod that processes an HTML file, extracts the contents
 > of the BODY tag, and wraps my site template around it.  (In other words, it
 > takes a plain vanilla HTML file and adds standard_html_header and
 > standard_html_footer).
 > 
 > [See http://www.zope.org/Members/unfo/howto_wrapper/index_html for more
 > background]
 > 
 > The problem is this: I can't have arbitrary DTML code in the HTML file.
 > Zope completely ignores it.  I tried fmt=structured-text, but that doesn't
 > work, either.  Since the file is essentially read in as a string, is there
 > any way to evaluate an arbitrary string of DTML code?
What prevents you, to render the body? This should handle
DTML expansion, at least for simple cases.

        def wrap(self,what):
            REQUEST= self.REQUEST
            return self.standard_html_header(self,REQUEST) \
                   + what(self,REQUEST) \
                   + self.standard_html_footer(self,REQUEST)

This will break, if one of the DTML objects needs arguments
not present in the current REQUEST.


Dieter

--__--__--

Message: 7
From: Dieter Maurer <[EMAIL PROTECTED]>
Date: Thu,  3 Aug 2000 22:58:23 +0200 (CEST)
To: Andreas Rippel <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] ZSearch generated default report file fails on result set 
cardinality greater 50 for content which contains www addresses

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
 > <a
 > 
 >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

--__--__--

Message: 8
From: Dieter Maurer <[EMAIL PROTECTED]>
Date: Thu,  3 Aug 2000 22:50:55 +0200 (CEST)
To: vikas <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [Zope] Batchpeocessing with multiple selection

vikas writes:
 > ....
 > For this i am using batch processing. But
 > it is giving me errors Such as key error [city],[state] and gives the url
 > of my page where i m using batchprocessing. Can someone help me out how to
 > overcome the problem this problem as this is very urgent for me.
 > ...

You may make one of two types of errors:

 * you have no navigation button or did not include
   "sequence-query" in it "href"
   
 * you used "method=post" to send your query.
   In this case "QUERY_STRING" is not defined, and
   "sequence-query" does not work


Dieter

--__--__--

Message: 9
Date: Thu, 03 Aug 2000 22:17:34 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: David Riggs <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] Problem accessing property value

David Riggs wrote:
> 
> This is a problem I'm running into using Zope 2.1.6 and PTK 0.7.1 on an
> NT machine...I plan on upgrading both as soon as the 2.2.1 bug fix is
> released...I believe the problem is just a syntax one...
> 
> I'm running into a snag trying to access the value of a property I've
> assigned to an instance of a ZClass...specifically, I've created a
> ZClass of meta-type Customize, and created an instance (also called
> Customize for simplicity) in each member's home folder. [for reference
> sake, PTK creates a folder in the path
> /ZopeRoot/PortalRoot/Members/UserName for each member] The instance has
> a long list of properties that I'd like to access and use as
> customization settings for each individual user.
> 

> Calling the property like this...
>       <dtml-var
> "AUTHENTICATED_USER.getHomeUrl()+'/Customize.some_property'">
> Yields the following string literal (which isn't what I need)
>         http://host:8080/Portal/Members/UserName/Customize.some_property

Try this instead (excuse mail wrapping ;-):
<dtml-var "AUTHENTICATED_USER.getHomeUrl()+'/'+Customize.some_property">

cheers,

Chris

--__--__--

Message: 10
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Zope + Apache on FreeBSD 4.0 problems
Date: Thu, 03 Aug 2000 14:22:42 -0700
From: Peter Haight <[EMAIL PROTECTED]>

>
>Hi Peter,
>
>   Hmm... I've never seen this problem, and I've been using
>pcgi/FreeBSD since 2.2.8. I have however seen another problem:
>
>http://lists.zope.org/pipermail/zope/1999-December/016465.html
>
>that has never really been resolved. I'm going to try your
>net.local magic to see if that has an effect. I tried the
>FreeBSD lists at one time, and never got any response. Maybe
>it's time to try them again....

I wasn't able to reproduce it on Zope. This is probably because I have since
switched to using fast cgi which has fixed all my problems. 

I was able to reproduce it using your test script and just piping it to
more. What's going on is that you are getting a broken pipe exception in
self.stdout.write in HTTPResponse.write(), but that exception is getting
masked somewhere which is why it seems mysterious as to what is happening.

I have no idea why we get a broken pipe when piping that to more. I made a
script:

import sys

file = open("fs.txt", "r")
data = file.read(1024)
while data:
        result = sys.stdout.write(data)
        data = file.read(1024)

And piped that to more. Same problem. If I do 'cat fs.txt | more' it works
fine. 

Upgrading my system from 4.0-RELEASE to 4.1-STABLE fixed this problem.



--__--__--

Message: 11
From: "Steve Sorenson" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Zope] Installation of 2.2.0 under Linux
Date: Thu, 03 Aug 2000 22:46:33 GMT

Hello,
When I installed the source code of 2.2.0 on my Linux machine, I got an 
error message saying "Error 256" just after it began compiling the python 
modules.  The same thing happens when I attempt to install the linux2 
release.  Has anybody else experienced anything of thie nature?
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


--__--__--

Message: 12
Date: Thu, 03 Aug 2000 17:40:29 -0600
From: Bill Anderson <[EMAIL PROTECTED]>
To: Chris Withers <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] create DTML-Source-link like on zope.org

Chris Withers wrote:
> 
> Deryk Barker wrote:
> > > Try something like:
> > >
> > > http://www.mysite.com/folder/dtmlmethod/view_source
> >
> > 404 document not found...:-(
> 
> Of course it was, I made up the url as an example :P
> 
> > I'd like to view the source of my index_html.
> 
> So you go to:
> 
> http://www.yoursite.com/index_html/view_source.

Returns a 404 on my systems ...

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

--__--__--

Message: 13
Date: Thu, 03 Aug 2000 17:27:22 -0700
From: Nick Garcia <[EMAIL PROTECTED]>
To: Steve Sorenson <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] Installation of 2.2.0 under Linux

Steve Sorenson wrote:
> 
> Hello,
> When I installed the source code of 2.2.0 on my Linux machine, I got an
> error message saying "Error 256" just after it began compiling the python
> modules.  The same thing happens when I attempt to install the linux2
> release.  Has anybody else experienced anything of thie nature?

I think that means that you don't have the python development
libraries.  If you use RPMs, you need the python-devel package.

-- 
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com

--__--__--

Message: 14
From: "Jonothan Farr" <[EMAIL PROTECTED]>
To: "Bob Horvath" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [Zope] acquisition vs. inheritance
Date: Thu, 3 Aug 2000 17:26:11 -0700
charset="iso-8859-1"

> 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.

Your solution was correct. Create another index_html in the subfolder, which
uses the 'contents' object in the subfolder, but the standard_html_header and
standard_html_footer from the parent folder.

--jfarr

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



--__--__--

Message: 15
From: "Alexander Limi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Zope] Upload applet in Java/JPython
Date: Fri, 4 Aug 2000 03:08:24 +0200
charset="iso-8859-1"

Hi,

I tried posting this to the comp.lang.pyton group, but I never got any
answer, so I was hoping that you friendly Zope folks could offer me some
advice.

The setting is this:

My web site collects big files (typically 2-5 MB) that the users
upload via HTTP POST (yeah, I know - FTP is nicer, but not when you
have untrusted users). When a person submits his file, he has to wait
20-30 minutes for the upload to complete, without any visual feedback
at all.

This is clearly not desirable. What I imagine would be nice, is a
small applet to handle the file and provide the user with a visual
feedback on the progress of the upload. Just a simple progress bar.

What I want to know is: Has this already been written by someone?
Either in Java or JPython? If so, could you please provide me with a
URL?

If not, is this a big task? I am a Python newbie, and I haven't
touched JPython at all.

All help appreciated.


Alexander.



--__--__--

Message: 16
From: Jean Jordaan <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Cc: "RC Compaan (E-mail)" <[EMAIL PROTECTED]>
Subject: [Zope] How to prime a selection?
Date: Fri, 4 Aug 2000 07:10:04 +0200
charset="iso-8859-1"

Hi all

I'm making a document class for a warehouse of papers.
It's based on ZCatalogAware and ObjectManager (to wrap
mainly PDFs and DOCs), and has fields:

  title   (string type)
  origin  (string type)
  format  No value for format_value.  
  type    No value for type_value.  

"format" and "type" are selections -- 

1. where do I supply their initial values (filling in 
   'format_value' and 'type_value')?
2. is it possible to let a field offer presets and 
   previously entered values, but to allow users to 
   add new ones, which are remembered and offered to 
   subsequent users?

A RTFM-type answer to question 1. is perfectly OK, though a 
page reference would be sorely appreciated.

-- 
jean

--__--__--

Message: 17
From: "RC Compaan" <[EMAIL PROTECTED]>
To: "Jean Jordaan" <[EMAIL PROTECTED]>
Cc: "Zope" <[EMAIL PROTECTED]>
Subject: [Zope] RE: How to prime a selection?
Date: Fri, 4 Aug 2000 07:41:34 +0200
charset="iso-8859-1"

Hi Jean

The value for a selection list can be any zope object that returns a list
eg. MyDocClass can have a property "Format" with a value "FormatList", where
FormatList is a dtml-method that returns a list.

Practically:
1.Go to the property sheet for your new class and add the property Format
with value FormatList.
2.Go to the Folder where you want to add an instance of your ZClass and
create add a property "docformats" of type "lines" and enter the initial
formats.
3.In the Folder where you want to add your instance, create a dtml-method
called "FormatList" that will return the list, containing:
        <dtml-return docformats>

Hope this helps.

For more info on selection list see
http://www.zope.org/Members/AlexR/SelectionLists

Roché

> -----Original Message-----
> From: Jean Jordaan [mailto:[EMAIL PROTECTED]]
> Sent: 04 August 2000 07:10
> To: '[EMAIL PROTECTED]'
> Cc: RC Compaan (E-mail)
> Subject: How to prime a selection?
>
>
> Hi all
>
> I'm making a document class for a warehouse of papers.
> It's based on ZCatalogAware and ObjectManager (to wrap
> mainly PDFs and DOCs), and has fields:
>
>   title   (string type)
>   origin  (string type)
>   format  No value for format_value.
>   type    No value for type_value.
>
> "format" and "type" are selections --
>
> 1. where do I supply their initial values (filling in
>    'format_value' and 'type_value')?
> 2. is it possible to let a field offer presets and
>    previously entered values, but to allow users to
>    add new ones, which are remembered and offered to
>    subsequent users?
>
> A RTFM-type answer to question 1. is perfectly OK, though a
> page reference would be sorely appreciated.
>
> --
> jean
>


--__--__--

Message: 18
From: "Loren Stafford" <[EMAIL PROTECTED]>
To: "Jean Jordaan" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Cc: "RC Compaan \(E-mail\)" <[EMAIL PROTECTED]>
Subject: Re: [Zope] How to prime a selection?
Date: Thu, 3 Aug 2000 23:04:10 -0700
charset="iso-8859-1"



> Hi all
> 
> I'm making a document class for a warehouse of papers.
> It's based on ZCatalogAware and ObjectManager (to wrap
> mainly PDFs and DOCs), and has fields:
> 
>   title   (string type)
>   origin  (string type)
>   format  No value for format_value.  
>   type    No value for type_value.  
> 
> "format" and "type" are selections -- 
> 
> 1. where do I supply their initial values (filling in 
>    'format_value' and 'type_value')?
> 2. is it possible to let a field offer presets and 
>    previously entered values, but to allow users to 
>    add new ones, which are remembered and offered to 
>    subsequent users?
> 
> A RTFM-type answer to question 1. is perfectly OK, though a 
> page reference would be sorely appreciated.

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




--__--__--

Message: 19
Date: Fri, 4 Aug 2000 09:10:03 +0200 (CEST)
From: [EMAIL PROTECTED] (Rob W. W. Hooft)
To: David Coe <[EMAIL PROTECTED]>
Cc: Arjan Scherpenisse <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [Zope] Retrieving the week number with DateTime
<[EMAIL PROTECTED]>

>>>>> "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! =========

--__--__--

Message: 20
From: "Andy Dawkins" <[EMAIL PROTECTED]>
To: "Jason Spisak" <[EMAIL PROTECTED]>
Cc: "Zope" <[EMAIL PROTECTED]>
Subject: RE: [Zope] Packing with cron
Date: Fri, 4 Aug 2000 09:16:10 +0100
charset="iso-8859-1"

> 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


--__--__--

Message: 21
Date: Fri, 04 Aug 2000 09:54:26 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Jonothan Farr <[EMAIL PROTECTED]>
CC: Bob Horvath <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
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:

<dtml-var standard_html_header>
<dtml-var index.html>
<dtml-var standard_html_footer>

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

--__--__--

Message: 22
Date: Fri, 04 Aug 2000 10:56:56 +0200
From: Andreas Rippel <[EMAIL PROTECTED]>
Organization: AG ICSY
To: Dieter Maurer <[EMAIL PROTECTED]>
CC: Phil Harris <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [Zope] ZSearch generated default report file fails on result set 
cardinality greater 50 for content which contains www addresses

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
>  > <a
>  > 
>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

--__--__--

Message: 23
Date: Fri, 04 Aug 2000 11:15:26 +0200
From: Sven Hohage <[EMAIL PROTECTED]>
Organization: die zeitspringer
To: [EMAIL PROTECTED]
Subject: [Zope] Vocabulary??

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


--__--__--

Message: 24
Date: Fri, 04 Aug 2000 10:42:44 +0100
From: Owen Smith <[EMAIL PROTECTED]>
To: zope <[EMAIL PROTECTED]>
Subject: [Zope] Help with demoportal

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


--__--__--

Message: 25
Date: Fri, 04 Aug 2000 03:44:57 -0600
From: Bill Anderson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Zope] New Wikis on zope.org

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.

--__--__--

Message: 26
Date: Fri, 04 Aug 2000 20:03:42 +1000
From: Terry Kerr <[EMAIL PROTECTED]>
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




--__--__--

Message: 27
Date: Fri, 04 Aug 2000 10:56:10 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Owen Smith <[EMAIL PROTECTED]>
CC: zope <[EMAIL PROTECTED]>
Subject: Re: [Zope] Help with demoportal

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 )

--__--__--

Message: 28
Date: Fri, 04 Aug 2000 11:24:01 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: [EMAIL PROTECTED]
Subject: [Zope] Moving Objects that are Cataloged...

...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

--__--__--

Message: 29
Date: Fri, 4 Aug 2000 12:33:53 +0200
To: [EMAIL PROTECTED]
From: Ragnar Beer <[EMAIL PROTECTED]>
Subject: [Zope] Caching How-To (was Cache concerns (was zope/proxy_pass
configuration problem)
configuration problem)

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
>
><dtml-call "RESPONSE.setHeader('Expires',
>_.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 )


--__--__--

Message: 30
Date: Fri, 04 Aug 2000 11:42:52 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Terry Kerr <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] Moving Objects that are Cataloged...

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

--__--__--

Message: 31
Date: Fri, 04 Aug 2000 20:55:14 +1000
From: Terry Kerr <[EMAIL PROTECTED]>
To: Chris Withers <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [Zope] Moving Objects that are Cataloged...

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




--__--__--

Message: 32
From: "Andy Dawkins" <[EMAIL PROTECTED]>
To: "Zope" <[EMAIL PROTECTED]>
Subject: RE: [Zope] Moving Objects that are Cataloged...
Date: Fri, 4 Aug 2000 12:01:54 +0100
charset="iso-8859-1"

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
>


--__--__--

Message: 33
Date: Fri, 04 Aug 2000 12:06:19 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Terry Kerr <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] Moving Objects that are Cataloged...

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

--__--__--

Message: 34
Date: Fri, 04 Aug 2000 13:18:47 +0200
From: Erich Seifert <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Zope] Informix and Zope

"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

--__--__--

Message: 35
Date: Fri, 04 Aug 2000 12:24:07 +0100
From: Chris Withers <[EMAIL PROTECTED]>
Organization: New Information Paradigms
To: Andy Dawkins <[EMAIL PROTECTED]>
CC: Zope <[EMAIL PROTECTED]>
Subject: Re: [Zope] Moving Objects that are Cataloged...

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

--__--__--

Message: 36
Date: Fri, 04 Aug 2000 12:36:40 +0100
From: Owen Smith <[EMAIL PROTECTED]>
CC: zope <[EMAIL PROTECTED]>
Subject: Re: [Zope] Help with demoportal

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:
> >
>


--__--__--

Message: 37
Date: Fri, 4 Aug 2000 12:48:37 +0100
To: [EMAIL PROTECTED]
From: Simon Coles <[EMAIL PROTECTED]>
Subject: [Zope] ZCatalog attachments?

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 ===============

--__--__--

Message: 38
From: "RC Compaan" <[EMAIL PROTECTED]>
To: "Zope" <[EMAIL PROTECTED]>
Subject: [Zope] Precondition
Date: Fri, 4 Aug 2000 13:51:26 +0200
charset="iso-8859-1"

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

Roché


--__--__--

Message: 39
From: Jens Vagelpohl <[EMAIL PROTECTED]>
To: "'Terry Kerr'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: [Zope] SiteAccess and zope2.2
Date: Fri, 4 Aug 2000 07:55:48 -0400

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

--__--__--

Message: 40
From: Toby Dickenson <[EMAIL PROTECTED]>
To: Ragnar Beer <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Caching How-To (was Cache concerns (was zope/proxy_pass 
configuration problem) configuration problem)
Date: Fri, 04 Aug 2000 13:29:38 +0100
Reply-To: [EMAIL PROTECTED]

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]

--__--__--

Message: 41
<p04320400b5b04a58b14d@[134.76.136.114]>
<[EMAIL PROTECTED]>
Date: Fri, 4 Aug 2000 15:08:44 +0200
To: [EMAIL PROTECTED]
From: Ragnar Beer <[EMAIL PROTECTED]>
Subject: Re: [Zope] Caching How-To (was Cache concerns (was
zope/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]


--__--__--

Message: 42
From: "Fabio Akita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Zope] zope not receiving POSTs from Apache
Date: Fri, 4 Aug 2000 10:30:09 -0300
charset="iso-8859-1"

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


--__--__--

Message: 43
Date: Fri, 4 Aug 2000 16:06:07 +0200 (CEST)
From: Aleksander Salwa <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Zope] ZCatalog attachments?


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 |
\--------------------------------------/



--__--__--

Message: 44
From: "Pedro Vega" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Zope] Please help !!
Date: Fri, 4 Aug 2000 16:39:22 +0200
charset="iso-8859-1"

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


--__--__--

Message: 45
To: [EMAIL PROTECTED]
Subject: [Zope] Python Product Tutorial
From: Erik Enge <[EMAIL PROTECTED]>
Date: 04 Aug 2000 17:47:22 +0200

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.

--__--__--

Message: 46
Date: 4 Aug 2000 07:57:15 -0700
To: [EMAIL PROTECTED]
From: Stephen Nosal <[EMAIL PROTECTED]>
Subject: Re: [Zope] compile ZPoPyDA product problems (continued)


> > 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!

--__--__--

Message: 47
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Zope] REPOST: README.txt Tab
Date: Fri, 4 Aug 2000 08:08:14 -0700
charset="iso-8859-1"

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

--__--__--

Message: 48
Date: Fri, 04 Aug 2000 16:13:27 +0100
Subject: Re: [Zope] dtml-calendar question (still not working)
From: tom smith <[EMAIL PROTECTED]>
To: "R. David Murray" <[EMAIL PROTECTED]>
CC: zope <[EMAIL PROTECTED]>

This message is about how to use <dtml-calendar> 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...
>> 
>> <dtml-let yearnr="date.yy()" monthnr="date.mm()" daynr="date.dd()">
>> <dtml-let startDateString="monthnr+'/'+daynr+'/'+yearnr">
>> 
>> 
>> <dtml-in expr="get_days_events(startDateString)">
>> <dtml-var EventName>
>> </dtml-in>
>> 
>> </dtml-let>
>> 
>> </dtml-let>
>> 
>> I'm having trouble passing StartDateString to get_days_events. If I look at
>> StartDateString using <dtml-var startDateString> 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 <='<dtml-var startDateString> 23:59:00'
AND endDate >= '<dtml-var startDateString> 00:00:00')
OR 
(startDate >= '<dtml-var startDateString> 00:00:00'
AND startDate <= '<dtml-var startDateString>  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 <dtml-sqlvar but it wrapped quotes around my date which also
needs the time to work.



--__--__--

Message: 49
Date: Fri, 4 Aug 2000 11:16:11 -0400 (EDT)
From: "Jeff K. Hoffman" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] REPOST: README.txt Tab

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/


--__--__--

Message: 50
Date: Fri, 04 Aug 2000 16:24:54 +0100
Subject: Re: [Zope] dtml-calendar question (I GOT IT!!!!!!!!)
From: tom smith <[EMAIL PROTECTED]>
To: zope <[EMAIL PROTECTED]>

My problem was with passing the arguments around

I used ...

 <dtml-in "get_days_events(startDateString=startDateString)">
         <dtml-var name><br>
    </dtml-in>

notice the startDateString=StartDateString...which I thought the <dtml-let
would've handled, anyway....this seems to have fixed it

can anyone tell me why?

cheers

tom


--__--__--

Message: 51
From: "Jim Sanford" <[EMAIL PROTECTED]>
To: "Stephen Nosal" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: [Zope] Re: ZODBC and Zope as a service`
Date: Fri, 4 Aug 2000 10:32:02 -0500
charset="iso-8859-1"

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!



--__--__--

Message: 52
Date: Fri, 4 Aug 2000 11:34:00 -0400 (EDT)
From: Pavlos Christoforou <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: [Zope] REPOST: README.txt Tab

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


--__--__--

Message: 53
From: "Loren Stafford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>, "Erik Enge" <[EMAIL PROTECTED]>
Subject: Re: [Zope] Python Product Tutorial
Date: Fri, 4 Aug 2000 09:13:19 -0700
charset="iso-8859-1"

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


--__--__--

Message: 54
From: "bak @ kedai" <[EMAIL PROTECTED]>
To: "Ragnar Beer" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: RE: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass 
configuration problem) configuration problem)
Date: Sat, 5 Aug 2000 00:21:54 +0800
charset="iso-8859-1"


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 )


--__--__--

Message: 55
Date: Fri, 4 Aug 2000 10:18:47 -0600 (MDT)
From: Chime Thomas-Ogbuji <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: [Zope] ZDOM backward compatibility

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


--__--__--

Message: 56
Date: Fri, 4 Aug 2000 10:34:05 -0600 (MDT)
From: Chime Thomas-Ogbuji <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [Zope] XSL Template proposal

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]   


--__--__--

Message: 57
To: [EMAIL PROTECTED]
Cc: Haonan Tan <[EMAIL PROTECTED]>
Subject: [Zope] Moving an entire Zope site
From: Douglas Bates <[EMAIL PROTECTED]>
Date: 04 Aug 2000 12:02:53 -0500

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 Department                    608/262-2598
University of Wisconsin - Madison        http://www.stat.wisc.edu/~bates/

--__--__--

Message: 58
Date: Fri, 04 Aug 2000 12:16:26 -0500
From: "Christopher J. Kucera" <[EMAIL PROTECTED]>
To: Douglas Bates <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], Haonan Tan <[EMAIL PROTECTED]>
Subject: Re: [Zope] Moving an entire Zope site

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

--__--__--

Message: 59
Date: Fri, 04 Aug 2000 12:49:52 -0500
From: "Christopher J. Kucera" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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:

<dtml-if "some number of conditions">
  View the page . . .
<dtml-else>
  <dtml-call "RESPONSE.redirect('blahblahblah')">
</dtml-if>

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:

<dtml-if someConditions>
  View the page . . .
</dtml-if>

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

--__--__--

Message: 60
From: "Jonothan Farr" <[EMAIL PROTECTED]>
To: "Chris Withers" <[EMAIL PROTECTED]>
Cc: "Bob Horvath" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [Zope] acquisition vs. inheritance
Date: Fri, 4 Aug 2000 10:56:19 -0700
charset="iso-8859-1"

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:
>
> <dtml-var standard_html_header>
> <dtml-var index.html>
> <dtml-var standard_html_footer>
>
> 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
>


--__--__--

Message: 61
From: "Jonothan Farr" <[EMAIL PROTECTED]>
To: "Christopher J. Kucera" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [Zope] Redirecting from Python?
Date: Fri, 4 Aug 2000 10:58:02 -0700
charset="iso-8859-1"

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:
>
> <dtml-if "some number of conditions">
>   View the page . . .
> <dtml-else>
>   <dtml-call "RESPONSE.redirect('blahblahblah')">
> </dtml-if>
>
> 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:
>
> <dtml-if someConditions>
>   View the page . . .
> </dtml-if>
>
> 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 )
>


--__--__--

Message: 62
Date: Fri, 04 Aug 2000 20:07:49 +0200
From: Marcin Kasperski <[EMAIL PROTECTED]>
To: Zope List Submission <[EMAIL PROTECTED]>
Subject: [Zope] Powered by Zope in different colors?

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

--__--__--

Message: 63
Date: Fri, 04 Aug 2000 13:23:19 -0500
From: "Christopher J. Kucera" <[EMAIL PROTECTED]>
To: Jonothan Farr <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] Redirecting from Python?

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

--__--__--

Message: 64
Date: Fri, 04 Aug 2000 14:30:50 -0400
From: Francisco Assis Rosa <[EMAIL PROTECTED]>
Organization: Dynamic Diagrams
To: [EMAIL PROTECTED]
Subject: [Zope] Zope with two platforms.

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 02903    fax: 401.331.2015




--__--__--

Message: 65
Date: 4 Aug 2000 11:42:38 -0700
To: [EMAIL PROTECTED]
From: Stephen Nosal <[EMAIL PROTECTED]>
Subject: Re: [Zope] compile ZPoPyDA product problems (continued)

> > > 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!

--__--__--

Message: 66
Date: 4 Aug 2000 11:51:33 -0700
To: [EMAIL PROTECTED]
From: Stephen Nosal <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [Zope] Re:[Zope]compile ZPoPyDA product problem (continued)

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!

--__--__--

Message: 67
From: "Brad Clements" <[EMAIL PROTECTED]>
Organization: MurkWorks, Incorporated.
To: [EMAIL PROTECTED]
Date: Fri, 4 Aug 2000 15:02:18 -0400
Subject: [Zope] Pluggable brains aren't seen by first-nnn in <dtml-in>?
Reply-to: [EMAIL PROTECTED]

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  <dtml-if first-eventday> 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

--__--__--

Message: 68
Date: Fri, 04 Aug 2000 14:02:42 -0500
From: "Christopher J. Kucera" <[EMAIL PROTECTED]>
To: Marcin Kasperski <[EMAIL PROTECTED]>
CC: Zope List Submission <[EMAIL PROTECTED]>
Subject: Re: [Zope] Powered by Zope in different colors?

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]



--__--__----

End of Zope Digest



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

Reply via email to