[Zope-dev] change in product permissions/behaviour in 2.20b1

2000-06-21 Thread Dr. Ross Lazarus

The (heavily modified) Survey product from Piers Lauder is in heavy use
here.

In 2.1.x and in 2.20b1, the links in a folder view point to
[objectname]/manage_workspace

In 2.1.x, this does the right thing - if you have appropriate
permissions on the survey object, you get a management screen. Without
'View management screens' permission, you see a rendered survey form to
fill in. Fine.

In 2.20b1, this is now broken. No matter what permissions you have, the
[objectname]/manage_workspace link turns into a link to [objectname] and
you see the survey.

I've futzed with  __ac_permissions__ =  and added that little tip about
Globals.default__class_init__(Survey) without any joy.

Is this a bug, a deliberate change in behaviour or is it just me?



-- 

Dr Ross Lazarus
Associate Professor and Sub-Dean for Information Technology
Faculty of Medicine, Room 126A, A27, University of Sydney,
Camperdown, NSW 2006, Australia
Tel: (+61 2) 93514429   Mobile: +61414872482  
Fax: (+61 2) 93516646   Email: [EMAIL PROTECTED]

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




[Zope-dev] Zope 2.2.0b1 not authorized

2000-06-21 Thread Juan Carlos Coruña
Title: Zope 2.2.0b1 not authorized




I have a ZSQL method embedded into another ZSQL method and when I
execute it I become the following error:
Error, Unauthorized: You are not authorized to access SQL.
If I execute the embedded ZSQL method alone I become no errors.
The two methods have the same ownership. 

After searching in the mailing list I have seen a few people with
the same problem but none of them have resolved it.
Anyone knows the solution?




[Zope-dev] Error running on port 80, different IP than default

2000-06-21 Thread Thomas Weholt

Hi,

Just installed zope from source on a fresh Linux-box. Defined a zope-user
and a zope-group to run Zope and everything works just fine if a run it with
the default z2.py. I want to run it on a different ip, an alias to eth0,
and on port 80. But when I change z2.py to reflect this I get an error
running start in the Zope-folder.

Traceback (innermost last):
  File "/usr/local/Zope/z2.py", line 493, in ?
logger_object=lg)
  File "/usr/local/Zope/ZServer/medusa/http_server.py", line 552, in
__init__
self.bind ((ip, port))
  File "/usr/local/Zope/ZServer/medusa/asyncore.py", line 205, in bind
return self.socket.bind (addr)
socket.error: (13, 'Permission denied')

I guess it`s cuz the zope user don`t have permission to bind to
ip-interfaces and/or ports under 1024(?), but how do I fix this? I need to
run it on a specified ip and port 80. 
This could be off-topic, a Linux problem, but I need serious help on this
one. 

Thanks.

Thomas Weholt

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




Re: [Zope-dev] Catalog acquisition problems?

2000-06-21 Thread Martijn Faassen

Dieter Maurer wrote:
 Martijn Faassen writes:
[snip acquisition 'problem' with the catalog]
 I can understand that the result is not what one wants, but
 when I understand aquisition correct, it is in accordance
 with the documentation.

Yes, after some more pondering and some experimentation it
makes sense. The confusion arose because of the use of
'dtml-in'; it makes sense more easily when you think of
dtml-in as a repeated dtml-with.

[snip]
   Another odd thing that happens is that dtml-let variables appeared
   wiped empty inside the dtml-in:
[snip]
 I could not reproduce this in my Zope installation.

We should've experimented some more here; it turned out to be a name
aliasing problem -- our records were indeed acquiring the same name
from somewhere else (a folder) which screwed things up.

Thanks for your feedback!

Martijn


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




[Zope-dev] zope-cocoon interoperability

2000-06-21 Thread drawingincode

hi, wish to introduce to everyone a thought.
i see great value in zope and cocoon interoperability.

just to ponder:)
will elaborate before next dance

here is my post to cocoon_group today:
thank you
michael
(//xml.apache.org..)

IMHO, cocoon and zope interoperability is a win win situation.
-for my needs with drawingincode.com

currently trying to get support from UUnet/mciWorldcom to fund
open_source related projects.

status: between a rock and a hardplace
 sales and managers(pre-occupied with thoughts of-t.v.
commercials)

if somone is friends with Mike O'Dell (VP and chief scientist at UUNet)
please have him mail me :)

Thank You
michael p bolger
[EMAIL PROTECTED]




drawingincode

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




Re: [Zope-dev] zope-cocoon interoperability( Zope/XML )

2000-06-21 Thread Josh Zeidner



  You should definately take a look at the work being done with Zope and 
XML.  In a nutshell, DC and FourThought are making the Zope object tree DOM 
compliant.  In addition, XSLT operations will be supported similar to the 
way DTML methods interact with Zope.  Also XPath and XLink are being 
examined for thier integration with Zope and ZDOM.  The list can be found on 
egroups.com, named Zope-XML .

  -Josh Zeidner


hi, wish to introduce to everyone a thought.
i see great value in zope and cocoon interoperability.

just to ponder:)
will elaborate before next dance

here is my post to cocoon_group today:
thank you
michael
(//xml.apache.org..)

IMHO, cocoon and zope interoperability is a win win situation.
-for my needs with drawingincode.com

currently trying to get support from UUnet/mciWorldcom to fund
open_source related projects.

status: between a rock and a hardplace
  sales and managers(pre-occupied with thoughts of-t.v.
commercials)

if somone is friends with Mike O'Dell (VP and chief scientist at UUNet)
please have him mail me :)

Thank You
michael p bolger
[EMAIL PROTECTED]




drawingincode

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



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


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




[Zope-dev] Re: [Zope] ZScheduler-0.0.6 problem

2000-06-21 Thread Loren Stafford

Could we continue this discussion on zope-dev, because this is an
alpha-level product at this point?

I have ZScheduler 0.0.6 running on a Linux machine (www.fippless.org at
CodeIt Computing), so we can't say it's an NT vs. Linux problem. It's more
likely a Linux/Python/Zope configuration issue. The most system-dependent
part of ZScheduler is its use of Python's threading module.

According to Netcraft,  www.fippless.org is running Red Hat Secure/2.0
(Unix) mod_ssl/2.0.7 SSLeay/0.9.0b on Linux. According to the Zope Control
Panel,

 Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2)
 Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66
