*** sawdog has left #zope3-dev | 00:17 | |
*** jhauser has quit IRC | 00:32 | |
*** dunny has quit IRC | 00:35 | |
*** ChanServ sets mode: +o hazmat | 00:39 | |
*** srichter has quit IRC | 00:57 | |
*** MJ has quit IRC | 00:58 | |
*** srichter has joined #zope3-dev | 01:00 | |
*** ChanServ sets mode: +o srichter | 01:00 | |
*** gumpa has left #zope3-dev | 01:04 | |
*** zbir has quit IRC | 01:11 | |
*** rockyburt is now known as rockyburt|zzz | 01:14 | |
*** benji has quit IRC | 01:14 | |
*** andres_ has joined #zope3-dev | 01:22 | |
*** tanghus has quit IRC | 01:24 | |
*** tanghus has joined #zope3-dev | 01:25 | |
*** ignas has joined #zope3-dev | 01:28 | |
*** _tarek has quit IRC | 01:30 | |
*** tarek has joined #zope3-dev | 01:31 | |
*** andres has quit IRC | 01:38 | |
*** tanghus has quit IRC | 02:08 | |
*** tanghus has joined #zope3-dev | 02:10 | |
*** tanghus has quit IRC | 02:24 | |
*** tanghus has joined #zope3-dev | 02:24 | |
*** zbir has joined #zope3-dev | 02:27 | |
*** dunny has joined #zope3-dev | 02:46 | |
*** RaFromBRC has quit IRC | 03:00 | |
*** deo has quit IRC | 03:01 | |
*** tarek has quit IRC | 03:10 | |
*** yota has quit IRC | 03:29 | |
*** fabiorizzo has joined #zope3-dev | 03:29 | |
*** fabiorizzo has left #zope3-dev | 03:30 | |
*** stub has joined #zope3-dev | 03:41 | |
*** philiKON has joined #zope3-dev | 04:33 | |
*** kamalgill has quit IRC | 04:38 | |
*** zbir has quit IRC | 04:47 | |
*** MiUlEr has joined #zope3-dev | 04:56 | |
*** MiUlEr has left #zope3-dev | 04:57 | |
*** zbir has joined #zope3-dev | 04:57 | |
*** zbir has quit IRC | 05:03 | |
*** jinty has quit IRC | 05:25 | |
*** niemeyer has quit IRC | 05:31 | |
*** philiKON has quit IRC | 05:51 | |
*** oferw has joined #zope3-dev | 05:58 | |
*** oferw has quit IRC | 07:29 | |
*** zagy has joined #zope3-dev | 07:36 | |
*** philiKON has joined #zope3-dev | 07:38 | |
*** zagy has quit IRC | 07:44 | |
*** dobee has joined #zope3-dev | 07:52 | |
*** romanofski has quit IRC | 08:04 | |
*** eins has joined #zope3-dev | 08:06 | |
eins | hi | 08:06 |
---|---|---|
*** dobee has quit IRC | 08:22 | |
*** dobee has joined #zope3-dev | 08:28 | |
*** MJ has joined #zope3-dev | 08:48 | |
*** dlk has joined #zope3-dev | 08:51 | |
*** natea is now known as natea|zZz | 08:51 | |
*** hdima has joined #zope3-dev | 09:07 | |
*** ignas has quit IRC | 09:16 | |
*** philiKON has quit IRC | 09:22 | |
*** j-w has joined #zope3-dev | 09:24 | |
*** sashav has joined #zope3-dev | 09:54 | |
*** romanofski has joined #zope3-dev | 09:58 | |
romanofski | moi | 10:09 |
*** rockyburt|zzz has quit IRC | 10:15 | |
*** MJ has quit IRC | 10:16 | |
*** eins has quit IRC | 10:26 | |
*** vinsci has joined #zope3-dev | 10:31 | |
*** eins has joined #zope3-dev | 10:33 | |
eins | hi | 10:33 |
*** dobee has quit IRC | 10:34 | |
romanofski | hey eins :) | 10:35 |
*** dobee has joined #zope3-dev | 10:38 | |
eins | hey romanofski | 10:40 |
*** tarek has joined #zope3-dev | 10:46 | |
*** MJ has joined #zope3-dev | 10:52 | |
*** dlk has quit IRC | 11:06 | |
*** _dlk has joined #zope3-dev | 11:06 | |
*** _dlk is now known as dlk | 11:07 | |
*** dunny has quit IRC | 11:44 | |
*** dunny has joined #zope3-dev | 11:53 | |
*** TrevorP has quit IRC | 12:00 | |
*** alga has joined #zope3-dev | 12:01 | |
*** alga_ has joined #zope3-dev | 12:01 | |
*** alga_ has quit IRC | 12:01 | |
*** andres_ is now known as andres | 12:03 | |
*** TrevorP has joined #zope3-dev | 12:06 | |
*** elbixio has joined #zope3-dev | 12:17 | |
*** jinty has joined #zope3-dev | 12:18 | |
*** j-w has quit IRC | 12:24 | |
*** mgedmin has joined #zope3-dev | 12:33 | |
*** hazmat is now known as haz-dreamtime | 12:38 | |
*** yota has joined #zope3-dev | 12:43 | |
*** Aiste has quit IRC | 12:45 | |
*** philiKON has joined #zope3-dev | 12:46 | |
*** vinsci has quit IRC | 12:50 | |
*** vinsci has joined #zope3-dev | 12:50 | |
*** mkerrin has joined #zope3-dev | 12:51 | |
*** j-w has joined #zope3-dev | 12:51 | |
*** philiKON has quit IRC | 12:55 | |
*** rockyburt has joined #zope3-dev | 13:01 | |
*** dunny has quit IRC | 13:06 | |
*** Aiste has joined #zope3-dev | 13:10 | |
*** J1m_ has joined #zope3-dev | 13:11 | |
*** ignas has joined #zope3-dev | 13:21 | |
*** pari has joined #zope3-dev | 13:25 | |
pari | hi | 13:27 |
*** pari has left #zope3-dev | 13:29 | |
*** rockyburt has quit IRC | 13:41 | |
*** rockyburt has joined #zope3-dev | 13:47 | |
*** stub has quit IRC | 13:52 | |
*** stub has joined #zope3-dev | 13:52 | |
*** andres_ has joined #zope3-dev | 13:57 | |
*** zbir has joined #zope3-dev | 14:02 | |
*** dobee_ has joined #zope3-dev | 14:12 | |
*** dobee_ has quit IRC | 14:13 | |
*** andres has quit IRC | 14:14 | |
*** haz-dreamtime has quit IRC | 14:17 | |
*** dobee_ has joined #zope3-dev | 14:20 | |
*** dobee_ has quit IRC | 14:21 | |
*** mgedmin has quit IRC | 14:25 | |
elbixio | hi 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 IRC | 14:25 | |
*** dobee has joined #zope3-dev | 14:26 | |
*** J1m_ has quit IRC | 14:32 | |
*** niemeyer has joined #zope3-dev | 14:42 | |
*** mgedmin has joined #zope3-dev | 14:42 | |
*** dobee has quit IRC | 14:48 | |
*** zbir has quit IRC | 14:50 | |
*** dobee has joined #zope3-dev | 14:56 | |
*** zbir has joined #zope3-dev | 15:19 | |
*** deo has joined #zope3-dev | 15:20 | |
*** zbir has quit IRC | 15:32 | |
*** dobee has quit IRC | 15:32 | |
*** dobee has joined #zope3-dev | 15:36 | |
*** tonico has quit IRC | 15:48 | |
*** zbir has joined #zope3-dev | 15:53 | |
*** mgedmin has quit IRC | 15:56 | |
*** projekt01 has joined #zope3-dev | 16:00 | |
*** elbixio has quit IRC | 16:03 | |
*** andres__ has joined #zope3-dev | 16:03 | |
*** andres has joined #zope3-dev | 16:07 | |
*** mgedmin has joined #zope3-dev | 16:11 | |
*** benji has joined #zope3-dev | 16:15 | |
*** rockyburt is now known as rockyburt|away | 16:17 | |
*** natea|zZz is now known as natea | 16:17 | |
*** romanofski has quit IRC | 16:18 | |
*** dobee has quit IRC | 16:18 | |
*** andres_ has quit IRC | 16:20 | |
*** andres__ has quit IRC | 16:25 | |
*** rockyburt|away is now known as rockyburt | 16:31 | |
*** stub has quit IRC | 16:44 | |
*** romanofski has joined #zope3-dev | 16:48 | |
*** faassen has joined #zope3-dev | 16:48 | |
*** rockyburt has quit IRC | 16:55 | |
*** rockyburt has joined #zope3-dev | 16:56 | |
mgedmin | ouch, @form.action(..., failure='some_method') is buggy | 17:06 |
mgedmin | form.action constructs a lambda to call some_method, and that lambda does not accept enough arguments | 17:07 |
*** sashav has quit IRC | 17:09 | |
*** j-w has quit IRC | 17:10 | |
srichter | mgedmin: ouch | 17:14 |
srichter | mgedmin: I think the inclusion of zope.formlib was premature anyways | 17:14 |
mgedmin | I'm about to commit a fix | 17:14 |
srichter | mgedmin: I am very unhappy about the lack of tests, documentation, and style compliance | 17:15 |
mgedmin | zope.formlib is lightyears ahead of regular zope forms, I love it | 17:15 |
rockyburt | i still need to try formlib | 17:15 |
faassen | it has plenty of documentation.. | 17:15 |
srichter | I don't think it is at the same level that we usually require of new packages | 17:16 |
mgedmin | I have had to read the source to figure things out on several occasions; the documentation (although nice) is incomplete | 17:16 |
*** cilkay has quit IRC | 17:16 | |
rockyburt | faassen: 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-dev | 17:16 | |
faassen | rockyburt: what do you mean about lxml? | 17:16 |
mgedmin | srichter: zope 3 release question: will there be a 3.2.x bugfix release? | 17:16 |
faassen | rockyburt: most of its documentation is ElementTree's. | 17:17 |
rockyburt | faassen: when i first started using lxml basically the docs said go read ElementTree's which are horrible afaic =P | 17:17 |
faassen | rockyburt: they are? | 17:17 |
srichter | mgedmin: if one is warrented, we can do one, but I think we should fix some bugs first :-) | 17:17 |
srichter | mgedmin: not much has happened on th etree | 17:17 |
rockyburt | faassen: 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 docs | 17:18 |
rockyburt | with ElementTree i seem to recall this was especially true | 17:18 |
faassen | rockyburt: it has reasonable API documentation, ElementTree. | 17:18 |
mgedmin | srichter: 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 |
srichter | backport: please | 17:18 |
srichter | issue number: not necessary | 17:18 |
rockyburt | faassen: perhaps its just that i'm spoiled coming from java-land where every project does their api docs exactly the same way | 17:19 |
faassen | rockyburt: yeah, that would be nice. | 17:20 |
faassen | rockyburt: anyway, I'm not going to redocument ElementTree where I don't need to for lxml. :) | 17:20 |
rockyburt | faassen: i understand ;) | 17:20 |
faassen | rockyburt: maybe the documentation will end up in the standard library.. | 17:21 |
rockyburt | faassen: 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 |
faassen | rockyburt: if there are some nice APIs, try suggesting them on the list. | 17:22 |
rockyburt | dom4j is my favourite, simple things like when querying via xpath you can query "singleNode" or "nodes" | 17:23 |
rockyburt | unless i missed something last time ElementTree lacked "singleNode" | 17:23 |
faassen | what does singleNode do? | 17:23 |
rockyburt | which is just enough to make me add another line of code to check "if len(nodes) > 0: return nodes[0]" | 17:23 |
rockyburt | faassen: it *never* returns a list ;) | 17:23 |
faassen | what if the xpath expression results in a list? | 17:24 |
rockyburt | so i don't have to do the "check length of returned nodes and use first element if it exists" dance everytime | 17:24 |
rockyburt | faassen: simply returns the first item | 17:24 |
rockyburt | faassen: the point being that in your code you should already know if you can deal with just one element or not | 17:24 |
faassen | heh, I imagine in Java if your xpath impression returns a string you have to use a different function. :) | 17:24 |
faassen | yeah, that sounds useful. | 17:24 |
rockyburt | lol, indeed | 17:25 |
rockyburt | i 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 | |
faassen | you might use lxml because you don't want so many memory leaks and segfaults. :) | 17:26 |
faassen | anyway, I'd add something like xpathSingle | 17:27 |
faassen | anyway, propose it on the list. :) | 17:27 |
*** hdima has quit IRC | 17:29 | |
*** gnosis has joined #Zope3-dev | 17:30 | |
* rockyburt realizes he hijacked the channel for lxml talks ;) | 17:31 | |
*** RaFromBRC has joined #zope3-dev | 17:31 | |
srichter | rockyburt: it's okay, lxml is being proposaed to be included in the Zope 3 release anyways :-) | 17:32 |
rockyburt | oh yeah? cool | 17:32 |
srichter | there is a proposal | 17:32 |
srichter | there were a few outstanding issues though | 17:33 |
*** dobee has joined #zope3-dev | 17:37 | |
mgedmin | waah :( | 17:38 |
mgedmin | despite the bugfix my ingenious strategy doesn't work: http://zope3.pastebin.com/618104 | 17:39 |
mgedmin | "TypeError: 'Action' object is not callable" | 17:39 |
*** d2m has quit IRC | 17:40 | |
*** d2m has joined #zope3-dev | 17:41 | |
*** alga has quit IRC | 17:43 | |
*** dokai has quit IRC | 17:43 | |
*** dokai has joined #zope3-dev | 17:44 | |
*** gnosis has quit IRC | 17:45 | |
mgedmin | oh well I'll just have to abstain from using the decorator | 17:47 |
srichter | :-( | 17:48 |
mgedmin | form.Action('Cancel', success='handle_cancel', | 17:56 |
mgedmin | failure='handle_cancel'), | 17:56 |
mgedmin | is not too bad | 17:56 |
faassen | srichter: yeah, don't know if it will be in, the main stumbling block is the libxml2 dependency stuff. | 17:58 |
faassen | srichter: plus the whole notion of 'zope 3 release' is changing. | 17:58 |
faassen | srichter: 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 |
srichter | well, why would we not want to depend on libxml2? | 17:59 |
srichter | I think we have to make concessions and accept some dependencies | 17:59 |
faassen | oh, sure, I agree with you. | 18:00 |
faassen | it's just we need others to agree too. :) | 18:00 |
rockyburt | personally i feel that having a *good* xml processing library included with zope (2/3) would be terrific and well worth the dependency haggling | 18:00 |
srichter | ok, I thought it was mainly a Pyrex or whatever issue | 18:01 |
rockyburt | and right now, lxml is as good as it gets in the python world :) | 18:01 |
faassen | srichter: no, pyrex isn't the issue. | 18:01 |
faassen | rockyburt: heh, thanks. :) | 18:01 |
rockyburt | is there or would there be a zope.xml package? (just curious) | 18:01 |
*** dobee_ has joined #zope3-dev | 18:02 | |
faassen | if that contains useful code. | 18:02 |
faassen | rockyburt: anyway, the discussion is here... let me look it up. | 18:02 |
rockyburt | so is the hope that lxml will land in zope 3.3 ? | 18:03 |
*** eins has quit IRC | 18:03 | |
faassen | rockyburt: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/LxmlDependency | 18:04 |
faassen | rockyburt: I consider it unlikely to happen for 3.3 unless somebody does the work. | 18:04 |
faassen | rockyburt: not sure what the work would be. I suspect it'd be the inclusion of libxml2, libxslt + lxml. | 18:04 |
*** dobee has quit IRC | 18:08 | |
rockyburt | i 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 |
faassen | rockyburt: you need to log into your zope.org account first I think. | 18:11 |
faassen | rockyburt: it's always an adventure to me to do that. :) | 18:11 |
rockyburt | i am | 18:11 |
rockyburt | i'm logged in... i see my 'rocky' info in top right ,etc | 18:11 |
*** gnosis has joined #Zope3-dev | 18:12 | |
faassen | rockyburt: then I don't know... | 18:12 |
*** dobee has joined #zope3-dev | 18:13 | |
projekt01 | rockyburt, hi, did you see the Edit link left from the History link? | 18:13 |
rockyburt | i 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 |
rockyburt | and new zope packages that need to do xml could start with lxml so we all have a better chance of understanding them... | 18:13 |
faassen | rockyburt: right. the only thing missing in lxml at present is iterparse support. | 18:13 |
rockyburt | projekt01: nope, i see "View, History, Backlinks, Subscribe, DublinCore" | 18:13 |
faassen | rockyburt: i.e. we can't really replace sax yet. | 18:13 |
projekt01 | Between View and History I have a Edit button. | 18:13 |
rockyburt | faassen: ah i c | 18:13 |
rockyburt | projekt01: not i | 18:14 |
projekt01 | ;-( | 18:14 |
rockyburt | oh well | 18:14 |
rockyburt | don't need me dirtying up that wiki page anyhow ;) | 18:14 |
projekt01 | Ask Jim if he could add you as a wiki editor | 18:14 |
projekt01 | ;-) | 18:14 |
* rockyburt calls out to the wikimaster which is j1m | 18:15 | |
rockyburt | ;) | 18:15 |
*** romanofski has quit IRC | 18:17 | |
*** dlk has quit IRC | 18:17 | |
*** dobee__ has joined #zope3-dev | 18:19 | |
gnosis | i'm getting the notorious favicon.ico error when browsing the apidocs, bug or have i done something wrong? | 18:24 |
gnosis | running the 3.2 release | 18:25 |
srichter | no, just ignore it | 18:29 |
gnosis | it hangs the server | 18:30 |
gnosis | NotFound error | 18:30 |
*** dobee_ has quit IRC | 18:32 | |
gnosis | just to clarify, i'm running the server as postmortem | 18:33 |
srichter | ok, then this is true :-) | 18:33 |
srichter | it will hang the server, if you run postmorten | 18:34 |
gnosis | ah | 18:34 |
gnosis | so no browsing api when running it as such | 18:34 |
srichter | I think just noone has ever put time into debugging the problem | 18:34 |
gnosis | got ya | 18:34 |
srichter | gnosis: I suggest running the APIdoc on a non-development server on a different port | 18:34 |
andres | srichter, btw, whats the state of the offliine apidoc? | 18:35 |
srichter | this way you can also use it, if you have a configuration or syntax error in the code | 18:35 |
gnosis | good idea | 18:35 |
srichter | last time I tried it had a few incorrect links; the script is there, it just needs some testing and tweaking | 18:35 |
*** projekt01 has quit IRC | 18:37 | |
*** dobee__ has quit IRC | 18:38 | |
*** dobee has quit IRC | 18:44 | |
*** tonico has joined #zope3-dev | 18:45 | |
*** MJ has quit IRC | 19:08 | |
*** dokai has quit IRC | 19:09 | |
*** dokai has joined #zope3-dev | 19:09 | |
*** RaFromBRC is now known as RaFromBRC|away | 19:27 | |
*** zbir has quit IRC | 19:34 | |
*** zbir has joined #zope3-dev | 19:38 | |
*** dokai has quit IRC | 19:45 | |
*** dokai has joined #zope3-dev | 19:45 | |
*** mkerrin has quit IRC | 20:11 | |
*** rockyburt is now known as rockyburt|away | 20:12 | |
*** jinty has quit IRC | 20:18 | |
*** faassen has quit IRC | 20:21 | |
*** MJ has joined #zope3-dev | 20:25 | |
*** vinsci has quit IRC | 20:27 | |
*** Aiste has quit IRC | 20:32 | |
*** jinty has joined #zope3-dev | 20:53 | |
*** rockyburt|away is now known as rockyburt | 20:54 | |
*** natea is now known as natea|lunch | 20:57 | |
*** natea|lunch has quit IRC | 21:01 | |
*** andres has quit IRC | 21:10 | |
*** mkerrin has joined #zope3-dev | 21:11 | |
*** Aiste has joined #zope3-dev | 21:20 | |
*** tonico has quit IRC | 21:34 | |
*** tonico has joined #zope3-dev | 21:36 | |
*** tav has joined #zope3-dev | 21:37 | |
*** sashav has joined #zope3-dev | 21:40 | |
*** RaFromBRC|away is now known as RaFromBRC | 22:07 | |
*** dobee has joined #zope3-dev | 22:29 | |
*** srichter has quit IRC | 22:29 | |
*** romanofski has joined #zope3-dev | 22:44 | |
*** danfairs has quit IRC | 22:51 | |
*** natea has joined #zope3-dev | 22:52 | |
*** joelburton has joined #zope3-dev | 22:56 | |
*** projekt01 has joined #zope3-dev | 23:02 | |
*** dobee has quit IRC | 23:04 | |
*** dunny has joined #zope3-dev | 23:05 | |
*** projekt01 has quit IRC | 23:06 | |
*** joelburton has left #zope3-dev | 23:19 | |
*** mkerrin has quit IRC | 23:25 | |
*** hazmat has joined #zope3-dev | 23:26 | |
*** gnosis has quit IRC | 23:30 | |
*** ChanServ sets mode: +o hazmat | 23:31 | |
*** ignas has quit IRC | 23:37 | |
*** mgedmin has quit IRC | 23:41 | |
*** natea has quit IRC | 23:48 | |
*** natea has joined #zope3-dev | 23:49 | |
*** zbir has quit IRC | 23:50 | |
*** zbir has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!