| *** ploufplouf has quit IRC | 00:03 | |
| *** ploufplouf has joined #zope | 00:03 | |
| *** ploufplouf has quit IRC | 00:08 | |
| *** jim_SFU has quit IRC | 00:10 | |
| *** MrWu has quit IRC | 00:23 | |
| *** smita has joined #zope | 00:23 | |
| *** fdrake1 has joined #zope | 00:35 | |
| *** fdrake has quit IRC | 00:36 | |
| CIA-77 | patricks patricks-remove-tmpdir * r118325 zc.recipe.cmmi/src/zc/recipe/cmmi/README.txt: just use glob.. | 00:36 | 
|---|---|---|
| *** goschtl has joined #zope | 00:40 | |
| *** fdrake1 has quit IRC | 00:42 | |
| *** davisagli is now known as davisagli|away | 00:43 | |
| *** thetet has quit IRC | 00:46 | |
| *** davisagli|away is now known as davisagli | 00:47 | |
| *** smita has quit IRC | 00:49 | |
| *** sunew has quit IRC | 00:51 | |
| *** goschtl has quit IRC | 00:56 | |
| *** J1m has quit IRC | 00:59 | |
| *** MrTango has quit IRC | 01:01 | |
| CIA-77 | patricks * r118326 zc.recipe.cmmi/ (6 files in 2 dirs): | 01:18 | 
| CIA-77 | Merge branch that cleans up temporary directories. | 01:18 | 
| CIA-77 | svn merge -r118317:HEAD svn+ssh://svn.zope.org/repos/main/zc.recipe.cmmi/branches/patricks-remove-tmpdir . | 01:18 | 
| CIA-77 | patricks * r118327 zc.recipe.cmmi/ (setup.py CHANGES.txt): Update change log, prepare for release | 01:18 | 
| CIA-77 | patricks * r118328 /zc.recipe.cmmi/tags/1.3.3: Tag 1.3.3 | 01:18 | 
| CIA-77 | patricks * r118329 zc.recipe.cmmi/setup.py: back to dev | 01:18 | 
| *** menesis has quit IRC | 01:25 | |
| *** dvschramm has quit IRC | 01:36 | |
| CIA-77 | patricks 1.2 * r118330 zc.recipe.cmmi/ (7 files in 2 dirs): Backport fixes from 1.3.3 | 01:36 | 
| CIA-77 | patricks * r118331 /zc.recipe.cmmi/tags/1.2.2: Tag 1.2.2 | 01:36 | 
| CIA-77 | patricks 1.2.2 * r118332 zc.recipe.cmmi/setup.py: remove dev marker | 01:36 | 
| CIA-77 | patricks 1.2 * r118333 zc.recipe.cmmi/ (CHANGES.txt setup.py): Back to dev | 01:36 | 
| *** acsr3 has joined #zope | 01:37 | |
| *** acsr1 has quit IRC | 01:39 | |
| *** digitalmortician has joined #zope | 01:59 | |
| *** nitrogenycs has left #zope | 02:13 | |
| *** tiwula has quit IRC | 02:15 | |
| *** supton has quit IRC | 02:19 | |
| *** bigkevmcd has quit IRC | 02:19 | |
| *** vipod has quit IRC | 02:20 | |
| *** redir has quit IRC | 02:27 | |
| *** AnneGilles has quit IRC | 02:28 | |
| *** dayne has quit IRC | 02:29 | |
| *** J1m has joined #zope | 02:35 | |
| *** alexpilz has quit IRC | 02:47 | |
| *** davisagli is now known as davisagli|away | 02:58 | |
| *** alvaro_o has quit IRC | 03:00 | |
| *** J1m has quit IRC | 03:01 | |
| *** daMaestro has quit IRC | 03:21 | |
| *** davisagli|away is now known as davisagli | 03:24 | |
| *** davisagli is now known as davisagli|away | 03:26 | |
| *** davisagli|away is now known as davisagli | 03:46 | |
| *** davisagli is now known as davisagli|away | 03:46 | |
| *** rogererens has quit IRC | 03:47 | |
| *** ccomb has quit IRC | 04:19 | |
| *** huajie has joined #zope | 04:20 | |
| *** davisagli|away is now known as davisagli | 04:30 | |
| *** RUNYAGAs has joined #zope | 04:34 | |
| *** fdrake has joined #zope | 04:35 | |
| *** davisagli is now known as davisagli|away | 04:49 | |
| *** fredvd|meeting has quit IRC | 04:53 | |
| *** acsr has joined #zope | 05:07 | |
| *** davisagli|away is now known as davisagli | 05:09 | |
| *** acsr3 has quit IRC | 05:10 | |
| *** davisagli is now known as davisagli|away | 05:14 | |
| *** davisagli|away has quit IRC | 05:20 | |
| *** davisagli has joined #zope | 05:20 | |
| *** RUNYAGAs has quit IRC | 05:39 | |
| *** davisagli is now known as davisagli|away | 05:54 | |
| *** shodan45 has joined #zope | 05:56 | |
| shodan45 | I'm not very familiar with zope, so forgive me if this is obvious: why can't I upload a zexp file to import via an html form in the ZMI? | 05:59 | 
| *** davisagli|away is now known as davisagli | 06:01 | |
| *** benji has quit IRC | 06:07 | |
| *** kosh has quit IRC | 06:09 | |
| *** kosh has joined #zope | 06:11 | |
| *** srichter has joined #zope | 06:26 | |
| *** kosh has quit IRC | 06:31 | |
| *** kosh has joined #zope | 06:32 | |
| *** davisagli is now known as davisagli|away | 06:35 | |
| *** davisagli|away is now known as davisagli | 06:41 | |
| *** dburba has joined #zope | 06:57 | |
| *** kdie has joined #zope | 06:59 | |
| *** davisagli is now known as davisagli|away | 06:59 | |
| *** digitalmortician has quit IRC | 07:28 | |
| *** fdrake has left #zope | 07:33 | |
| *** davisagli|away is now known as davisagli | 07:36 | |
| *** kdie has quit IRC | 07:37 | |
| *** saju_m has joined #zope | 07:46 | |
| *** davisagli is now known as davisagli|away | 07:58 | |
| *** davisagli|away is now known as davisagli | 08:05 | |
| *** davisagli is now known as davisagli|away | 08:09 | |
| *** davisagli|away has quit IRC | 08:15 | |
| *** davisagli|away has joined #zope | 08:16 | |
| *** davisagli|away is now known as davisagli | 08:16 | |
| *** huajie has quit IRC | 08:36 | |
| *** zagy has joined #zope | 08:39 | |
| *** __mac__ has joined #zope | 08:45 | |
| *** alexpilz has joined #zope | 08:50 | |
| *** wosc has joined #zope | 08:50 | |
| *** alexpilz1 has joined #zope | 08:50 | |
| *** alexpilz1 has quit IRC | 08:50 | |
| *** alexpilz2 has joined #zope | 08:50 | |
| *** alexpilz has quit IRC | 08:50 | |
| *** davisagli is now known as davisagli|away | 08:53 | |
| *** JaRoel|4D has quit IRC | 08:56 | |
| *** shodan45 has quit IRC | 08:57 | |
| *** davisagli|away has quit IRC | 08:57 | |
| *** davisagli|away has joined #zope | 08:57 | |
| *** davisagli|away is now known as davisagli | 08:57 | |
| *** sm has quit IRC | 09:01 | |
| *** sashav has joined #zope | 09:02 | |
| *** davisagli is now known as davisagli|away | 09:13 | |
| *** hever has joined #zope | 09:16 | |
| *** sashav has quit IRC | 09:17 | |
| CIA-77 | icemac * r118334 z3c.wfmcpersistent/ (5 files in 2 dirs): Conform to repository policy. | 09:18 | 
| *** bigkevmcd has joined #zope | 09:25 | |
| *** hever has quit IRC | 09:27 | |
| *** sashav has joined #zope | 09:27 | |
| *** davisagli|away is now known as davisagli | 09:35 | |
| *** davisagli is now known as davisagli|away | 09:36 | |
| *** alga has joined #zope | 09:42 | |
| *** davisagli|away is now known as davisagli | 09:42 | |
| *** davisagli is now known as davisagli|away | 09:43 | |
| *** alexpilz2 has quit IRC | 09:48 | |
| *** smita has joined #zope | 09:50 | |
| CIA-77 | icemac * r118335 z3c.widget/ (26 files in 14 dirs): | 09:52 | 
| CIA-77 | - Updated tests to run with `zope.formlib` 4.0 and `zope.schema` 3.6. | 09:52 | 
| CIA-77 | - Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest[unit]``. | 09:52 | 
| *** J1m has joined #zope | 09:56 | |
| *** J1m has left #zope | 09:58 | |
| *** J1m has quit IRC | 09:58 | |
| CIA-77 | icemac * r118336 z3c.wizard/ (src/z3c/wizard/tests.py CHANGES.txt): | 10:04 | 
| CIA-77 | - Using Python's ``doctest`` module instead of depreacted | 10:04 | 
| CIA-77 | ``zope.testing.doctest``. | 10:04 | 
| CIA-77 | icemac * r118337 z3c.wizard/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Conform to repository policy. | 10:04 | 
| *** davisagli|away is now known as davisagli | 10:06 | |
| *** tisto has joined #zope | 10:06 | |
| *** eperez has joined #zope | 10:07 | |
| *** JaRoel|4D has joined #zope | 10:08 | |
| *** d2m has joined #zope | 10:11 | |
| *** davisagli is now known as davisagli|away | 10:12 | |
| *** ploufplouf has joined #zope | 10:17 | |
| *** MrTango has joined #zope | 10:20 | |
| *** redir has joined #zope | 10:30 | |
| *** planetzopebot has quit IRC | 10:33 | |
| CIA-77 | jinty jinty-mem * r118338 zope.interface/src/zope/interface/interface.py: Apply slots to Element, Attribute and Method classes. This causes breakage in zope.schema which can be fixed by a trivial patch. | 10:34 | 
| *** planetzopebot has joined #zope | 10:34 | |
| *** goschtl has joined #zope | 10:35 | |
| *** alexpilz has joined #zope | 10:35 | |
| *** neo|4D has joined #zope | 10:38 | |
| *** goschtl has quit IRC | 10:41 | |
| *** saju_m has quit IRC | 10:48 | |
| *** saju_m has joined #zope | 10:48 | |
| CIA-77 | jinty jinty-mem * r118339 zope.interface/src/zope/interface/interface.py: Fix threading issue in Specification.subscribe brought up by Laurence Rowe. Document that there is a threading issue in setTaggedValue, but we should be safe ignoring it (thanks Tres). | 10:49 | 
| *** saju_m has quit IRC | 10:57 | |
| *** saju_m has joined #zope | 10:58 | |
| *** sylvain has joined #zope | 11:14 | |
| *** astoon has joined #zope | 11:17 | |
| *** j-w has joined #zope | 11:18 | |
| *** nitrogenycs has joined #zope | 11:21 | |
| *** menesis has joined #zope | 11:24 | |
| *** mitchell`off is now known as mitchell` | 11:24 | |
| *** fredvd has joined #zope | 11:24 | |
| *** sunew has joined #zope | 11:26 | |
| *** saju_m has quit IRC | 11:34 | |
| *** saju_m has joined #zope | 11:35 | |
| *** AnneGilles has joined #zope | 11:57 | |
| *** evilbungle has joined #zope | 11:59 | |
| *** saju_m has quit IRC | 12:11 | |
| *** saju_m has joined #zope | 12:11 | |
| *** saju_m has quit IRC | 12:11 | |
| *** saju_m has joined #zope | 12:11 | |
| *** saju_m has quit IRC | 12:15 | |
| *** saju_m has joined #zope | 12:15 | |
| *** saju_m has quit IRC | 12:16 | |
| *** saju_m has joined #zope | 12:16 | |
| *** saju_m has quit IRC | 12:17 | |
| *** vipod has joined #zope | 12:31 | |
| *** rogererens has joined #zope | 12:39 | |
| *** __mac__ has quit IRC | 12:42 | |
| *** __mac__ has joined #zope | 12:43 | |
| *** __mac__ has quit IRC | 12:43 | |
| *** __mac__ has joined #zope | 12:43 | |
| *** alga has quit IRC | 12:47 | |
| *** agroszer_ has joined #zope | 12:48 | |
| *** teix has joined #zope | 12:52 | |
| *** fredvd has quit IRC | 13:06 | |
| *** agroszer_ is now known as agroszer | 13:07 | |
| *** vipod_ has joined #zope | 13:11 | |
| *** giampaolo has joined #zope | 13:11 | |
| *** vipod has quit IRC | 13:12 | |
| *** vipod_ is now known as vipod | 13:12 | |
| *** mr_jolly has joined #zope | 13:23 | |
| *** menesis has quit IRC | 13:24 | |
| *** menesis has joined #zope | 13:24 | |
| CIA-77 | janjaapdriessen * r118340 /grokproject/branches/janjaapdriessen-hurry.resource: Create feature branch for hurry.resource integration | 13:33 | 
| *** morphex has joined #zope | 13:54 | |
| *** smita has quit IRC | 13:56 | |
| *** AnneGilles has quit IRC | 14:11 | |
| *** sashav has quit IRC | 14:19 | |
| *** rbanffy has joined #zope | 14:22 | |
| *** rbanffy has quit IRC | 14:23 | |
| *** lucmult has joined #zope | 14:25 | |
| *** cna has joined #zope | 14:26 | |
| *** rbanffy has joined #zope | 14:27 | |
| *** rbanffy has quit IRC | 14:28 | |
| *** rbanffy has joined #zope | 14:28 | |
| *** rbanffy has quit IRC | 14:29 | |
| *** rbanffy has joined #zope | 14:29 | |
| *** rbanffy has quit IRC | 14:31 | |
| *** rbanffy_ has joined #zope | 14:32 | |
| *** dayne has joined #zope | 14:33 | |
| *** alexpilz has left #zope | 14:33 | |
| *** rbanffy_ has quit IRC | 14:33 | |
| *** rbanffy_ has joined #zope | 14:34 | |
| *** rbanffy_ has quit IRC | 14:38 | |
| *** rbanffy_ has joined #zope | 14:38 | |
| *** rbanffy_ has quit IRC | 14:38 | |
| *** 36DAASJT9 has joined #zope | 14:38 | |
| *** 36DAASJT9 has quit IRC | 14:39 | |
| *** rbanffy has joined #zope | 14:39 | |
| *** rbanffy has quit IRC | 14:39 | |
| *** morphex has quit IRC | 14:39 | |
| *** cna_ has joined #zope | 14:40 | |
| *** cna has quit IRC | 14:44 | |
| *** cna_ is now known as cna | 14:44 | |
| *** dburba has quit IRC | 14:48 | |
| *** smita has joined #zope | 14:59 | |
| *** ccomb has joined #zope | 14:59 | |
| *** neo|4D has quit IRC | 15:02 | |
| *** astoon has quit IRC | 15:03 | |
| *** thetet has joined #zope | 15:05 | |
| *** benji has joined #zope | 15:12 | |
| *** AnneGilles has joined #zope | 15:17 | |
| *** AnneGilles has quit IRC | 15:21 | |
| *** menesis has quit IRC | 15:24 | |
| *** j-w has quit IRC | 15:32 | |
| *** smita has quit IRC | 15:41 | |
| *** wosc has quit IRC | 15:47 | |
| *** J1m has joined #zope | 15:58 | |
| *** smita has joined #zope | 15:59 | |
| *** jim_SFU has joined #zope | 16:08 | |
| *** nitrogenycs has quit IRC | 16:10 | |
| *** nitrogenycs has joined #zope | 16:19 | |
| *** menesis has joined #zope | 16:26 | |
| *** cna has quit IRC | 16:28 | |
| *** j-w has joined #zope | 16:30 | |
| *** sm has joined #zope | 16:31 | |
| *** sm_ has joined #zope | 16:32 | |
| *** alexpilz has joined #zope | 16:35 | |
| *** dayne has quit IRC | 16:36 | |
| *** sm has quit IRC | 16:36 | |
| *** sm_ is now known as sm | 16:36 | |
| *** TresEquis has joined #zope | 16:42 | |
| *** redir has quit IRC | 16:48 | |
| *** AnneGilles has joined #zope | 16:49 | |
| *** __mac__ has quit IRC | 17:07 | |
| *** __mac__ has joined #zope | 17:08 | |
| *** __mac__ has quit IRC | 17:12 | |
| *** j-w has quit IRC | 17:15 | |
| *** dvschramm has joined #zope | 17:25 | |
| *** J1m has quit IRC | 17:28 | |
| *** dayne has joined #zope | 17:31 | |
| *** dvschramm has quit IRC | 17:34 | |
| *** BGaddie has joined #zope | 17:40 | |
| *** tisto has quit IRC | 17:41 | |
| *** MrWu has joined #zope | 17:41 | |
| *** mr_jolly has left #zope | 17:42 | |
| CIA-77 | jens 2.2 * r118341 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - release prep for version 2.2.2 | 17:53 | 
| CIA-77 | jens * r118342 /Products.DCWorkflow/tags/2.2.2: - tagging version 2.2.2 | 17:53 | 
| CIA-77 | jens 2.2 * r118343 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - vb | 17:53 | 
| CIA-77 | jens * r118344 Products.PluggableAuthService/CHANGES.txt: - release prep for version 1.7.2 | 17:53 | 
| CIA-77 | jens * r118345 /Products.PluggableAuthService/tags/1.7.2: - tagging version 1.7.2 | 17:53 | 
| CIA-77 | jens * r118346 Products.PluggableAuthService/ (CHANGES.txt Products/PluggableAuthService/version.txt): - vb | 17:53 | 
| *** daMaestro has joined #zope | 17:57 | |
| *** dburba has joined #zope | 18:07 | |
| *** tiwula has joined #zope | 18:14 | |
| *** alvaro_o has joined #zope | 18:18 | |
| *** rogererens has quit IRC | 18:18 | |
| *** neo|4D has joined #zope | 18:19 | |
| *** sunew has quit IRC | 18:24 | |
| *** AnneGilles has quit IRC | 18:26 | |
| *** cpf_ has quit IRC | 18:49 | |
| *** davisagli|away is now known as davisagli | 18:50 | |
| *** alecm_ has joined #zope | 18:56 | |
| *** alecm_ has joined #zope | 18:56 | |
| *** alecm has quit IRC | 18:59 | |
| *** alecm_ is now known as alecm | 18:59 | |
| *** smita has quit IRC | 19:02 | |
| *** astoon has joined #zope | 19:03 | |
| *** mr_jolly has joined #zope | 19:04 | |
| *** alga has joined #zope | 19:13 | |
| *** JaRoel|4D has quit IRC | 19:13 | |
| *** eperez has quit IRC | 19:18 | |
| *** AnneGilles has joined #zope | 19:24 | |
| *** alexpilz has quit IRC | 19:30 | |
| *** benji is now known as benji-lunch | 19:42 | |
| *** AnneGilles has quit IRC | 19:43 | |
| *** acsr has quit IRC | 19:47 | |
| *** sylvain has quit IRC | 19:48 | |
| *** pfrog has joined #zope | 19:49 | |
| pfrog | I'm interested in using ZCA for a project of mine, I have a few questions I guess though, like do I have to use zope.interface to register factories to types? | 19:50 | 
| mgedmin | no | 19:52 | 
| mgedmin | although I'm not sure I understand the question | 19:52 | 
| mgedmin | factories to types? | 19:52 | 
| mgedmin | generally you can register adapters on interfaces or types | 19:52 | 
| mgedmin | on the other side, adapters and utilities must provide interfaces, they can't "provide" types | 19:53 | 
| mgedmin | factories don't exist as a separate kind of component | 19:53 | 
| mgedmin | when you need registerable factories, you usually use utilities providing IFactory or something like that | 19:54 | 
| mgedmin | and distinguish them by name | 19:54 | 
| mgedmin | or you could have different interfaces -- IPieFactory, ICakeFactory, etc. | 19:54 | 
| pfrog | well so what I want is something where I give it say, get_factory(type(someobj)) which returns a registered callable | 19:57 | 
| pfrog | that take specific arguments | 19:57 | 
| pfrog | I don't know if ZCA is really a solution to that, I mean I could just a global dict... | 19:57 | 
| mgedmin | use an adapter | 19:57 | 
| pfrog | but I'm using something that already has ZCA | 19:57 | 
| mgedmin | @adapter(StrangeObject) @provides(IFactory) def make_StrangeObject(specific, arguments): return StrangeObject(specific, arguments + 2) | 19:58 | 
| mgedmin | you could even have a default | 19:58 | 
| pfrog | mgedmin: yeah thats what I'm looking for | 19:58 | 
| pfrog | nice | 19:58 | 
| mgedmin | it's a sketch that doesn't work | 19:59 | 
| mgedmin | let me try a better one | 19:59 | 
| pfrog | so to me, an outsider of zope, it looks like ZCA really is a global dict? | 19:59 | 
| pfrog | or well, with some added features | 19:59 | 
| mgedmin | it's a way to have type-based multiple dispatch, is one way of looking at it | 20:01 | 
| mgedmin | it's hierarchy-aware, which makes it more powerful than a dict | 20:01 | 
| pfrog | right | 20:01 | 
| mgedmin | http://pastie.org/1290486 <- better mockup, maybe | 20:02 | 
| pfrog | I've done similiar things in other languages, just never python... I guess I hadn't really needed to with the dynamic nature of it being so flexible... but I mean, the larger the program gets I could see where a global registry like that would be really handy | 20:02 | 
| mgedmin | I probably don't understand what problem you're trying to solve | 20:03 | 
| pfrog | obtaining a factory based on type | 20:04 | 
| pfrog | which zca seemed suited to | 20:04 | 
| mgedmin | one slightly annoying thing is that you cannot pass a type directly to zca lookup functions | 20:05 | 
| mgedmin | you have to pass an instance of a type | 20:05 | 
| pfrog | :-( | 20:06 | 
| pfrog | that seems like a pretty annoying thing | 20:06 | 
| mgedmin | sometimes, not always | 20:06 | 
| mgedmin | if you've got a type already, why the_type() isn't a suitable factory? | 20:06 | 
| mgedmin | can you mandate that for the types you're dealing with they must have a class attribute a_type.create() or something? | 20:07 | 
| pfrog | not especially | 20:07 | 
| mgedmin | what problem are you solving by looking up factories based on types? | 20:07 | 
| pfrog | one is an object that represents some data in a database | 20:07 | 
| pfrog | the other is an object that uses that information to perform some work | 20:07 | 
| pfrog | I want to be able to iterate through a list of varying database "objects" and get ones that do work | 20:08 | 
| mgedmin | a classic example of an adapter pattern | 20:08 | 
| pfrog | thats why I'm here | 20:08 | 
| pfrog | so I guess I asked my question poorly | 20:08 | 
| mgedmin | for obj in list_of_objects_of_various_types: IWorkerOfSomeKindOfWork(obj).doSomeWork() | 20:08 | 
| pfrog | what can zca do to help me here :-) | 20:09 | 
| mgedmin | "factory" to me is a callable that returns a new instance of an object | 20:09 | 
| pfrog | well IWorkerOfSomeKind(obj, someotherobj, someotherstuff).do_work() | 20:09 | 
| pfrog | is more like what I have | 20:09 | 
| pfrog | so I figured a factory for obj that creates the worker might be better suited | 20:10 | 
| pfrog | but if the zca can deal with what I need to do there then I can skip the factories altogether, which would save me time and effort for sure | 20:10 | 
| mgedmin | do you need dynamic dispatch based on one object, or on several? | 20:11 | 
| mgedmin | if one, IWorker(obj).doWork(arg, arg) is best | 20:12 | 
| mgedmin | if you need multi-dispatch, it'll be getMultiAdapter((obj1, obj2, obj3), IWorker).doWork(arg1, arg2) | 20:12 | 
| pfrog | one object | 20:12 | 
| pfrog | and that does seem saner, though see, do_work ends up becoming a factory function for sanity then | 20:13 | 
| pfrog | because IWorker is long lived, its a greenlet | 20:13 | 
| pfrog | really I want to pass all the parameters to the constructor | 20:14 | 
| *** neo|4D has quit IRC | 20:16 | |
| mgedmin | well, you could, I suppose | 20:16 | 
| mgedmin | always declare that your workers adapt(ISpecificType, None, None, None) | 20:16 | 
| mgedmin | and worker = getMultiAdapter((...), IWorker); worker.start_working_in_background_or_whatever() | 20:17 | 
| *** morphex has joined #zope | 20:19 | |
| *** neo|4D has joined #zope | 20:19 | |
| *** dburba has quit IRC | 20:23 | |
| *** menesis has quit IRC | 20:31 | |
| *** benji-lunch is now known as benji | 20:35 | |
| *** evilbungle_ has joined #zope | 20:36 | |
| *** evilbungle has quit IRC | 20:37 | |
| *** evilbungle_ has quit IRC | 20:40 | |
| *** shastry has joined #zope | 20:44 | |
| *** lducas has joined #zope | 20:56 | |
| lducas | Hello, got a strange error: I can't log on /manage because on a python script in the login that use mysql db. And it seems that when I resterted zope, mysql is not connected. How can I reconnect without beeing loged in Zope ? | 20:58 | 
| *** AnneGilles has joined #zope | 21:00 | |
| sm | lducas: are you logging in to the zope root folder ? virtual hosts may prevent this | 21:01 | 
| sm | that would help unless your mysql authentication is installed in the root folder. You should also be able to create/login with the zope super user, see installation docs | 21:03 | 
| *** MrWu has quit IRC | 21:03 | |
| *** TresEquis has quit IRC | 21:04 | |
| lducas | can't acess to the zmi | 21:04 | 
| lducas | http://www.justbiit.com:9673/manage | 21:06 | 
| *** menesis has joined #zope | 21:06 | |
| lducas | had a hacker visit last week : same issue as http://pdw.weinstein.org/2010/06/damn-script-kiddies-get-off-my-lawn.html and I am still wondering how he/she did it cause can't find the file yet and this zope hack might be a consequence of the hack - having put a virtual host on the root ! | 21:08 | 
| lducas | I got zooop much development... will have to restor before the backup before the hack if can't find a solution | 21:11 | 
| neo|4D | lducas: http://www.justbiit.com:9673/select_IPs/manage_main | 21:12 | 
| neo|4D | not really good that it's open for the world :) | 21:12 | 
| *** teix has left #zope | 21:15 | |
| lducas | Thanks Neo, I need anyway to login to hide it ;-) | 21:16 | 
| mgedmin | that was a PHP exploit | 21:18 | 
| mgedmin | in that blog post | 21:19 | 
| mgedmin | zope does not use PHP | 21:19 | 
| lducas | by the way, I am doing an introduction to Plone 4 and need to talk also about Zope for the linuxbahrain.com.. Seems few people knows Zope or Plone in the Middle-East where I live now and will be glade if someone have a nice presentation to help me to rise the Zope/Plone reputation.. | 21:19 | 
| neo|4D | lducas: mabeyou can try running bin/instance debug and try to checkout the connection string of the database connection. I think zope does not connect to mysql because there is something wrong with the credentials or connection string | 21:21 | 
| lducas | it might comes from Joomla "open extension for hacker" or "open realty" Really don't know | 21:22 | 
| neo|4D | lducas: maybe there is something useful for you here : http://blip.tv/search?q=ploneconf2010 the presentations of the last plone conference | 21:23 | 
| *** AnneGilles has quit IRC | 21:25 | |
| lducas | Neo: Thank you ! Will help me. I really look for basic demo, presentation too | 21:28 | 
| lducas | Neo: in my instance I have only ./bin/runzope or zopectl | 21:32 | 
| neo|4D | lducas: bin/zopectl debug | 21:33 | 
| *** AnneGilles has joined #zope | 21:34 | |
| lducas | neo: it is pages of errors! | 21:36 | 
| *** evilbungle has joined #zope | 21:36 | |
| *** AnneGilles has quit IRC | 21:38 | |
| neo|4D | that's not good, you don't get a debug prompt at the end? | 21:41 | 
| lducas | yes I do | 21:43 | 
| *** mitchell` is now known as mitchell`off | 21:44 | |
| neo|4D | lducas: try the following db = getattr(app, "MySQL_database_connection") | 21:45 | 
| lducas | neo: app is not defined | 21:48 | 
| neo|4D | right | 21:48 | 
| *** alga has quit IRC | 21:49 | |
| *** cpf_ has joined #zope | 21:52 | |
| sm | lducas: http://plone.org/documentation/faq/locked-out does not help, then ? | 21:52 | 
| *** astoon has quit IRC | 21:56 | |
| *** alga has joined #zope | 21:56 | |
| *** thetet has quit IRC | 21:56 | |
| neo|4D | sm: probably it won't as he has the loginform using a python script which is calling the zmysql method when trying to access zope | 21:57 | 
| sm | I see | 21:57 | 
| sm | yes | 21:57 | 
| neo|4D | lducas: if you run bin/zopectl debug, you don't see something like "Starting debugger (the name "app" is bound to the top-level Zope object)" | 21:59 | 
| neo|4D | ? | 21:59 | 
| sm | I guess /select_IPs is using the db connection at /MySQL_database_connection . Maybe one of the other 3 db connections listed will work ? | 22:00 | 
| neo|4D | (you should first stop the instance first before doing that) | 22:00 | 
| neo|4D | sm: it's tempting just to try that right :) | 22:00 | 
| sm | yes it is :) | 22:00 | 
| lducas | sm: correct but I need to login in order to change the db or open/close mysql connexion | 22:02 | 
| neo|4D | lducas: did you run bin/zopectl debug when the instance was stopped? | 22:02 | 
| neo|4D | otherwise zope cannot get a connection to the zodb | 22:02 | 
| lducas | neo: yes | 22:03 | 
| lducas | neo: nothing came out.. | 22:04 | 
| sm | feel free to http://paste.lisp.org/new/zope the zopectl debug output | 22:05 | 
| sm | ack, lisppaste no longer knows #zope | 22:06 | 
| *** evilbungle has quit IRC | 22:06 | |
| *** daMaestro|isBack has joined #zope | 22:07 | |
| neo|4D | http://pastie.org/ | 22:07 | 
| lducas | neo: how do I copy:past the output ? where is it locate ?? | 22:07 | 
| neo|4D | just select it :) | 22:08 | 
| sm | lducas: the stuff that appears on your console when you run the bin/zopectl debug command | 22:08 | 
| neo|4D | when you type in : bin/zopectl debug, copy it from your console | 22:08 | 
| neo|4D | what printed there | 22:08 | 
| *** daMaestro has quit IRC | 22:10 | |
| lducas | ;-) past too large on the website when I submit the past ! | 22:11 | 
| neo|4D | just the last 40 lines then | 22:11 | 
| sm | just the first screenful then | 22:12 | 
| sm | bah neo|4D | 22:12 | 
| neo|4D | sorry :) | 22:12 | 
| sm | it's all your pastebin's fault :) | 22:12 | 
| lducas | I know ! ;-))) | 22:13 | 
| lducas | http://paste.lisp.org/display/116521#3 | 22:16 | 
| sm | lducas: what changed since this last worked for you ? zope or plone version perhaps ? | 22:18 | 
| *** alexpilz has joined #zope | 22:19 | |
| *** AnneGilles has joined #zope | 22:19 | |
| mgedmin | those are all irrelevant, lducas | 22:19 | 
| mgedmin | paste the first 40 lines maybe? | 22:19 | 
| neo|4D | mgedmin: but he should have a debug prompt at the right | 22:20 | 
| lducas | I notice zope2.11 but i run 2.10 | 22:20 | 
| * sm would probably rename /var/lib/zope2.10/instance/plone-site/Products to something else temporarily | 22:20 | |
| mgedmin | the deprecation warnings? | 22:20 | 
| lducas | the 1st pages I don't get them.. | 22:20 | 
| mgedmin | ooh, scrollback too short | 22:20 | 
| mgedmin | ouch | 22:20 | 
| mgedmin | and what's at the bottom? no debug prompt? | 22:21 | 
| sm | mgedmin: no app object | 22:21 | 
| mgedmin | how big is the data.fs? | 22:21 | 
| lducas | nothing is return - empty | 22:21 | 
| sm | because of the TypeErrors, I assume | 22:21 | 
| mgedmin | or maybe it hasn't finished initializing yet? | 22:22 | 
| mgedmin | wait, there's more than one chunk of errors | 22:22 | 
| mgedmin | I don't grok lisppaste's UI | 22:22 | 
| mgedmin | the last chunk had just PTS warnings | 22:23 | 
| sm | he said he gets a prompt, and >>> app says "app not defined" | 22:23 | 
| lducas | How do I print the size od data.fs ? and where is it ? | 22:23 | 
| mgedmin | NameError: global name 'get_transaction' is not defined | 22:23 | 
| sm | so I propose to disable all plone products as a quick way to get (closer to) a working debug prompt, to fix the login issue | 22:23 | 
| lducas | sm: when I stop it, it runs and just print a new prompt | 22:24 | 
| * sm does not understand | 22:24 | |
| lducas | when zope was running I get the error of app not defined. Now that I stoped zope, no more error and a new prompt is display with no errors | 22:25 | 
| neo|4D | paste this at http://pastie.org/ if you like? (or paste.lisp.org) | 22:26 | 
| mgedmin | remote debugging is fun | 22:26 | 
| neo|4D | :) | 22:27 | 
| sm | lducas: aha. So does >>> app show something now ? | 22:27 | 
| sm | and >>> app.MySQL_database_connection ? | 22:28 | 
| *** agroszer has quit IRC | 22:29 | |
| lducas | seams it does lik ethe >>> "invalid syntax" | 22:30 | 
| lducas | seems not to like >>> | 22:31 | 
| sm | don't type the >>> yourself | 22:31 | 
| sm | just app | 22:31 | 
| lducas | Applicatio at | 22:31 | 
| sm | excellent | 22:31 | 
| sm | now to repair/change your db connection at the debug prompt, um I think neo|4D has a plan | 22:31 | 
| lducas | It is not my falt ! | 22:31 | 
| lducas | ;-) | 22:32 | 
| neo|4D | sm :) | 22:32 | 
| neo|4D | lducas: well, now you have the app | 22:32 | 
| neo|4D | try : >>> app.MySQL_database_connection.connection_string | 22:32 | 
| lducas | still >>> invalid syntax | 22:33 | 
| neo|4D | (so no >>>, just "app.MySQL_database_connection.connection_string") | 22:33 | 
| neo|4D | just : | 22:33 | 
| neo|4D | app.MySQL_database_connection.connection_string | 22:33 | 
| lducas | ;-) it prints my db name and password and login | 22:34 | 
| lducas | so it is working perfectly | 22:34 | 
| neo|4D | no it's not | 22:34 | 
| neo|4D | try to log in with mysql with that username and password | 22:34 | 
| lducas | I did | 22:34 | 
| neo|4D | and that works? | 22:35 | 
| neo|4D | try the following as well : | 22:37 | 
| neo|4D | app.MySQL_database_connection.connect(app.MySQL_database_connection.connection_string) | 22:37 | 
| *** nitrogenycs has left #zope | 22:37 | |
| lducas | I can browse the data on the BD mysql | 22:37 | 
| lducas | access denied ! | 22:38 | 
| neo|4D | ah | 22:38 | 
| neo|4D | so your zope cannot acces the database connection | 22:39 | 
| neo|4D | so something is wrong with the database settings | 22:39 | 
| neo|4D | can you paste the connection string (without the username and password) | 22:39 | 
| *** davisagli is now known as davisagli|away | 22:39 | |
| * sm sings the remote debugging song | 22:41 | |
| * neo|4D is listening very carefully | 22:42 | |
| lducas | yes, the database has been drop - one of the star DB of the schemas is empty | 22:42 | 
| lducas | webbies | 22:42 | 
| sm | aha.. "surely nobody's using this old thing, I'll just clean that up" | 22:44 | 
| *** smita has joined #zope | 22:44 | |
| neo|4D | so get the database back and your fine to go then I think? | 22:45 | 
| *** J1m has joined #zope | 22:45 | |
| lducas | Thank you NEO 4D, SM & mgedmin | 22:46 | 
| * mgedmin didn't do anything! | 22:46 | |
| sm | you're welcome | 22:46 | 
| *** mr_jolly has left #zope | 22:53 | |
| *** AnneGilles has quit IRC | 22:53 | |
| *** daMaestro|isBack is now known as daMaestro | 22:55 | |
| neo|4D | lducas: can you login now again? | 22:56 | 
| lducas | Thank you, I am so happy ;-) it is a great pleasure to see back Zope up and running !!! Thank you all ! | 22:56 | 
| neo|4D | sm: we can start singing the remote debugging victory song now I think :) | 22:59 | 
| *** d2m has left #zope | 23:02 | |
| *** davisagli|away is now known as davisagli | 23:06 | |
| kosh | hail freaks | 23:24 | 
| *** AnneGilles has joined #zope | 23:28 | |
| *** ploufplouf has quit IRC | 23:34 | |
| *** ploufplouf has joined #zope | 23:34 | |
| *** ploufplouf has quit IRC | 23:39 | |
| *** daMaestro has quit IRC | 23:49 | |
| *** daMaestro has joined #zope | 23:50 | |
| CIA-77 | janjaapdriessen * r118347 /hurry.zoperesource/branches/janjaapdriessen-wsgi: feature branch for wsgi work | 23:50 | 
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!