[Zope-dev] Zope 2.7 beta 3

2003-11-10 Thread robert
Hi there,
there was talk about a 2.7 b3.
I would like to test it out.
We are going do deploy a new server by end of this month and I would like to 
have it running 2.7 (reckless I know, but that is how I am)

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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-dev] Zope 2.7beta1

2003-11-10 Thread Myroslav Opyr
Hi,

We've encountered micellaneous problems running Zope 2.7.0beta1 with 
Plone 1.0.5. It was "Missing docstring" error somewhere in CMFForum and 
"security assertions" when accessing MemberData.getProperty. Dunno if 
the issue is known but I was intending to get it out before bets3 is 
considered. Sorrry if it was fixed in beta2, sorry for not cunsulting 
collector and not making use of it. It is just quicknote of problems 
with 2.7

Regards,

m.
--
Myroslav Opyr
zope.net.ua  ° Ukrainian Zope Hosting
e-mail: [EMAIL PROTECTED] 


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread Casey Duncan
On Mon, 10 Nov 2003 10:27:10 +0100
robert <[EMAIL PROTECTED]> wrote:

> Hi there,
> there was talk about a 2.7 b3.
> I would like to test it out.
> We are going do deploy a new server by end of this month and I would like to 
> have it running 2.7 (reckless I know, but that is how I am)

Obi-wan would say, "So was I, if you remember." I personally prefer the term "leading 
edge" over "reckless" ;^).

As for beta 3, Brian Lloyd, our fearless release meister became the father of a new 
child over the weekend. He had originally promised to do the beta 3 release this week, 
but I'm not sure whether that will go forward or not at this point.  I'm sure he will 
respond in email when he becomes "available" (sometime in 2008 ;^).

-Casey

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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-dev] RESPONSE eaten while rendering a ZPT/maybe Python 2.3 issue

2003-11-10 Thread Andreas Jung
Hi,

while working with a Plone 2.0b3 site under Zope 2.7/Python 2.3.2 I 
encountered the
following error when I am trying to render a ZPT:

Error on the console:

Traceback (most recent call last):
 File 
"/develop/sandboxes/tracker/Zope/lib/python/zExceptions/ExceptionFormatter.
py", line 157, in formatLine
   result.extend(self.formatSupplement(supp, tb))
 File 
"/develop/sandboxes/tracker/Zope/lib/python/zExceptions/ExceptionFormatter.
py", line 105, in formatSupplement
   extra = self.formatExtraInfo(supplement)
 File 
"/develop/sandboxes/tracker/Zope/lib/python/zExceptions/ExceptionFormatter.
py", line 231, in formatExtraInfo
   extra = getInfo(1)
 File 
"/develop/sandboxes/tracker/Zope/lib/python/Products/PageTemplates/TALES.py
", line 274, in getInfo
   s = pprint.pformat(data)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 58, in pformat
   return PrettyPrinter().pformat(object)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 109, in pformat
   self._format(object, sio, 0, 0, {}, 0)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 127, in _format
   rep = self._repr(object, context, level - 1)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 191, in _repr
   self._depth, level)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 203, in format
   return _safe_repr(object, context, maxlevels, level)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 246, in _safe_repr
   vrepr, vreadable, vrecur = saferepr(v, context, maxlevels, level)
 File "/opt/python-2.3.2/lib/python2.3/pprint.py", line 286, in _safe_repr
   rep = `object`
 File 
"/develop/sandboxes/tracker/Zope/lib/python/ZPublisher/HTTPRequest.py", 
line 1291, in __repr__
   return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
 File 
"/develop/sandboxes/tracker/Zope/lib/python/ZPublisher/HTTPRequest.py", 
line 1210, in __getitem__
   raise KeyError, key
KeyError: 'URL'

Message in the error_log/browser

