Re: [Zope] Copy and Paste Problem

2007-02-20 Thread Andreas Jung
--On 21. Februar 2007 08:44:39 +0100 Florian Fahrbach <[EMAIL PROTECTED]> wrote: Hi all, I hope somebody knows an answer to my rather strange problem. It seems that in our Zope-Installation (2.74) we screwed up the Copy/Cut/Paste-Mechanism. We can not copy any objects in the ZMI at all. The

[Zope] [ANN] TextIndexNG 3.2.0 final released

2007-02-20 Thread Andreas Jung
I am pleased to announce the release of TextIndexNG V 3.2.0. TextIndexNG V 3 is a complete new implementation based on Zope 3 technologies and can be used both in Zope 2.10+, Plone 2.5 and Plone 3.0. Changes in 3.2.0: * requires Zope 2.10 or higher * update parser to PLY 2.1 * Sp

[Zope] Copy and Paste Problem

2007-02-20 Thread Florian Fahrbach
Hi all, I hope somebody knows an answer to my rather strange problem. It seems that in our Zope-Installation (2.74) we screwed up the Copy/Cut/Paste-Mechanism. We can not copy any objects in the ZMI at all. The result always is, that the same object ist pasted several times (Paste-Button stays

Re: [Zope] How to call a script by it's name stored in a variable.

2007-02-20 Thread robert rottermann
rieh25 wrote: > How can I do something like this? > > var = '/Projects/test_py' > > return call_by_name(var) > > > Thanks. fun = context.restrictedTraverse(var) return fun() then there is path and getattr you should look at. robert begin:vcard fn:robert ro

[Zope] How to call a script by it's name stored in a variable.

2007-02-20 Thread rieh25
How can I do something like this? var = '/Projects/test_py' return call_by_name(var) Thanks. -- View this message in context: http://www.nabble.com/How-to-call-a-script-by-it%27s-name-stored-in-a-variable.-tf3264614.html#a9074816 Sent from the Zope - Gener

Re: [Zope] problem with input elements and unicode/utf-8

2007-02-20 Thread Daryl Daly
I have setup a test case which seems to show the problem. This test removes the database component. New install of zope 2.10.2: Zope Version (Zope 2.10.2-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 I

Fwd: Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-20 Thread jleira
>--- In [EMAIL PROTECTED], Andreas Jung <[EMAIL PROTECTED]> wrote: >--On 20. Februar 2007 18:52:51 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: >> --On 20. Februar 2007 17:52:52 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: >>> --On 19. Februar 2007 12:29:34 -0800 Jostein Leira <[EMAIL PROTECTED]>

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-20 Thread Andreas Jung
--On 20. Februar 2007 18:52:51 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 20. Februar 2007 17:52:52 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 19. Februar 2007 12:29:34 -0800 Jostein Leira <[EMAIL PROTECTED]> wrote: If it contains either of the tal-lines below I get

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-20 Thread Andreas Jung
--On 20. Februar 2007 17:52:52 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 19. Februar 2007 12:29:34 -0800 Jostein Leira <[EMAIL PROTECTED]> wrote: If it contains either of the tal-lines below I get the following error message: Please try out the following patch and re

Re: [Zope] Re: Random Crashes/Freezes on FreeBSD 5.4-RELEASE

2007-02-20 Thread alex
* FreeBSD 5.4-RELEASE system w/generic kernel. Yes, I know this is old, * Python 2.4.3 * Zope 2.9 the main error cause of Zope on FreeBSD is a wrong configuration of the python 2.4 port. You need to enable the "HUGE_STACK_SIZE" option, e.g. with "make config" in /usr/ports/lang/python24 and rei

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-20 Thread Andreas Jung
--On 19. Februar 2007 12:29:34 -0800 Jostein Leira <[EMAIL PROTECTED]> wrote: If it contains either of the tal-lines below I get the following error message: I can reproduce this error. Obviously RestrictedPython.compile_restricted_eval() can't deal correctly with unicode strings

Re: [Zope] Random Crashes/Freezes on FreeBSD 5.4-RELEASE

2007-02-20 Thread alex
* Zope 2.9 Which Zope 2.9 version? From the Control Panel: Plone version overview Plone 2.5.1, CMF-1.6.2, Zope (Zope 2.9.5-final, python 2.4.3, freebsd5), Five 1.3.7, Python 2.4.3 (#2, Jul 2 2006, 16:14:54) [GCC 3.4.2 [FreeBSD] 20040728], PIL 1.1.5 * Apache 2.0.58, compiled with: The apac

Re: [Zope] How to get REST friendly urls from sql database

2007-02-20 Thread Paul Winkler
On Tue, Feb 20, 2007 at 04:37:41PM +0100, Andreas Jung wrote: > --On 20. Februar 2007 16:30:43 +0100 Gaute Amundsen <[EMAIL PROTECTED]> wrote: > > >Hi. > > > >Normally a url to an article in our CMS system would look roughly like > >this: http://www.dom.tld/aritcles/25245 (snip) > >Anybody have an

[Zope] Re: Random Crashes/Freezes on FreeBSD 5.4-RELEASE

2007-02-20 Thread Jochen Knuth
Hi Alex, [EMAIL PROTECTED] schrieb: Hello All, I've recently inherited the job of co-administering an existing Zope 2.9 system that is performing very flakily. While I admit to knowing nothing about Zope administration before the last couple of weeks, I've been busy reading the mailing list

Re: [Zope] Random Crashes/Freezes on FreeBSD 5.4-RELEASE

2007-02-20 Thread Andreas Jung
--On 20. Februar 2007 11:10:06 -0500 [EMAIL PROTECTED] wrote: * Zope 2.9 Which Zope 2.9 version? * Apache 2.0.58, compiled with: The apache configuration isn't really of interest. You might check your Zope log files for additional informations. Enable coredumps (ulimit) and check if the

[Zope] Random Crashes/Freezes on FreeBSD 5.4-RELEASE

2007-02-20 Thread alex
Hello All, I've recently inherited the job of co-administering an existing Zope 2.9 system that is performing very flakily. While I admit to knowing nothing about Zope administration before the last couple of weeks, I've been busy reading the mailing list archives, etc., and I'm convinced tha

Re: [Zope] How to get REST friendly urls from sql database

2007-02-20 Thread Andreas Jung
--On 20. Februar 2007 16:30:43 +0100 Gaute Amundsen <[EMAIL PROTECTED]> wrote: Hi. Normally a url to an article in our CMS system would look roughly like this: http://www.dom.tld/aritcles/25245 Where 25245 would be an object of some metatype, say 'article'. Now what if I wanted to get the d

[Zope] How to get REST friendly urls from sql database

2007-02-20 Thread Gaute Amundsen
Hi. Normally a url to an article in our CMS system would look roughly like this: http://www.dom.tld/aritcles/25245 Where 25245 would be an object of some metatype, say 'article'. Now what if I wanted to get the data for that page from an sql server instead, I would expect to end up with a url l