*** les_sylvains has quit IRC | 00:37 | |
*** davetoo has quit IRC | 00:45 | |
*** m8 has quit IRC | 01:08 | |
*** elro has quit IRC | 01:57 | |
*** do3cc has joined #zope | 02:18 | |
*** J1m has joined #zope | 02:42 | |
*** menesis has quit IRC | 02:42 | |
*** _mup_ has quit IRC | 03:00 | |
*** _mup_ has joined #zope | 03:00 | |
*** J1m has quit IRC | 03:00 | |
*** J1m has joined #zope | 03:07 | |
*** J1m has quit IRC | 03:10 | |
*** fdrake has joined #zope | 03:43 | |
*** fdrake has quit IRC | 04:03 | |
*** supton has quit IRC | 04:44 | |
*** davetoo has joined #zope | 04:56 | |
davetoo | question about ZCatalog brains: | 04:56 |
---|---|---|
davetoo | I was experimenting with evaluating the contents of a single brain, | 04:57 |
davetoo | and ran " list(brain) " and I got back .. a list of stuff :) | 04:58 |
davetoo | but no idea how the order of the list elements are returned | 04:58 |
davetoo | is there any way to get a dict out of it? Im trying to figure out how giving the brain to list() produced the values | 04:59 |
davetoo | I was surprised to see that the brain itself has an aq_chain | 04:59 |
davetoo | so I think it's acquiring this behavior from ... | 05:01 |
davetoo | AH, | 05:01 |
davetoo | ok, | 05:01 |
davetoo | so calling list on any OFS ObjectManager (I think, or maybe it's higher up) returns the keys of the object dict | 05:02 |
davetoo | and since these are presumably inverted indexes, the keys are the indexed values themselves | 05:02 |
davetoo | what I'm trying to do is create a dict or json string | 05:03 |
*** do3cc has quit IRC | 05:11 | |
*** davetoo1 has joined #zope | 05:35 | |
*** kosh has quit IRC | 05:48 | |
*** davetoo1 has left #zope | 05:52 | |
*** walden_ has joined #zope | 06:03 | |
*** Deathspawn has quit IRC | 07:21 | |
*** KageSenshi has joined #zope | 07:22 | |
*** Deathspawn has joined #zope | 07:24 | |
*** supton has joined #zope | 08:00 | |
*** walden_ has quit IRC | 08:11 | |
*** tisto has joined #zope | 08:28 | |
*** supton has quit IRC | 08:40 | |
*** zagy has joined #zope | 09:03 | |
*** zagy has quit IRC | 09:06 | |
*** __mac__ has joined #zope | 09:22 | |
*** agroszer has joined #zope | 09:39 | |
*** MrTango has joined #zope | 09:46 | |
*** sunew has joined #zope | 09:48 | |
*** tomas has joined #zope | 09:52 | |
tomas | Hi, I'm building rpm packag for zope-schema module and it fails test, can anyone please tell me what's missing in my zope module? http://www.fpaste.org/D9uL/ | 09:54 |
tomas | I suspect my zope-interface package is outdated | 09:57 |
*** giacomos has joined #zope | 10:01 | |
*** avoinea has joined #zope | 10:01 | |
Zart | 3.7.0 is latest | 10:13 |
Zart | is that centos? | 10:14 |
Zart | try testing in virtualenv/buildout | 10:16 |
Arfrever | Zart: What 3.7.0? | 10:16 |
Zart | Arfrever, zope.interface | 10:16 |
Arfrever | Zart: 4.0.1 is the latest. See http://pypi.python.org/pypi/zope.interface | 10:17 |
Zart | oops.. | 10:17 |
* Zart found 3.8.0 and 4.0.1 in his cache | 10:17 | |
Zart | anyway, setup.py test worked for me | 10:18 |
Arfrever | And the latest version of zope.schema is 4.2.0: http://pypi.python.org/pypi/zope.schema | 10:18 |
Arfrever | (Zope-2.13.* seems to work with almost all zope.*-4.*. I only had some exceptions caused by zope.location-4.0.0.) | 10:23 |
*** fredvd has joined #zope | 10:46 | |
*** goschtl has joined #zope | 10:48 | |
*** J1m has joined #zope | 10:54 | |
*** yvl has joined #zope | 10:55 | |
*** eperez has joined #zope | 11:06 | |
*** do3cc has joined #zope | 11:09 | |
*** sunew has quit IRC | 11:09 | |
*** do3cc has quit IRC | 11:14 | |
*** menesis has joined #zope | 11:21 | |
*** J1m has quit IRC | 12:03 | |
*** J1m has joined #zope | 12:04 | |
*** J1m has quit IRC | 12:09 | |
*** RichyB has joined #zope | 12:09 | |
*** giacomos has quit IRC | 12:10 | |
*** goschtl has quit IRC | 12:14 | |
*** goschtl has joined #zope | 12:17 | |
*** maurits has joined #zope | 12:20 | |
*** elro has joined #zope | 12:45 | |
*** davetoo has left #zope | 12:56 | |
*** teix has joined #zope | 13:00 | |
*** tisto_ has joined #zope | 13:00 | |
*** goschtl has quit IRC | 13:02 | |
*** tisto has quit IRC | 13:05 | |
*** deuterium has joined #zope | 13:27 | |
*** goschtl has joined #zope | 13:46 | |
*** tisto_ is now known as tisto|away | 13:50 | |
deuterium | re | 13:52 |
deuterium | how high is the average machine cpu load normally with zope, if zope is almost idle? | 13:53 |
deuterium | with my system here, cpu load is constantly >100%, though it's very fast and new hardware and there are only a couple of requests now and then | 13:54 |
deuterium | that's not normal, right? | 13:54 |
betabug | no | 13:55 |
betabug | here zope idles at 6-7%, but it's a 466Mhz PowerMac G4 | 13:55 |
betabug | hmm, that seems actually have been on a request, it goes down to 0.6% now | 13:56 |
deuterium | betabug: hm.. thanks | 13:57 |
betabug | what version of zope was that? | 13:57 |
deuterium | betabug: i really assume there's a problem with an endless loop in a method here or so | 13:57 |
*** mgedmin has quit IRC | 13:58 | |
*** mgedmin has joined #zope | 13:58 | |
betabug | well, depenidng on zope version, you could check in the ZMI in the /Control_Panel, debugging if you have some long running request | 13:58 |
betabug | but that's assuming some version of Zope 2 | 13:58 |
betabug | so that's why I ask about the version | 13:58 |
deuterium | betabug: well, a very outdated one, unfortunately.. but i'm not allowed to update it yet as the manager of the app is afraid that it won't work anymore with an updated python, zope, zms | 13:58 |
deuterium | betabug: ok, moment, let me check | 13:59 |
betabug | yes, those concerns are valid | 13:59 |
betabug | but if you say zms, it definitely is some zope 2.x version | 13:59 |
deuterium | betabug: yes, it's 2.8.1 | 14:07 |
deuterium | betabug: i.e. can i check in /Control_Panel if a certain request is causing the high load? | 14:08 |
deuterium | betabug: i have to check whether i can get the credentials for the control panel | 14:08 |
betabug | well, without being able to look at /Control_Panel, you can't do anything | 14:09 |
betabug | and you should consider to upgrade to the latest version in the 2.8 series | 14:10 |
deuterium | betabug: i would have tried to attach a gdb to the running zope instance, then have a look at it there | 14:10 |
deuterium | betabug: i agree | 14:10 |
deuterium | betabug: i'm trying to convince the app owner to allow us upgrade the whole python/zope stack | 14:10 |
betabug | first try /Control_Panel/DebugInfo | 14:10 |
deuterium | betabug: ok, thanks | 14:10 |
betabug | upgrading everything to the latest could be difficult | 14:11 |
deuterium | betabug: ironically i'm root on the box, but i have to check for the control_panel credentials | 14:11 |
betabug | but at least going to the last 2.8.x should be easy | 14:11 |
deuterium | betabug: ok | 14:11 |
betabug | if you can restart the instance, you can create an admin account for yourself | 14:11 |
betabug | stop the instance from bin/zopectl | 14:12 |
betabug | then you can use bin/zopectl adduser (or something like that, zopectl has a help | 14:12 |
deuterium | betabug: ok, i'll use that as a last resort if i can't get the control panel credentials otherwise | 14:14 |
betabug | that's reasonable, they might not like to have some other admin users in their app | 14:14 |
*** __mac__1 has joined #zope | 14:15 | |
*** __mac__ has quit IRC | 14:15 | |
deuterium | betabug: btw, is there a nice way or best practice how to compact the data.fs file? it has grown extremely big here.. 25 gb. i assume most of the data there is actually the transaction history and only maybe 1 gb is actual data. | 14:15 |
betabug | you have to "pack" it | 14:16 |
betabug | you can do so from the /Control_Panel | 14:16 |
deuterium | betabug: oh, from the control_panel as well? ok | 14:16 |
betabug | good practice is to have a backup, but nothing ever went wrong for me | 14:16 |
deuterium | backup created by simply copying the file on the shell.. or by creating a backup from the control panel? | 14:17 |
betabug | if you temporarily shut down zope or if you have a ZEO setup, you can also pack from the command line | 14:17 |
betabug | packing will create an auto-backup, but simply copying the file e.g. to another machine is a good idea | 14:17 |
deuterium | zeo setup.. good point. i don't even know this yet | 14:17 |
betabug | don't use rsync to do the backup, it's said to do something wrong... but I never understood what exactly | 14:18 |
betabug | well, you're a bit late to the party :-) | 14:18 |
* deuterium is not a seasoned zope admin.. pretty much a newbie in regard to zope, actually ;) | 14:19 | |
betabug | deuterium: btw, here is a bunch of information that might interest you: http://betabug.ch/blogs/ch-athens/1217 | 14:19 |
deuterium | i.e. i used zope myself.. but that was ages back.. must have been in the late 90ies or so | 14:19 |
deuterium | betabug: thanks! looks very interesting and informative | 14:20 |
*** mitchell`off is now known as mitchell` | 14:20 | |
betabug | yw | 14:21 |
*** elro has quit IRC | 14:35 | |
*** sunew has joined #zope | 14:40 | |
*** Arfrever has quit IRC | 15:13 | |
*** fdrake has joined #zope | 15:14 | |
*** kosh has joined #zope | 15:16 | |
*** fredvd has quit IRC | 15:29 | |
*** elro has joined #zope | 15:50 | |
*** menesis has quit IRC | 15:54 | |
*** sp0cksbeard has joined #zope | 16:08 | |
*** J1m has joined #zope | 16:16 | |
*** les_sylvains has joined #zope | 16:19 | |
*** nande has joined #zope | 16:19 | |
*** tisto|away is now known as tisto | 16:27 | |
*** menesis has joined #zope | 16:32 | |
*** goschtl has quit IRC | 16:37 | |
*** fredvd has joined #zope | 17:06 | |
*** polysix has quit IRC | 17:06 | |
*** polysix has joined #zope | 17:08 | |
deuterium | hm.. any idea how i can block requests from an (alleged) bingbot user-agent to a zope server? i see about 1 "bingbot" request per second 24/7 here.. might be an attack disguised as bingbot, see http://boomshadow.net/tech/fixes/spoofed-bingbot/ | 17:16 |
deuterium | i'd prefer a solution directly on the zope server as there's just an apache proxy in front of it and i shouldn't restart that one and the method to block these bingbot requests as explained on the page likely doesn't work if it's just a proxy for a zope server. | 17:18 |
* mgedmin would solve this on the apache side | 17:18 | |
mgedmin | why can't you restart it? | 17:18 |
deuterium | mgedmin: althought it's just a proxy? | 17:18 |
mgedmin | sure | 17:19 |
*** janbranbergen has joined #zope | 17:19 | |
deuterium | mgedmin: or maybe i should just use the <location> directives instead of <file>, as explained on http://boomshadow.net/tech/fixes/spoofed-bingbot/ | 17:19 |
*** mcdonc has quit IRC | 17:22 | |
janbranbergen | Hi, i am trying to run the test-suite for https://github.com/zopefoundation/Zope, i ran the buildout but bin/test complains about zope.event missing. Can anyone shed some insight? | 17:22 |
*** goschtl has joined #zope | 17:24 | |
*** sunew has quit IRC | 17:45 | |
*** __mac__1 has quit IRC | 17:48 | |
*** goschtl has quit IRC | 17:48 | |
avoinea | Hi all: Within zope3 how do I get a browser view registered for a lower interface like: I have an object that provides ITop and IBottom. Then index.html registered one for IBottom and one for ITop. How do I get the IBottom index.html? :) | 17:49 |
*** mcdonc has joined #zope | 18:00 | |
*** daMaestro has joined #zope | 18:04 | |
*** kosh has quit IRC | 18:05 | |
*** supton has joined #zope | 18:14 | |
*** agroszer has quit IRC | 18:21 | |
*** janbranbergen has left #zope | 18:24 | |
*** tisto has quit IRC | 18:25 | |
*** yvl has quit IRC | 18:56 | |
*** deux has joined #zope | 19:06 | |
*** maurits has quit IRC | 19:06 | |
*** fredvd has quit IRC | 19:13 | |
deuterium | betabug: any idea how i can block access to the zope server that is made by a certain user-agent? i.e. bingbot. i'd like to block these requests on zope directly as blocking them on the apache proxy didn't work as these requests are actually hitting the zope server directly, bypassing the apache proxy server. | 19:13 |
betabug | deuterium: I do this kind of stuff on apache - if these requests bypass apache, then it means your firewall leaves stuff open that shouldn't be open | 19:18 |
deuterium | betabug: valid point | 19:19 |
betabug | and zope is an application server, not a web server; there is a strong expectation that something is in front of it | 19:20 |
betabug | deuterium: you're in .ch? | 19:20 |
*** les_sylvains has quit IRC | 19:20 | |
betabug | funny, hadn't noticed before | 19:21 |
*** eperez has quit IRC | 19:27 | |
deuterium | betabug: yes, i am :) | 19:27 |
*** Spanktar has joined #zope | 19:59 | |
*** Spanktar has joined #zope | 19:59 | |
*** Spanktar has joined #zope | 20:01 | |
*** Spanktar has joined #zope | 20:02 | |
*** avoinea has quit IRC | 20:06 | |
*** agroszer has joined #zope | 20:06 | |
*** mitchell` is now known as mitchell`off | 20:12 | |
*** deux has quit IRC | 20:14 | |
*** menesis has quit IRC | 20:17 | |
*** agroszer has quit IRC | 20:24 | |
*** m8 has joined #zope | 20:24 | |
*** davetoo has joined #zope | 20:30 | |
*** davetoo has left #zope | 20:30 | |
*** deuterium has quit IRC | 20:31 | |
*** les_sylvains has joined #zope | 20:37 | |
*** xanalogica has joined #zope | 20:37 | |
*** xanalogica has quit IRC | 20:39 | |
*** tiwula has joined #zope | 20:44 | |
*** menesis has joined #zope | 21:03 | |
*** thetet has joined #zope | 21:32 | |
*** TresEquis has joined #zope | 21:36 | |
*** goschtl has joined #zope | 21:43 | |
*** mcdonc has quit IRC | 21:56 | |
*** mcdonc has joined #zope | 21:56 | |
*** RichyB has quit IRC | 22:13 | |
*** les_sylvains has quit IRC | 22:14 | |
*** elro has quit IRC | 22:16 | |
*** goschtl has quit IRC | 22:18 | |
*** teix has quit IRC | 22:19 | |
*** betabug has quit IRC | 22:27 | |
*** les_sylvains has joined #zope | 22:35 | |
*** betabug has joined #zope | 22:37 | |
*** MrTango has quit IRC | 22:48 | |
*** jan_s has joined #zope | 22:58 | |
*** menesis has quit IRC | 23:22 | |
*** runyaga has joined #zope | 23:38 | |
*** runyaga has quit IRC | 23:38 | |
*** runyaga has joined #zope | 23:38 | |
*** jan_s has quit IRC | 23:41 | |
*** les_sylvains has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!