Traceback (innermost last):

   * Module ZPublisher.Publish, line 161, in publish_module_standard
   * Module ZPublisher.Publish, line 125, in publish
   * Module Zope.App.startup, line 205, in zpublisher_exception_hook
   * Module ZPublisher.Publish, line 98, in publish
   * Module ZPublisher.mapply, line 88, in mapply
   * Module ZPublisher.Publish, line 39, in call_object
   * Module Shared.DC.Scripts.Bindings, line 252, in __call__
   * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
   * Module Products.CMFCore.FSPageTemplate, line 189, in _exec
   * Module Products.CMFCore.FSPageTemplate, line 122, in pt_render
   * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
 
   * Module TAL.TALInterpreter, line 189, in __call__
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 663, in do_useMacro
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 408, in do_optTag_tal
   * Module TAL.TALInterpreter, line 393, in do_optTag
   * Module TAL.TALInterpreter, line 388, in no_tag
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 663, in do_useMacro
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 686, in do_defineSlot
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 408, in do_optTag_tal
   * Module TAL.TALInterpreter, line 393, in do_optTag
   * Module TAL.TALInterpreter, line 388, in no_tag
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 663, in do_useMacro
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 408, in do_optTag_tal
   * Module TAL.TALInterpreter, line 393, in do_optTag
   * Module TAL.TALInterpreter, line 388, in no_tag
   * Module TAL.TALInterpreter, line 233, in interpret
   * Module TAL.TALInterpreter, line 459, in do_setLocal_tal
   * Module Products.PageTemplates.TALES, line 220, in evaluate
   * Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
 __traceback_info__: request.RESPONSE.setHeader('Content-Type', 
'text/html;charset=%s' % charset)
   * Module Python expression "request.RESPONSE.setHeader('Content-Type', 
'text/html;charset=%s' % charset)",
line 1, in 
   * Module ZPublisher.HTTPRequest, line 1216, in __getattr__

AttributeError: RESPONSE (Also, an error occurred while attempting to 
render the standard error message.)

At the moment I have no idea where is error comes from (maybe a Python 2.3 
issue?!). At least
very strange.

-aj

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread robert
great news.
give him my congratulations .

Is there a description someplace how to install 2.7 from CVS.

Robert

Am Montag, 10. November 2003 15:30 schrieb Casey Duncan:
> On Mon, 10 Nov 2003 10:27:10 +0100
>
> robert <[EMAIL PROTECTED]> wrote:
> > Hi there,
> > there was talk about a 2.7 b3.
> > I would like to test it out.
> > We are going do deploy a new server by end of this month and I would like
> > to have it running 2.7 (reckless I know, but that is how I am)
>
> Obi-wan would say, "So was I, if you remember." I personally prefer the
> term "leading edge" over "reckless" ;^).
>
> As for beta 3, Brian Lloyd, our fearless release meister became the father
> of a new child over the weekend. He had originally promised to do the beta
> 3 release this week, but I'm not sure whether that will go forward or not
> at this point.  I'm sure he will respond in email when he becomes
> "available" (sometime in 2008 ;^).
>
> -Casey

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread Tres Seaver
On Mon, 2003-11-10 at 11:15, robert wrote:
> great news.
> give him my congratulations .
> 
> Is there a description someplace how to install 2.7 from CVS.


  $ cd /tmp
  $ cvs -d :pserver:[EMAIL PROTECTED]:/cvs-repository \
co -r Zope-2_7-branch -d Zope-2.7-head Zope
  $ cd Zope-2.7-head
  $ ./configure && make && make inplace

Tres.
-- 
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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-dev] Rendering xml content in ZPT

2003-11-10 Thread Antonio Beamud Montero
Hi all:
I have problems to rendering data if the ZPT is xml content-type.
I have include xmlns:tal namespace definition and a replacemente of an
attribute in the xml text with
  http://localhost"; tal:attributes="src here/absolute_url">

But this replacement is ignored and if I try to view this method,  the
xml is exactly the same...

What I need to do to rendering this document appliying changes?

A lot of thanks.
-- 
Antonio Beamud Montero <[EMAIL PROTECTED]>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Rendering xml content in ZPT

2003-11-10 Thread Sidnei da Silva
On Mon, Nov 10, 2003 at 05:50:46PM +0100, Antonio Beamud Montero wrote:
| Hi all:
| I have problems to rendering data if the ZPT is xml content-type.
| I have include xmlns:tal namespace definition and a replacemente of an
| attribute in the xml text with
|   http://localhost"; tal:attributes="src here/absolute_url">
| 
| But this replacement is ignored and if I try to view this method,  the
| xml is exactly the same...
| 
| What I need to do to rendering this document appliying changes?

Try python:here.absolute_url(). If that works, then you hit a bug in
the C Security Policy, which has been fixed by Chris McDonough in the
last bugday.

-- 
Sidnei da Silva <[EMAIL PROTECTED]>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

You scratch my tape, and I'll scratch yours.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread robert
Thank you very much,
it worked perfectly.

Now I have a problem/question:
setting 

debug-mode off

does not detach runzope from the terminal from which it was started.

Is there some more settings I have to do?

