[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