IRC log of #zope3-dev for Friday, 2007-04-13

*** RaFromBRC|lunch is now known as RaFromBRC00:02
*** __nathany has joined #zope3-dev00:13
*** Jell-O-Fishi has joined #zope3-dev00:15
*** jodok has joined #zope3-dev00:16
*** natea has quit IRC00:18
*** natea has joined #zope3-dev00:25
*** jodok has quit IRC00:32
*** natea has quit IRC00:35
*** jbb666 has quit IRC00:35
*** natea has joined #zope3-dev00:35
*** jfroche has quit IRC00:39
*** pcardune has joined #zope3-dev00:51
*** _projekt01 has joined #zope3-dev01:11
*** projekt01 has quit IRC01:12
*** J1m has quit IRC02:00
*** b52lap has joined #zope3-dev02:03
*** b52laptop has quit IRC02:10
*** torkel_ has quit IRC02:20
*** __nathany has quit IRC02:41
*** greenman has joined #zope3-dev02:56
*** pbugni has quit IRC03:03
*** __nathany has joined #zope3-dev03:05
*** wrobel has quit IRC03:12
*** greenman has quit IRC03:35
*** __nathany has joined #zope3-dev03:50
*** __nathany has quit IRC04:13
*** greenman has joined #zope3-dev04:26
*** __nathany has joined #zope3-dev04:51
*** MiUlEr has joined #zope3-dev04:52
*** povbot` has joined #zope3-dev05:07
*** __nathany has quit IRC05:07
*** povbot has quit IRC05:08
*** __nathany has joined #zope3-dev05:14
*** __nathany has quit IRC05:16
*** niemeyer has quit IRC05:20
*** dunny has joined #zope3-dev05:24
*** RaFromBRC has quit IRC05:31
*** pcardune has quit IRC05:41
*** pcardune has joined #zope3-dev05:41
*** jkakar has quit IRC05:55
*** jkakar has joined #zope3-dev05:57
*** ktwilight_ has joined #zope3-dev06:09
*** whit has quit IRC06:09
*** whit has joined #zope3-dev06:10
*** _projekt01 has left #zope3-dev06:10
*** pcardune has quit IRC06:20
*** pcardune has joined #zope3-dev06:20
*** ktwilight has quit IRC06:23
*** pcardune has left #zope3-dev06:40
*** redir has joined #zope3-dev06:41
*** redir has quit IRC06:44
*** redir has joined #zope3-dev06:44
*** redir has quit IRC06:48
*** greenman has quit IRC06:49
*** redir has joined #zope3-dev06:54
*** baijum has joined #zope3-dev07:08
*** afd_ has joined #zope3-dev07:12
*** pbugni has joined #zope3-dev07:23
*** redir has quit IRC07:25
*** stub has joined #zope3-dev07:27
*** redir has joined #zope3-dev07:34
*** redir has quit IRC07:36
*** redir has joined #zope3-dev07:45
*** jikanter has joined #zope3-dev07:45
*** dunny has quit IRC07:50
*** jkakar has quit IRC07:53
*** natea is now known as natea|zZz07:53
*** greenman has joined #zope3-dev08:00
*** pbugni has quit IRC08:01
*** wrobel has joined #zope3-dev08:04
*** Bhaskar has joined #zope3-dev08:05
*** jikanter has quit IRC08:10
*** pbugni has joined #zope3-dev08:10
*** jukart has joined #zope3-dev08:13
*** redir has quit IRC08:14
*** naro has joined #zope3-dev08:14
*** redir has joined #zope3-dev08:23
*** jukart has quit IRC08:23
*** sorin has joined #zope3-dev08:27
*** sorin is now known as sorindregan08:27
*** zagy has joined #zope3-dev08:42
*** rlo has joined #zope3-dev08:42
*** zagy has joined #zope3-dev08:43
*** jukart has joined #zope3-dev08:45
*** pbugni has quit IRC08:48
*** redir has quit IRC08:50
*** d2m has joined #zope3-dev08:57
*** lurker has joined #zope3-dev09:02
*** pelle_ has joined #zope3-dev09:05
*** Bhaskar has quit IRC09:12
*** greenman has quit IRC09:21
*** timte has joined #zope3-dev09:24
*** dlk has joined #zope3-dev09:55
*** dobee has joined #zope3-dev10:04
*** lurker has quit IRC10:09
*** harobed has joined #zope3-dev10:10
*** stub has quit IRC10:15
*** dobee has quit IRC10:15
*** lurker has joined #zope3-dev10:21
*** whit has quit IRC10:25
*** goschtl has joined #zope3-dev10:37
*** dobee_ has joined #zope3-dev10:39
*** MiUlEr has quit IRC10:40
*** stub has joined #zope3-dev10:43
*** povbot has joined #zope3-dev11:01
*** ccomb has joined #zope3-dev11:18
*** jhauser has joined #zope3-dev11:19
*** alecm has quit IRC11:20
*** stub has quit IRC11:21
*** ccomb has quit IRC11:26
*** jodok has joined #zope3-dev11:27
*** ccomb has joined #zope3-dev11:31
*** dunny has joined #zope3-dev11:31
*** whit has joined #zope3-dev11:32
*** greenman has joined #zope3-dev11:40
*** yvl has joined #zope3-dev11:48
*** jodok_ has joined #zope3-dev11:54
*** Jell-O-Fishi has quit IRC11:54
*** jhauser_ has joined #zope3-dev11:58
*** jodok_ has quit IRC12:01
*** jodok has quit IRC12:09
*** jfroche has joined #zope3-dev12:11
*** jhauser has quit IRC12:14
*** jhauser has joined #zope3-dev12:14
*** jhauser_ has quit IRC12:16
*** afd_ has quit IRC12:23
*** jinty has joined #zope3-dev12:26
*** rlo has quit IRC12:31
*** greenman has quit IRC12:32
*** greenman has joined #zope3-dev12:33
*** goschtl has quit IRC12:42
*** jinty has quit IRC12:49
*** jinty has joined #zope3-dev12:51
*** ksmith99 has quit IRC12:55
*** dunny has quit IRC13:15
*** greenman has quit IRC13:23
*** lzdych has joined #zope3-dev13:31
*** mkerrin has joined #zope3-dev13:43
*** jinty has quit IRC13:58
*** ghendi has joined #zope3-dev13:59
*** J1m has joined #zope3-dev14:00
*** benji has joined #zope3-dev14:18
*** jinty has joined #zope3-dev14:19
*** whitmo has joined #zope3-dev14:28
*** whit has quit IRC14:28
*** rocky|away is now known as rocky14:33
*** ignas has joined #zope3-dev14:34
*** lzdych has quit IRC14:34
*** povbot` has joined #zope3-dev14:41
*** dobee_ has quit IRC14:52
*** __nathany has joined #zope3-dev14:55
*** jrc2e has joined #zope3-dev14:57
*** jrc2e has left #zope3-dev14:58
*** povbot has quit IRC14:58
timteSo the gsoc project for python 2.5 was accepted? Great!15:01
*** dlk has left #zope3-dev15:03
*** __nathany has quit IRC15:03
*** __nathany has joined #zope3-dev15:04
*** __nathany is now known as nathany15:04
*** dobee has joined #zope3-dev15:05
*** dobee has quit IRC15:07
*** redir has joined #zope3-dev15:07
*** benji has quit IRC15:16
*** benji has joined #zope3-dev15:20
*** jukart has quit IRC15:21
*** natea|zZz is now known as natea15:24
*** redir has quit IRC15:30
*** jinty has quit IRC15:32
*** redir has joined #zope3-dev15:39
*** stub has joined #zope3-dev15:42
*** redir has quit IRC15:54
*** philiKON has quit IRC15:55
*** redir has joined #zope3-dev15:55
*** redir has quit IRC16:00
*** redir has joined #zope3-dev16:00
*** baijum has quit IRC16:02
*** BjornT has quit IRC16:04
*** redir has quit IRC16:05
*** redir has joined #zope3-dev16:05
*** stub has quit IRC16:05
*** niemeyer has joined #zope3-dev16:11
*** mgedmin has joined #zope3-dev16:13
*** pelle_ has quit IRC16:13
*** redir has quit IRC16:14
*** redir has joined #zope3-dev16:14
*** alecm has joined #zope3-dev16:23
*** redir has quit IRC16:25
*** redir has joined #zope3-dev16:34
*** redir has quit IRC16:39
*** redir has joined #zope3-dev16:40
*** lucielejard has joined #zope3-dev16:47
*** alga has joined #zope3-dev16:50
*** whitmo is now known as whit16:51
*** whit has quit IRC16:53
*** afd_ has joined #zope3-dev16:57
*** afd_ has quit IRC16:59
*** timte has quit IRC17:08
*** rlo has joined #zope3-dev17:10
*** ChrisW has joined #zope3-dev17:17
*** redir has quit IRC17:17
ChrisWhiya, what's the best way to override url processing in Zope3? provide my own IPublishTraverse for my objects?17:18
ccombI would say yes17:19
*** faassen has joined #zope3-dev17:19
*** whit has joined #zope3-dev17:24
*** ChrisW has quit IRC17:24
*** dobee has joined #zope3-dev17:26
*** ChrisW13 has joined #zope3-dev17:26
*** jinty has joined #zope3-dev17:29
*** sorindregan has quit IRC17:33
*** ghendi has quit IRC17:35
*** rocky is now known as rocky|away17:38
*** whit has quit IRC17:40
*** whit has joined #zope3-dev17:41
*** whitmo has joined #zope3-dev17:42
*** zagy has quit IRC17:51
*** jinty has quit IRC17:52
*** ChrisW13 has quit IRC17:52
*** yvl has quit IRC17:54
*** jinty has joined #zope3-dev17:54
*** whit has quit IRC17:57
*** whitmo has quit IRC17:59
*** jodok has joined #zope3-dev18:06
*** whit has joined #zope3-dev18:07
*** b52laptop has joined #zope3-dev18:09
*** dobee has quit IRC18:16
*** b52lap has quit IRC18:17
*** jbb666 has joined #zope3-dev18:23
*** lurker has quit IRC18:24
*** lurker has joined #zope3-dev18:27
*** jukart has joined #zope3-dev18:33
*** jukart_ has joined #zope3-dev18:35
*** redir has joined #zope3-dev18:36
*** nathany has quit IRC18:40
*** rlo has quit IRC18:42
*** jodok_ has joined #zope3-dev18:46
*** jodok has quit IRC18:47
*** jodok_ is now known as jodok18:47
*** jukart has quit IRC18:53
*** rlo has joined #zope3-dev18:58
*** jinty has quit IRC19:00
*** jikanter has joined #zope3-dev19:02
*** redir has quit IRC19:06
*** pbugni has joined #zope3-dev19:10
*** ksmith99 has joined #zope3-dev19:19
*** jinty has joined #zope3-dev19:19
*** naro has quit IRC19:20
*** harobed has quit IRC19:23
*** nathany has joined #zope3-dev19:24
*** jikanter has quit IRC19:32
*** rocky|away is now known as rocky19:39
*** jkakar has joined #zope3-dev19:42
*** zagy has joined #zope3-dev19:49
*** zagy has quit IRC19:49
*** zagy has joined #zope3-dev19:50
*** RaFromBRC has joined #zope3-dev19:51
*** jukart_ has quit IRC19:57
*** redir has joined #zope3-dev20:08
*** Aiste has quit IRC20:13
*** zagy has quit IRC20:13
*** rlo has quit IRC20:16
*** redir has quit IRC20:25
*** redir has joined #zope3-dev20:25
*** softdevr has joined #zope3-dev20:27
*** lurker has quit IRC20:27
softdevris there a simple way to access an object's name using TALES?20:28
pbugniobject/id20:28
pbugnisry, that's the 'short_name'20:28
pbugniobject/title ?20:28
J1mIf the object provides ILocation, then:20:29
J1mobject/__name__20:29
pbugnilisten to J1m :)20:29
softdevrthat's what I tried, no doesn't work. Its an Image20:31
pbugnineed to adapt Image to ILocation J1m ?20:32
J1mI doubt it.20:32
faassensoftdevr: this Image is already in a container? before it's there it won't have one.20:32
J1mIs this an object that you got from a folder?20:32
*** lurker has joined #zope3-dev20:32
faassenJ1m: good question! :)20:33
softdevrIts in a custom container20:33
faassensoftdevr: what kind of error do you get when you try to use __name__?20:34
softdevrTypeError: tuple indices must be integers20:35
ignasis it a good idea to create indexes on the fly, instead of through subscribers on the application initialization ?20:35
pbugnichat your tales expression, softdevr20:35
*** redir has quit IRC20:35
faassenignas: what is 'on the fly'?20:36
ignaslike if a user sorts by name in Lithuanian20:36
ignasand there is no such index20:36
*** redir has joined #zope3-dev20:36
ignasthe index is added to the catalog on the first search20:36
faassenignas: there's no problem that I know of to create an index later. you just need to make sure it gets filled somehow.20:36
ignasat the moment sorting a list with 10K objects by title is very very fast, but if i want to do that with i18n in mind20:37
ignasretrieving the collation key for 10K objects takes a while20:37
ignasas in 3 seconds20:37
ignasi am thinking of adding a special index for every "language" vs IndexedLocaleAwareColumn combination if it gets too slow20:38
ignashmm20:39
ignasa special index would make more sense though20:39
ignasit can just add one more dict to itself on every new language used for sorting20:39
faassenignas: that's an idea.20:40
ignasthanks :)20:40
faassenignas: it might also work to use multiple collections of objects and separate indexes altogether. i.e. several sub apps per locale. depends on how much your locales diverge in what data they expect.20:40
*** redir has quit IRC20:40
ignaswell - it's just sorting order for persons20:41
ignasutf-8 sorting is language dependant20:41
*** redir has joined #zope3-dev20:41
faassenyeah.20:41
faassenI mean, if other aspects are expected to arise later.20:41
faassenbesides sorting that would require different data storage.20:41
ignasnope, it's more like - i want to be able to change the language of the application without changing the database20:42
faassenright.20:42
faassenokay, then I guess you might need a magick index. :)20:42
ignas:D20:42
faassenor not an index, right?20:42
faassenindexes don't do the sorting bit.20:42
ignasno, but they allow me to get all the titles without waking up objects20:42
ignassort and filter and batch 10k objects20:43
ignasshow 10 of them20:43
ignasand wake up only 10 objects displayed20:43
faassenhm, that's interesting.20:43
ignas0.2 seconds :D20:43
ignasschooltool trunk20:43
ignaslast 5 days of work20:43
ignasok, must run now, bye20:43
*** ignas has quit IRC20:43
faassenI wonde rwhether that approach is generalizable.20:43
*** softdevr has quit IRC20:46
*** timte has joined #zope3-dev20:48
*** redir has quit IRC20:50
*** redir has joined #zope3-dev20:51
*** jbb666 has quit IRC20:51
*** jodok has quit IRC20:54
*** jodok has joined #zope3-dev20:55
*** mkerrin has quit IRC20:57
*** jinty has quit IRC20:59
*** rlo has joined #zope3-dev21:03
*** jodok has quit IRC21:07
*** redir has quit IRC21:10
*** pcardune has joined #zope3-dev21:15
*** lurker has quit IRC21:18
*** jinty has joined #zope3-dev21:19
*** benji has quit IRC21:22
*** benji has joined #zope3-dev21:25
*** bigkevmcd has joined #zope3-dev21:28
*** redir has joined #zope3-dev21:29
*** rlo has quit IRC21:29
*** dobee has joined #zope3-dev21:48
*** hazmat has quit IRC21:52
*** hazmat has joined #zope3-dev21:52
*** jodok has joined #zope3-dev22:00
*** cbcunc has quit IRC22:09
*** dunny has joined #zope3-dev22:13
*** pbugni is now known as pbugni[afk]22:13
*** jbb666 has joined #zope3-dev22:20
*** Jell-O-Fishi has joined #zope3-dev22:27
*** jinty has quit IRC22:28
*** ChanServ sets mode: +o hazmat22:28
*** nathany has quit IRC22:28
*** bigkevmcd has quit IRC22:29
*** bigkevmcd has joined #zope3-dev22:29
bigkevmcdoops22:29
* jbb666 bangs head against buildout22:37
runyaga_please fix it before i get to it22:38
runyaga_i cant stand anymore head banging22:38
J1mjbb666, what troubles you.22:39
runyaga_J1m, i am verifying.. but i think dieter was spot-on.  iptables was filtering (allowing the port) on the internal interface22:39
runyaga_and that may have been causing problems; have not had any problems since22:40
J1mcool22:40
J1mjbb666, maybe http://us.pycon.org/common/talkdata/PyCon2007/116/buildout.pdf would help.22:40
J1mor http://svn.zope.org/zc.buildout/trunk/doc/tutorial.txt?view=auto22:41
*** redir has quit IRC22:44
jbb666i'm getting a couple errors that are difficult to reproduce but seems to be related to develop eggs trying to access their working set....22:46
J1mhm, develop eggs accessing working sets ....22:47
J1msounds exotic.22:47
jbb666or not .. the error is from zc.buildout.easy_install:  AttributeError: 'NoneType' object has no attribute 'endswith'22:49
J1mHm, I wonder what line that's on.22:49
*** ccomb has quit IRC22:51
J1mjbb666, you know, you can use the -D option to get a traceback.22:53
*** tomus has joined #zope3-dev22:59
*** mgedmin has quit IRC23:13
*** ccomb has joined #zope3-dev23:15
*** Aiste has joined #zope3-dev23:17
*** rocky is now known as rocky|away23:19
Theuni_runyaga_: aaah. good to know. i used to ask that question to my roommates years ago when they where reporting errors with their systems and had "personal firewalls" running. Didn't expect to meet that one again. ;)23:24
*** Aiste has quit IRC23:28
dunnyJ1m: I struggling with zc.buildout running under python 2.3. Should buildout run in python 2.3?23:28
runyaga_Theuni_, lets give it 2-3 weeks without any errors first before claiming victory..23:28
J1mdunny, yes23:28
dunnyJ1m: okay, I'll keep trying then, feels like I'm looking at temp file problems at the moment23:29
*** jbb666 has quit IRC23:30
Theuni_runyaga_: ;) at least you found some knob that was doing something wrong ...23:31
runyaga_yes23:31
*** runyaga_ is now known as runyagha23:32
*** runyagha is now known as runyaga23:32
Theuni_bedtime for me23:32
dunnyJ1m: this is what I'm seeing at the moment http://zope3.pastey.net/1220323:32
*** jbb666 has joined #zope3-dev23:34
J1mHm.  Python 2.3 on the mac.23:35
J1mIs this the system Python or one you built yourself.23:35
J1m?23:35
dunnyJ1m: OS X, yeah, pretty sure that is my own build23:35
dunnyjust trying on a different host now, FreeBSD this time23:35
J1mI could never get a 2.3 build to work correctly.23:35
dunnyheh23:36
J1mI don't remember why.23:36
J1mI'm lazy so I didn't try hard.23:36
J1mI test buildout on my mac using the system Python.23:36
* faassen chuckles at the idea of J1m being lazy.23:36
faassenJ1m: *I* am lazy, so I know you're not. :)23:37
J1mlazy is one of my best qualities.23:37
faassenJ1m: gosh, mine too! :)23:37
faassenJ1m: this makes my other qualities very minor indeed, but still. :)23:38
J1mdunny, I'm getting the same error.23:41
*** ignas has joined #zope3-dev23:42
faassenI wonder what's doing chmod.23:42
J1mThe tarfile module.23:42
faassenJ1m: did you see my bugreport about cmmi and unzipping and no chmod there?23:42
dunnyyeah, just tried with system 2.3 too, same error23:42
faassenJ1m: yeah, I just got reminded of my bug report. :)23:42
J1mfaassen, yes23:42
faassenJ1m: pyweek-generated bug. :)23:43
faassenJ1m: (the game programming thing)23:43
J1mI remember23:43
dunnybut  python 2.3 on another host (FreeBSD) builtout okay23:43
dunnynow trying the buildout tests there23:44
J1mNote that the buildout tests are a pain to run.23:44
J1mBecause it needs a couple of versions of Python.23:44
J1mYou'll get an error that should tell you what to do.23:45
ignasfaassen: as for the generalization - it is generalized, i mean i have everything "narrowed" down to formatter = ITableFormatter(table, request); formatter.setUp(); formatter.render()23:45
faassenignas: very cool.23:45
ignasfaassen: which does indexing, sorting, filtering and batching for any Container in schooltool23:45
faassenignas: would be nice if we coudl get that packaged for some generic svn.zope.org package.23:45
faassenignas: do I need to bug Mark Shuttleworth for ZPL assignment first?23:47
ignasfaassen: yes, i am thinking about it, but i am afraid i will not have enough time to do it properly (schooltool batching is not good enough to be packaged) + i would have to resolve legal issues as it would be "schooltool.table"23:47
faassenignas: right, I can help with legal issues by just bugging the right people.23:47
ignasi see23:47
dunnyJ1m: this is the test report http://zope3.pastey.net/1220523:47
faassenignas: heck, I'm ZF board. I can bug people quite officially if I can get the rest of the board to agree. :)23:48
dunnyJ1m: there are other pythons on that host already23:48
faassenignas: I can also help find volunteers for the code extraction.23:48
ignasfaassen: if someone would bug me to package it - it would get packaged ;)23:48
faassenignas: hm.23:48
ignasyou only need volunteers to bug me ;)23:48
faassenignas: okay, could you drop me an email at faassen@startifact.com just pointing out what in SVN we'd like to generalize and move?23:49
faassenignas: then I'll see whether I can get the bureaucratic stuff in motion.23:49
ignasok23:49
J1mdunny, I dunno, I always run the tests from the project.23:49
faassenignas: what woudl be great if you could write a description of what you're up to to zope3-dev or some blog or whatever.23:49
faassenignas: that way we can drum up some public attention for it.23:49
faassenignas: and that might draw in volunteers.23:49
J1mIf you wish, you can file a bug report that you get failures when running from an egg.23:50
dunnyJ1m: yup, looks like at least some of that report is trying to tell me that :-)23:50
dunnyso zc.buildout should and does work on python 2.323:50
dunnysomehow OS X Python 2.3 has some quirks23:50
J1mThere are also potential issues if you use shared eggs directories as that can effect the output.23:51
J1mwell, I run the zc.buildout tests with 2.3.23:51
J1mIncluding on the mac.23:51
J1mI don't do a lot of work with 2.3.23:51
J1mIt's possible that there are problems that the tests don't catch.23:51
J1mThe tar error is a bit weird and suggests that something is broken.23:52
dunnymy wild guess is some problem with temporary directories or files23:52
dunnyand when I try to use -D I see things like23:53
dunny  File "/private/tmp/tmpLM8PEN/zc.buildout-1.0.0b23-py2.3.egg/zc/buildout/easy_install.py", line 291, in _call_easy_install23:53
dunnywhere /private/tmp/tmpLM8PEN23:53
dunnydoes not exist23:53
dunnywell I can't see it once I'm dumped into the pdb prompt23:53
J1mIt probably existed when the exception was raised.23:54
*** jfroche has quit IRC23:54
dunnyand the same directory is referenced on the next run23:54
J1mzc.buildout cleans up temporary directories.23:54
dunny"tmpLM8PEN" is repeated23:54
* J1m shrugs23:54
ignasfaassen: sent you the email with links to source  code23:55
faassenignas: thanks!23:55
faassenignas: see it in my inbox.23:55
dunnyJ1m: what should happen when using post mortem debugging and there is an error as reported in the first traceback of http://zope3.pastey.net/12203 ?23:56
dunnypdb should land me in that first traceback?23:57
J1mNo, It is (effectively) running easy_install to install the distribution.23:58
J1mThis is being done in a subprocess.23:58
dunnyah23:58
*** dobee has quit IRC23:58
dunnycool, thanks23:58
J1mso no, it can't get you into that stack. :(23:59
J1mNo, not cool.23:59
dunnyheh, indeed23:59
dunnyI expect all my python processes to have a -D flag now days23:59
dunnythanks to zope.testing23:59
J1m:)23:59

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