IRC log of #zope3-dev for Friday, 2005-05-20

*** tvon has quit IRC00:04
srichterStevea: no00:05
Steveathere was some work around checking for installed python packages00:06
*** bradb has quit IRC00:06
Steveaworth i look i think00:06
*** apoirier has joined #zope3-dev00:06
srichterok, I will00:06
*** srichter has quit IRC00:07
*** dagnachew has quit IRC00:21
*** hazmat has quit IRC00:31
*** Stevea is now known as SteveA|way00:34
*** srichter has joined #zope3-dev00:35
*** ChanServ sets mode: +o srichter00:35
__odieSo in zope3 there basically is no *stable* way to search objects yet?  The TextIndex NG thing is horrid00:47
VladDracthere's the catalog00:48
VladDracting3 is ony zope2+five at this moment (not yet 'ported' to z3)00:48
__odieWhat exactly does the catalog do? There is like *no* documentation on any of this :)00:49
__odieIIRC it finds objects with a certain property?00:49
VladDracyou're not familiar with zope2?00:50
*** hazmat has joined #zope3-dev00:50
__odieno ... :)00:51
VladDracthe catalog indexes content based on attributes00:51
*** vinsci|40 is now known as vinsci00:51
VladDracusing specific indexes00:51
VladDraclike TING3 (which isn't available for z3)00:51
VladDraca simple text and fieldindex are00:51
__odiecould you search for a partial match? or say a value inbetween two ranges?00:53
VladDracnot with the current implementation00:53
VladDracbut eventually, yes00:53
__odieso im gonna need to bone up on search algortihms and write something myself heh00:54
VladDracor fix the catalog :)00:55
__odiei doubt im qualified currently for that :)00:55
srichterVladDrac: I thought Andreas said it works with the Zope 3 catalog as well?00:57
VladDracsrichter I've looked at it00:58
srichterI see00:58
srichterthat's too bad00:58
VladDracas far as I can tell, it can be made to work once you write the z3 glue code around it00:58
*** SureshZ has left #zope3-dev00:58
VladDrac  TXNG 3 is the reimplementation of the well-known TextIndexNG product for00:58
VladDrac  Zope 2 using Zope 3 technologies. The current implementation runs00:58
VladDrac  out-of-the-box on Zope 2 (in combination with Five). The core implementation00:58
VladDrac  can be re-used easily in Zope 3.00:58
__odiewhich really means "cant be used at all" because if it was easy, he would have done it ;)01:00
VladDracactually it looks doable01:00 does resemble z3 index implementations alot01:00
VladDracI might give it a shot01:01
__odieis there some place which gives the current status of the Z3 catalog and what needs to be done to it still?01:04
__odieprobabyl would be easier for me to fix it, than write something similiar and then switch over to yours when it works later :)01:09
srichter__odie: the catalog is pretty much done01:11
srichterwe kep it small on purpose01:11
srichterthe version that is in the trunk will be part of the release01:11
*** MiUlEr has joined #zope3-dev01:13
*** bska|mobile has quit IRC01:15
*** yota has quit IRC01:17
*** J1m has quit IRC01:26
*** bskahan has joined #zope3-dev01:32
__odiesrichter: right, but it can only find exact values right? :)01:33
__odieyou couldn't query for substrings? or values between two valuse (perhaps with the index interface?)01:35
__odieI read the API documentation it was pretty confusing to me, but tahts what I got from it :)01:35
srichterI think the textindex should be able to find substrings01:46
__odiesadly, you're far better off with sql in this regard :)01:50
srichterbut textindex ng is supposed to be pretty good02:04
srichterbetter than SQL02:04
srichterbecause it lets you do language-specific filtering02:05
*** apoirier has quit IRC02:10
*** jelkner has joined #zope3-dev02:11
*** bskahan has quit IRC02:17
*** eaon has quit IRC02:26
*** Aiste has quit IRC03:04
*** Aiste has joined #zope3-dev03:06
*** jelkner has quit IRC03:10
*** tvon has joined #zope3-dev03:34
*** stub has joined #zope3-dev04:01
*** projekt01 has left #zope3-dev04:09
*** hazmat has quit IRC04:16
*** SureshZ has joined #zope3-dev04:32
*** zagy__ has quit IRC05:08
*** zagy has joined #zope3-dev05:08
*** bskahan has joined #zope3-dev05:09
*** BjornT has quit IRC05:24
*** deo has quit IRC06:12
*** BjornT_ has joined #zope3-dev06:36
*** tvon has quit IRC06:37
*** BjornT_ has joined #zope3-dev06:39
*** bskahan has quit IRC07:04
*** SureshZ has left #zope3-dev07:23
*** deo has joined #zope3-dev07:40
*** deo has quit IRC07:48
*** deo has joined #zope3-dev07:49
*** deo has joined #zope3-dev07:50
*** deo has quit IRC07:52
*** deo has joined #zope3-dev07:52
*** MiUlEr has quit IRC07:58
*** __gotcha_ has joined #zope3-dev08:04
*** kaczordek has joined #zope3-dev08:12
*** MiUlEr has joined #zope3-dev08:16
*** __gotcha has quit IRC08:21
*** elbixio has joined #zope3-dev08:40
elbixioHello everybody. I'm new to Zope3 and I'm trying to use PostgreSQL with it. I've read that you can add a SQL script in the the content space and you can use sqlexpr using TALES. Is there another way to use SQL with Zope3? Thanks08:44
__odieelbixio: its pretty quiet here this time of night, I think youd have better luck tomorrow morning (and I dont know the answer to your question :-)08:56
*** __odie is now known as odie-away08:56
odie-awaysrichter: I had some major inspiration for my search problem today ... perhaps when you're around I can run it by you :)08:57
odie-awaygoodnight all!08:57
elbixiogood night :)08:58
*** hdima has joined #zope3-dev09:08
*** yota has joined #zope3-dev09:14
*** sashav has joined #zope3-dev09:30
*** d2m has quit IRC09:43
*** SteveA|way is now known as SteveA09:46
*** stub has quit IRC10:03
*** stub has joined #zope3-dev10:03
*** __gotcha_ is now known as __gotcha10:32
VladDrac odie what kind of idea?11:02
*** elbixio has quit IRC11:07
*** elbixio has joined #zope3-dev11:19
elbixiohi. do the "authentication" package and the "pluggableauth" package have the same purpose?11:21
*** elbixio has quit IRC11:31
*** eaon has joined #zope3-dev11:44
*** lunatik has joined #zope3-dev11:52
*** kaczordek has quit IRC11:52
*** cwells has joined #zope3-dev11:56
*** lunatik has left #zope3-dev12:00
* VladDrac would really like to be fixed12:10
*** regebro has joined #zope3-dev12:10
*** gintas has joined #zope3-dev12:16
VladDracI guess using TextIndexNG under zope3 is slightly less trivial12:47
VladDracthe core isn't as zope2 independend as andreas claims :)12:47
VladDracwait, it compiles!12:47
VladDracship it!12:47
*** projekt01 has joined #zope3-dev12:49
*** alga has joined #zope3-dev12:59
regebrodoes the unittest run?13:05
VladDracdon't think there are any13:05
VladDrachmm wait, there are13:06
regebroSee, you must have quality controls. If the unittest runs:ship it! :)13:09
gintasThe functional test is failing for me for some reason.  Is it just my machine?13:09
hdimagintas: Windows?13:10
hdimastrange, on Linux the test passed13:12
gintasit's odd: the traceback does not include the code of the last few entries in the traceback which the functional test checks, just the file names and line numbers13:12
hdimaI've seen some the test breakage on Windows, but I don't remerber the cause13:13
*** alga has quit IRC13:15
VladDracI lost all errors13:16
VladDracbut it doesn't really index or search yet :)13:16
VladDracinterface.providedBy(foo) returns true if foo can somehow be adapted into interface?13:30
VladDrachmmm guess not13:31
projekt01VladDrac, try interface(foo), if no CommponentLookupError occurs, you get the right adapter13:34
VladDracyeah ok13:34
VladDracI'm more of a LBYL guy13:34
projekt01LBYL ???13:35
VladDraclook before you leap, google it :)13:35
gintasVladDrac, better use IInterface(foo, None) and check if result is not None13:37
gintas(of course, you can use a marker object if you expect None sometimes)13:37
*** stub has quit IRC13:38
projekt01Yes, this is also possible, it depends on what you are trying to do.13:42
projekt01But you are sure that you don't know there is or is not a adapter and you have to check it?13:42
projekt01I preferre to call adapters only if I know there are there. You allways can add a generic adapter for a minimal support for Interface (for="*").13:44
VladDracI'm sure :)13:44
VladDracit's about indexing - random objects must be adapted into something before their index attribute is accessed13:45
*** jinty has joined #zope3-dev13:53
*** bskahan has joined #zope3-dev14:04
*** srichter has quit IRC14:06
VladDracokay, coolness14:11
* VladDrac got TextIndexNG 3 to work witn the zope3 catalog14:11
*** AJC has joined #zope3-dev14:13
VladDracspeaking of the devil14:16
VladDrachmm wait, nevermind14:16
VladDraclunchtime :)14:16
*** d2m has joined #zope3-dev14:18
*** projekt01 has left #zope3-dev14:26
*** bskahan has quit IRC14:27
*** gintas has quit IRC14:28
*** faassen has joined #zope3-dev14:33
*** projekt01 has joined #zope3-dev14:35
*** bskahan has joined #zope3-dev14:35
*** bourbaki has joined #zope3-dev14:41
*** bourbaki has left #zope3-dev14:45
*** mgedmin has joined #zope3-dev14:59
*** J1m has joined #zope3-dev15:06
VladDracmogge j1m15:09
*** bskahan has quit IRC15:14
*** SteveA has quit IRC15:14
*** bskahan has joined #zope3-dev15:17
*** mooded has joined #zope3-dev15:18
*** SteveA has joined #zope3-dev15:34
*** lunatik has joined #zope3-dev15:49
*** jinty has left #zope3-dev15:51
VladDraclet's see if I can get the tng3 tests to work as well15:53
VladDracI wonder if porting additional zope2 indexes is as easy as porting tng315:53
*** Aiste has quit IRC16:00
*** Aiste has joined #zope3-dev16:03
*** Aiste has quit IRC16:03
*** bradb has joined #zope3-dev16:09
*** lunatik has quit IRC16:13
*** ignas has joined #zope3-dev16:14
*** vlado has joined #zope3-dev16:14
*** tarek_ has joined #zope3-dev16:16
*** dagnachew has joined #zope3-dev16:21
*** Aiste has joined #zope3-dev16:23
*** lunatik has joined #zope3-dev16:25
*** lunatik has left #zope3-dev16:26
VladDracare there any zope3 sprints planned for EP?16:34
projekt01Ask, philiKON perhaps he will be there and know something about a sprint16:35
*** gintas has joined #zope3-dev16:47
*** BjornT_ has quit IRC16:47
*** SureshZ has joined #zope3-dev16:48
*** srichter has joined #zope3-dev16:49
*** ChanServ sets mode: +o srichter16:49
*** anguenot has joined #zope3-dev16:55
*** Aiste has quit IRC16:56
*** sashav has quit IRC16:57
*** hdima has quit IRC17:19
*** alga has joined #zope3-dev17:38
*** BjornT has joined #zope3-dev17:43
*** vlado has quit IRC17:53
*** bskahan has quit IRC18:12
*** Aiste has joined #zope3-dev18:20
*** AJC has quit IRC18:23
*** dagnachew has quit IRC18:28
*** mooded has quit IRC18:34
*** projekt01 has left #zope3-dev18:53
*** faassen has quit IRC18:55
*** mgedmin has quit IRC19:13
*** __gotcha has quit IRC19:15
*** tvon has joined #zope3-dev19:30
*** alga has quit IRC19:30
*** ignas has quit IRC19:31
*** tvon has quit IRC19:44
odie-awayVladDrac: Hows that textNG thing going? :)19:49
*** odie-away is now known as __odie19:49
VladDracodie: it's working19:52
__odieVladDrac: cool, maybe you can describe what you did to me sometime ;)19:52
VladDracbasically it will be a new index package for zope319:53
VladDracbut I have to discuss some details with AJ before finalizing things I guess19:53
__odiegood work :)19:53
__odieso you made the textindex use the index interface?19:54
__odieso it can be stored in catalogs?19:54
VladDracin a sense yes19:56
__odieI am trying hard to understand how this stuff works :) not much documentation to go on heh19:56
*** tvon has joined #zope3-dev19:56
VladDracthe catalog/README.txt and catalog/browser/README.txt should get you started19:58
*** tarek_ has quit IRC19:58
__odieI read the catalog Readme a few times, still have some conceptual gaps to fill first ;)19:59
__odiebut thanks :)20:00
__odiegood work though20:00
__odiewhat issues did you encounter while doing this?20:00
*** tvon has quit IRC20:47
*** ignas has joined #zope3-dev20:47
*** mgedmin has joined #zope3-dev20:48
*** alga has joined #zope3-dev20:49
*** tvon has joined #zope3-dev20:51
*** tvon has quit IRC21:02
*** eaon has quit IRC21:05
*** tvon has joined #zope3-dev21:06
*** bskahan has joined #zope3-dev21:06
*** MacYET has joined #zope3-dev21:25
*** anguenot has quit IRC21:46
*** MacYET has left #zope3-dev21:59
*** hazmat has joined #zope3-dev22:11
*** mgedmin is now known as grumpy_mgedmin22:13
*** bskahan has quit IRC22:24
*** SteveA_ has joined #zope3-dev22:24
*** SteveA has quit IRC22:25
*** SteveA_ is now known as SteveA22:25
*** bskahan has joined #zope3-dev22:26
*** dagnachew has joined #zope3-dev22:28
*** dagnachew has quit IRC22:33
*** regebro has left #zope3-dev22:42
*** Aiste has quit IRC22:47
*** projekt01 has joined #zope3-dev22:49
*** bskahan has quit IRC22:54
*** grumpy_mgedmin has quit IRC23:06
*** jinty has joined #zope3-dev23:11
*** hazmat has quit IRC23:18
*** mkerrin has joined #zope3-dev23:22
*** timte has joined #zope3-dev23:32
*** mkerrin has quit IRC23:33
*** hazmat has joined #zope3-dev23:38
*** gintas has quit IRC23:44
*** timte has quit IRC23:54
VladDracFetching external item into 'src/zope/testing'23:57
VladDracsvn: 'src/zope/testing' is not a working copy23:57
VladDracdamn, why does svn keep failing23:58
J1mJusr remove it23:59
J1mJust remove it23:59
J1m(externals suck)23:59
*** jinty has quit IRC23:59
VladDracI did23:59
VladDracit's just annoying, svn is already slow sometimes, if I leave my svn up unattended I'll find it broken later23:59

Generated by 2.15.1 by Marius Gedminas - find it at!