thanks
Robert


Am Montag, 10. November 2003 17:18 schrieb Tres Seaver:
> On Mon, 2003-11-10 at 11:15, robert wrote:
> > great news.
> > give him my congratulations .
> >
> > Is there a description someplace how to install 2.7 from CVS.
>
>   $ cd /tmp
>   $ cvs -d :pserver:[EMAIL PROTECTED]:/cvs-repository \
> co -r Zope-2_7-branch -d Zope-2.7-head Zope
>   $ cd Zope-2.7-head
>   $ ./configure && make && make inplace
>
> Tres.

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread Chris McDonough
runzope never detaches from the terminal... use "zopectl start"
instead.  Unlike previous versions of Zope, 2.7 doesn't handle its own
daemonizing.  Instead it relies on an external program to do its
daemonizing (Guido's zdaemon, which is invoked by zopectl).

On Mon, 2003-11-10 at 14:57, robert wrote:
> Thank you very much,
> it worked perfectly.
> 
> Now I have a problem/question:
> setting 
> 
> debug-mode off
> 
> does not detach runzope from the terminal from which it was started.
> 
> Is there some more settings I have to do?
> 
> thanks
> Robert
> 
> 
> Am Montag, 10. November 2003 17:18 schrieb Tres Seaver:
> > On Mon, 2003-11-10 at 11:15, robert wrote:
> > > great news.
> > > give him my congratulations .
> > >
> > > Is there a description someplace how to install 2.7 from CVS.
> >
> >   $ cd /tmp
> >   $ cvs -d :pserver:[EMAIL PROTECTED]:/cvs-repository \
> > co -r Zope-2_7-branch -d Zope-2.7-head Zope
> >   $ cd Zope-2.7-head
> >   $ ./configure && make && make inplace
> >
> > Tres.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 2.7 beta 3

2003-11-10 Thread Paul Winkler
On Mon, Nov 10, 2003 at 06:25:20PM -0500, Chris McDonough wrote:
> runzope never detaches from the terminal... use "zopectl start"
> instead.  Unlike previous versions of Zope, 2.7 doesn't handle its own
> daemonizing.  Instead it relies on an external program to do its
> daemonizing (Guido's zdaemon, which is invoked by zopectl).

I have to say, I am really REALLY happy about this :-)

thank you oh great lords of zope!

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's QUASI-NUTLESS MANTICORE!
(random hero from isometric.spaceninja.com)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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-dev] Unicode id's and utf8 url encoding

2003-11-10 Thread Stuart Bishop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi. I think the last thread on this issue was:
http://aspn.activestate.com/ASPN/Mail/Message/zope-Dev/1843637
From my reading of RFC2396 and RFC2277, the character set encoding for 
URLs is UTF8. This is confirmed by 
http://www.w3.org/International/O-URL-code.html .

Does this settle the issue on how to handle non-ascii strings in URLs? 
If so, is their anything stopping us allowing Unicode ids in Zope? This 
would involve patching OFS.ObjectManager.checkValidId to accept strings 
not in [0-9a-zA-Z\$\-_\.\+!\*'(),], and writing replacement 
urllib.quote and urllib.unquote methods for use by HTTPRequest.py.

If this is deemed a sane plan, I'd like to try getting this into Zope 
2.7.

It would also be worth fixing Python's urllib.quote and urllib.unquote 
methods, but that is an issue for a seperate mailing list...
- -- 
Stuart Bishop <[EMAIL PROTECTED]> â http://www.stuartbishop.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/sFP1AfqZj7rGN0oRAhGGAJ9dGMyhxFhG6GFr877qNx5+GP/S3wCghcOy
T6lXZz60sR1VJLWjK76BmVk=
=rQ0I
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Unicode id's and utf8 url encoding

2003-11-10 Thread Andreas Jung


--On Dienstag, 11. November 2003 14:13 Uhr +1100 Stuart Bishop 
<[EMAIL PROTECTED]> wrote:




Does this settle the issue on how to handle non-ascii strings in URLs?
If so, is their anything stopping us allowing Unicode ids in Zope? This
would involve patching OFS.ObjectManager.checkValidId to accept strings
not in [0-9a-zA-Z\$\-_\.\+!\*'(),], and writing replacement
urllib.quote and urllib.unquote methods for use by HTTPRequest.py.


If this is deemed a sane plan, I'd like to try getting this into Zope
2.7.
Too late for 2.7 in my opinion since we are heading for a beta (means
no new  features).
-aj

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )