[Zope] scope of dtml-let tag

2009-06-12 Thread indrajit926 indra
Hello All,

I faced a parsing error when I used dtml-if and dtml-let, like below

-some dtml code-
dtml-if CONDITION
 dtml-let some_function
dtml-else
  dtml-let other_function
/dtml-if
  -some code---
  
  /dtml-let

The above code gives parsing error about unexpected /dtml-if

It works fine when I give as below

dtml-if CONDITION
 dtml-let some_function
-some code---
  
  /dtml-let
dtml-else
  dtml-let other_function
-some code---
   
  /dtml-let
/dtml-if


Any help on about this behaviour of dtml-let.

Thanks in advance,
Indra.
___
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] scope of dtml-let tag

2009-06-12 Thread Andreas Jung
On 12.06.09 10:27, indrajit926 indra wrote:
 Hello All,

 I faced a parsing error when I used dtml-if and dtml-let, like below

 -some dtml code-
 dtml-if CONDITION
  dtml-let some_function
 dtml-else
   dtml-let other_function
 /dtml-if
   -some code---
   
   /dtml-let

 The above code gives parsing error about unexpected /dtml-if

 It works fine when I give as below

 dtml-if CONDITION
  dtml-let some_function
 -some code---
   
   /dtml-let
 dtml-else
   dtml-let other_function
 -some code---

   /dtml-let
 /dtml-if


 Any help on about this behaviour of dtml-let.

docs.zope.org - Zope Book

The behavior is correct and documented.

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
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 move acl_users from a Zope 2.7.8 server to Zope 2.10.7 ?

2009-06-12 Thread Chris Withers
Aleksey Tsalolikhin wrote:
 How do I migrate the users in acl_users from the Zope 2.7.8 server to
 the 2.10.7 one?
 Why don't you just copy the whole Data.fs and start it on the new server?
 
 Thanks, Chris.   Is it safe to copy Data.fs from Zope 2.7.8 to 2.10.7?

Yes, but since it'll be a *copy*, you can test whether anything gets 
trashed before you have to commit to it.

  The internal format of Data.fs has not changed?

Newer versions of ZODB have always read older Data.fs files.

 Or are you suggesting I try it and see if it works?

Yes, for your application, but I know it works for ZODB having taken 
storages, over time, from Zope 2.4 all the way through to 2.12 ;-)

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-dev] Zope Tests: 8 OK

2009-06-12 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu Jun 11 12:00:00 2009 UTC to Fri Jun 12 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jun 11 20:40:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011923.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jun 11 20:42:48 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011924.html

Subject: OK : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jun 11 20:44:49 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011925.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Jun 11 20:46:52 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011926.html

Subject: OK : Zope-trunk Python-2.6.1 : Linux
From: Zope Tests
Date: Thu Jun 11 20:48:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011927.html

Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jun 11 20:50:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011928.html

Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Jun 11 20:52:56 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011929.html

Subject: OK : Zope-trunk-alltests Python-2.6.1 : Linux
From: Zope Tests
Date: Thu Jun 11 20:54:57 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011930.html

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


Re: [Zope-dev] HA storage for zope

2009-06-12 Thread Chris Withers
Jim Fulton wrote:
 Note that ZRS has been used for years in large-scale critical
 environments.
 
 Also note that ZRS 2, which we've been using in production for more
 than 2 years doesn't use spread and is much easier to configure and
 more flexible than earlier versions.
 
 See http://www.zope.com/products/zope_replication_services.html for  
 more information.

It's a shame that the 2 or 3 times I've tried to organise purchase of 
ZRS for customers, the Zope Corp sales process hasn't succeeded in 
delivering anything :-(

(I'm not 100% on the details, but it may just have been that the prices 
were extortionate...)

Chris

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


Re: [Zope-dev] Zope sprinting at EP

2009-06-12 Thread Adam GROSZER
Hello Christian,

I can't make it.

A question would be, whether the current state of the ZTK trunk is on
the list?
As I see it the trunk is VERY unstable.

A big problem that I see is that bugfixing and refactoring happens in
a random order. Usually I can't have just the bugfixes without the
refactoring stuff. And the refactoring stuff gets the snowball
(avalanche) rolling.

Thursday, June 11, 2009, 8:51:43 AM, you wrote:

CT Hi there,

CT I see we have a grok sprint working towards grok 1.0 at the EP.

CT I'd like to spend my sprinting time on ZTK issues which currently
CT include:

CT - Organisational stuff (Bug tracking, things listed in steering group
CT topic list)
CT - Further improvements to package dependencies

CT If anybody wants to join me, I've added the sprint to the EP wiki:
CT http://wiki.europython.eu/Sprints

CT Christian



-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
There is only misfortune in not being loved; there is misery in not loving. 
- Albert Camus 

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


Re: [Zope-dev] HA storage for zope

2009-06-12 Thread Shane Hathaway
Chris Withers wrote:
 It's a shame that the 2 or 3 times I've tried to organise purchase of 
 ZRS for customers, the Zope Corp sales process hasn't succeeded in 
 delivering anything :-(
 
 (I'm not 100% on the details, but it may just have been that the prices 
 were extortionate...)

I disagree.  The kind of fault tolerance ZRS provides is hard to achieve 
without a lot of either time or money.  I suspect ZRS is less expensive 
than a new replicated Oracle setup, or paying a developer to invent 
something new.

(I only recommend Oracle + RelStorage to people who have already 
invested deeply in Oracle.)

Shane

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


[Zope-PAS] Basic auth/challenge problem

2009-06-12 Thread Ian McCracken
Recently upgraded from PAS 1.4 to 1.5.3 (and Zope 2.8.8 to 2.11.2).  
I'm having a new problem with basic auth; namely, that basic auth  
information is ignored when using wget. Browsers work fine, ZMI asks  
for basic auth creds. wget (and lynx, for that matter) doesn't.

For example, I'm doing:

wget --user myuser --password mypassword http://localhost:8080/path/to/thing

I threw a breakpoint in ZPublisher/HTTPRequest.py:275 to see what auth  
information was in the request environment; there is none. I also  
tried wget http://user:p...@localhost:8080/, just for kicks, but of  
course the same problem.

A key datapoint: it works when I pass the --no-auth-challenge option  
to wget.

For all intents and purposes, this is a vanilla install of PAS and  
Zope. The plugins that are active appear identical to a Zope 2.8.8/PAS  
1.4 instance that /does/ work. Any ideas?

--Ian
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


Re: [Zope-PAS] Basic auth/challenge problem

2009-06-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 12, 2009, at 07:40 , Ian McCracken wrote:

 Recently upgraded from PAS 1.4 to 1.5.3 (and Zope 2.8.8 to 2.11.2).
 I'm having a new problem with basic auth; namely, that basic auth
 information is ignored when using wget. Browsers work fine, ZMI asks
 for basic auth creds. wget (and lynx, for that matter) doesn't.

I don't know what kinds of plugins you're using, but this works  
perfectly fine for me on Zope 2.11.3 with PAS 1.6.1 when I instantiate  
the most basic set of plugins possible and activate them. This set of  
plugins include a Basic Auth Helper, a ZODB User Manager, and a ZODB  
Role Manager.

jens



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

iEYEARECAAYFAkoyTYkACgkQRAx5nvEhZLIWQQCghpUpsCt2uXgBXWLAz1MerPlr
IJ0AoJZbw4qvi6ZiRqGyuYeew3Mu+S4L
=NOk8
-END PGP SIGNATURE-
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas