IRC log of #zope3-dev for Sunday, 2006-01-08

*** roym has quit IRC00:04
*** zmi_junkie_ has joined #zope3-dev00:06
*** zmi_junkie has quit IRC00:14
*** philiKON has quit IRC00:17
*** klaus has joined #zope3-dev00:59
*** jhauser_ has quit IRC01:05
*** klaus has quit IRC01:08
*** brupp has quit IRC01:45
*** sashav has quit IRC01:53
*** RockyBurt has quit IRC02:22
*** RockyBurt has joined #zope3-dev02:24
*** zmi_junkie_ has quit IRC02:41
*** romanofski is now known as rom|zZZ02:41
*** xenru has quit IRC02:41
*** xenru has joined #zope3-dev02:44
*** jinty has quit IRC02:56
*** jenner has quit IRC02:56
*** RockyBurt has quit IRC03:12
*** RockyBurt has joined #zope3-dev03:13
*** alga has joined #zope3-dev03:34
*** yota has quit IRC03:45
*** RockyBurt is now known as RockyBurt|Zzz03:52
*** mcdonc has quit IRC04:42
*** alga has quit IRC05:17
*** fcorrea has joined #zope3-dev06:07
fcorreaHi srs, quick q on schemas. To have an select field, what is the easiest way to do it? Im trying with Choice but it does not displays like a select06:09
*** philiKON has joined #zope3-dev06:37
*** mcdonc has joined #zope3-dev06:39
philiKONhi mcdonc06:39
mcdonchey philiKON06:39
mcdoncwhat shakin?06:40
mcdoncs/what/what's06:40
* philiKON is looking forward to pycon06:40
mcdoncoh cool... i didnt know you were coming!06:40
philiKONyep. are you goin gto stay for the sprints?06:42
mcdoncyes, i'm booked through the 2nd i think06:42
philiKONgreat06:43
philiKONi leave the 3rd06:43
mcdonctheune is coming to dc beforehand and we're gonna go there together i think06:43
philiKONah, cool06:44
philiKONi'm flying in from shanghai06:44
philiKONwill miss the first day of the conf06:44
mcdoncare you giving a talk?06:44
philiKONwhich is ok since i'll be there for the sprint mainly06:44
philiKONnope06:44
philiKONi'm being sponsored to work on CMF + z3 local components06:44
mcdoncme neither.. i should have.06:45
mcdoncbut i couldn't think up anything in time.06:45
mcdoncis the work you're doing related to "goldegg"?06:47
mcdonc(whatever that is ;-)06:47
philiKONno, not really part of "goldegg"06:49
*** fcorrea has quit IRC06:55
*** fcorrea has joined #zope3-dev07:04
*** dobee has quit IRC07:07
*** newpers has quit IRC07:13
*** fcorrea has left #zope3-dev08:03
*** philiKON has quit IRC09:19
*** philiKON has joined #zope3-dev09:27
*** RedFedora has joined #zope3-dev10:23
*** RedFedora has left #zope3-dev10:24
*** sashav has joined #zope3-dev10:33
*** rom|zZZ is now known as romanofski10:46
*** d2m has quit IRC11:03
*** d2m has joined #zope3-dev11:39
*** philiKON has quit IRC11:40
*** tav has quit IRC11:40
*** sashav has quit IRC11:47
*** sashav has joined #zope3-dev11:48
*** philiKON has joined #zope3-dev11:49
*** sashav has joined #zope3-dev11:50
*** efrerich has joined #zope3-dev12:05
*** yota has joined #zope3-dev12:11
*** brupp has joined #zope3-dev12:20
*** jhauser has joined #zope3-dev12:29
*** jhauser has joined #zope3-dev12:29
*** jenner has joined #zope3-dev13:15
*** sashav has quit IRC13:20
*** klaus has joined #zope3-dev13:40
*** radek has joined #zope3-dev13:57
radekhi guys, as a gentoo linux zope packager, i noticed slight change in default options for mkzopeinstace. Since 3.2.0 i'm being asked about password hash method. Can I avoid this question to run mkzopeinstance without user intervention?13:59
d2mradek: if you both specify -u and -d options you get an instance silently14:13
radekd2m: thats what i always did and it worked in 3.1.0 while not in 3.2.014:18
radek        ${ZSERVDIR}/bin/mkzopeinstance -d ${ZINSTDIR} -u admin:admin14:18
radeki'm being asked ONLY about hash method (sha1,md5,plain), nothing else.14:18
d2mradek: hmm, just did it on the latest zope3.2 and it worked14:21
d2mradek: bin/mkzopeinstance --non-interactive -u ...:... -d ... did it14:22
radekhmmm, ok, will investigate it further and report back14:22
d2mradek: the  '--non-interactive'  option makes it silent14:24
radekd2m: ok, with --non-interactive it works, without it doesn (while without it worked in 3.1.0)14:24
radekd2m: thank You for your help.14:24
d2mradek: np14:24
jennerIs there any particular reason why the keyword and topic indexes are not registered in zope/app/catalog/configure.zcml?14:30
*** radek has left #zope3-dev14:34
*** M1 has joined #zope3-dev14:41
*** agroszer has joined #zope3-dev14:45
*** radek has joined #zope3-dev14:46
radekanother problem :) with running zope3 as a ordinary user zope: zopectl -u zope start  This gives (in default cfg, after mkzopeinstance) socket bind permission error14:47
radekFile "/usr/lib/zope-3.2.0/lib/python/zdaemon/zdrun.py", line 278, in opensocket \n sock.bind(tempname) \n File "<string>", line 1, in bind \n socket.error: (13, 'Permission denied')14:48
radekand then continously . . .14:48
radekdefault cfg used to bind to ports >1024 so there shouldnt be socket permission problem. although if I think correctly this is a different socket - what for?14:49
jennerradek: don't choose a port below 1024 or run z3 as root14:49
radekhow can i manage to run it as a user.14:49
jennerah14:49
radekyep, this is deafault cfg with http enabled on 8080, and evth else in zope.conf regarding ports commented out.14:51
radekso what's going on here?14:51
jennerI'd say user "zope" has no write permissions14:53
*** MJ has quit IRC14:54
jenneradd s.th. like `print os.path.abspath(tempname)` and make sure user zope can create files there14:55
radekjenner: will try it.14:55
radekgot it15:00
radekit tries to create in current directory zdosck.%d file15:00
radeke.g. /root/zdsock.404415:00
radekso when I run zopectl from inside of instance home (which gots correct permissions) its ok. while system boot scripts have different cwd15:01
radeki consider this a bug. of course i'll fix it in gentoo adding simple cd before zopectl call, although maybe it should be fixed in zope/15:02
jenneriirc, the socket should be created in $INSTANCE/var15:02
radekbut its created on my machine in the current dir.15:03
radekits taken from self.options.sockname15:04
jennerdo you use a zopectl from your $INSTANCE/bin?15:04
radekyes15:04
jennerworks like a charm here15:05
radekwhere can I see sockname being defined?15:05
jennerdunno... maybe etc/zdaemon.conf15:07
radekwhat i found, it can be overriden with -s15:11
radekalso there is option name defined here:15:11
radek        self.add("sockname", "runner.socket_name", "s:", "socket-name=",15:11
radek                 ZConfig.datatypes.existing_dirpath, default="zdsock")15:11
radekok, this is definitely a bug15:17
radek1. zdoptions.py defines default for sockname as 'zdsock'15:17
radek2. zdaemon.conf does not have socket-name defined, thus we're using default value15:17
radek3. zdrun.py does abspath on sockname, so abspath on 'zdock' gives 'CWD/zdsock' which if zopectl was run from different directory generates error.15:18
radek4. it definetly does not use at start INSTANCE/zdsock15:19
radekproposed solution:15:19
radek1. add socket-name into zdaemon.conf15:20
radek2. or fix default to be inside of instance/var15:20
radekcomments?15:20
d2mdid you try to create the instance as user 'zope' and run it as 'zope' ?15:29
radekd2m: run as zope (zopectl -u zope) as to mkzopeinstance call, it's being run as root and then chown/chmod on instance dir is called.15:30
d2mi see, never had that problem here15:31
radekd2m: just try to run it as non root from a directory where running user has no write permissions. the error will show.15:32
d2mthats what i meant, creating the instance as 'zope' always gets me write permission in that folder (var)15:33
radekd2m: it does. thats not a problem.15:34
d2mradek: maybe chown/chmod -r in the instance folder ?15:34
radekproblem is that if You run zopectl being in a directory different than instance socket is created in current dir, so the error shows (user zope does not have write permissions in /root or / or whatever current dir is)15:34
radekd2m: did I explained it clearly now?15:35
d2mok, i understand now15:35
*** klaus has quit IRC15:36
jennerbtw, I can't see any references to the "effective-user" directive, is it gone?15:36
radekto obey problem, i add to gentoo zope-3.2.0 package is just: sed -i -e 's|daemon on|daemon on\n\n  # socket has to be defined inside of instance\n  socket-name $INSTANCE/var/zdsock|' ${ZINSTDIR}/etc/zdaemon.conf15:37
*** sashav has joined #zope3-dev15:37
*** alga has joined #zope3-dev16:04
*** dobee has joined #zope3-dev16:20
*** radek has left #zope3-dev16:21
*** yota has quit IRC16:29
*** _anguenot has joined #zope3-dev16:57
*** klaus has joined #zope3-dev16:59
*** J1m has joined #zope3-dev17:01
*** klaus has joined #zope3-dev17:04
*** vlado has quit IRC17:24
bruppis there a possibility to have "mkzopeinstance" create the instance directory by itself?17:34
philiKONit does that17:38
*** jhauser has quit IRC18:27
*** RockyBurt|Zzz is now known as RockyBurt18:29
*** jhauser has joined #zope3-dev18:31
*** yota has joined #zope3-dev18:49
*** J1m has quit IRC18:52
*** ignas has joined #zope3-dev18:55
*** philiKON has quit IRC18:59
*** mgedmin has joined #zope3-dev19:05
*** jenner has quit IRC19:24
*** agroszer has quit IRC19:48
*** klaus has left #zope3-dev20:27
*** klaus has joined #zope3-dev20:27
*** brupp has quit IRC20:34
*** romanofski has quit IRC20:36
*** romanofski has joined #zope3-dev20:38
*** ignas has quit IRC20:44
*** ignas has joined #zope3-dev20:45
*** M1 has quit IRC21:41
*** efrerich has quit IRC21:44
*** MJ has joined #zope3-dev21:44
*** dobee has quit IRC21:47
*** RockyBurt has quit IRC21:54
*** RockyBurt has joined #zope3-dev21:54
*** jinty has joined #zope3-dev22:15
*** J1m has joined #zope3-dev22:18
*** SiggyF has joined #zope3-dev22:18
*** J1m has quit IRC23:05
*** janur has joined #zope3-dev23:09
*** klaus has quit IRC23:23
*** romanofski is now known as rom|zZZZ23:23
*** rom|zZZZ has quit IRC23:25
*** ignas has quit IRC23:42
*** jinty has quit IRC23:47

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!