19990314/Linux (egcs-
 System Platform: linux-i386

Nick, can you supply more detail about the Linux configuration?

CodeIt Computing is a good Zope ISP, but, as you would expect of an ISP,
they don't offer facilities for this level of SW development, and I don't
have any other machines at my disposal to duplicate your Linux
configuration.

So, I'll need your assistance to help isolate the problem. Can you help with
a little debugging, tracing, instrumentation to find the code that throws
Zope off track?

I doubt whether the problem is with the archive itself, but just to be sure,
I created a new archive for version 0.0.6 with a different archiving tool.
The new one shows 12330 bytes while the old one shows 20480 bytes (quite a
difference for the same content, eh?).

-- Loren

- Original Message -
From: "Francois-Regis CHALAOUX"
[EMAIL PROTECTED]
To: "Receipt Notification Requested" [EMAIL PROTECTED]
Sent: June 21, 2000 12:48 AM
Subject: [Zope] ZScheduler-0.0.6 problem


 Hi,

 I have just tested ZScheduler-0.0.6 on NT machine : it works : On my
Linux
 machine it does not work :
 Thus, the code is NT dependant or the archive works on NT only !!!???

 FR





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




[Zope-dev] Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread Juan Carlos Coruña
Title: Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...






 Mensaje original 

El 21/06/00, 17:25:39, Brian Lloyd [EMAIL PROTECTED] escribi sobre
el tema [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...:


 Hi all,

 Several folks have reported problems in beta 1 with SQLMethods
 having authentication problems when trying to call other SQL
 Methods. I'd like a few intrepid volunteers to try something
 for me to see if it fixes the problem. I'd like to make a 2.2
 beta 2 release tomorrow but I want to make sure this issue is
 resolved first.

 Make a backup of the file:

 lib/python/Shared/DC/ZRDB/DA.py

 in your current (beta 1) installation and replace it with the
 DA.py attached to this email, restart and let me know if the
 problem goes away.

 Thanks!

 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  http://www.digicool.com

It seems to work properly. But all the old ZSQL methods are converted
to folders and you must create the ZSQL methods another time. The
folders that appear aren't accesible and displays the error Resource
not found.





Re: [Zope-dev] Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread David C. Kankiewicz

Juan Carlos Coruña wrote:
 It seems to work properly. But all the old ZSQL methods are converted
 to folders and you must create the ZSQL methods another time. The
 folders that appear aren't accesible and displays the error "Resource
 not found".

I got all the ZSQL methods, in a CVS version of Zope (might be
different), back by exporting/re-importing the folder that holds them
and taking ownership :). I didn't look into why it happened...
Then again, I expect problems updating a CVS copy of Zope.

Regards,
David

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




Re: [Zope-dev] Error running on port 80, different IP than default

2000-06-21 Thread Dieter Maurer

  Just installed zope from source on a fresh Linux-box. Defined a zope-user
  and a zope-group to run Zope and everything works just fine if a run it with
  the default z2.py. I want to run it on a different ip, an alias to eth0,
  and on port 80. But when I change z2.py to reflect this I get an error
  running start in the Zope-folder.
All ports with numbers  1024 are privileged ports.
A server can bind to them only, if run as root.



Dieter

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




[Zope-dev] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread Brian Lloyd

Hi all,

Several folks have reported problems in beta 1 with SQLMethods 
having authentication problems when trying to call other SQL 
Methods. I'd like a few intrepid volunteers to try something 
for me to see if it fixes the problem. I'd like to make a 2.2 
beta 2 release tomorrow but I want to make sure this issue is 
resolved first.

Make a backup of the file:

lib/python/Shared/DC/ZRDB/DA.py

in your current (beta 1) installation and replace it with the 
DA.py attached to this email, restart and let me know if the 
problem goes away.

Thanks!

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 





 DA.py


Re: [Zope] Problems reverting from Zope 2.2

2000-06-21 Thread Monty Taylor

Sounds like you didn't get everything when you reverted. Make sure that
you replace everything in the lib/python tree. Remember that MailHost
and ZCatalog live in Products, so if you replaced everything but saved
the Products dir so you wouldn't have to re-install your products, you
might want to check through that stuff as well.

Monty

"Jay, Dylan" wrote:
 
 After installing 2.2b1 and finding it doesn't work well enough yet I tried
 to revert back to 1.1.7
 This seemed to work ok except somethings are broken in the control_panel.
 MailHost and ZCatalog can't be accessed Clicking on them in the
 control_panel results in a resource not found error. This is ok except I
 can't delete other product which rely on these products.
 
 How do I get out of this mess?
 
 ___
 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 )

begin:vcard 
n:Taylor;Monty
tel;cell:+31 (0)6 200 17486
tel;fax:+31 (0)20 589 5566
tel;work:+31 (0)20 589 5517
x-mozilla-html:TRUE
url:http://www.goldridge.net
org:Information Innovation
adr:;;Amstelveenseweg 88-90;Amsterdam;;1075 XJ;The Netherlands
version:2.1
email;internet:[EMAIL PROTECTED]
title:Information Artist
x-mozilla-cpt:;0
fn:Monty Taylor
end:vcard



[Zope] Dynamic sorting key?

2000-06-21 Thread Zoper

Hi All,

here's the question,
the following piece of DTML code is intended to sort a
listing of DTML documents in a folder.

dtml-in expr="PARENTS[0].objectValues(['DTML Document'])" sort=title size=15 start=qs

note that "sort=title", however I would like to sort on different key by different 
paramenter...

something like  "... sort=REQUEST['sort_by'] ..." (doesn't work)
where sort_by from URL parameter maybe "id", "title", "getSize" or 
"bobobase_modification_time", etc...

I've search all over zope.org about "sorting" but could not find a working way.

HOW??

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] ZScheduler-0.0.6 problem

2000-06-21 Thread Francois-Regis CHALAOUX

Hi,

I have just tested ZScheduler-0.0.6 on NT machine : it works : On my Linux
machine it does not work :
Thus, the code is NT dependant or the archive works on NT only !!!???

FR

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
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] ZMailIn 0.1 - mail into Zope

2000-06-21 Thread Simon Coles

Hi,

A few weeks ago we had a discussion on this list about a way of 
getting mail into Zope. We've been doing some work in this, resulting 
in "ZMailIn".

We've put a preview version of ZMailIn up on Zope.org, at 
http://www.zope.org/Members/NIP/ZMailIn/

ZMailIn allows you to send an email into Zope. Specifically:
   - the mail system (Exim, Sendmail, etc.) passes the email to a Python
 script
   - this script uses HTTP POST to call a DTML method that creates an instance
 of a ZClass containing the mail

This code is pre-release, and has been lightly tested. Its intended for people
who are curious about how this work is progressing and/or want to 
have input into the design process.

