Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Lennart Regebro

Does this have anything with the sudden onsplurt of spam via Zope mailing lists?
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


[ZWeb] zope.org dns

2006-10-13 Thread Chris Withers

Hi All,

Summary of current status on DNS...

I've just updated the zonedit contact details to point to:
http://groups.google.com/group/zopeorg-dns

This is a private, members only group and I've invited all relevant 
people to the group. If I've left anyone out, please let me know. If 
you've got an invite, please join up ;-)


I'm tempted to email this zoneedit username and password to the google 
group so that it's not locked away in several people's mail accounts. 
How do people feel about this?


Am I right in assuming that:

- zope.org whois records are now correct and, nameserver wise, point to:

  Name Server:NS1.ZONEEDIT.COM
  Name Server:NS7.ZONEEDIT.COM

  I'll note that I currently see the old list, but I'm assuming this is
  a propogation issue and I just need to wait?

- zonedit is going to be our only DNS host and all its records are
  currently correct, we're just waiting for them to propogate?

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope.org dns

2006-10-13 Thread Christian Theune
Hi,

Chris Withers wrote:
 Hi All,
 
 Summary of current status on DNS...
 
 I've just updated the zonedit contact details to point to:
 http://groups.google.com/group/zopeorg-dns
 
 This is a private, members only group and I've invited all relevant
 people to the group. If I've left anyone out, please let me know. If
 you've got an invite, please join up ;-)
 
 I'm tempted to email this zoneedit username and password to the google
 group so that it's not locked away in several people's mail accounts.
 How do people feel about this?
 
 Am I right in assuming that:
 
 - zope.org whois records are now correct and, nameserver wise, point to:
 
   Name Server:NS1.ZONEEDIT.COM
   Name Server:NS7.ZONEEDIT.COM
 
   I'll note that I currently see the old list, but I'm assuming this is
   a propogation issue and I just need to wait?

For me, this morning DNS seems to be back to normal, the changes
appeared in my machines and are effective.

Thanks for getting back to normal to everyone who helped.

Christian

-- 
gocept gmbh  co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development




signature.asc
Description: OpenPGP digital signature
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Chris Withers

yep :-)

Chris

Lennart Regebro wrote:
Does this have anything with the sudden onsplurt of spam via Zope 
mailing lists?

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web



--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Chris Withers

Lennart Regebro wrote:

On 10/13/06, Chris Withers [EMAIL PROTECTED] wrote:

yep :-)


Extra annoyiong since I have been trying to unsubscribe from the
zope-list for a week. And failing. I don't have time to read that list
just now...


procmail's great, works for me on michael milne ;-)

(and I believe several others have used the same trick on me in the 
past... *wry grinz*)


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


[ZWeb] statistical nonsense

2006-10-13 Thread Justizin

Lennart Regebro said:

 Say that a server fails one day per month in average (which is way
more than we really will have). One backup server located on anotehr
continent then means that we will statistically have DNS outage only
one day in 900. Thats one day every three years. Two backups located
on different continents will give us a failure rate of one day per
27000 days. That's one day every seventy-fifth year.

WHAT!?!?

The internet hasn't even been around for seventy five years, and sites
are down all the time.

shut

the

fuck

up.

I hope you all curl up and die.  I'm going to use TurboGears, since
apparently noone in the Zope community will fucking talk to me
anymore.

You are the most childish fucks I have ever worked with.  Way to show
a guy thanks.
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] statistical nonsense

2006-10-13 Thread Chris Withers

Justizin wrote:

I hope you all curl up and die.  I'm going to use TurboGears, since
apparently noone in the Zope community will fucking talk to me
anymore.


I'm sure you will be sorely missed ;-)

Seriously, you seemed like a well meaning, fairly clued up, if slightly 
arrogant guy when you offered to help, but these tirades of abuse are 
making you look like a clown - and I should know; Google can testify to 
several of my own clownish tirades...


Justin, good luck with TurboGears, I hope none too many of your 
customers stumble across your postings here...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] statistical nonsense

2006-10-13 Thread Justizin

On 10/13/06, Chris Withers [EMAIL PROTECTED] wrote:

Justizin wrote:
 I hope you all curl up and die.  I'm going to use TurboGears, since
 apparently noone in the Zope community will fucking talk to me
 anymore.

I'm sure you will be sorely missed ;-)

Seriously, you seemed like a well meaning, fairly clued up, if slightly
arrogant guy when you offered to help, but these tirades of abuse are
making you look like a clown - and I should know; Google can testify to
several of my own clownish tirades...


I am the one being abused here.  I offered over 20 hours of my time as
a volunteer and in exchange my name has been drug through the mud.

FUCK YOU.

Arrogant?  It's easy to call anyone arrogant who says:

 Please, trust me, I know what I'm talking about, we should be
careful to avoid a problem.

The fact is that you guys are continually accusing me of making a
mistake that was not really part of the problem.  You want a
post-mortem?  here it is:

 http://justizin.blogspot.com/2006/10/zopeorg-dns-post-mortem.html


Justin, good luck with TurboGears, I hope none too many of your
customers stumble across your postings here...


My customers work with me because of my track record.  They seek my
sort of help.

Heck, at my age, I could just go join a fucking band instead of
spending most of my time volunteering to work with open-source
software on behalf of non-profit foundations.

I'll probably show this discussion to some of my customers when they
ask me to rush on something.  I am not afraid to be myself.

Whatever, dude.  This is the most disgusting display I've ever seen to
someone who has volunteered to help with something complex.

You can all rot in hell and die.  I hope my customers will see that,
while I went out of my way to help a community which we depend on, I
did not hang onto this responsibility so tightly that I will let their
projects fall on the floor.

In fact, I will talk to the Association for Computing Machinery IS
team about this entire incident as an example of a community who needs
our resources, but will never accept them.

--
Justizin, Independent Interactivity Architect
ACM SIGGRAPH SysMgr, Reporter
http://www.siggraph.org/
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope.org dns

2006-10-13 Thread Jim Fulton

Christian Theune wrote:
...

Thanks for getting back to normal to everyone who helped.


+sys.maxint

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] statistical nonsense

2006-10-13 Thread Chris Withers

Justizin wrote:

Heck, at my age, I could just go join a fucking band instead of
spending most of my time volunteering to work with open-source
software on behalf of non-profit foundations.


http://www.bash.org/?14207

;-)

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Oct 2006, at 03:06, Lennart Regebro wrote:

Does this have anything with the sudden onsplurt of spam via Zope  
mailing lists?


No. Unless Apache sends mail nowadays...

The Mailman thing was an *unrelated* problem.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFL4pVRAx5nvEhZLIRAsX8AJsEw+JBrfc70KSgiqNd696yPmk5cQCaA+sp
d9ytVIkvgcPTMREzQEkTWdw=
=g+ec
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread David Lawson

On Oct 13, 2006, at 8:45 AM, Jens Vagelpohl wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Oct 2006, at 03:06, Lennart Regebro wrote:

Does this have anything with the sudden onsplurt of spam via Zope  
mailing lists?


No. Unless Apache sends mail nowadays...

The Mailman thing was an *unrelated* problem.


Actually, it was sort of tangentially related.  Mailman's delivery  
got wedged because I changed its permissions, in the process of  
setting Andrew up, in a way I thought would be non-problematic and  
which turned out not to be, in the process of un-wedging its  
legitimate mail delivery, a bunch of spam was sent out as well.  That  
was my mistake and it shouldn't happen again.


--Dave
Systems Administrator
Zope Corp.
540-361-1722
[EMAIL PROTECTED]



___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope.org dns

2006-10-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Am I right in assuming that:

- zope.org whois records are now correct and, nameserver wise,  
point to:


  Name Server:NS1.ZONEEDIT.COM
  Name Server:NS7.ZONEEDIT.COM

  I'll note that I currently see the old list, but I'm assuming  
this is

  a propogation issue and I just need to wait?


Go to http://www.networksolutions.com/whois/index.jsp to find out.  
The changes Rob said he made yesterday are not showing yet. I don't  
know how long it takes for that kind of change to go through. Once  
those changes are visible only ns1/ns7.zoneedit.com will show.



- zonedit is going to be our only DNS host and all its records are
  currently correct, we're just waiting for them to propogate?


We're mainly waiting for the registrar changes to go through because  
3 out of 5 DNS servers that are part of the old records either send  
out incorrect data (ns.qutang.net) or they don't know records like  
foundation.zope.org (ns2.zope.com, ns3.zope.com, ns.qutang.net).


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFL45oRAx5nvEhZLIRArxQAKCJQbyyTPilVpaTD/eWzAgL7N7PBwCfU6Bn
jc7fByvPyqEHxPamaUL9Ayw=
=QEdw
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


[ZWeb] Please stop the statistical nonsense and it was fun :) threads.

2006-10-13 Thread Jim Fulton

These threads have gone far enough.  Let's stop.

I've banned Justizin from this list for his totally inappropriate
language.

We've had enough fun.  Let's get on with making positive progress.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Andrew Sawyers
Not exactly.  An Apache directive fubar doesn't cause spam making it through
mailman.

Andrew


On 10/13/06 4:15 AM, Chris Withers [EMAIL PROTECTED] wrote:

 yep :-)
 
 Chris
 
 Lennart Regebro wrote:
 Does this have anything with the sudden onsplurt of spam via Zope
 mailing lists?
 ___
 Zope-web maillist  -  Zope-web@zope.org
 http://mail.zope.org/mailman/listinfo/zope-web
 


___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope.org dns

2006-10-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Oct 2006, at 09:25, David Lawson wrote:
Speaking of this, since only the ZoneEdit servers are going to be  
listed as authoritative for this zone, once the changes propagate,  
shall we just shut down serving DNS for zope.org from the zope.com  
DNS servers?  Or would you prefer that we remain as a slave and we  
just work out the NOTIFY nonsense later?


Apparently zoneedit does not do NOTIFY - IMHO a huge drawback that  
necessitates scripting or manual pulling of data.


Once the WHOIS record changes have propagated the zope.com servers  
can basically go away, but please leave them on until then. Actually,  
if you have a second, could you add a record for foundation.zope.org  
(63.240.213.174) or pull down the current data from zoneedit and feed  
it into ns2/ns3.zope.com?


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFL5ZtRAx5nvEhZLIRAl9TAJ4sfTO0YguPiyxd2zATnsctBN70bACfWM5K
MOik7kyyE6j22jryh6q8JwU=
=e9Lj
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Oct 2006, at 08:34, Andrew Sawyers wrote:

Not exactly.  An Apache directive fubar doesn't cause spam making  
it through

mailman.


Dave already said the way he unwedged Mailman may have something to  
do with the spam, let's drop it, it all works now.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFL5cBRAx5nvEhZLIRAj6BAKCsuUKGJGlm2u7Mjk9PH5AKOq1i4ACeIbhW
kd2fC9W470Zzp0ZYwyhy2D0=
=Vfkf
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Foundation Site

2006-10-13 Thread Tarek Ziadé
Andrew Sawyers wrote:
 See:  foundation.zope.org

 This is using Darryl's magic.  It was painful to get such a beast of RH 9
 working (with 2 arms tied behind my back) but we did it.  Thanks Darryl and
 David from ZC.

 I will need to speak with someone about getting the necessary pieces from
 Darryl's end into svn so we can have the whole ball of wax in svn.


 Andrew Sawyers

   
cool :)
Until someone answers Baiju about a place to report issues,

I'd like to give a feedback about the menu

from this page:

http://foundation.zope.org/members/

looking at the menu, I think that it will be more readable if we change
all labels
from members  submenu

Zope Foundation Strategic Developer Members - Strategic Developer Members
Zope Foundation Associate Members - Associate Members
etc..

We all know it's the members list for ZF so we can cut the ZF header I
think.
to get a lighter, more readable menu, with one line entries

Tarek




 ___
 Zope-web maillist  -  Zope-web@zope.org
 http://mail.zope.org/mailman/listinfo/zope-web
   

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope.org dns

2006-10-13 Thread Chris Withers

Jim Fulton wrote:

Chris Withers wrote:
...
I'm tempted to email this zoneedit username and password to the google 
group so that it's not locked away in several people's mail accounts. 
How do people feel about this?


It makes me feel uncomfortable. :)


No worries, that's fine, I think enough people have the zoneedit details 
to be safe.


If you'd like them too, just lemme know and I'll forward 'em on...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] re: it was fun :)

2006-10-13 Thread Jim Fulton


Please stop this thread.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Foundation Site

2006-10-13 Thread Simon Michael

Hurrah! Great work all.

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Zone Edit nameserver Offerings FYI

2006-10-13 Thread Christian Theune
So what's the price tag on the deal?

Andrew Sawyers wrote:
 Zone Edit offers DNS services on different continents for a small fee.  We
 can easily support our requirements with little effort from these folks:
 
 ZoneEdit's basic service offers a pair of DNS servers with 24x7 monitoring
 and recovery on each server. Each server is located on a distinct and
 separately maintained network with a 99.9% uptime.
 
 With DNS, if any one server goes down, the other servers are used.
 Therefore, each nameserver you add to your domain greatly reduces the odds
 of an outage.
 
 For your most important domains, we highly reccomend using 3 or 4 DNS
 servers. We have never had a 3 server outage. We offer a 100% uptime
 guarantee for domains with four ZoneEdit nameservers.
 
 If you are already a ZoneEdit customer, you can log in, click on your most
 important domain, click Advanced, click Nameservers, and click Purchase
 an Extra Backup Nameserver. You can then choose the country and location of
 the new nameserver.
 
 If you are not using ZoneEdit's DNS, you can sign up to use our secondary
 DNS service. Our servers will be automatically synchronized with your
 primary servers, and are added to your domain as DNS backups.
 
 We offer up to 8 managed DNS networks in the US, Canada, Europe, and
 Australia. For your most important domains, use ZoneEdit's backup DNS.

-- 
gocept gmbh  co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development




signature.asc
Description: OpenPGP digital signature
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Zone Edit nameserver Offerings FYI

2006-10-13 Thread Andrew Sawyers
$10.95 a year, for ea. additional one you want

Andrew


On 10/13/06 12:09 PM, Christian Theune [EMAIL PROTECTED] wrote:

 So what's the price tag on the deal?
 
 Andrew Sawyers wrote:
 Zone Edit offers DNS services on different continents for a small fee.  We
 can easily support our requirements with little effort from these folks:
 
 ZoneEdit's basic service offers a pair of DNS servers with 24x7 monitoring
 and recovery on each server. Each server is located on a distinct and
 separately maintained network with a 99.9% uptime.
 
 With DNS, if any one server goes down, the other servers are used.
 Therefore, each nameserver you add to your domain greatly reduces the odds
 of an outage.
 
 For your most important domains, we highly reccomend using 3 or 4 DNS
 servers. We have never had a 3 server outage. We offer a 100% uptime
 guarantee for domains with four ZoneEdit nameservers.
 
 If you are already a ZoneEdit customer, you can log in, click on your most
 important domain, click Advanced, click Nameservers, and click Purchase
 an Extra Backup Nameserver. You can then choose the country and location of
 the new nameserver.
 
 If you are not using ZoneEdit's DNS, you can sign up to use our secondary
 DNS service. Our servers will be automatically synchronized with your
 primary servers, and are added to your domain as DNS backups.
 
 We offer up to 8 managed DNS networks in the US, Canada, Europe, and
 Australia. For your most important domains, use ZoneEdit's backup DNS.


___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Foundation Site

2006-10-13 Thread Carlos de la Guardia
Hi,great work!One correction, though. The membership agreement PDF states the associate member fee is $295, while http://foundation.zope.org/members/associate_members.html
 says the fee is only $95.Carlos de la GuardiaOn 10/12/06, Andrew Sawyers [EMAIL PROTECTED] wrote:
See:foundation.zope.orgThis is using Darryl's magic.It was painful to get such a beast of RH 9
working (with 2 arms tied behind my back) but we did it.Thanks Darryl andDavid from ZC.I will need to speak with someone about getting the necessary pieces fromDarryl's end into svn so we can have the whole ball of wax in svn.
Andrew Sawyers___Zope-web maillist-Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Foundation Site

2006-10-13 Thread Andreas Jung




--On 13. Oktober 2006 13:10:28 -0500 Carlos de la Guardia 
[EMAIL PROTECTED] wrote:



Hi,

