*** roym has quit IRC | 00:04 | |
*** zmi_junkie_ has joined #zope3-dev | 00:06 | |
*** zmi_junkie has quit IRC | 00:14 | |
*** philiKON has quit IRC | 00:17 | |
*** klaus has joined #zope3-dev | 00:59 | |
*** jhauser_ has quit IRC | 01:05 | |
*** klaus has quit IRC | 01:08 | |
*** brupp has quit IRC | 01:45 | |
*** sashav has quit IRC | 01:53 | |
*** RockyBurt has quit IRC | 02:22 | |
*** RockyBurt has joined #zope3-dev | 02:24 | |
*** zmi_junkie_ has quit IRC | 02:41 | |
*** romanofski is now known as rom|zZZ | 02:41 | |
*** xenru has quit IRC | 02:41 | |
*** xenru has joined #zope3-dev | 02:44 | |
*** jinty has quit IRC | 02:56 | |
*** jenner has quit IRC | 02:56 | |
*** RockyBurt has quit IRC | 03:12 | |
*** RockyBurt has joined #zope3-dev | 03:13 | |
*** alga has joined #zope3-dev | 03:34 | |
*** yota has quit IRC | 03:45 | |
*** RockyBurt is now known as RockyBurt|Zzz | 03:52 | |
*** mcdonc has quit IRC | 04:42 | |
*** alga has quit IRC | 05:17 | |
*** fcorrea has joined #zope3-dev | 06:07 | |
fcorrea | Hi 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 select | 06:09 |
---|---|---|
*** philiKON has joined #zope3-dev | 06:37 | |
*** mcdonc has joined #zope3-dev | 06:39 | |
philiKON | hi mcdonc | 06:39 |
mcdonc | hey philiKON | 06:39 |
mcdonc | what shakin? | 06:40 |
mcdonc | s/what/what's | 06:40 |
* philiKON is looking forward to pycon | 06:40 | |
mcdonc | oh cool... i didnt know you were coming! | 06:40 |
philiKON | yep. are you goin gto stay for the sprints? | 06:42 |
mcdonc | yes, i'm booked through the 2nd i think | 06:42 |
philiKON | great | 06:43 |
philiKON | i leave the 3rd | 06:43 |
mcdonc | theune is coming to dc beforehand and we're gonna go there together i think | 06:43 |
philiKON | ah, cool | 06:44 |
philiKON | i'm flying in from shanghai | 06:44 |
philiKON | will miss the first day of the conf | 06:44 |
mcdonc | are you giving a talk? | 06:44 |
philiKON | which is ok since i'll be there for the sprint mainly | 06:44 |
philiKON | nope | 06:44 |
philiKON | i'm being sponsored to work on CMF + z3 local components | 06:44 |
mcdonc | me neither.. i should have. | 06:45 |
mcdonc | but i couldn't think up anything in time. | 06:45 |
mcdonc | is the work you're doing related to "goldegg"? | 06:47 |
mcdonc | (whatever that is ;-) | 06:47 |
philiKON | no, not really part of "goldegg" | 06:49 |
*** fcorrea has quit IRC | 06:55 | |
*** fcorrea has joined #zope3-dev | 07:04 | |
*** dobee has quit IRC | 07:07 | |
*** newpers has quit IRC | 07:13 | |
*** fcorrea has left #zope3-dev | 08:03 | |
*** philiKON has quit IRC | 09:19 | |
*** philiKON has joined #zope3-dev | 09:27 | |
*** RedFedora has joined #zope3-dev | 10:23 | |
*** RedFedora has left #zope3-dev | 10:24 | |
*** sashav has joined #zope3-dev | 10:33 | |
*** rom|zZZ is now known as romanofski | 10:46 | |
*** d2m has quit IRC | 11:03 | |
*** d2m has joined #zope3-dev | 11:39 | |
*** philiKON has quit IRC | 11:40 | |
*** tav has quit IRC | 11:40 | |
*** sashav has quit IRC | 11:47 | |
*** sashav has joined #zope3-dev | 11:48 | |
*** philiKON has joined #zope3-dev | 11:49 | |
*** sashav has joined #zope3-dev | 11:50 | |
*** efrerich has joined #zope3-dev | 12:05 | |
*** yota has joined #zope3-dev | 12:11 | |
*** brupp has joined #zope3-dev | 12:20 | |
*** jhauser has joined #zope3-dev | 12:29 | |
*** jhauser has joined #zope3-dev | 12:29 | |
*** jenner has joined #zope3-dev | 13:15 | |
*** sashav has quit IRC | 13:20 | |
*** klaus has joined #zope3-dev | 13:40 | |
*** radek has joined #zope3-dev | 13:57 | |
radek | hi 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 |
d2m | radek: if you both specify -u and -d options you get an instance silently | 14:13 |
radek | d2m: thats what i always did and it worked in 3.1.0 while not in 3.2.0 | 14:18 |
radek | ${ZSERVDIR}/bin/mkzopeinstance -d ${ZINSTDIR} -u admin:admin | 14:18 |
radek | i'm being asked ONLY about hash method (sha1,md5,plain), nothing else. | 14:18 |
d2m | radek: hmm, just did it on the latest zope3.2 and it worked | 14:21 |
d2m | radek: bin/mkzopeinstance --non-interactive -u ...:... -d ... did it | 14:22 |
radek | hmmm, ok, will investigate it further and report back | 14:22 |
d2m | radek: the '--non-interactive' option makes it silent | 14:24 |
radek | d2m: ok, with --non-interactive it works, without it doesn (while without it worked in 3.1.0) | 14:24 |
radek | d2m: thank You for your help. | 14:24 |
d2m | radek: np | 14:24 |
jenner | Is 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-dev | 14:34 | |
*** M1 has joined #zope3-dev | 14:41 | |
*** agroszer has joined #zope3-dev | 14:45 | |
*** radek has joined #zope3-dev | 14:46 | |
radek | another problem :) with running zope3 as a ordinary user zope: zopectl -u zope start This gives (in default cfg, after mkzopeinstance) socket bind permission error | 14:47 |
radek | File "/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 |
radek | and then continously . . . | 14:48 |
radek | default 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 |
jenner | radek: don't choose a port below 1024 or run z3 as root | 14:49 |
radek | how can i manage to run it as a user. | 14:49 |
jenner | ah | 14:49 |
radek | yep, this is deafault cfg with http enabled on 8080, and evth else in zope.conf regarding ports commented out. | 14:51 |
radek | so what's going on here? | 14:51 |
jenner | I'd say user "zope" has no write permissions | 14:53 |
*** MJ has quit IRC | 14:54 | |
jenner | add s.th. like `print os.path.abspath(tempname)` and make sure user zope can create files there | 14:55 |
radek | jenner: will try it. | 14:55 |
radek | got it | 15:00 |
radek | it tries to create in current directory zdosck.%d file | 15:00 |
radek | e.g. /root/zdsock.4044 | 15:00 |
radek | so when I run zopectl from inside of instance home (which gots correct permissions) its ok. while system boot scripts have different cwd | 15:01 |
radek | i 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 |
jenner | iirc, the socket should be created in $INSTANCE/var | 15:02 |
radek | but its created on my machine in the current dir. | 15:03 |
radek | its taken from self.options.sockname | 15:04 |
jenner | do you use a zopectl from your $INSTANCE/bin? | 15:04 |
radek | yes | 15:04 |
jenner | works like a charm here | 15:05 |
radek | where can I see sockname being defined? | 15:05 |
jenner | dunno... maybe etc/zdaemon.conf | 15:07 |
radek | what i found, it can be overriden with -s | 15:11 |
radek | also 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 |
radek | ok, this is definitely a bug | 15:17 |
radek | 1. zdoptions.py defines default for sockname as 'zdsock' | 15:17 |
radek | 2. zdaemon.conf does not have socket-name defined, thus we're using default value | 15:17 |
radek | 3. 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 |
radek | 4. it definetly does not use at start INSTANCE/zdsock | 15:19 |
radek | proposed solution: | 15:19 |
radek | 1. add socket-name into zdaemon.conf | 15:20 |
radek | 2. or fix default to be inside of instance/var | 15:20 |
radek | comments? | 15:20 |
d2m | did you try to create the instance as user 'zope' and run it as 'zope' ? | 15:29 |
radek | d2m: 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 |
d2m | i see, never had that problem here | 15:31 |
radek | d2m: just try to run it as non root from a directory where running user has no write permissions. the error will show. | 15:32 |
d2m | thats what i meant, creating the instance as 'zope' always gets me write permission in that folder (var) | 15:33 |
radek | d2m: it does. thats not a problem. | 15:34 |
d2m | radek: maybe chown/chmod -r in the instance folder ? | 15:34 |
radek | problem 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 |
radek | d2m: did I explained it clearly now? | 15:35 |
d2m | ok, i understand now | 15:35 |
*** klaus has quit IRC | 15:36 | |
jenner | btw, I can't see any references to the "effective-user" directive, is it gone? | 15:36 |
radek | to 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.conf | 15:37 |
*** sashav has joined #zope3-dev | 15:37 | |
*** alga has joined #zope3-dev | 16:04 | |
*** dobee has joined #zope3-dev | 16:20 | |
*** radek has left #zope3-dev | 16:21 | |
*** yota has quit IRC | 16:29 | |
*** _anguenot has joined #zope3-dev | 16:57 | |
*** klaus has joined #zope3-dev | 16:59 | |
*** J1m has joined #zope3-dev | 17:01 | |
*** klaus has joined #zope3-dev | 17:04 | |
*** vlado has quit IRC | 17:24 | |
brupp | is there a possibility to have "mkzopeinstance" create the instance directory by itself? | 17:34 |
philiKON | it does that | 17:38 |
*** jhauser has quit IRC | 18:27 | |
*** RockyBurt|Zzz is now known as RockyBurt | 18:29 | |
*** jhauser has joined #zope3-dev | 18:31 | |
*** yota has joined #zope3-dev | 18:49 | |
*** J1m has quit IRC | 18:52 | |
*** ignas has joined #zope3-dev | 18:55 | |
*** philiKON has quit IRC | 18:59 | |
*** mgedmin has joined #zope3-dev | 19:05 | |
*** jenner has quit IRC | 19:24 | |
*** agroszer has quit IRC | 19:48 | |
*** klaus has left #zope3-dev | 20:27 | |
*** klaus has joined #zope3-dev | 20:27 | |
*** brupp has quit IRC | 20:34 | |
*** romanofski has quit IRC | 20:36 | |
*** romanofski has joined #zope3-dev | 20:38 | |
*** ignas has quit IRC | 20:44 | |
*** ignas has joined #zope3-dev | 20:45 | |
*** M1 has quit IRC | 21:41 | |
*** efrerich has quit IRC | 21:44 | |
*** MJ has joined #zope3-dev | 21:44 | |
*** dobee has quit IRC | 21:47 | |
*** RockyBurt has quit IRC | 21:54 | |
*** RockyBurt has joined #zope3-dev | 21:54 | |
*** jinty has joined #zope3-dev | 22:15 | |
*** J1m has joined #zope3-dev | 22:18 | |
*** SiggyF has joined #zope3-dev | 22:18 | |
*** J1m has quit IRC | 23:05 | |
*** janur has joined #zope3-dev | 23:09 | |
*** klaus has quit IRC | 23:23 | |
*** romanofski is now known as rom|zZZZ | 23:23 | |
*** rom|zZZZ has quit IRC | 23:25 | |
*** ignas has quit IRC | 23:42 | |
*** jinty has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!