At the moment things are very simple, and most of what should be 
configuration is in fact hard coded - the intention at this stage is 
to get something working. The remaining work is to:
   - deconstruct the email into its bits (attachments, multipart MIME, etc.)
   - allow the configuration to be done in Zope, so more than one email address
 can be used, to call different DTML methods.
   - whatever other changes are required

Enjoy



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] Change Notification

2000-06-21 Thread Itamar Shtull-Trauring

Bob Barter wrote:
 
 Is there a way for an object to be notified that it has been modified?

Use ZPatterns 0.4, it allows you to be notified of events - change, add and
delete of objects.

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

___
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] Newspaper site

2000-06-21 Thread Wesley Anderson

Hi all,

I'm just wondering if there are any newspaper/magazine sites out there that
are using ZOPE for content management and subscriber management. I wouldn't
think it would be suitable, but what do you think of using Squishdot for
this purpose? Also, is there a list of "powered by" sites on zope.org?

I'm doing a site that has both public and private content - hence the need
for subscriber-based access.


Thanks much


Wesley


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

2000-06-21 Thread Erik Enge


Hi,

I was wondering.. Is there a place where I can post
Zope job offerings?  Shouldn't there be such a place
on zope.org?

(btw, anyone in England - or other parts of this planet - 
interested in work, please e-mail me)

Thanks,

 Erik Enge
 EMM Solutions



___
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] Probably a simple name space question

2000-06-21 Thread Bert Jan Bakker

Hi all,

I'm struggling with a problem in DTML
for a day now and I'm ready to beg for
someone to enlighten me.

Problem:

I want to call a Z SQL Method (say InsertFoo)
from a DTML Method (say CallingInsertFoo) and 
it just won't work.

The Z SQL Method takes three arguments, let's
call them a_id, b_id and c_id.

All three arguments are available to me
in the calling DTML Method. I can print
them in HTML. But when I call the query
with dtml-var InsertFoo I get the following
error:

"Error Type: Bad Request
 Error Value: ['a_id', 'b_id', 'c_id']"

I tried all sorts of things but I'm thinking
I am missing something obvious.

What am I doing wrong???


Greetings, BertJan Bakker

___
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] ZDiscussions Problem

2000-06-21 Thread J. Atwood
Title: Re: [Zope] ZDiscussions
Problem


Hey Pete,

Your choices are really Confera (very old), ZDiscussions (semi
old and not supported), ZUBB (pretty new, but may not do what you
want), Squishdot (sounds more what you want) and waiting for the PTK
(may or may not have you want). I can only really talk about ZUBB,
though.

ZUBB is used as a object with all the messages in the object. I
have not heard of anyone successfully calling the index_html object
from outside of the folder (nor have I tried). The topic runs in its
own space and can be included as a part site by linking to it. (You
can probably do some counts of messages or other things from outside
the object though). If you are looking to have a discussion follow
every article/person/page Squishdot is your better bet.

J


At 10:54 AM +1200 6/21/2000, Pete Black wrote:
First up,
i'd like to whine a bit.

WHINE-MODE ON
Which product should i use to add a Discussion component to my
site?

Confera?
ZDConfera? ZDiscussions? ZUBB? Squishdot? PTK? Was the Zope 'Portal'
deliberately designed to obfuscate the choices available and their
respective pros/cons, as well as to make it practically impossible to
find useful documentation, or has it just happened this
way?

I'm just
about ready to give up on Zope and go back to hacking Perl, because,
even though i have to write 10 times as much difficult-to-read code
to get a job done, at least i know that the job is doable, doable in
a way that suits me, and that if there is a module to do what i want
to do, it will be findable and documented on CPAN.

WHINE-MODE OFF

I don't
like to whine, and i think Zope promises to be a great product, and i
am persevering with it because i think it will (once i get
implemetation out of the way) make me a great intranet. Many thanks
to the developers, you have, on the whole, done a wonderful
job.

Anyway, my
problem is this:

I have a
ZDiscussion set up in a folder (off the root folder) called
TMLDiscussion.

I want to
put the contents of the discussion in the index_html method of my
root folder.

So, i put
the following in my root index_html method:

dtml-with TMLDiscussion

/dtml-with

(normally
there would be code beteen those two tags to output a dtml-tree of
messages in the TMLDiscussion object)

Even with
nothing between the dtml-with tags, i get this
error:

Error Type:
NameError
Error Value: r

Whats going
on? And how do i display the discussion on my index
page?

Thanks for
any Help

-Pete




Re: [Zope] Newspaper site

2000-06-21 Thread J. Atwood

Powered By Sites:
http://www.zope.org/Members/BwanaZulia/zope.html

and the best really..

http://weblogs.userland.com/zopeNewbies/zopesites/

You should find a good combination of content/newspaper sites there. 
Also take a look at the KM news product.

http://www.zope.org/Members/taz/kmnn

Good luck,

JMA

At 12:13 PM +0200 6/21/2000, Wesley Anderson wrote:
Hi all,

I'm just wondering if there are any newspaper/magazine sites out there that
are using ZOPE for content management and subscriber management. I wouldn't
think it would be suitable, but what do you think of using Squishdot for
this purpose? Also, is there a list of "powered by" sites on zope.org?

I'm doing a site that has both public and private content - hence the need
for subscriber-based access.


Thanks much


Wesley


___
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] Does dtml-sendmail work with 2.1.7?

2000-06-21 Thread Brian Lloyd

 Just thought I'd rephrase the question after doing more 
 troubleshooting.
 Does anyone have this tag working for them when using Zope  2.1.6???
 

Mark - 

A number of fixes have been made to dtml-sendmail for 2.2. The 
version in 2.1.7 is hosed due to some configuration management 
issues that let some (but not all) of those fixes get into the 
2.1.7 release :( You really would be better off sticking with 
2.1.6 for another day or so until 2.2 beta 2 comes out.


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://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] Using Zope DB connection from a Python class

2000-06-21 Thread Tino Wildenhain

Hi Ivan,

 3.  Zope 2.1.7
 Z ODBC DA 3.0.3
 Solid dev kit 2.3
 RedHat Linux 6.1 on i386

How to use Z ODBC DA on Linux? I only found a windows binary.

Tino

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




[Zope] ZSQL newbie question

2000-06-21 Thread kamon ayeva

Hi,

I have a text file object containing data I want to use to update a MySQL 
table.
I can get the data using the LocalFS object product and the howto from 
jfarr, but I don't know how to use ZSQL method and DTML method to inject 
this data in the table.
Any help would be appreciated.

Regards,
Kamon

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] ZServer+SiteAccess+Apache+SSL

