*** MiUlEr has quit IRC | 00:03 | |
*** MiUlEr has joined #zope3-dev | 00:04 | |
*** niemeyer has quit IRC | 00:08 | |
*** MiUlEr has quit IRC | 00:14 | |
*** MiUlEr has joined #zope3-dev | 00:16 | |
*** srichter has joined #zope3-dev | 00:18 | |
*** ChanServ sets mode: +o srichter | 00:20 | |
*** projekt01 has joined #zope3-dev | 00:31 | |
*** mohsen has joined #zope3-dev | 00:37 | |
*** SureshZ has left #zope3-dev | 00:51 | |
*** yota has quit IRC | 01:13 | |
*** GaryPoster has quit IRC | 01:15 | |
*** deo has quit IRC | 01:57 | |
*** projekt01 has left #zope3-dev | 02:31 | |
*** GaryPoster has joined #zope3-dev | 02:44 | |
*** mohsen has quit IRC | 03:57 | |
*** `anthony has quit IRC | 04:18 | |
*** MiUlEr has joined #zope3-dev | 04:48 | |
*** `anthony has joined #zope3-dev | 04:49 | |
*** stub has joined #zope3-dev | 04:52 | |
*** kaczordek has joined #zope3-dev | 05:24 | |
*** viyyer has joined #zope3-dev | 07:11 | |
*** MacYET has quit IRC | 07:21 | |
*** stub has quit IRC | 07:21 | |
*** SteveA has quit IRC | 07:21 | |
*** d2m has quit IRC | 07:21 | |
*** MalcolmC has quit IRC | 07:21 | |
*** vinsci has quit IRC | 07:21 | |
*** philiKON has quit IRC | 07:21 | |
*** Damascene has quit IRC | 07:21 | |
*** Jim7J1AJH has quit IRC | 07:21 | |
*** VladDrac has quit IRC | 07:21 | |
*** jack-e|away has quit IRC | 07:21 | |
*** `anthony has quit IRC | 07:21 | |
*** RaFromBRC has quit IRC | 07:21 | |
*** tonico has quit IRC | 07:21 | |
*** stub has joined #zope3-dev | 07:22 | |
*** `anthony has joined #zope3-dev | 07:22 | |
*** RaFromBRC has joined #zope3-dev | 07:22 | |
*** SteveA has joined #zope3-dev | 07:22 | |
*** philiKON has joined #zope3-dev | 07:22 | |
*** MacYET has joined #zope3-dev | 07:22 | |
*** MalcolmC has joined #zope3-dev | 07:22 | |
*** Damascene has joined #zope3-dev | 07:22 | |
*** tonico has joined #zope3-dev | 07:22 | |
*** d2m has joined #zope3-dev | 07:22 | |
*** vinsci has joined #zope3-dev | 07:22 | |
*** Jim7J1AJH has joined #zope3-dev | 07:22 | |
*** jack-e|away has joined #zope3-dev | 07:22 | |
*** VladDrac has joined #zope3-dev | 07:22 | |
*** stub has quit IRC | 07:23 | |
*** stub has joined #zope3-dev | 07:23 | |
*** viv__ has joined #zope3-dev | 08:50 | |
*** viyyer has quit IRC | 08:51 | |
*** viv__ is now known as viyyer | 08:51 | |
*** Theuni has joined #zope3-dev | 08:58 | |
*** `anthony has quit IRC | 09:16 | |
*** hdima has joined #zope3-dev | 09:34 | |
*** kaczordek has quit IRC | 09:37 | |
*** MacYET_ has joined #zope3-dev | 09:41 | |
*** MacYET has quit IRC | 09:49 | |
*** `anthony has joined #zope3-dev | 09:53 | |
*** yota has joined #zope3-dev | 09:57 | |
*** mgedmin has joined #zope3-dev | 10:27 | |
*** alga has joined #zope3-dev | 10:30 | |
*** `anthony has quit IRC | 11:05 | |
*** MacYET__ has joined #zope3-dev | 11:09 | |
*** d2m has quit IRC | 11:11 | |
*** xerophyte has quit IRC | 11:13 | |
*** d2m has joined #zope3-dev | 11:15 | |
*** MacYET_ has quit IRC | 11:20 | |
*** d2m_ has joined #zope3-dev | 11:21 | |
*** d2m has quit IRC | 11:22 | |
*** Theuni has quit IRC | 11:22 | |
*** MalcolmC has quit IRC | 11:22 | |
*** vinsci has quit IRC | 11:22 | |
*** SteveA has quit IRC | 11:22 | |
*** SteveA has joined #zope3-dev | 11:23 | |
*** d2m_ is now known as d2m | 11:23 | |
*** vinsci has joined #zope3-dev | 11:23 | |
*** Theuni has joined #zope3-dev | 11:31 | |
*** vinsci is now known as vinsci2 | 11:42 | |
*** vinsci2 is now known as vinsci | 11:44 | |
*** RaFromBRC has quit IRC | 11:44 | |
*** mooded has joined #zope3-dev | 11:55 | |
*** Theuni has quit IRC | 12:02 | |
*** Theuni has joined #zope3-dev | 12:18 | |
*** ignas has joined #zope3-dev | 12:31 | |
*** faassen has joined #zope3-dev | 12:33 | |
*** Theuni has quit IRC | 12:36 | |
*** Theuni has joined #zope3-dev | 12:40 | |
*** J1m has joined #zope3-dev | 12:42 | |
*** projekt01 has joined #zope3-dev | 12:58 | |
*** J1m has quit IRC | 13:28 | |
*** tarek__ has joined #zope3-dev | 13:34 | |
mgedmin | aren't relative imports frowned upon in Zope 3 sources? | 13:40 |
---|---|---|
* mgedmin sees "from submit import Update" in zope.app.form.browser.add | 13:41 | |
*** sashav has joined #zope3-dev | 13:42 | |
*** Aiste has joined #zope3-dev | 13:45 | |
*** SteveA has quit IRC | 13:49 | |
projekt01 | mgedmin, I think so. | 13:52 |
*** SteveA has joined #zope3-dev | 13:56 | |
VladDrac | not only frowned upon, they might break/fail your code | 13:57 |
* VladDrac ran into that a while ago | 13:57 | |
SteveA | maybe... | 13:58 |
SteveA | have an __import__ hook when running zope3 tests | 13:58 |
SteveA | that ensures that relative imports either fail tests, or raise warnings | 13:58 |
* SteveA is doing something similar for launchpad, but not for relative imports | 13:58 | |
SteveA | has anyone been running zope3 on amd64 boxes? | 14:36 |
*** viyyer has quit IRC | 14:44 | |
*** sarca has joined #zope3-dev | 14:51 | |
*** Aiste has quit IRC | 14:56 | |
* VladDrac 's diving into his workflow issues again | 14:58 | |
*** bskahan has joined #zope3-dev | 14:58 | |
VladDrac | I just might have fixed it now | 14:59 |
VladDrac | but knowing my current zope3 karma, I probably haven't | 14:59 |
VladDrac | indeed I haven't | 15:00 |
VladDrac | garyposter are you around? | 15:04 |
*** stub has quit IRC | 15:05 | |
*** backrain has joined #zope3-dev | 15:08 | |
*** stub has joined #zope3-dev | 15:08 | |
VladDrac | can you just add Zope3 (persistent) objects to a PersistentDict (that itself is member of a persistent object? | 15:09 |
VladDrac | the persistent dict doesnt' seem to have a _p_jar | 15:09 |
*** srichter has quit IRC | 15:18 | |
* VladDrac is totally confused by containment, persistency, annotation, persistendicts etc | 15:32 | |
MacYET__ | named utilities are unique in z3? | 15:41 |
*** sarca is now known as viyyer | 15:48 | |
*** mgedmin has quit IRC | 15:48 | |
SteveA | VladDrac: you can just set persistent objects in a PersistentDict. that's the point. | 15:51 |
*** mexiKON has joined #zope3-dev | 15:52 | |
VladDrac | well | 15:53 |
VladDrac | hmm | 15:54 |
VladDrac | what's happening is that a standard Zope3 content type is adapted to a ProcessInstanceContainerAdapter | 15:55 |
VladDrac | which uses a PersistentDict in the annotation to store other workflow process instances | 15:55 |
VladDrac | somewhere in this process, persistency fails | 15:56 |
VladDrac | zope/app/keyreference/persistent is looking for a _p_jar somewhere in the parent chain, which fails here | 15:57 |
VladDrac | probably because the Persistent doesn't have one | 15:57 |
SteveA | if it is a newly added PersistentDict, then it won't have one until the transaction is committed | 15:58 |
VladDrac | it is | 15:58 |
VladDrac | should I commit in between then? | 15:58 |
SteveA | if that kind of thing is the problem, then the solution is to use _p_jar.add | 15:58 |
SteveA | no | 15:58 |
VladDrac | (all of this is not my code) | 15:58 |
SteveA | you need to use _p_jar.add() | 15:58 |
VladDrac | _p_jar.add? | 15:58 |
SteveA | you need to use _p_jar.add(the_dict) | 15:58 |
SteveA | yeah | 15:58 |
SteveA | so, you need to get the database connection from somewhere | 15:58 |
VladDrac | ah ok | 15:58 |
VladDrac | I can do that | 15:59 |
SteveA | then, the persistent dict will have a _p_oid and a _p_jar | 15:59 |
*** philiKON has quit IRC | 16:00 | |
*** anguenot has joined #zope3-dev | 16:01 | |
ignas | hi | 16:08 |
ignas | any Zope experts around ? :) | 16:09 |
ignas | what is the exact purpose of includeOverrides directive ? | 16:10 |
SteveA | it allows you to include an override. | 16:10 |
SteveA | next | 16:10 |
SteveA | so... | 16:10 |
SteveA | include says "include this in the bunch of zcml actions parsed so far, and take note of any conflicts" | 16:10 |
ignas | problem: | 16:11 |
SteveA | includeOverrides says "let any conflicts be resolved by making the included zcml directive's actions win" | 16:11 |
ignas | well the code says otherwise | 16:11 |
*** Aiste has joined #zope3-dev | 16:11 | |
ignas | _context.actions[nactions:] = newactions => none of the previously contained actions were harmed during the course of this function ... | 16:12 |
ignas | i mean if i do config.resolveConflicts(_context.actions) before includeOverrides, and i am not geting errors | 16:13 |
ignas | i should have no errors after includeOverrides unless includeOverrides failed itself | 16:13 |
ignas | yet somehow i manage to get conflicting directives error after a succesfull pass of the function ... | 16:14 |
ignas | at least that is what i would expect from the directive, remove old actions in favor of new actions they are conflicting with ... yet show me the part in the function that finds old actions that will be overriden and removes them ... | 16:16 |
SteveA | ignas: write a doctest that illustrates the problem | 16:16 |
ignas | i'll try | 16:17 |
VladDrac | okay | 16:28 |
VladDrac | I know I've said this before | 16:29 |
VladDrac | but I really give up now :) | 16:29 |
* VladDrac will just hack a workaround into zope3, report a bug and hope that someone will fix it | 16:29 | |
VladDrac | this is just too broken and way beyond my knowledge | 16:29 |
*** sashav has quit IRC | 16:45 | |
ignas | SteveA, sorry for false alarm, aparently i misunderstood the way includes work (i thought old ones should be removed), and the problems was in using ajivi-ftesting.zcml to include ftesting overrides, which aparently was the wrong way ... | 16:46 |
*** niemeyer has joined #zope3-dev | 16:49 | |
*** backrain has left #zope3-dev | 16:55 | |
*** hdima has quit IRC | 17:00 | |
*** viyyer has quit IRC | 17:12 | |
*** tvon has joined #zope3-dev | 17:12 | |
*** SureshZ has joined #zope3-dev | 17:16 | |
*** bska|mobile has joined #zope3-dev | 17:20 | |
*** bska|mobile has quit IRC | 17:24 | |
*** vlado has joined #zope3-dev | 17:36 | |
*** tvon|x31 has joined #zope3-dev | 17:47 | |
*** tvon has quit IRC | 17:47 | |
*** stub has quit IRC | 17:50 | |
*** bskahan has quit IRC | 18:08 | |
*** bskahan has joined #zope3-dev | 18:11 | |
*** mooded has quit IRC | 18:18 | |
*** mgedmin has joined #zope3-dev | 18:19 | |
*** jeru has joined #zope3-dev | 18:25 | |
*** alga has quit IRC | 18:26 | |
*** zagy_ has quit IRC | 18:27 | |
jeru | hi all, to start with zope3 I want to create a custom skin. but how can I replace the standard navigation tree page template in my skin ? | 18:28 |
*** vlado has quit IRC | 18:29 | |
projekt01 | Did you inherit your skin from Rotterdam? | 18:29 |
jeru | projekt01: I used the Boston skin as base | 18:30 |
projekt01 | Ok, let me deep into the packages shortly | 18:31 |
jeru | projekt01: thx | 18:31 |
jeru | projekt01: I created a simple tableless layout so far which works quite well right now | 18:32 |
projekt01 | Take a look a the zope.app.skintools.zmicookietreebox. This is the source for the tree where is used in the Boston skin. | 18:33 |
jeru | projekt01: ok ... thanks for the hint :) | 18:33 |
projekt01 | You can simply add your own package for a navigation tree and register then like the default tree is registered in... | 18:33 |
projekt01 | ...src.zope.app.boston.pagelets.zmicookietreebox.zcml | 18:34 |
projekt01 | Hope this pagelet concept is understandable ;-) | 18:34 |
jeru | projekt01: for now it's quite ok for me as Zope newbie ;-) | 18:35 |
*** Theuni has quit IRC | 18:37 | |
projekt01 | jeru, Give me some feedback if the Boston skin and the pagelets are not understandable or to complex. | 18:39 |
jeru | projekt01: I'll do so :) | 18:39 |
*** gintas has joined #zope3-dev | 18:48 | |
*** srichter has joined #zope3-dev | 18:58 | |
*** ChanServ sets mode: +o srichter | 18:59 | |
*** mgedmin has quit IRC | 19:04 | |
*** `anthony has joined #zope3-dev | 19:09 | |
jeru | projekt01: the custom nav tree is working now in my skin ... thanks again for your help :) | 19:18 |
projekt01 | jeru, Cool, this was quick. Did you implement it as a pagelet? | 19:19 |
jeru | projekt01: yep | 19:19 |
projekt01 | Whow! | 19:19 |
projekt01 | jeru, keep in mind that the Boston skin is in a early state and not finished. | 19:21 |
projekt01 | We will add nested menus later and also improve the tree. | 19:22 |
projekt01 | If you have a better version of a navigation tree, fell free to commit it to the skintools | 19:22 |
jeru | projekt01: I have to hurry because I want to finish the new project site for our OSS project till the weekend | 19:22 |
jeru | projekt01: I think I will contribute the whole skin ... if my tests where successful | 19:23 |
projekt01 | Drop me a note about the URL of the project if you are finish. | 19:23 |
projekt01 | Cool | 19:23 |
jeru | projekt01: ok | 19:23 |
*** mgedmin has joined #zope3-dev | 19:24 | |
*** SteveA has quit IRC | 19:25 | |
jeru | projekt01: btw, how stable is the LDAP authentication ? | 19:28 |
jeru | and is there sth like a generic LDAP adapter on a todo list ? | 19:31 |
*** SteveA has joined #zope3-dev | 19:51 | |
*** faassen has left #zope3-dev | 19:51 | |
*** gintas has quit IRC | 20:11 | |
*** alga has joined #zope3-dev | 20:18 | |
*** MiUlEr has quit IRC | 20:36 | |
*** tvon|x31 has quit IRC | 20:46 | |
*** RaFromBRC has joined #zope3-dev | 21:08 | |
*** Aiste has quit IRC | 21:11 | |
*** bskahan has quit IRC | 21:23 | |
*** anguenot has quit IRC | 21:31 | |
*** gintas has joined #zope3-dev | 21:40 | |
*** RaFromBRC has quit IRC | 21:44 | |
*** RaFromBRC has joined #zope3-dev | 21:50 | |
*** gintas has quit IRC | 21:51 | |
*** deo has joined #zope3-dev | 21:53 | |
*** BjornT has quit IRC | 22:13 | |
*** mgedmin has quit IRC | 22:20 | |
*** J1m has joined #zope3-dev | 22:29 | |
*** alga has quit IRC | 22:38 | |
*** yota has quit IRC | 22:42 | |
*** ignas has quit IRC | 22:45 | |
srichter | jeru: there is a working LDAP authentication in the repo | 22:45 |
srichter | it is not part of the core checkout, because it requires the ldap lirary that does not come with python by default | 22:45 |
*** MacYET__ has quit IRC | 22:45 | |
SteveA | srichter: did you make changes to the zcml parsing code to support apidoc? | 23:03 |
*** zagy_ has joined #zope3-dev | 23:04 | |
srichter | no | 23:04 |
srichter | at least not recently | 23:04 |
SteveA | perhaps a while ago | 23:05 |
SteveA | i was trying to implement some directive handlers | 23:05 |
srichter | we added some code that keeps track of registered directives for documentatoin | 23:05 |
SteveA | and i discovered that there's some code that keeps track of registered directives for documentation ;-) | 23:05 |
SteveA | that requires attributes to be present that aren't described in the interfaces | 23:05 |
srichter | yes, that was done before 3.0 | 23:05 |
SteveA | so makes the code very difficult to extend or to provide alternative implementations for | 23:05 |
srichter | ok | 23:06 |
SteveA | i think i'm the only person so far to need to supply an alternative implementation for the directive handlers | 23:06 |
srichter | I did not relalize someone would ever want to componentize zope.configuration | 23:06 |
SteveA | but, when i was looking at it, i wasn't sure what the values are exactly for | 23:06 |
SteveA | so i didn't feel in a position to just add them | 23:06 |
srichter | ok, I see | 23:07 |
SteveA | can we take a look at it together sometime? | 23:07 |
srichter | sure | 23:07 |
srichter | tomorrow? | 23:07 |
SteveA | what timezone are you on? | 23:07 |
SteveA | i'm around generally from 7am UTC until 7pm UTC | 23:10 |
SteveA | my use-case was writing something that will parse all the zcml my project is using, but not process the browser: directives | 23:10 |
SteveA | so, i used a config engine that uses "null" factories / processors for browser directives | 23:11 |
srichter | EST | 23:15 |
srichter | oh, I see | 23:15 |
srichter | I have a look before tomorrow then | 23:15 |
SteveA | there's no big rush for me | 23:15 |
SteveA | but i'd like to get it sorted out, and i think you have the most knowledge in this area | 23:16 |
*** tarek__ has quit IRC | 23:21 | |
*** BjornT has joined #zope3-dev | 23:31 | |
*** zagy_ has quit IRC | 23:38 | |
*** tarek__ has joined #zope3-dev | 23:39 | |
*** tarek__ is now known as tarek | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!