[Zope] select age(birthday) from web_users

2006-09-29 Thread Pavel Zaitsev
13 years 8 mons 8 days (записей: 6) brain_dev=# thanks Pavel ___ 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] variable propagation

2006-07-24 Thread Pavel Zaitsev
results. Generic template lies below all other objects, in directory tree, in the root. When I execute the command chain, variables are not passed and options is lost on one layer of zpt calls. Is there way to rectify that. Thanks Pavel ___ Zope maillist

Re: [Zope] variable propagation

2006-07-24 Thread Pavel Zaitsev
В Пнд, 24/07/2006 в 15:00 -0700, David H пишет Pavel, You question is a bit vague but ... Make your index_html a python script. And then stuff your REQUEST with info you want Then just call the Page Template ... request.set('formvar1', somevalue) return context.myPageTemplate

Re: [Zope-dev] opinion: speeding up large PUT uploads

2005-04-05 Thread Pavel Zaitsev
kernel, and one to make TempFile use StringIO, which worked wonderfully. You can override make_file of FieldStorage to return StringIO(), or cStringIO(). Now there are no problems with locked out files, for me. laters, pavel ___ Zope-Dev maillist - Zope

Re: [Zope-dev] OS X 10.3.8 + mount_webdav + Zope all on powerbook

2005-04-02 Thread Pavel Zaitsev
use grep and find and other unix tools to locate stuff that i need. Because I am a power unix user and cadaver strips away everything I know about file manipulation. regards, pavel ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

[Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
(package) File /opt/zope_core/lib/python/ZServer/__init__.py, line 36, in ? from HTTPServer import zhttp_server, zhttp_handler File /opt/zope_core/lib/python/ZServer/HTTPServer.py, line 79 print ^ How can I rectify this? pavel ___ Zope-Dev

FIXED: Re: [Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
Was a spacing issue thanks to #zope on freenode, pavel ___ 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

Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-03-31 Thread Pavel Zaitsev
Florent Guillaume wrote: Pavel Zaitsev [EMAIL PROTECTED] wrote: I am back trying to figure out why my zope crashes on Please define crashes. Well zope is trying to create file in /tmp , process gets 'state' - 'U' which is not defined in the manual, maybe Unresponsive, like 'D' sign

[Zope-dev] zope /tmp file usage

2005-03-30 Thread Pavel Zaitsev
binary code bits, so I asking for expert advice, if someone knows of what circuimstances zope would use /tmp directory to create a file... your help will be greatly appreciated. Pavel ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

Re: [Zope] Mac OS X and zope (continued)

2005-03-30 Thread Pavel Zaitsev
Oops looks like i have made mistake to use select instead of thread command... post more log stuff later. pavel ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] sql query results - DTML method problem

2000-12-16 Thread Pavel V. Piankov
#8 dtml-in expr="findClassTitle(code=52.139)" you might wanna try either dtml-in expr="findClassTitle(code=_['class_code'])" or dtml-in expr="findClassTitle(code=_.getitem('class_code'))" dtml-in expr="findClassTitle(code=dtml-var class_code)" *** syntax error regards. -- pashah

Re: [Zope] REQUEST.set('n', n+1) broken on zope.org

2000-12-04 Thread Pavel V. Piankov
Maybe you should try this with the "" ie dtml-call "REQUEST.set('n', 1)" dtml-call "REQUEST.set('n', n+1)" regards. -- Pavel Cosmos-Mebel, JSC. http://www.cosmos-mebel.spb.ru - Original Message - From: "Richard Jones" [EMAIL PROT

Re: [Zope] Help with Nested ZSQL methods

2000-11-29 Thread Pavel V. Piankov
try calling like this : dtml-in "sql_get_items(_.None,_)" also you might what to use dmt-sql var instead of dtml-var inside ZAQL Methods. regards -- pashah Here's the operative part of the dtml method that calls these methods: == dtml-in

Re: [Zope] ZODBC configuration problems

2000-11-28 Thread Pavel V. Piankov
sources I receive the error "Invalid connection string" except for one of If you are using the last ZODBCDA there should be no problems granted that you have provided the proper connection string. check the connection object, there sould be written down smth. like 'datasource login pass' or

Re: [Zope] DTML and SQL question...

2000-11-15 Thread Pavel
good day, create a ZSQLMethod ... let`s call it genericSQL having your sql query in it, then do a dtml-if "genericSQL(_.None,_)" YES! There's some data! dtml-else no records found! /dtml-if in your DTML Method not tested. but should work. regards. -- pashah -Original Message-

Re: [Zope] Zope and Windows DB's = NOT! ?

2000-11-14 Thread Pavel V. Piankov
... are you talking about ZODBCDA 3.0.3 or ZmxODBCDA 0.0.1 ? I`ve had some problems with ZmxODBCDA but it is only 0.0.1, younger versions of ZODBCDA were error prone, 3.0.3 is very good. regards. -- Pavel Cosmos-Mebel, JSC. http://cosmos-mebel.spb.ru

Re: [Zope] help

2000-11-13 Thread Pavel
-Original Message- From: Padrino [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: 13 íîÿáðÿ 2000 ã. 22:40 Subject: [Zope] help Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser ^^ this is the answer