[Zope] manipulate ZSQL results in Zope code

2013-09-30 Thread Jaroslav Lukesh
Hi all, I have switched from years old database adapter to SQLRelay, yep, it is rugged stable on unstable connections, but this adapter get all number values as strings (older version where numbers are numbers does not work with cp1250 - problem solved in 0.51 this year). I need numbers as num

Re: [Zope] Getting Zope code to output to event.log

2009-08-10 Thread Ken Winter
Winter > Cc: 'Andrew Milton'; 'Zope List' > Subject: Re: [Zope] Getting Zope code to output to event.log > ... > > Perhaps you are editing the unpacked source, instead of the installed > Zope code. > > Check your zopectl or runzope script and see what ZOPE

Re: [Zope] Getting Zope code to output to event.log

2009-08-10 Thread Andrew Milton
ng the unpacked source, instead of the installed Zope code. Check your zopectl or runzope script and see what ZOPE_HOME is set to. The that *should* be the root of your installed zope. -- Andrew Milton a...@theinternet.com.au ___ Zope maillist - Zop

Re: [Zope] Getting Zope code to output to event.log

2009-08-10 Thread Ken Winter
mean that the .py files here are not the ones being compiled/executed? ~ Tx Ken > -Original Message- > From: Andrew Milton [mailto:a...@theinternet.com.au] > Sent: Monday, August 10, 2009 1:09 PM > To: Ken Winter > Cc: 'Zope List' > Subject: Re: [Zope] Ge

Re: [Zope] Getting Zope code to output to event.log

2009-08-10 Thread Andrew Milton
+---[ Ken Winter ]-- | Andrew & Chris ~ | | Thanks, but it still doesn't work for me. See details of what happened when | I tried each of your suggestions below. [snip] | > | > You can also try changing logger.info to logger.warn or logger.error | > | | Next, I tried l

Re: [Zope] Getting Zope code to output to event.log

2009-08-10 Thread Ken Winter
; To: Ken Winter > Cc: 'Andrew Milton'; 'Zope List' > Subject: Re: [Zope] Getting Zope code to output to event.log > > +---[ Ken Winter ]-- > | > | > -Original Message- > | > From: Andrew Milton [mailto:a...@theinternet.com.au]

Re: [Zope] Getting Zope code to output to event.log

2009-08-06 Thread Chris Withers
Ken Winter wrote: > import logging > logger = logging.getLogger('OFS/Traversable.py:') Try changing this to: logger = logging.getLogger('event.OFS/Traversable.py:') cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Getting Zope code to output to event.log

2009-08-05 Thread Andrew Milton
+---[ Ken Winter ]-- | | > -Original Message- | > From: Andrew Milton [mailto:a...@theinternet.com.au] | > Sent: Wednesday, August 05, 2009 3:49 PM | > To: Ken Winter | > Cc: 'Zope List' | > Subject: Re: [Zope] Getting Zope

Re: [Zope] Getting Zope code to output to event.log

2009-08-05 Thread Ken Winter
> -Original Message- > From: Andrew Milton [mailto:a...@theinternet.com.au] > Sent: Wednesday, August 05, 2009 3:49 PM > To: Ken Winter > Cc: 'Zope List' > Subject: Re: [Zope] Getting Zope code to output to event.log > > +---[ Ken Winter ]-

Re: [Zope] Getting Zope code to output to event.log

2009-08-05 Thread Andrew Milton
logger line, restart Zope, run my tests, and the output appears in the Zope | event.log. But when I try the same thing with native Zope code (for example, | in the OFS directory), the output doesn?t show up in event.log. | | | | I figure these modules have to be reinstalled or re-somethinged

[Zope] Getting Zope code to output to event.log

2009-08-05 Thread Ken Winter
appears in the Zope event.log. But when I try the same thing with native Zope code (for example, in the OFS directory), the output doesn't show up in event.log. I figure these modules have to be reinstalled or re-somethinged to get my changes activated, but I don't know how to do this

[Zope] code completion for ZPT

2005-05-18 Thread Milos Prudek
Hi, is there an editor that would support code completion for Page Templates and maybe even code completion for Zope3 new technologies? Currently I use ViM on Linux - but a lot of typing is required, like "tal:attributes" - 14 keystrokes. -- Milos Prudek http://www.spoxdesign.com - your web usa

Re: [Zope] Code

2005-04-28 Thread Andre Meyer
There are better experts than myself on this list, but I have never had a need to bother with this file for a file-system based product. You can just use the standard Python libraries. Probably, the Guard.py file protects users of ExternalMethods, but that is just a guess. good luck André On 4/2

Re: [Zope] Code

2005-04-28 Thread Jean
Hello, thanks for your answer. I'm looking into the file "Guards.py" and I don't understand how is the python code working in ZOPE. What is the meaning of a wrapper? Best regards. Jean Tinguely. Selon David Convent <[EMAIL PROTECTED]>: > Hi Jean, if you want to use python code in an

Re: [Zope] Code

2005-04-28 Thread Andre Meyer
On the other hand, if you start with a file-system based product you will have complete freedom to do whatever you want in Python and it is easier to migrate to Zope3 (if you are not starting with this right away). File-system based are more difficult to develop in Zope2 because there is not too mu

Re: [Zope] Code

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 11:21 Uhr +0200 [EMAIL PROTECTED] wrote: Hello the list, I want to use all the possibilities of python in my ZOPE local server. Do you know which file can I modify to enable this? Where must I contact to know that? By using external method or writing your own Zope

Re: [Zope] Code

2005-04-28 Thread David Convent
Hi Jean, if you want to use python code in an unrestricted environement, you should use ExternalMethods or write Python based Zope product on your filesystem. External Methods are better choice to beging with. You can learn more about External Methods from the Zope Book. Regards, [EMAIL PROTECT

[Zope] Code

2005-04-28 Thread Jean
Hello the list, I want to use all the possibilities of python in my ZOPE local server. Do you know which file can I modify to enable this? Where must I contact to know that? Best regards. Jean Tinguely. This message was sent