great work!

One correction, though. The membership agreement PDF states the associate
member fee is $295, while
http://foundation.zope.org/members/associate_members.html says the fee is
only $95.



http://foundation.zope.org/members/committer_members.html

The latest Docutils fixes strike back :-)

-aj

pgp4VhW568dpI.pgp
Description: PGP signature
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-13 Thread Pletli Antal
Thank you Dieter,

I see, but i dont't know why the session is empty. When the session will
be deleted it is not contains the previously set variables (keys) by the
user. Only the request object contains the authenticated user name, the
container.session or item parameter contents the id, token values
but the  content keys is [].

-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 12, 2006 8:54 PM
To: Pletli Antal
Cc: zope@zope.org
Subject: RE: [Zope] How can I store session data to db on login/logoff
events ?

Pletli Antal wrote at 2006-10-12 08:50 +0200:
But i have a problem with this:
 
When I ran the test python script (see below) in Zope or I called the 
url directly from the browser , I got an error:

Error Type: KeyError
Error Value: 'SESSION'

The session object is passed as a parameter to the script when session
created and script when session deleted scripts.



--
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Sending XML straight down to a zope

2006-10-13 Thread Chris Withers

Jonathan wrote:



As an alternative strategy, how about:

i) set up a url just for this problem user
ii) us apache rewrite to redirect to a non-zope cgi script
iii) use the cgi script to 'fix' the xml
iv) do a redirect with the fixed xml to a 'zope' url


Being all Nu Skool about this, I wonder if there's a wsgi thingy that 
could help here?


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] PUT_Factory equivalent for MKCOL?

2006-10-13 Thread Chris Withers

Hi All,

Is there an equivalent to the PUT_Factory for MKCOL?

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Sending XML straight down to a zope

2006-10-13 Thread Paul Winkler
On Thu, Oct 12, 2006 at 09:16:30PM +0200, Dieter Maurer wrote:
 Chris Withers wrote at 2006-10-12 08:35 +0100:
 Peter Bengtsson wrote:
  xml_content = open('validxmlfile.xml').read()
  http = httplib.HTTP(localhost, 8080)
  http.putrequest(POST, /uploadExpenseXML)
 
 That's not really a valid transaction...
 
 Why not?
 
 
 The real problem is that Zope wrongfully assumes that each
 POST with content type text/xml is an XML-RPC request.
 
 That's wrong at least since XML is more widely used on the browser
 side (e.g. XForms).

XML-RPC is not very helpful here.  As usual, its extreme simplicity is
both a blessing and a curse.
The specification, http://www.xmlrpc.com/spec , specifies POST with
content-type of text/xml, and that's all; so you really can't
distinguish XML-RPC from any other xml POST just from the header.

I suppose the publisher could cheat a bit and look in the body for the
required methodCall element.  If missing, it can't be XML-RPC.

It would be more reliable if some configuration was required to specify
when XMLRPC is expected, and when not. But that would break Zope's
longstanding promise that XMLRPC is supported for free, always,
automatically.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-13 Thread Dario Lopez-Kästen
michael nt milne said the following on 10/12/2006 01:33 PM:
 No I get your point. I just feel that anti-windows feeling has to be
 flagged up. If not it gets endemnic and hopefully occasional pointers
 will feed in organically. Ultimately in OSS though people will do what
 they want and that is also part of the value. Finally I don't think I am
 'whining' on this.
 

there is no anti-windows feeling, even if some people make snug remarks
about windows. There is a lack of windows-savvy developers that have
time and resources to maintain the windows builds.

However, that is a totally different issue, and your attitude does not
help.

So, if there are some souls here on this list that are less than
pleasant at times (yeah, you know who you are :-), then by all means
show some class and do not try to behave like them.

so, to repeat: there is no anti-windows conspiracy, just an unfortunate
lack of windows-savvy developers (I'll have to add that can afford the
ms development tools ;-).

my 2 eurocents.

Cheers,
/dario
-- 
-- ---
Dario Lopez-Kästen, IT Systems  Services Chalmers University of Tech.
Lyrics applied to programming  application design:
emancipate yourself from mental slavery - redemption song, b. marley

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


[Zope] how to set higher security for zope ftp

2006-10-13 Thread Allen Huang
how to set higher security for zope ftp?   I want people to upload but can't download, delete, replace any of the existing file.. how do I do that on zope ftp? 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: zope fork in external method

2006-10-13 Thread Jonathan
Pls keep your posts on the list  - so that others can help and so that 
others can search for problems/solutions!


- Original Message - 
From: Daniel Lopez [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Sent: Friday, October 13, 2006 12:13 PM
Subject: zope fork in external method




Jonathan-

I'm emailing you because I saw your post a few months back at:

http://mail.zope.org/pipermail/zope/2006-May/166574.html

I've been doing my best to find answers on existing posts, but to no 
avail.  Perhaps you can send further pointers?


On my system, a user can hit a page that initiates a long database query. 
If the user hits the stop button and tries to refresh, it messes things up 
(by interrupting the code upon return of the query), so I came up with a 
solution that almost works:


I put all the code into an external method, which forks.  The parent 
returns a redirect to a waiting throbber page that uses Ajax to poll 
whether the query is done.  The child then goes on to do the hard work.


This is working as desired, with a single exception: zombie child 
processes.  Where can I learn more about forking processes in zope 
external methods?  I've read about the double-fork method, but that hasn't 
resolved the problem...


A few ideas for reaping dead child processes:

1) implement a SIGCHLD handler

2) when a spawned child process is finished its 'zope processing' have it 
write its process id to a file (be careful when accessing files, you will 
need locking to eliminate problems that may be caused by zope's multiple 
threads) and then have a clean up routine which kills all of the processes 
listed in the file (this could be an independant clean-up routine which 
wakes up on a regular basis, or it could be built into the 'spawning' 
process which does the clean up before it spawns a child).


3) as the last thing it does, have the child process issue a kill -9 system 
command to kill its own process (I haven't tried this myself, but it may 
work and it would be simple to implement)


Good luck!

Jonathan


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to set higher security for zope ftp

2006-10-13 Thread Andreas Jung



--On 13. Oktober 2006 07:41:34 -0700 Allen Huang [EMAIL PROTECTED] wrote:


how to set higher security for zope ftp?
  I want people to upload but can't download, delete, replace any of the
existing file.. how do I do that on zope ftp?



You might play around with the permissions for the corresponding folders.
Basically I would try to revoke the permission to delete content.

-aj

pgplBiCERDbOM.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-13 Thread Dieter Maurer
Pletli Antal wrote at 2006-10-13 08:36 +0200:
I see, but i dont't know why the session is empty. When the session will
be deleted it is not contains the previously set variables (keys) by the
user. Only the request object contains the authenticated user name, the
container.session or item parameter contents the id, token values
but the  content keys is [].

That is strange.

As you can see Products.Transience.TransientObjectContainer._do_finalize_work
the session is not cleared before the notifyDel.

The real content might be in item._container which you can
access with the TransientObjects mapping API (keys, values, items, ...)



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] PUT_Factory equivalent for MKCOL?

2006-10-13 Thread Dieter Maurer
Chris Withers wrote at 2006-10-13 12:00 +0100:
Is there an equivalent to the PUT_Factory for MKCOL?

Yes, as you can see in webdav.NullResource.MKCOL:

# Add hook for webdav/FTP MKCOL (Collector #2254) (needed for CMF)
#   parent.manage_addFolder(name)
mkcol_handler = getattr(parent,'MKCOL_handler' ,parent.manage_addFolder)
mkcol_handler(name)



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how to set higher security for zope ftp

2006-10-13 Thread Dieter Maurer
Allen Huang wrote at 2006-10-13 07:41 -0700:
how to set higher security for zope ftp? 
  I want people to upload but can't download, delete, replace any of the 
 existing file.. how do I do that on zope ftp?

The destructive FTP commands map to standard Zope methods:
delete is mapped for example to manage_deleteObject.

Do not give your Zope users the right to perform modifying operations
and they will not be able to do it via FTP...



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-13 Thread M.-A. Lemburg
Paul Winkler wrote:
 If you have mxODBCZopeDA and are using it with zope 2.9 or higher,
 a word of warning:  
 
  You *must* use the -k option to the test runner when running
  tests in your INSTANCE_HOME.
  Example:
 
   ./bin/zopectl test -k
 
 If you fail to use -k, the zope test runner will delete bytecode for all
 your products - including mxODBCZopeDA, which has no .py files to fall
 back on.  Ouch. I'll investigate further - there might be a bug to file
 against zope.testing.

Why does the test runner delete .pyc files in directories it
doesn't own ?

.pyc files only change if you upgrade to a new Python version,
so there doesn't seem to be a need for removing them in the first
place. Python is also smart enough to detect updated .py files
and regenerate .pyc files from them automatically (.pyc files have
a timestamp builtin).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 13 2006)
 Python/Zope Consulting and Support ...http://www.egenix.com/
 mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
 mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/


::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! 
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-13 Thread Chris Withers

M.-A. Lemburg wrote:

If you fail to use -k, the zope test runner will delete bytecode for all
your products - including mxODBCZopeDA, which has no .py files to fall
back on.  Ouch. I'll investigate further - there might be a bug to file
against zope.testing.


Why does the test runner delete .pyc files in directories it
doesn't own ?


The common case used to be:

1. run tests in a checkout (generates .pyc's for each .py file imported)

2. svn up, which deletes a load of .py files

3. re-run tests, curse and swear that there are still .pyc files lying
   around that got imported, and you only noticed when your production
   environment broke, because you rebuild that out from scratch on
   upgrade

...so the autho-pyc-destructor was built ;-)

I have to echo Jens' sentiments though: why not just ship .py files and 
be done with it?


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-13 Thread Matthew T. Kromer


On Oct 13, 2006, at 5:14 AM, Chris Withers wrote:




I have to echo Jens' sentiments though: why not just ship .py files  
and be done with it?





If I had to make a wild-ass guess, its because there's an indication  
that the mxodbc code would be misappropriated and proliferated  
outside of the control of the authors, a circumstance which they  
desire to avoid.


The alternative of shipping .pyc files (and still not letting source  
out the door) is to spend lots of time coming up with ways to pack  
source into .pyd files, which would be very clumsy.  None of it  
actually prevents someone who knows the python internals from yanking  
source (or reconstructed source) back out, but it goes a long way to  
prevent those folks from saying oh, well, all software *should* be  
free -- so I'll just delete this little licensing routine right  
here *snip* ta-da, I'm pleased to announce free-mxodbc to the world


Actually I don't think anyone would be dumb enough to redistribute  
misappropriated code, but there ARE a lot of individuals out there  
whose sense of entitlement exceeds their common sense.  I'm sure e- 
genix would be happy to release the source for a big enough lump sum  
to pay off their expected future licensing revenue, but in the  
interim their business model requires people to pay as they go.  And  
since their charges are about the equivalent of a nice night out at  
an upscale restaurant (or a few passes through McDonalds with a  
minivan full of kids) I can't see anyone investing the time to write  
a replacement.


___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-13 Thread M.-A. Lemburg
Chris Withers wrote:
 M.-A. Lemburg wrote:
 If you fail to use -k, the zope test runner will delete bytecode for all
 your products - including mxODBCZopeDA, which has no .py files to fall
 back on.  Ouch. I'll investigate further - there might be a bug to file
 against zope.testing.

 Why does the test runner delete .pyc files in directories it
 doesn't own ?
 
 The common case used to be:
 
 1. run tests in a checkout (generates .pyc's for each .py file imported)
 
 2. svn up, which deletes a load of .py files

 3. re-run tests, curse and swear that there are still .pyc files lying
around that got imported, and you only noticed when your production
environment broke, because you rebuild that out from scratch on
upgrade
 
 ...so the autho-pyc-destructor was built ;-)

Sounds like a developer setup :-)

For those I do have a solution:

chown root.zope .../Products/mxODBCZopeDA
chmod 750 .../Products/mxODBCZopeDA

(provided zope is the group of the Zope daemon)

That way you prevent deletions in the product directory
by any user other than root.

 I have to echo Jens' sentiments though: why not just ship .py files and
 be done with it?

See my reply to Jens.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 13 2006)
 Python/Zope Consulting and Support ...http://www.egenix.com/
 mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
 mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/


::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! 
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db