2000-06-21 Thread T.J. Mannos

I got Apache+mod_ssl+OpenSSL working, and I just threw it into the mix.  I
have two virtual hosts, one HTTP on port 80 and one SSL on port 443.  Both
do nothing but ProxyPass to the same http:// address on port 9080.  I don't
know if I like that solution, though.

This solution "looks" secure, but I'm not so sure.  It's a secure connection
between the client and the server, and, since Zope and Apache are on the
same machine, there's no insecure communication over our LAN.  However, if I
happen to have a hacker running a packet sniffer on my server, I'm screwed.

Any comments on this?  I may just have to go the hard way and do
Apache+fastcgi...?

--- In [EMAIL PROTECTED], Wayne Izatt [EMAIL PROTECTED] wrote:
 I've just managed to get ZServer running behind Apache with SiteAccess
 (thanks for the how-to, anser!)

 Now, has anyone managed to configure SSL into a mix like this? Seems to
 me I should be able to go through the standard SSL setup for Apache, and
 not worry too much more abou the ZServer component of the architecture.

 thanks

 Wayne


 ___
 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] Beta Zope Error

2000-06-21 Thread T.J. Mannos

Brian,

Try a ZMySQLDA connection.

All ZSQL methods were implicitly owned by the user "wmannotj".  They all had
the same permission settings.  Perhaps I could try explicit ownership?

- T.J.

- Original Message -
From: Brian Lloyd [EMAIL PROTECTED]
To: 'T.J. Mannos' [EMAIL PROTECTED]; CURTIS David
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 19, 2000 1:04 PM
Subject: RE: [Zope] Beta Zope Error


  I get the same problem.  A SQL method of mine is apparrently
  accessible from
  within a DTML method but not from within another SQL method.
  (I do this to
  determine if a record exists before overwriting it).  I also have an
  external method that augments query objects with special
  grouping records.
 
  Here's one of my tracebacks (hey, I get a different one every
  time I click
  REFRESH):

 traceback snipped

 I've been trying to reproduce this with a Gadfly connection and I
 haven't been able to make this happen - have you checked to make
 sure that all of the sql methods in question have the same
 ownership and permission settings?

 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  http://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] mod_pcgi2 version 1.1.1

2000-06-21 Thread Oleg Broytmann

Hello!

   http://www.zope.org/Members/phd/mod_pcgi2/

   mod_pcgi2 version 1.1.1. Some minor corrections in handling of root
location and SCRIPT_NAME.
   Still experimental - I have not got enough reports to announce it
stable.

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



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




[Zope] How to use DestinationURL to redirect Zope where I want ???

2000-06-21 Thread Frédéric Quin

Hi all,


I can't find how to use DestinationURL to redirect Zope where I want...
If someone can help me, it will be great...


Thanks
Frederic

___
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] More reliable Database Adapter for linux

2000-06-21 Thread Pedro Vega

Hi all.

What is the more reliable database adapter for linux ?

Regards.

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] ZServer+SiteAccess+Apache+SSL

2000-06-21 Thread Steve Drees



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of T.J.
 Mannos
 Sent: Wednesday, June 21, 2000 9:42 AM
 To: IPM Return requested Receipt notification requested
 Subject: RE: [Zope] ZServer+SiteAccess+Apache+SSL


 I got Apache+mod_ssl+OpenSSL working, and I just threw it into the mix.  I
 have two virtual hosts, one HTTP on port 80 and one SSL on port 443.  Both
 do nothing but ProxyPass to the same http:// address on port
 9080.  I don't
 know if I like that solution, though.

 This solution "looks" secure, but I'm not so sure.  It's a secure
 connection
 between the client and the server, and, since Zope and Apache are on the
 same machine, there's no insecure communication over our LAN.
 However, if I
 happen to have a hacker running a packet sniffer on my server,
 I'm screwed.

If you have a hacker running a sniffer on your server you are screwed
regardless of your system configuration.


___
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] Newbie Question (dropdown menu)

2000-06-21 Thread joel grimes

I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know 
what the things are called - it's a select...option... thing) with items 
selected from a table.  I haven't a clue how to do this.  I've got the ODBC 
Connection and SQL Method working, but how do I iterate through the query 
results to fill a drop-down?

Thanks

Joel Grimes

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] DTML-IN Question

2000-06-21 Thread Tom Scheidt

Hi my problem is that Im setting my batch size to 3, yet I keep getting
5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on.
Here's what Im using:

dtml-call "REQUEST.set('day3', ZopeTime().Day())"
dtml-if "day2 == 'Monday'"dtml-call "REQUEST.set('daysfolder3',
cindycity)"/dtml-if
dtml-if "day2 == 'Tuesday'"dtml-call "REQUEST.set('daysfolder3',
techbytes)"/dtml-if
dtml-if "day2== 'Wednesday'"dtml-call "REQUEST.set('daysfolder3',
techbytes)"/dtml-if
dtml-if "day2== 'Thursday'"dtml-call "REQUEST.set('daysfolder3',
cindycity)"/dtml-if
dtml-if "day2 == 'Friday'"dtml-call "REQUEST.set('daysfolder3',
techbytes)"/dtml-if
dtml-if "day2 == 'Saturday'"dtml-call "REQUEST.set('daysfolder3',
techbytes)"/dtml-if
dtml-if "day2 == 'Sunday'"dtml-call "REQUEST.set('daysfolder3',
behindscenes)"/dtml-if
dtml-if daysfolder3
dtml-with news88dtml-with daysfolder3
dtml-in ranked_stories size=3br
font size=2dtml-if headlineA HREF="/dtml-var section/dtml-with
daysfolder3dtml-id;/dtml-with/dtml-id;"bdtml-var
headline/b/a/dtml-if/font
font size=1nbsp;nbsp;from a href="/dtml-var section/dtml-var
subsection/index"idtml-var subsectionname/i/a/fontbr
font size=1
dtml-if timedtml-var time fmt=pCommonZ/dtml-if/fontbr
font size=2
dtml-if shortstorydtml-var shortstory/dtml-if/font
hr size=1 width=90%
/dtml-in
/dtml-with
/dtml-with
/dtml-if

The file "ranked_stories" is a python method:

return self.selectItems( self.story_list() )

"story_list" is also a python method:

result = []
for item in self.objectValues( [ 'DTML Document' ] ):
if item.hasProperty( 'publish' ):
   result.append( item )
return result

