IRC log of #zope3-dev for Thursday, 2006-03-23

*** sawdog has left #zope3-dev00:17
*** jhauser has quit IRC00:32
*** dunny has quit IRC00:35
*** ChanServ sets mode: +o hazmat00:39
*** srichter has quit IRC00:57
*** MJ has quit IRC00:58
*** srichter has joined #zope3-dev01:00
*** ChanServ sets mode: +o srichter01:00
*** gumpa has left #zope3-dev01:04
*** zbir has quit IRC01:11
*** rockyburt is now known as rockyburt|zzz01:14
*** benji has quit IRC01:14
*** andres_ has joined #zope3-dev01:22
*** tanghus has quit IRC01:24
*** tanghus has joined #zope3-dev01:25
*** ignas has joined #zope3-dev01:28
*** _tarek has quit IRC01:30
*** tarek has joined #zope3-dev01:31
*** andres has quit IRC01:38
*** tanghus has quit IRC02:08
*** tanghus has joined #zope3-dev02:10
*** tanghus has quit IRC02:24
*** tanghus has joined #zope3-dev02:24
*** zbir has joined #zope3-dev02:27
*** dunny has joined #zope3-dev02:46
*** RaFromBRC has quit IRC03:00
*** deo has quit IRC03:01
*** tarek has quit IRC03:10
*** yota has quit IRC03:29
*** fabiorizzo has joined #zope3-dev03:29
*** fabiorizzo has left #zope3-dev03:30
*** stub has joined #zope3-dev03:41
*** philiKON has joined #zope3-dev04:33
*** kamalgill has quit IRC04:38
*** zbir has quit IRC04:47
*** MiUlEr has joined #zope3-dev04:56
*** MiUlEr has left #zope3-dev04:57
*** zbir has joined #zope3-dev04:57
*** zbir has quit IRC05:03
*** jinty has quit IRC05:25
*** niemeyer has quit IRC05:31
*** philiKON has quit IRC05:51
*** oferw has joined #zope3-dev05:58
*** oferw has quit IRC07:29
*** zagy has joined #zope3-dev07:36
*** philiKON has joined #zope3-dev07:38
*** zagy has quit IRC07:44
*** dobee has joined #zope3-dev07:52
*** romanofski has quit IRC08:04
*** eins has joined #zope3-dev08:06
einshi08:06
*** dobee has quit IRC08:22
*** dobee has joined #zope3-dev08:28
*** MJ has joined #zope3-dev08:48
*** dlk has joined #zope3-dev08:51
*** natea is now known as natea|zZz08:51
*** hdima has joined #zope3-dev09:07
*** ignas has quit IRC09:16
*** philiKON has quit IRC09:22
*** j-w has joined #zope3-dev09:24
*** sashav has joined #zope3-dev09:54
*** romanofski has joined #zope3-dev09:58
romanofskimoi10:09
*** rockyburt|zzz has quit IRC10:15
*** MJ has quit IRC10:16
*** eins has quit IRC10:26
*** vinsci has joined #zope3-dev10:31
*** eins has joined #zope3-dev10:33
einshi10:33
*** dobee has quit IRC10:34
romanofskihey eins :)10:35
*** dobee has joined #zope3-dev10:38
einshey romanofski10:40
*** tarek has joined #zope3-dev10:46
*** MJ has joined #zope3-dev10:52
*** dlk has quit IRC11:06
*** _dlk has joined #zope3-dev11:06
*** _dlk is now known as dlk11:07
*** dunny has quit IRC11:44
*** dunny has joined #zope3-dev11:53
*** TrevorP has quit IRC12:00
*** alga has joined #zope3-dev12:01
*** alga_ has joined #zope3-dev12:01
*** alga_ has quit IRC12:01
*** andres_ is now known as andres12:03
*** TrevorP has joined #zope3-dev12:06
*** elbixio has joined #zope3-dev12:17
*** jinty has joined #zope3-dev12:18
*** j-w has quit IRC12:24
*** mgedmin has joined #zope3-dev12:33
*** hazmat is now known as haz-dreamtime12:38
*** yota has joined #zope3-dev12:43
*** Aiste has quit IRC12:45
*** philiKON has joined #zope3-dev12:46
*** vinsci has quit IRC12:50
*** vinsci has joined #zope3-dev12:50
*** mkerrin has joined #zope3-dev12:51
*** j-w has joined #zope3-dev12:51
*** philiKON has quit IRC12:55
*** rockyburt has joined #zope3-dev13:01
*** dunny has quit IRC13:06
*** Aiste has joined #zope3-dev13:10
*** J1m_ has joined #zope3-dev13:11
*** ignas has joined #zope3-dev13:21
*** pari has joined #zope3-dev13:25
parihi13:27
*** pari has left #zope3-dev13:29
*** rockyburt has quit IRC13:41
*** rockyburt has joined #zope3-dev13:47
*** stub has quit IRC13:52
*** stub has joined #zope3-dev13:52
*** andres_ has joined #zope3-dev13:57
*** zbir has joined #zope3-dev14:02
*** dobee_ has joined #zope3-dev14:12
*** dobee_ has quit IRC14:13
*** andres has quit IRC14:14
*** haz-dreamtime has quit IRC14:17
*** dobee_ has joined #zope3-dev14:20
*** dobee_ has quit IRC14:21
*** mgedmin has quit IRC14:25
elbixiohi everybody. I just have one question. Is a FileUpload iterable? I've been trying to parse a FileUpload object using the csv module, and tells me "TypeError: argument 1 must be an iterator"14:25
*** dobee has quit IRC14:25
*** dobee has joined #zope3-dev14:26
*** J1m_ has quit IRC14:32
*** niemeyer has joined #zope3-dev14:42
*** mgedmin has joined #zope3-dev14:42
*** dobee has quit IRC14:48
*** zbir has quit IRC14:50
*** dobee has joined #zope3-dev14:56
*** zbir has joined #zope3-dev15:19
*** deo has joined #zope3-dev15:20
*** zbir has quit IRC15:32
*** dobee has quit IRC15:32
*** dobee has joined #zope3-dev15:36
*** tonico has quit IRC15:48
*** zbir has joined #zope3-dev15:53
*** mgedmin has quit IRC15:56
*** projekt01 has joined #zope3-dev16:00
*** elbixio has quit IRC16:03
*** andres__ has joined #zope3-dev16:03
*** andres has joined #zope3-dev16:07
*** mgedmin has joined #zope3-dev16:11
*** benji has joined #zope3-dev16:15
*** rockyburt is now known as rockyburt|away16:17
*** natea|zZz is now known as natea16:17
*** romanofski has quit IRC16:18
*** dobee has quit IRC16:18
*** andres_ has quit IRC16:20
*** andres__ has quit IRC16:25
*** rockyburt|away is now known as rockyburt16:31
*** stub has quit IRC16:44
*** romanofski has joined #zope3-dev16:48
*** faassen has joined #zope3-dev16:48
*** rockyburt has quit IRC16:55
*** rockyburt has joined #zope3-dev16:56
mgedminouch, @form.action(..., failure='some_method') is buggy17:06
mgedminform.action constructs a lambda to call some_method, and that lambda does not accept enough arguments17:07
*** sashav has quit IRC17:09
*** j-w has quit IRC17:10
srichtermgedmin: ouch17:14
srichtermgedmin: I think the inclusion of zope.formlib was premature anyways17:14
mgedminI'm about to commit a fix17:14
srichtermgedmin: I am very unhappy about the lack of tests, documentation, and style compliance17:15
mgedminzope.formlib is lightyears ahead of regular zope forms, I love it17:15
rockyburti still need to try formlib17:15
faassenit has plenty of documentation..17:15
srichterI don't think it is at the same level that we usually require of new packages17:16
mgedminI have had to read the source to figure things out on several occasions; the documentation (although nice) is incomplete17:16
*** cilkay has quit IRC17:16
rockyburtfaassen: i hope you don't mean that formlib has plenty of documentation like lxml has plenty of documentation ... *grin*17:16
*** cilkay has joined #zope3-dev17:16
faassenrockyburt: what do you mean about lxml?17:16
mgedminsrichter: zope 3 release question: will there be a 3.2.x bugfix release?17:16
faassenrockyburt: most of its documentation is ElementTree's.17:17
rockyburtfaassen: when i first started using lxml basically the docs said go read ElementTree's which are horrible afaic =P17:17
faassenrockyburt: they are?17:17
srichtermgedmin: if one is warrented, we can do one, but I think we should fix some bugs first :-)17:17
srichtermgedmin: not much has happened on th etree17:17
rockyburtfaassen: well... i think this is quite a common problem with scattered python projects, but i find that they all do their docs quite differently which means i have to learn how to use the docs before i can use the docs17:18
rockyburtwith ElementTree i seem to recall this was especially true17:18
faassenrockyburt: it has reasonable API documentation, ElementTree.17:18
mgedminsrichter: should I backport the formlib fix I'm about to commit to the 3.2 branch?  should I create an issue in the collector so there is a referencable number?17:18
srichterbackport: please17:18
srichterissue number: not necessary17:18
rockyburtfaassen: perhaps its just that i'm spoiled coming from java-land where every project does their api docs exactly the same way17:19
faassenrockyburt: yeah, that would be nice.17:20
faassenrockyburt: anyway, I'm not going to redocument ElementTree where I don't need to for lxml. :)17:20
rockyburtfaassen: i understand ;)17:20
faassenrockyburt: maybe the documentation will end up in the standard library..17:21
rockyburtfaassen: i'm also spoiled having used dom4j and jdom in java-land where i think their DOM convenience api's are far better than ElementTree ... i'd love to get some time and/or sponsoring to help lxml get to that level :)17:21
faassenrockyburt: if there are some nice APIs, try suggesting them on the list.17:22
rockyburtdom4j is my favourite, simple things like when querying via xpath you can query "singleNode" or "nodes"17:23
rockyburtunless i missed something last time ElementTree lacked "singleNode"17:23
faassenwhat does singleNode do?17:23
rockyburtwhich is just enough to make me add another line of code to check "if len(nodes) > 0: return nodes[0]"17:23
rockyburtfaassen: it *never* returns a list ;)17:23
faassenwhat if the xpath expression results in a list?17:24
rockyburtso i don't have to do the "check length of returned nodes and use first element if it exists" dance everytime17:24
rockyburtfaassen: simply returns the first item17:24
rockyburtfaassen: the point being that in your code you should already know if you can deal with just one element or not17:24
faassenheh, I imagine in Java if your xpath impression returns a string you have to use a different function. :)17:24
faassenyeah, that sounds useful.17:24
rockyburtlol, indeed17:25
rockyburti mean with ElementTree simply using nodes(xpath='whatever', single=True) or something such would be fine ;)17:25
* rockyburt doesn't really care too much *what* the method names look like, just that they're convenient to use ... if i weren't using ElementTree for convenience i'd just stick with libxml ;)17:25
faassenyou might use lxml because you don't want so many memory leaks and segfaults. :)17:26
faassenanyway, I'd add something like xpathSingle17:27
faassenanyway, propose it on the list. :)17:27
*** hdima has quit IRC17:29
*** gnosis has joined #Zope3-dev17:30
* rockyburt realizes he hijacked the channel for lxml talks ;)17:31
*** RaFromBRC has joined #zope3-dev17:31
srichterrockyburt: it's okay, lxml is being proposaed to be included in the Zope 3 release anyways :-)17:32
rockyburtoh yeah? cool17:32
srichterthere is a proposal17:32
srichterthere were a few outstanding issues though17:33
*** dobee has joined #zope3-dev17:37
mgedminwaah :(17:38
mgedmindespite the bugfix my ingenious strategy doesn't work: http://zope3.pastebin.com/61810417:39
mgedmin"TypeError: 'Action' object is not callable"17:39
*** d2m has quit IRC17:40
*** d2m has joined #zope3-dev17:41
*** alga has quit IRC17:43
*** dokai has quit IRC17:43
*** dokai has joined #zope3-dev17:44
*** gnosis has quit IRC17:45
mgedminoh well I'll just have to abstain from using the decorator17:47
srichter:-(17:48
mgedmin            form.Action('Cancel', success='handle_cancel',17:56
mgedmin                        failure='handle_cancel'),17:56
mgedminis not too bad17:56
faassensrichter: yeah, don't know if it will be in, the main stumbling block is the libxml2 dependency stuff.17:58
faassensrichter: plus the whole notion of 'zope 3 release' is changing.17:58
faassensrichter: but at least in the 0.9 release we've got it eggified. doesn't fix the libxml2 dependency bit, but at least it's something. :)17:58
srichterwell, why would we not want to depend on libxml2?17:59
srichterI think we have to make concessions and accept some dependencies17:59
faassenoh, sure, I agree with you.18:00
faassenit's just we need others to agree too. :)18:00
rockyburtpersonally i feel that having a *good* xml processing library included with zope (2/3) would be terrific and well worth the dependency haggling18:00
srichterok, I thought it was mainly a Pyrex or whatever issue18:01
rockyburtand right now, lxml is as good as it gets in the python world :)18:01
faassensrichter: no, pyrex isn't the issue.18:01
faassenrockyburt: heh, thanks. :)18:01
rockyburtis there or would there be a zope.xml package? (just curious)18:01
*** dobee_ has joined #zope3-dev18:02
faassenif that contains useful code.18:02
faassenrockyburt: anyway, the discussion is here... let me look it up.18:02
rockyburtso is the hope that lxml will land in zope 3.3 ?18:03
*** eins has quit IRC18:03
faassenrockyburt: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/LxmlDependency18:04
faassenrockyburt: I consider it unlikely to happen for 3.3 unless somebody does the work.18:04
faassenrockyburt: not sure what the work would be. I suspect it'd be the inclusion of libxml2, libxslt + lxml.18:04
*** dobee has quit IRC18:08
rockyburti guess not just everyone has access to edit/comment on that wiki page? or else i simply can't figure out how to do it ;)18:10
faassenrockyburt: you need to log into your zope.org account first I think.18:11
faassenrockyburt: it's always an adventure to me to do that. :)18:11
rockyburti am18:11
rockyburti'm logged in... i see my 'rocky' info in top right ,etc18:11
*** gnosis has joined #Zope3-dev18:12
faassenrockyburt: then I don't know...18:12
*** dobee has joined #zope3-dev18:13
projekt01rockyburt, hi, did you see the Edit link left from the History link?18:13
rockyburti wanted to add my 2 cents which was that lxml makes xml processing code cleaner and easier to read and thus easier to maintain ... any existing zope packages that do xml processing would do well to be refactored to use lxml so the rest of us can understand them...18:13
rockyburtand new zope packages that need to do xml could start with lxml so we all have a better chance of understanding them...18:13
faassenrockyburt: right. the only thing missing in lxml at present is iterparse support.18:13
rockyburtprojekt01: nope, i see "View, History, Backlinks, Subscribe, DublinCore"18:13
faassenrockyburt: i.e. we can't really replace sax yet.18:13
projekt01Between View and History I have a Edit button.18:13
rockyburtfaassen: ah i c18:13
rockyburtprojekt01: not i18:14
projekt01;-(18:14
rockyburtoh well18:14
rockyburtdon't need me dirtying up that wiki page anyhow ;)18:14
projekt01Ask Jim if he could add you as a wiki editor18:14
projekt01;-)18:14
* rockyburt calls out to the wikimaster which is j1m18:15
rockyburt;)18:15
*** romanofski has quit IRC18:17
*** dlk has quit IRC18:17
*** dobee__ has joined #zope3-dev18:19
gnosisi'm getting the notorious favicon.ico error when browsing the apidocs, bug or have i done something wrong?18:24
gnosisrunning the 3.2 release18:25
srichterno, just ignore it18:29
gnosisit hangs the server18:30
gnosisNotFound error18:30
*** dobee_ has quit IRC18:32
gnosisjust to clarify, i'm running the server as postmortem18:33
srichterok, then this is true :-)18:33
srichterit will hang the server, if you run postmorten18:34
gnosisah18:34
gnosisso no browsing api when running it as such18:34
srichterI think just noone has ever put time into debugging the problem18:34
gnosisgot ya18:34
srichtergnosis: I suggest running the APIdoc on a non-development server on a different port18:34
andressrichter, btw, whats the state of the offliine apidoc?18:35
srichterthis way you can also use it, if you have a configuration or syntax error in the code18:35
gnosisgood idea18:35
srichterlast time I tried it had a few incorrect links; the script is there, it just needs some testing and tweaking18:35
*** projekt01 has quit IRC18:37
*** dobee__ has quit IRC18:38
*** dobee has quit IRC18:44
*** tonico has joined #zope3-dev18:45
*** MJ has quit IRC19:08
*** dokai has quit IRC19:09
*** dokai has joined #zope3-dev19:09
*** RaFromBRC is now known as RaFromBRC|away19:27
*** zbir has quit IRC19:34
*** zbir has joined #zope3-dev19:38
*** dokai has quit IRC19:45
*** dokai has joined #zope3-dev19:45
*** mkerrin has quit IRC20:11
*** rockyburt is now known as rockyburt|away20:12
*** jinty has quit IRC20:18
*** faassen has quit IRC20:21
*** MJ has joined #zope3-dev20:25
*** vinsci has quit IRC20:27
*** Aiste has quit IRC20:32
*** jinty has joined #zope3-dev20:53
*** rockyburt|away is now known as rockyburt20:54
*** natea is now known as natea|lunch20:57
*** natea|lunch has quit IRC21:01
*** andres has quit IRC21:10
*** mkerrin has joined #zope3-dev21:11
*** Aiste has joined #zope3-dev21:20
*** tonico has quit IRC21:34
*** tonico has joined #zope3-dev21:36
*** tav has joined #zope3-dev21:37
*** sashav has joined #zope3-dev21:40
*** RaFromBRC|away is now known as RaFromBRC22:07
*** dobee has joined #zope3-dev22:29
*** srichter has quit IRC22:29
*** romanofski has joined #zope3-dev22:44
*** danfairs has quit IRC22:51
*** natea has joined #zope3-dev22:52
*** joelburton has joined #zope3-dev22:56
*** projekt01 has joined #zope3-dev23:02
*** dobee has quit IRC23:04
*** dunny has joined #zope3-dev23:05
*** projekt01 has quit IRC23:06
*** joelburton has left #zope3-dev23:19
*** mkerrin has quit IRC23:25
*** hazmat has joined #zope3-dev23:26
*** gnosis has quit IRC23:30
*** ChanServ sets mode: +o hazmat23:31
*** ignas has quit IRC23:37
*** mgedmin has quit IRC23:41
*** natea has quit IRC23:48
*** natea has joined #zope3-dev23:49
*** zbir has quit IRC23:50
*** zbir has joined #zope3-dev23:59

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