IRC log of #zope3-dev for Thursday, 2007-04-05

*** dobee has quit IRC00:01
*** jbb666 has quit IRC00:06
*** jfroche has joined #zope3-dev00:06
*** natea has quit IRC00:14
*** jkakar has quit IRC00:14
*** natea has joined #zope3-dev00:16
*** tom__ has joined #zope3-dev00:19
*** jkakar has joined #zope3-dev00:23
*** salfield_ has quit IRC00:28
*** salfield_ has joined #zope3-dev00:38
*** salfield_ is now known as salfield00:41
*** yota has quit IRC00:50
*** tom__ has quit IRC00:51
salfieldhas anyone given much thought to the possibility of integrating multidimensional indexing structures into zope3?00:57
salfielde.g. Universal Btree00:58
salfieldor even a parallel distributed multidimensional indexing structures like the PN-Tree?00:59
salfieldhttp://mistral.in.tum.de/results/publications/TUM-I9637.pdf01:02
salfieldis by the same guy who invented the btree01:02
*** tarek_ has joined #zope3-dev01:05
salfieldthat one is a bit mathematical while this paper on the pn tree is more readable for a typical computer scientist http://www.cs.purdue.edu/homes/mhali/Publications/PN_tree.pdf01:06
srichterno, no one I know of has looked into this01:09
*** natea is now known as natea|zZz01:09
*** replaceafill has joined #zope3-dev01:09
*** natea|zZz has quit IRC01:10
srichterfrom reading the abstract, it seems it would be most useful to the adapter registry01:11
*** lurker has quit IRC01:14
replaceafillhi everybody. i have a container with OOBTrees inside.01:14
replaceafillIf I add a container, OOBTrees and store data in them, all it works. But when I restart the server I can't see the OOBTree attributes anymore.01:14
replaceafilli'm getting "raise TypeError(_insufficientContext) TypeError: There isn't enough context to get URL information. This is probably due to a bug in setting up location information."01:14
*** faassen has quit IRC01:15
*** bigkevmcd has quit IRC01:16
*** tarek has quit IRC01:26
*** pbugni|afk is now known as pbugni01:28
*** Jell-O-Fishi has quit IRC01:29
*** twcook has quit IRC01:31
salfieldsrichter: how would it be useful in the adapter registry?01:33
salfieldSeems to me that the UBTree would be a good way to store multiple indexed attributes and do efficient range queries over them01:34
salfieldas opposed to, or as an extension to existing indexing structures01:35
srichtersalfield: multi-adapter and effectively multi-dimentional lookups01:35
srichterI do not have such complex indices01:35
salfieldso you would consider using it to find a set of objects which collectively implement an interface? Or to query an implementation in order to be sure that it corresponds to a schema?01:43
salfieldsorry if I miss the point, I am quite new to Zope still01:43
salfieldThe PN-tree or something like it might be to indexing what the dht is to is to hash-tables01:47
salfieldpossible usecase: e.g. if you were to have multiple zeo data sources serving multiple zeo front ends and you wanted to treat the multiple sources transparently addressable from an app, then the PN-Tree would make that possible01:49
salfieldit would also make it possible to parallelise the processing of such queries01:49
salfieldI am thinking p2p zope01:51
salfieldbut maybe that is just not right or good - so I wanted to bounce these ideas off you guys01:51
*** marcin_ant has joined #zope3-dev01:59
*** d2m has quit IRC02:04
salfieldanyhow, if anyone is interested in exploring these ideas - I'd be delighted to speak to them02:04
*** jfroche has quit IRC02:08
*** jfroche has joined #zope3-dev02:12
*** marcin_ant has quit IRC02:13
*** harobed has quit IRC02:19
*** replaceafill has quit IRC02:51
*** meatballhat has joined #zope3-dev02:56
*** meatballhat has left #zope3-dev03:04
*** philiKON has quit IRC03:06
*** jrc2e has joined #zope3-dev03:23
*** wrobel has quit IRC03:24
*** MiUlEr has joined #zope3-dev03:26
*** deo has joined #zope3-dev03:39
*** jfroche has quit IRC03:41
*** salfield_ has joined #zope3-dev04:01
*** salfield has quit IRC04:01
*** pbugni has quit IRC04:30
*** b52lap has quit IRC04:31
*** pbugni has joined #zope3-dev04:35
*** ksmith99 has quit IRC04:42
*** MiUlEr has quit IRC04:48
*** MiUlEr has joined #zope3-dev05:00
*** TresEquis has joined #zope3-dev05:38
*** baijum has joined #zope3-dev05:45
*** niemeyer has quit IRC05:49
*** jrc2e has left #zope3-dev06:33
*** stub has joined #zope3-dev06:49
*** deo has quit IRC06:56
*** baijum has quit IRC07:30
*** baijum has joined #zope3-dev07:47
*** Bhaskar has joined #zope3-dev08:14
*** projekt01 has joined #zope3-dev08:18
*** rocky has joined #zope3-dev08:20
*** afd__ has joined #zope3-dev08:29
*** sorin has joined #zope3-dev08:29
*** sorin is now known as sorindregan08:30
*** strichter has joined #zope3-dev08:39
*** jkakar has quit IRC08:39
*** jkakar has joined #zope3-dev08:39
*** srichter has quit IRC08:40
*** rocky has quit IRC08:42
*** pghoratiu has joined #zope3-dev08:44
*** jukart has joined #zope3-dev08:46
Bhaskarhow cal i get Zope for CMS as similar to joomla or drupal?08:48
baijumBhaskar, look at http://www.plone.org08:50
*** TresEquis has quit IRC09:03
*** dobee has joined #zope3-dev09:04
*** d2m has joined #zope3-dev09:05
*** wrobel has joined #zope3-dev09:10
*** stub has quit IRC09:13
*** naro has joined #zope3-dev09:17
*** philiKON has joined #zope3-dev09:18
*** timte has joined #zope3-dev09:18
*** sorindregan has quit IRC09:36
*** lzdych has joined #zope3-dev09:37
*** salfield_ has quit IRC09:37
*** salfield_ has joined #zope3-dev09:39
*** pghoratiu has quit IRC09:39
*** harobed has joined #zope3-dev09:40
*** dlk has joined #zope3-dev09:43
*** yota has joined #zope3-dev09:49
*** ghendi has joined #zope3-dev09:53
*** sorindregan has joined #zope3-dev09:55
baijumphiliKON, ayt ?09:59
*** MiUlEr has quit IRC09:59
*** philiKON has quit IRC10:00
*** natea|zZz has joined #zope3-dev10:08
*** romanofski has joined #zope3-dev10:26
romanofskimoin10:27
*** sorindregan has quit IRC10:28
*** ghendi has quit IRC10:28
*** lurker has joined #zope3-dev10:29
*** replaceafill has joined #zope3-dev10:42
*** sorindregan has joined #zope3-dev10:43
*** ghendi has joined #zope3-dev10:43
*** stub has joined #zope3-dev10:44
*** replaceafill has quit IRC10:51
*** jinty has joined #zope3-dev10:59
*** marcin_ant has joined #zope3-dev11:04
*** natea|zZz has quit IRC11:08
*** jfroche has joined #zope3-dev11:09
*** natea|zZz has joined #zope3-dev11:09
*** jodok|LA has joined #zope3-dev11:25
*** jodok|LA is now known as jodok11:35
*** b52laptop has joined #zope3-dev11:38
*** salfield_ has quit IRC11:52
*** jodok has quit IRC12:09
*** philiKON has joined #zope3-dev12:11
*** philiKON has quit IRC12:12
*** jodok has joined #zope3-dev12:14
*** jfroche_ has joined #zope3-dev12:14
*** jodok has quit IRC12:17
*** philiKON has joined #zope3-dev12:17
*** stu1 has joined #zope3-dev12:18
*** Bhaskar has quit IRC12:21
*** ignas has joined #zope3-dev12:23
*** zagy has quit IRC12:23
*** philiKON has quit IRC12:24
*** BjornT has quit IRC12:29
*** jfroche has quit IRC12:30
*** stub has quit IRC12:35
*** BjornT has joined #zope3-dev12:44
*** Bhaskar has joined #zope3-dev12:45
*** pghoratiu has joined #zope3-dev12:52
*** philiKON has joined #zope3-dev12:53
*** marcin_ant has quit IRC12:53
*** philiKON has quit IRC12:59
*** mkerrin has joined #zope3-dev13:08
*** dlk has quit IRC13:14
*** jfroche__ has joined #zope3-dev13:18
*** jfroche_ has quit IRC13:34
*** philiKON has joined #zope3-dev13:35
*** harobed_ has joined #zope3-dev13:43
*** dunny has quit IRC13:48
*** naro has quit IRC13:51
*** philiKON has quit IRC13:53
*** jfroche has joined #zope3-dev13:55
*** philiKON has joined #zope3-dev14:01
*** pghoratiu has left #zope3-dev14:04
*** zagy has joined #zope3-dev14:07
*** philiKON_ has joined #zope3-dev14:10
*** philiKON has quit IRC14:10
*** jfroche__ has quit IRC14:11
*** Bhaskar has quit IRC14:23
*** benji has quit IRC14:25
*** BjornT has quit IRC14:25
*** b52lap has joined #zope3-dev14:28
*** philiKON has joined #zope3-dev14:31
*** philiKON_ has quit IRC14:31
*** b52laptop has quit IRC14:43
*** zagy has quit IRC14:44
*** philiKON has quit IRC14:44
*** lzdych has quit IRC14:53
*** pghoratiu has joined #zope3-dev14:54
*** BjornT has joined #zope3-dev14:54
*** harobed_ has quit IRC15:03
*** niemeyer has joined #zope3-dev15:16
*** Jell-O-Fishi has joined #zope3-dev15:23
*** afd__ has quit IRC15:25
*** strichter is now known as srichter15:27
*** ChanServ sets mode: +o srichter15:27
*** benji has joined #zope3-dev15:27
*** afd__ has joined #zope3-dev15:30
*** philiKON has joined #zope3-dev15:39
*** goschtl has joined #zope3-dev15:52
*** sorindregan has quit IRC15:53
*** jfroche_ has joined #zope3-dev15:54
*** sorin has joined #zope3-dev15:58
*** sorin is now known as sorindregan15:58
*** run|home has joined #zope3-dev15:59
*** alga has joined #zope3-dev16:02
*** baijum has quit IRC16:04
*** baijum_ has joined #zope3-dev16:04
*** jfroche has quit IRC16:10
*** philiKON_ has joined #zope3-dev16:21
*** philiKON has quit IRC16:21
*** mgedmin has joined #zope3-dev16:31
*** avoine has joined #zope3-dev16:33
*** redir has joined #zope3-dev16:39
*** whit has quit IRC16:48
*** d2m_ has joined #zope3-dev16:59
*** stu1 is now known as stub17:00
*** philiKON_ has quit IRC17:04
*** sorindregan has quit IRC17:07
*** baijum_ has quit IRC17:07
*** pghoratiu has left #zope3-dev17:11
*** ignas has quit IRC17:14
*** ignas has joined #zope3-dev17:15
*** ignas has quit IRC17:17
*** d2m has quit IRC17:17
*** goschtl has quit IRC17:25
*** lurker has quit IRC17:25
*** baijum_ has joined #zope3-dev17:26
*** baijum_ has quit IRC17:33
*** softdevr has joined #zope3-dev17:37
softdevrhi, how do i access a template file in my filesystem using TALES17:38
softdevrits not in the same directory, so container is no good17:38
*** redir has quit IRC17:43
*** jfroche_ has quit IRC17:44
*** redir has joined #zope3-dev17:45
*** srichter has quit IRC17:53
*** philiKON has joined #zope3-dev17:53
*** jbb666 has joined #zope3-dev17:53
*** srichter has joined #zope3-dev17:55
*** philiKON has quit IRC17:56
*** whit has joined #zope3-dev17:57
*** timte has quit IRC17:59
*** romanofski has quit IRC18:13
*** jukart has quit IRC18:15
*** dobee has quit IRC18:19
*** lzdych has joined #zope3-dev18:22
*** jbb666_ has joined #zope3-dev18:23
*** philiKON has joined #zope3-dev18:33
*** nikhil_n has joined #zope3-dev18:37
*** jbb666 has quit IRC18:37
softdevrphiliKON: quick question if I can, I asked before but got no reply18:42
*** jkakar has quit IRC18:42
philiKONyou can always ask :)18:43
philiKONi might not be able to answer, but you can always ask :)18:43
softdevrthanks18:43
softdevrhow do i access a template file in my filesystem using TALES18:43
softdevrits not in the same directory, so container is no good18:43
*** jkakar has joined #zope3-dev18:44
philiKONyou need to register it as a component to be able to access it18:44
philiKONstuff on the filesystem isn't available until you actually register it18:45
philiKONmake a browser:page directive18:45
afd__softdevr: look also at the zope.formlib configure.zcml for some pointers18:45
softdevrthanks guys, its only simple stuff but not comfortable with it yet18:46
*** tarek_ has left #zope3-dev18:48
*** tarek has joined #zope3-dev18:49
*** Aiste has quit IRC18:50
*** projekt01 has quit IRC18:51
*** benji has quit IRC18:51
*** benji has joined #zope3-dev18:52
*** torkel_ has joined #zope3-dev18:53
*** stub has quit IRC18:59
*** mgedmin is now known as angrymg19:00
*** dobee has joined #zope3-dev19:05
*** jbb666_ has quit IRC19:09
*** benji has quit IRC19:11
nikhil_ncan any one help about zope testing?19:12
philiKONnikhil_n: what do you need to know?19:12
nikhil_ni am now trying to test zodbcode in python2.519:13
philiKONum, why?19:13
nikhil_ni found a module cPersitance missing19:13
nikhil_nfor porting zope3 to python2.519:13
philiKONzodbcode isn't used anywhere in zope 3 i believe19:14
philiKONi don't think it's a top priority19:14
nikhil_nit is listed as the modules which needs to be changed19:14
philiKONhmm, you're right19:14
philiKONforget what i said :)19:14
philiKONi thought it wasn't used, but unfortunately it seems to be used quite a lot19:14
philiKONanyway19:14
nikhil_nwhat about cPersistance19:14
philiKONcPersistence19:15
philiKONwell, seems like you didn't compile zope19:15
philiKONcPersistence.c is in the persistent package19:15
nikhil_ni did , ./configure and make19:15
nikhil_nbut make returned error19:15
philiKONwell, then it didn't compile everything19:16
philiKONlooks like it didn't get to cPersistence.c19:16
philiKONor failed there19:16
nikhil_nstill can i test independent packages using test.py?19:16
nikhil_ni tried it19:16
philiKONsure, if they don't depend on persistence19:16
philiKONbut zodbcode obviously depends on the 'persistent' package19:17
nikhil_nit passed test for, interface and datetime19:17
nikhil_nya19:17
philiKONyes, they don't depend on persistent19:18
nikhil_nhow is cPersistance.c made a module?19:18
philiKONit's compiled to a .so19:18
philiKONi thought you knew the Python C api?19:18
nikhil_nbut here there is certain changes19:19
nikhil_nint changes 2.519:19
nikhil_nshould it change in code also19:20
nikhil_nzope code19:20
philiKONno idea, that's for you to find out :)19:20
nikhil_nok19:21
nikhil_ndoes zope uses distutils much19:21
angrymgthere's a push to eggify zope19:22
angrymgeggs depend on setuptools which is built on distutils19:22
angrymgalso, zope has always used distutils to build C extension modules (such as cPersistence)19:23
nikhil_nya19:23
*** harobed has quit IRC19:25
nikhil_nThe datetime package is given in the projects web page as requiring changes19:25
nikhil_nbut it passed the testing19:26
nikhil_nfor python2.519:26
philiKONthat's good19:26
philiKONdon't take everything for granted :)19:26
philiKONin the end, *all* tests of zope should pass19:26
philiKONwhether they were reported as breaking before or not19:27
nikhil_nok19:27
philiKONnikhil_n: are you a zope committer yet?19:27
nikhil_nbecomming19:28
philiKONgood, be sure to become one so you can check that stuff in on a branch19:28
nikhil_nnow getting more and more involved each day19:29
philiKONthat's good. becoming a zope contributor only involves one signature :)19:29
nikhil_n:)19:29
philiKONthe reason is that when you check in your stuff, it's easier for us to monitor and guide you19:29
philiKONwe see the checkins on the mailinglist and we can reproduce what you see19:30
*** jbb666 has joined #zope3-dev19:30
nikhil_nok19:30
philiKONso get on it :)19:31
nikhil_nok ,thanks19:31
*** nikhil_n has quit IRC19:36
*** torkel_ has quit IRC19:41
*** softdevr has quit IRC19:42
*** harobed_ has joined #zope3-dev19:44
*** philiKON has quit IRC19:47
*** meatballhat has joined #zope3-dev19:54
*** alga has quit IRC19:56
*** jukart has joined #zope3-dev20:00
*** rlo has joined #zope3-dev20:05
*** rlo has quit IRC20:08
*** mkerrin has quit IRC20:13
*** natea|zZz is now known as natea20:14
*** rlo has joined #zope3-dev20:15
*** redir has quit IRC20:16
*** alecm has joined #zope3-dev20:25
*** harobed_ has quit IRC20:27
*** dunny has joined #zope3-dev20:33
srichterahhhh, I accidently declined someone!!!20:34
srichterWhere is undo on Launchpad?20:34
*** meatballhat has quit IRC20:34
angrymgin ++control++/zodbUndo.html? :)20:35
angrymgah, right, launchpad doesn't use zodb20:35
srichterangrymg: why are you angry?20:39
angrymgbecause wifi here is acting up and dropping my ssh sessions every 60 seconds or so20:40
angrymg(and a hundred other small reasons, especially the headache)20:40
srichteroh, I see20:40
srichterangrymg: I really like the log converter you wrote :-) runs prefectly20:41
angrymglog converter?20:41
angrymgirclog2html?20:41
srichterfor supybot ChannelLogger20:41
srichteryep20:41
srichterthis one20:42
angrymgthat's a port of Jeff Waugh's irclog2html perl script20:42
angrymgat least it started as one20:42
angrymgthen I did a lot of refactoring20:42
srichterfirst I thought it would take me a while to setup, but it was very quick20:42
*** meatballhat has joined #zope3-dev20:44
srichterthe output is really nice and applying it to the directory is great20:44
*** bigkevmcd has joined #zope3-dev20:51
*** pbugni has quit IRC21:01
*** timte has joined #zope3-dev21:03
*** benji has joined #zope3-dev21:17
*** alga has joined #zope3-dev21:22
*** dobee has quit IRC21:30
*** jukart has quit IRC21:31
*** meatballhat_ has joined #zope3-dev21:40
*** pcardune has joined #zope3-dev21:41
*** redir has joined #zope3-dev21:41
*** pbugni has joined #zope3-dev21:44
*** rlo has quit IRC21:48
*** pbugni has quit IRC21:53
*** meatballhat has quit IRC21:56
*** meatballhat_ is now known as meatballhat22:06
*** jukart has joined #zope3-dev22:21
*** pcardune has quit IRC22:21
meatballhatwhat's a good approach for debugging a ComponentLookupError?  (I seem to be getting them a lot)22:24
angrymgthinking about it is the best way, I think22:26
*** tarek has quit IRC22:26
angrymgthere are all those different cases (is it a local or a global component?  where is it registered?  what interfaces does my object implement?)22:27
meatballhatangrymg: har har....    I'm not looking for a freebie, I'm just wondering if there's a preferred method for thinking through the layers ...    like the example you've just given22:27
meatballhatI'm having the most trouble (embarrassingly) with simple Form widgets22:28
angrymgah, those are fun22:28
angrymgnote that not all schema fields have widgets defined for them in zope22:29
angrymgObject fields, for example22:29
angrymgum, I think22:29
angrymgno, ignore me22:29
meatballhatthe ComponentLookupError gets raised in zope.component.getMultiAdapter ... yeah, I'm having to do a Custom Widget22:29
meatballhat:D22:29
meatballhatI actually ended up just using a Choice field with a Vocabulary ... and all of my configuration and such seems to be okay, because the Traceback specifically references my SimpleVocabulary object   :(22:31
*** ktwilight has quit IRC22:35
*** ktwilight has joined #zope3-dev22:36
angrymgis this in real life or in a unit test?22:43
meatballhatangrymg: real life ... er .... life in my dark little corner (does that count?)22:44
angrymgstrange22:45
angrymgpastebin your schema?22:45
meatballhatwill do ... although it's virtually identical to when you helped me the other day  :D22:45
meatballhathttp://python.pastecode.com/2138322:46
*** tarek has joined #zope3-dev22:46
angrymghow did you register your vocabulary in zcml?22:48
*** jodok has joined #zope3-dev22:48
meatballhatangrymg: yeppers, and here's the utility for making my vocabulary:  http://python.pastecode.com/2138422:48
angrymgyou use strange indentation22:50
angrymgI see nothing wrong in the code22:50
angrymgwhat's the exception?22:50
*** avoine has quit IRC22:50
meatballhat:D   ... I'm learning from philiKON   .... I hope I'm learning the right way  :P  .... the exception is a ComponentLookupError from getMultiAdapter ... I'll paste it22:51
meatballhathttp://python.pastecode.com/2138522:53
*** Aiste has joined #zope3-dev22:53
meatballhathttp://python.pastecode.com/2138622:54
angrymglooks like you're trying to use SourceRadioWidget with a vocabulary22:55
angrymgtry a simple RadioWidget instead22:55
angrymgI haven't used sources much...22:56
meatballhatangrymg: sheesh.... I'm a dullard ..... :P    I was using a Source before ... egad22:56
* angrymg thought vocabularies were a subclass of sources22:56
meatballhatI wanted to use a Source because of what I'd read about Vocabularies being deprecated ... but couldn't get the SourceRadioWidget to work  :P  ......22:57
angrymgsources are more rad/kool/fashionable, but also, I think, more difficult to use22:59
angrymgI may be completely wrong, because I haven't used them much :)22:59
meatballhatheehee ... I'd like to figure them out eventually, especially because I'd like the list for Choice to be more admin-friendly ... figure out a simple TTW control  :-/23:00
*** wrobel has quit IRC23:01
angrymggood luck!23:01
*** angrymg has quit IRC23:01
meatballhateep .....    someday  ....23:02
meatballhatmany thanks to Mr. Gedminas for his help23:04
*** niemeyer has quit IRC23:07
*** pcardune has joined #zope3-dev23:10
*** ghendi has quit IRC23:15
*** ghendi has joined #zope3-dev23:15
*** tarek has quit IRC23:25
*** pbugni has joined #zope3-dev23:27
*** redir has quit IRC23:30
*** redir has joined #zope3-dev23:39
*** d2m_ has quit IRC23:49
*** Aiste has quit IRC23:50
*** hazmat is now known as haz-away23:53

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