Thanks in advance.
Tom Scheidt   |   www.falsemirror.com   |   [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] External Method Difficulties

2000-06-21 Thread Jason Lee

For background purposes, I need to write a python module that will generate an
MD5 hash of a given string, and return the base 64 representation of that hash. 
The problem I am facing is getting my stub to work from my DTML document.  What
I have write now is a stub that takes no arguments and returns "Hello, World". 
When I click Try It from the management screen, it works fine, but I can't seem
to make it work from the DTML doc.  This is what Iv'e tried (I'm still pretty
new so I'm making wild guesses :)

dtml-call genhash

This produces nothing.  I think I read somewhere that dtml-call returns no data,
so that might explain it.  I could be wrong.

dtml-var genhash

This produces a KeyError.  It seems like I've tried a couple of other manglings,
but what they were escapes me for the moment.  I'm not passing a parameter right
now, cuz I wanted to simplify things once I found out it wasn't going to work
like I expected it to.  What am I doing wrong?  Is there a better place to start
than this list?  I have the content manager's guide and the dtml reference, but
I can't find anything helpful.  The ID for the external method is md5 in case
that helps.  Thanks a lot!

-- 
Jason Lee - Programmer/Analyst
The Fox and the Grapes: I'm not sure what the point is here. The moral 
is "It is easy to despise what you cannot get," but from experience I 
can tell you it's easy to despise what you do get as well, especially 
in terms of cable channels. -- The Brunching Shuttlecocks

___
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] Local File System (LocalFS) install problems

2000-06-21 Thread J. Atwood

(I have searched the newsgroups and zope.org)

I downloaded and installed LocalFS (untar in zope dir) restarted Zope (2.1.6
on Linux running as Nobody). The Local File System is an available object
but when I try to add it to any folder I get..

Error Type: IOError Error Value: [Errno 13] Permission denied:
'/usr/local/zope/lib/python/Products/LocalFS/methodAdd.dtml'


And:
Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: methodAdd)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: methodAdd)
  File /usr/local/zope/lib/python/App/special_dtml.py, line 120, in __call__
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 443,
in __call__
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 381,
in cook
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 374,
in read
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 538,
in read_raw
(Object: methodAdd)
IOError: (see above)


I tried changing some of the permissions but to no avail.

J


___
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] Newbie CGI question

2000-06-21 Thread jholland

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

How can I access the variables passed into a DTML called as a Form by
another DTML? it has the usual ?x=1y=2 ... stuff - I'd really like to loo
through these.

Also can I construct a string and then evaluate it? ie

varname="therealvar" + "name"

some sort of eval varname

that would return the contents of the variable "therealvarname".

John Holland

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.2

iQA/AwUBOVDvihPWCCE2yAKHEQK0hgCgyaa+NJh7UTZrHwL8MnoMzVcNNo8AoL9b
YfrnXWQpc70v5tVxYXwyJwsA
=fZHi
-END PGP SIGNATURE-


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




Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Washington

Hi, Joel

untested

Just displaying the list in a select:

select name="whatever"
dtml-in ZSQLMethodthatgetsthelist
option value="dtml-var theFieldname"dtml-var theFieldname/option
/dtml-in
/select

If "whatever" already has a value and you want that selected:

select name="whatever"
dtml-in ZSQLMethodthatgetsthelist
option value="dtml-var theFieldname"
dtml-if "whatever == theFieldname" selected /dtml-if
dtml-var theFieldname/option
/dtml-in
/select

/untested

the /option tags are apparently optional.

hth

-- Jim Washington

joel grimes wrote:
 
 I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know
 what the things are called - it's a select...option... thing) with items
 selected from a table.  I haven't a clue how to do this.  I've got the ODBC
 Connection and SQL Method working, but how do I iterate through the query
 results to fill a drop-down?
 
 Thanks
 
 Joel Grimes

___
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-IN Question

2000-06-21 Thread Jim Washington

from the DTML reference page 41, regarding dtml-in:

the default setting for the orphan attribute is 3.

So you might try:

dtml-in ranked_stories size=3 orphan=0 

-- Jim Washington

Tom Scheidt wrote:
 
 Hi my problem is that Im setting my batch size to 3, yet I keep getting
 5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on.
 Here's what Im using:
 

[code snipped]

 
 Thanks in advance.
 Tom Scheidt   |   www.falsemirror.com   |   [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] R: [Zope] DTML-IN Question

2000-06-21 Thread Marcel Preda


- Original Message - 
From: Tom Scheidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 21, 2000 6:35 PM
Subject: [Zope] DTML-IN Question


 Hi my problem is that Im setting my batch size to 3, yet I keep getting
 5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on.
 Here's what Im using:

snip a lot ... :)

 dtml-in ranked_stories size=3br
 font size=2dtml-if headlineA HREF="/dtml-var section/dtml-with
 daysfolder3dtml-id;/dtml-with/dtml-id;"bdtml-var
 headline/b/a/dtml-if/font
 font size=1nbsp;nbsp;from a href="/dtml-var section/dtml-var
 subsection/index"idtml-var subsectionname/i/a/fontbr
 font size=1
 dtml-if timedtml-var time fmt=pCommonZ/dtml-if/fontbr
 font size=2
 dtml-if shortstorydtml-var shortstory/dtml-if/font
 hr size=1 width=90%
 /dtml-in

try: 
dtml-in ranked_stories  mapping size=3
And maybe is bettrer tu add 'start' attribute.

(UNtested)


 The file "ranked_stories" is a python method:
 
 return self.selectItems( self.story_list() )
 
 "story_list" is also a python method:
 
 result = []
 for item in self.objectValues( [ 'DTML Document' ] ):
 if item.hasProperty( 'publish' ):
result.append( item )
 return result
 

PM



___
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] Validating page entry help

2000-06-21 Thread J. Atwood

I find the best way is to do dtml-if itemdtml-var itemdtml-else*
needed/dtml-if on the fields of the form and have dtml-try trying to do
something with all the values (email, write, update database). If they are
not all there it brings you back the the form (I always build it in one
method which makes it easier).

Examples:
http://market.gotschool.com/register.html?type=school - in production so
leave out your email

http://fundraising.gotschool.com/tell_a_friend.html


J



 From: Stuart Foster [EMAIL PROTECTED]
 Date: Wed, 21 Jun 2000 10:39:48 -0700
 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
 Subject: [Zope] Validating page entry help
 
 I was wondering what the best way to validate a users input on a page.
 
 Currently I submit a page to an interim page that checks for certain values
 using dtml-if's and dtml-unless'.
 If everything is fine I go on to the next page. If something is missing I
 need to go back, I haven't figured out how to do this part.
 If I use META HTTP-EQUIV="refresh" content=5;URL=dtml-var
 "REQUEST['HTTP_REFERER']" all the input is lost from the form.
 
 So my questions are:
 
 1. What is the best way to do page validation before it is submited.
 2. If the way I am doing it seems to be an ok way, how do I go BACK with out
 losing everything (equivalent of pressing the back button)
 
 Stuart Foster
 MediServe Information Systems
 
 http://www.mediserve.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 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] Probably a simple name space question

2000-06-21 Thread Dan Rusch

try:
dtml-call "InsertFoo(REQUEST)"

or

dtml-call "InsertFoo(a_id=a_id, b_id=b_id, c_id=c_id)"
 assumming that a_id etc. are the names of the var 's in the zsql
argument list

I used dtml-call instaed of dtml-var, if you want to "render" something
use dtml-var, if you just want to execute something use dtml-call

Hope this helps.

DR

Jim Sanford wrote:

 In your SQL method:

 dtml-with REQUEST
 select ...
 /dtml-with

 - Original Message -
 From: Bert Jan Bakker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2000 5:57 AM
 Subject: [Zope] Probably a simple name space question

 Hi all,

 I'm struggling with a problem in DTML
 for a day now and I'm ready to beg for
 someone to enlighten me.

 Problem:

 I want to call a Z SQL Method (say InsertFoo)
 from a DTML Method (say CallingInsertFoo) and
 it just won't work.

 The Z SQL Method takes three arguments, let's
 call them a_id, b_id and c_id.

 All three arguments are available to me
 in the calling DTML Method. I can print
 them in HTML. But when I call the query
 with dtml-var InsertFoo I get the following
 error:

 "Error Type: Bad Request
  Error Value: ['a_id', 'b_id', 'c_id']"

 I tried all sorts of things but I'm thinking
 I am missing something obvious.

 What am I doing wrong???

 Greetings, BertJan Bakker

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

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


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




Re: [Zope] Change Notification

2000-06-21 Thread Tres Seaver

Itamar Shtull-Trauring [EMAIL PROTECTED] wrote:
 
 Bob Barter wrote:
  
  Is there a way for an object to be notified that it has been
  modified?
 
 Use ZPatterns 0.4, it allows you to be notified of events - change,
 add and delete of objects.

I may be confused, but normally the object should _know_ that it has
been modified, because one of its methods has been called.  In fact,
the usual pattern for this is to have the object notify other
interested parties ("Observers") of the fact that it has changed.

2.2 has experimental support for this -- see
$ZOPE/lib/python/OFS/DefaultObservable.py.  Also, see the writeup
on this in the Intefaces wiki (start from
http://www.zope.org/WikiCentral -- look for ObserverAndNotification.

Tres.

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




Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Sanford

This is my answer to another seeker's question.
It should also answer yours.

This code assumes that the variable customerid on the form
contains a value that matches up with customerid in 
the query custcompanysearch

___
dtml-let tcustid="customerid"
  select name="customerid"
dtml-in custcompanysearch
  option value=dtml-var customerid
  dtml-if "customerid==tcustid"selected/dtml-if
  dtml-var firstname dtml-var lastname/option
/dtml-in
  /select
dtml-let
 __
 
  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
 __


- Original Message - 
From: joel grimes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 21, 2000 10:51 AM
Subject: [Zope] Newbie Question (dropdown menu)


I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know 
what the things are called - it's a select...option... thing) with items 
selected from a table.  I haven't a clue how to do this.  I've got the ODBC 
Connection and SQL Method working, but how do I iterate through the query 
results to fill a drop-down?

Thanks

Joel Grimes

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 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] Adding users via external method

2000-06-21 Thread Timothy Grant

Hi all,

I'm working on a project where it would be very nice to add all the original
users via a script.

I'm working with an external method that should--I believe use manage_user()
to add the users.

My confusion comes from where does the external method go in the hierarchy?
From my reading it appears that to act on a folder, you need to be operating
within that folder (e.g., I can add folders and stuff to my current folder
all day). I haven't yet figured out how to operate on the acl-users folder
that is the child of my current folder.

As always, thanks for any assistance that you can provide.

-- 
Stand Fast,
tjg.

Timothy Grant [EMAIL PROTECTED]
Chief Technology Officer  www.exceptionalminds.com
Red Hat Certified Engineer   MIG #1433
Avalon Technology Group, Inc. '00 Marauder  
Slight disorientation after prolonged system uptime is 
normal for new Linux users


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




Re: [Zope] Newbie CGI question

2000-06-21 Thread Patrick Lewis

Not sure this is what you are looking for, but here it goes:

On Wed, Jun 21, 2000 at 09:38:30AM -0700, [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 How can I access the variables passed into a DTML called as a Form by
 another DTML? it has the usual ?x=1y=2 ... stuff - I'd really like to loo
 through these.

I assume you have two fields in your form, like this:

form action="foo_dtml" method="POST"
  input type="text" name="x"
  input type="text" name="y"
  ...
/form

Then, in foo_dtml, you would display them as:

dtml-var x dtml-var y

Easy so far.

 
 Also can I construct a string and then evaluate it? ie
 
 varname="therealvar" + "name"
 
 some sort of eval varname
 
 that would return the contents of the variable "therealvarname".

I think this is what you are looking for:

dtml-let varname=" 'therealvar' + 'name' "
  !-- varname should now be equal to 'therealvarname' --
  dtml-var varname
/dtml-let

-- 
Patrick Lewis [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] Zope jobs.

2000-06-21 Thread Patrick Lewis

Funny you should mention this. I have mocked up a job board at:

www.zope.org/Members/plewis/job_board

I am waiting on the folks at zope.org to decide if they want to give my
"add" method Owner proxy rights (hint, hint), and then I was going to more
widely announce it.  But, if you would like to privately email me with the
details, I would happily post it in the meantime.  The form should give
you guidance for what I need.

-- 
Patrick Lewis [EMAIL PROTECTED]

On Wed, Jun 21, 2000 at 12:37:47PM +0200, Erik Enge wrote:
 
 Hi,
 
 I was wondering.. Is there a place where I can post
 Zope job offerings?  Shouldn't there be such a place
 on zope.org?
 
 (btw, anyone in England - or other parts of this planet - 
 interested in work, please e-mail me)
 
 Thanks,
 
  Erik Enge
  EMM Solutions
 
 
 
 ___
 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] Connect String for mysql with SQLRELAY

2000-06-21 Thread Harald Koschinski

Hallo,

does anybody know how to connect to a mysql database with SQLRELAY (the
brand new adapter?)
The form-help says:

The connection string used for Z SQLRleay Database Connections are as
follows: 

hostname portnumber username password

but that´s not enough - where is the Database connecting to.

___
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] Dynamic sorting key?

2000-06-21 Thread Dieter Maurer

Zoper writes:
  ..., however I would like to sort on different key by different paramenter...
  
  something like  "... sort=REQUEST['sort_by'] ..." (doesn't work)
  where sort_by from URL parameter maybe "id", "title", "getSize" or 
 "bobobase_modification_time", etc...
This is a known weakness.

AFAIK, there is currently no way to treat values for "sort" as
expressions.
You may try, 

... sort="REQUEST['sort_by']" ...

(note the "..."!), but it will probably not work.


It, obviously, is useful, but I believe nobody has implemented
it yet.



Dieter

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




Re: [Zope] Probably a simple name space question

2000-06-21 Thread Dieter Maurer

Bert Jan Bakker writes:
  I want to call a Z SQL Method (say InsertFoo)
  from a DTML Method (say CallingInsertFoo) and 
  it just won't work.
  
  The Z SQL Method takes three arguments, let's
  call them a_id, b_id and c_id.
  
  All three arguments are available to me
  in the calling DTML Method. I can print
  them in HTML. But when I call the query
  with dtml-var InsertFoo I get the following
  error:
  
  "Error Type: Bad Request
   Error Value: ['a_id', 'b_id', 'c_id']"
This problem seems to come up once in every few weaks -- an FAQ.

Okay, again:

  ZSQL methods are stupid, in that they only look at
  the REQUEST object and not at the namespace to find
  their arguments.


You could avoid this weakness by:

 1. dtml-var "InsertFoo(a_id=a_id, b_id=b_id, c_id=c_id)"

This provides the arguments explicitely.

 2. dtml-call "REQUEST.set('a_id',a_id)"

dtml-call "REQUEST.set('c_id',c_id)"
dtml-var InsertFoo

This puts the argument values into the REQUEST object.



Dieter

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




Re: [Zope] Zope jobs.

2000-06-21 Thread Erik Enge

On Wed, 21 Jun 2000, Patrick Lewis wrote:

 Funny you should mention this. I have mocked up a job board at:
 
 www.zope.org/Members/plewis/job_board

Let's hope they're not _too_ slow ;-).

 But, if you would like to privately email me with the
 details, I would happily post it in the meantime. 

Whats the use if you haven't announced it yet (i.e. no one
is looking ;-)?



___
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] More reliable Database Adapter for linux

2000-06-21 Thread Bill Anderson

Pedro Vega wrote:
 
 Maybe the correct question is the most reliable combo DA+DB.
 
 Regards.
 


How about: Zope+ZODB ?
:)

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




[Zope] dtml-tree frustration

2000-06-21 Thread Pete Black



Hi there, 

i have a bit of a problem with the dtml-tree 
tag.

I have a folder structure like this (excuse bad 
ASCII art)

---root
 
---Main_Sections
 
---Software
 
---Folder1
 
---item 1
---item 
2
---Folder2
 
---Folder3
---Hardware
 
---Folder1
 
---Folder2
 
---Folder3
 
---TMLDiscussion
 
---images
 
---Phonelist

Now, i want to have dtml-trees built for each 
section (Software, Hardware etc.) and have them display in the index_html method 
of those folders. i.e. in the index_html method of 'Software', i want a tree 
that looks like this:

+Folder1
 +item 
1
 +item 
2
+Folder2
+Folder3

When i put this code into the index_html method of 
the software folder:

dtml-tree
dtml-var id
/dtml-tree

I get nothing. No output, no errors, absolutely 
friggin nothing.

When i put identical code into the index_html 
method of the Main_Sections folder, i get exactly what i would expect to see, 
i.e.

+Software
 
+Folder1
 
+item1
 
+item2
+Folder2
 
+Folder3
+Hardware
 
+Folder1
+Folder2
 
+Folder3

What is going on here? Surely this *should* 
work!?


Thanks for any help

-Pete


[Zope] this is not the message you are looking for

2000-06-21 Thread ethan mindlace fremen

move along

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

2000-06-21 Thread ethan mindlace fremen

Erik Enge wrote:
 
 On Wed, 21 Jun 2000, Patrick Lewis wrote:
 
  Funny you should mention this. I have mocked up a job board at:
 
  www.zope.org/Members/plewis/job_board
 
 Let's hope they're not _too_ slow ;-).

who you calling slow? :-P

Well, I'm johnny on the spot on this one, and I just finished getting
set up here in scenic Fredericksburg.  Well, sort of.  Anyway, I can
send email.

dtml-with standard_work_disclaimer

I want to have a whole site dedicated to commerce-type activities.  I'm
spending this week putting together a "vision thing" for the zope web so
that where we go next will *scale*.
/dtml-with

So I ask for your patience: I will be moving on this soon.

ethan mindlace fremen
Zopatista Community Liason

___
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] Confera problem reply problem

2000-06-21 Thread sean

I am trying to use Confera for the first time and am having a problem:

1) When I reply to a message, I get the error:
Error Type: AttributeError
Error Value: regs
I have the topic installed in a PTK folder and have checked the option to 
notify me of new replies on the original message.

Anyone had this problem?
--Sean

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

2000-06-21 Thread ethan mindlace fremen

Oleg Broytmann wrote:
 
I run 2.1.4 too, and for the same reason - ZSQL and SiteAccess. I am
 afraid I couldn't upgrade to 2.1.5+ nor 2.2+ due to SiteAccess :(

Oleg,

I am using SiteAccess and 2.1.6 at iMeme, and they play fine together.

SiteAccess is also tracking 2.2, if you take a look at it.

~ethan

___
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] ZODB or not ZODB?

2000-06-21 Thread ethan mindlace fremen

Casey Duncan wrote:

 Is ZODB up to the task of storing this quantity of objects? What problems
 might I run into? Is it a wise idea, could a data.fs file of this size
 (~3-400MB) become too easily corrupted? Should I use a separate data.fs file
 just to store the documents (ie using mountedFileStorage)? Or is it better
 to use method #1 or #2? Information from anyone with experience in this
 regard is greatly appreciated.

Casey,

Zope.org is 375 MB packed, and it grows by 100 MB a *day*.  There are
8500 member folders.  When you get this many objects in a folder, accessing the 
folder (though not the objects themselves) gets *slow*.

more info here:

http://www.zope.org/Wikis/zope-dev/ReallyBigFolders

ethan mindlace fremen
Zopatista Community Liason

___
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] Big folders

2000-06-21 Thread ethan mindlace fremen

Jimmie Houchin wrote:
 My apologies if this covered somewhere.

no, but it is talked about:

http://www.zope.org/Wikis/zope-dev/ReallyBigFolders

~ethan

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




Re: [Zope] Multiple virtual hosts and domains

2000-06-21 Thread ethan mindlace fremen

Alex Gould wrote:
 
 Hugo Ramos wrote:
 
  After testing SiteAccess for about 100 times... i still can't get zope to
  serve multiple virtual hosts and domains...

[...]

 I just recently asked this question and got it to work.  This setup
 works if you have several subdomains 'sitea.domain.tld' and
 'siteb.domain.tld' etc.  It may have to be modified to work with other
 setups - don't ask me how!

but please do look at Evan's excellent documentation, where he does
cover several examples.

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

 -  create folders sitea, siteb, and so on in your root zodb directory
 -  put a siteroot in each folder, leaving all fields except name blank
 -  make a dtml method in the root directory called virtual_hosts or
 something, consisting of the following script:
 dtml-comment
 Get subdomain:
 /dtml-comment

[snip]

quick note: Access rules don't care if you leave out the dtml-comment
tags.

 This should work, but don't ask me how (credit goes to Ethan Mindlace
 Freeman, who gave me these instructions).  Good luck!

it's Fremen, as in spice, giant worms, arrakis ... :-)

~ethan

___
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 in the UK

2000-06-21 Thread peter be



Hello Britts!

I live and work in London as a webdeveloper, but I 
haven't had a chance to stuck me teeth to some Z work here yet.
Are there no Zope developers in the UK, and 
especially in London where I live?

Ifyou know about how ZopedUK (London) 
is on Zope, please let me know.

Best Regards, Peter



Re: [Zope] python product - newbie

2000-06-21 Thread Bak @ kedai

On Thu, 22 Jun 2000, Loren Stafford wrote:
 You don't show the __init__.py file so it's hard to be sure, but...
 
 

well, here's my __init__.py
--
 
__doc__ = """Boring initialization module.
My first product - Guest book
 
See README.txt for more details."""
 
# Version string. Usually updated automatically by CVS.
 
__version__ = '0.1' # Anything more and it'd be Interesting.
 
# Step #1: import your Python class so we can refer to it later
 
import GB
 
 
def initialize(context):
"""Initialize the Boring product.
registerClass() can accept a lot more arguments than we're providing
here, but that wouldn't be Boring."""
 
try:
"""Try to register the product."""
 
context.registerClass(
 
GB.GB,   # Which is the addable bit?
constructors = ( # The first of these is called
GB.manage_addGBForm, # when someone adds the product;
GB.manage_addGB),# the second is named here so we
 # can give people permission to
 # call it.
 
icon = 'item.gif'# This icon was provided by the
 # Zope 1 product-in-Python demo.
)
 
except:  
 
import sys, traceback, string
type, val, tb = sys.exc_info()
sys.stderr.write(string.join(traceback.format_exception(type, val, tb), ''))
del type, val, tb  
---

i registered GB, with forms and it's equivalent manage action.  that's ok.  but
to nest another class in GB, and to have the 'Add GBitem' show on the manage
interface, that, i can't do.
what should be added,  and where?

i looked at the old product API, but got more confused because i think Boring
is based on another way of making product.  is that so?

thabks

___
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] ZPatterns: Deleting objects from a Rack?

2000-06-21 Thread Jeff Hoffman

Ok, I have a stupid question.

I have succeeded in creating a ZClass (a subclass of DataSkin) and
instantiating a few instances in the defaultRack of my Specialist using
my Specialist's newItem() method. Rock.

However, search as I might, I cannot figure out how to delete an item
once it's been created. On gut instinct, I figured there would be a
deleteItem() to complement the newItem() method. No such luck.

What am I missing? Is there a management tab I'm not clicking on 
somewhere? A method I haven't found? A clue I don't have? :-)

Thanks,

--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] Newspaper site

2000-06-21 Thread Bak @ kedai

On Wed, 21 Jun 2000, Wesley Anderson wrote:
 Hi all,
 
 I'm just wondering if there are any newspaper/magazine sites out there that
 are using ZOPE for content management and subscriber management. I wouldn't
 think it would be suitable, but what do you think of using Squishdot for
 this purpose? Also, is there a list of "powered by" sites on zope.org?
 
 I'm doing a site that has both public and private content - hence the need
 for subscriber-based access.
 

http://www.emedia.com.my 
is a newspaper site that runs on ZClass.  nothing much, but works

-- 
--
http://www.kedai.com.my/kk
Am I Evil?


___
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] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread Ron Bickers

While I wasn't having the exact problem described below, this does appear to
have fixed the problem I was having with SQL Methods not being able to
access ZClass properties because of authentication problems.

My ZClass was working fine in 2.1.4/5/6, but not in 2.2beta1 because of
this.  Now it works fine in both.
___

Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian
 Lloyd
 Sent: Wednesday, June 21, 2000 11:26 AM
 To: '[EMAIL PROTECTED]'; Brian Lloyd; '[EMAIL PROTECTED]';
 '[EMAIL PROTECTED]'
 Subject: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...


 Hi all,

 Several folks have reported problems in beta 1 with SQLMethods
 having authentication problems when trying to call other SQL
 Methods. I'd like a few intrepid volunteers to try something
 for me to see if it fixes the problem. I'd like to make a 2.2
 beta 2 release tomorrow but I want to make sure this issue is
 resolved first.

 Make a backup of the file:

 lib/python/Shared/DC/ZRDB/DA.py

 in your current (beta 1) installation and replace it with the
 DA.py attached to this email, restart and let me know if the
 problem goes away.



___
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 test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread Brian Lloyd

Hi all,

Several folks have reported problems in beta 1 with SQLMethods 
having authentication problems when trying to call other SQL 
Methods. I'd like a few intrepid volunteers to try something 
for me to see if it fixes the problem. I'd like to make a 2.2 
beta 2 release tomorrow but I want to make sure this issue is 
resolved first.

Make a backup of the file:

lib/python/Shared/DC/ZRDB/DA.py

in your current (beta 1) installation and replace it with the 
DA.py attached to this email, restart and let me know if the 
problem goes away.

Thanks!

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 





 DA.py