IRC log of #zope3-dev for Wednesday, 2008-07-23

*** redir has quit IRC00:07
*** jukart has quit IRC00:11
*** ccomb has quit IRC00:13
*** vimes656_ has joined #zope3-dev00:14
*** nathany has quit IRC00:24
*** ccomb has joined #zope3-dev00:25
*** vimes656 has quit IRC00:31
*** greenman has joined #zope3-dev00:39
*** norro has quit IRC00:47
*** tarek has quit IRC00:56
*** dbfrombrc has quit IRC00:57
*** jhauser has quit IRC01:07
*** dbfrombrc has joined #zope3-dev01:13
*** yota has quit IRC01:19
*** timte has quit IRC01:31
*** vimes656_ has quit IRC01:37
*** flox has left #zope3-dev01:38
*** lurkymclurkleton has quit IRC01:39
*** nathany has joined #zope3-dev01:42
*** J1m has quit IRC01:43
*** MrTopf has quit IRC01:48
*** lucielejard has quit IRC01:51
*** tarek has joined #zope3-dev02:00
*** supton has joined #zope3-dev02:01
*** sp0cksbeard has quit IRC02:02
*** tarek has quit IRC02:03
*** benji has quit IRC02:09
*** jodok has quit IRC02:14
*** dbfrombrc has quit IRC02:17
*** greenman has quit IRC02:17
*** fcorrea has quit IRC02:17
*** hazmat has quit IRC02:17
*** acsr has quit IRC02:17
*** rcrafton_ has quit IRC02:17
*** philiKON has quit IRC02:17
*** wolfe has quit IRC02:17
*** tlotze has quit IRC02:17
*** hazmat has joined #zope3-dev02:17
*** dbfrombrc has joined #zope3-dev02:17
*** greenman has joined #zope3-dev02:17
*** rcrafton_ has joined #zope3-dev02:17
*** fcorrea has joined #zope3-dev02:17
*** philiKON has joined #zope3-dev02:17
*** wolfe has joined #zope3-dev02:17
*** acsr has joined #zope3-dev02:17
*** tlotze has joined #zope3-dev02:17
*** irc.freenode.net sets mode: +o hazmat02:17
*** aclark|away is now known as aclark02:29
*** sm has joined #zope3-dev02:30
*** whit has quit IRC02:32
*** aclark is now known as aclark|dinner02:32
*** nathany has quit IRC02:37
*** gberdyshev_ has quit IRC02:38
*** gberdyshev_ has joined #zope3-dev02:39
*** bigkevmcd has quit IRC02:46
*** bigkevmcd has joined #zope3-dev02:46
*** tdoggette has quit IRC02:49
*** b52lap has quit IRC02:51
*** supton has quit IRC03:00
*** jsadjohnson has quit IRC03:05
*** aclark|dinner is now known as aclark03:07
*** rcrafton has joined #zope3-dev03:20
*** rcrafton_ has quit IRC03:36
*** srichter has quit IRC03:38
*** greenman has quit IRC03:39
*** rmarianski has quit IRC04:21
*** quodt has quit IRC04:39
*** georgyberdyshev has joined #zope3-dev04:39
*** gberdyshev_ has quit IRC04:39
*** georgyberdyshev is now known as gberdyshev_04:39
*** aaronv has joined #zope3-dev04:42
*** aclark is now known as aclark|away04:44
*** fairwinds has quit IRC04:51
*** whit has joined #zope3-dev04:52
*** sm has quit IRC05:12
*** sm has joined #zope3-dev05:13
*** rmarianski has joined #zope3-dev05:21
*** greenman has joined #zope3-dev05:21
*** tdoggette has joined #zope3-dev05:24
*** sm has quit IRC05:29
*** whit has quit IRC05:45
*** aaronv has quit IRC05:47
*** sm has joined #zope3-dev06:38
*** afd_ has joined #zope3-dev06:39
*** dbfrombrc has quit IRC06:43
*** ateoh211 has joined #zope3-dev06:46
ateoh211this might be the be the better place to ask my question06:47
ateoh211using five 1.4 / plone 2.5 / and jpye (yikes)06:47
ateoh211jpype I mean06:48
ateoh211so - integrating java w/ python w/ zope06:48
ateoh211I'm basically ashamed to ask about this because we all know that java suKKs and python RULZ!06:50
ateoh211but, if anyone here has used jpype and experienced the error ' No matching overloads found. at src/native/common/jp_method.cpp:121' and can tell me about it, I'd love to know06:51
ateoh211basically, the code runs from the CLI no problem, if I make a persistent object, the jvm memory runs out after 15-20,000 requests of that object, if I make a browser view or a utility, I get the No matching overloads error06:53
*** afd__ has joined #zope3-dev06:53
ateoh211if it looks familier and rings bells, please respond --- if you think I'm lame for trying to use some java stuff w/ zope just know it's not my choice :-)06:54
*** afd_ has quit IRC06:55
*** binseer has joined #zope3-dev06:58
*** rmarianski has quit IRC07:00
*** greenman has quit IRC07:19
*** stub has joined #zope3-dev07:35
*** vimes656 has joined #zope3-dev08:04
*** mcdonc has quit IRC08:09
*** vimes656 has quit IRC08:13
*** vimes656 has joined #zope3-dev08:14
*** afd__ has quit IRC08:18
*** ateoh211 is now known as ateoh211|08:33
*** ateoh211| is now known as ateoh211|jpype08:34
*** sm has quit IRC08:42
*** mintsauce has joined #zope3-dev08:47
*** zagy has quit IRC08:54
*** timte has joined #zope3-dev08:58
*** jayaraj has joined #zope3-dev08:58
*** timte has quit IRC09:00
*** timte has joined #zope3-dev09:00
*** afd__ has joined #zope3-dev09:01
*** jukart has joined #zope3-dev09:03
*** dobee has joined #zope3-dev09:04
*** __mac__ has joined #zope3-dev09:05
*** srichter has joined #zope3-dev09:12
*** jukart has quit IRC09:20
*** jukart has joined #zope3-dev09:20
*** markusleist has joined #zope3-dev09:26
*** zagy has joined #zope3-dev09:26
*** srichter has quit IRC09:36
*** markusleist has quit IRC09:39
*** romanofski has joined #zope3-dev09:43
mintsauceWorking my way through PVW's zope3 book. I can add objects etc fine, but I want to create a custom page to list them all ... I've created a .pt and added it to zcml, but I'm a bit lost where to start with the class.09:45
*** flox has joined #zope3-dev09:46
*** rcrafton has quit IRC09:51
*** vimes656 has quit IRC09:54
*** sm has joined #zope3-dev09:54
*** ccomb2 has joined #zope3-dev09:56
*** ccomb2 has quit IRC09:57
*** ccomb_sa has joined #zope3-dev09:57
*** binseer has quit IRC10:00
*** binseer has joined #zope3-dev10:03
*** harobed has joined #zope3-dev10:13
*** jpcw2002 has left #zope3-dev10:18
*** jpcw2002 has joined #zope3-dev10:19
*** jodok has joined #zope3-dev10:21
*** binseer has quit IRC10:22
*** binseer has joined #zope3-dev10:24
*** jodok has quit IRC10:26
*** MJ has joined #zope3-dev10:38
*** georgyberdyshev has joined #zope3-dev10:39
*** gberdyshev_ has quit IRC10:39
*** georgyberdyshev is now known as gberdyshev_10:40
*** binseer has quit IRC10:40
*** binseer has joined #zope3-dev10:42
*** kursor has joined #zope3-dev10:56
*** malthe has joined #zope3-dev11:02
*** elro has joined #zope3-dev11:11
*** elro has quit IRC11:12
*** kursor has quit IRC11:16
*** quodt has joined #zope3-dev11:38
*** jodok has joined #zope3-dev11:38
*** markusleist has joined #zope3-dev11:41
*** philiKON has quit IRC11:44
*** jodok has quit IRC11:52
*** goschtl has joined #zope3-dev11:53
*** jodok has joined #zope3-dev11:53
*** sm has quit IRC12:03
*** b52laptop has joined #zope3-dev12:05
*** seletz has joined #zope3-dev12:07
mintsauceanyone using collective.lorem?12:08
*** philiKON has joined #zope3-dev12:08
*** junkafarian has joined #zope3-dev12:11
afd__mintsauce: did you solve your problem about that page?12:11
mintsauceafd__: sorta, adapted this: http://wiki.zope.org/zope3/Zope3In30Minutes#views - pretty impressed how easy it was, although I cant adapt it to bring in my custom description field .... i get a key error. Is that because it's not in the catalog?12:13
afd__mintsauce: the catalog only indexes fields for which it is configured to index12:14
afd__each index in the catalog indexes a specific attribute (or method) from objects12:14
afd__so, if you want another field indexed, you need to add and configure the index that will do that12:14
afd__then you'll be able to include that index in the searches12:14
afd__mintsauce: if you're listing the contents of a folder, you don't need to use the catalog12:15
*** junkafarian has quit IRC12:15
afd__just treat the folder as a mapping (python dictionary) and iterate through its objects12:15
mintsauceafd__: that's what i thought, but i still get a key error - hang on, let me re-enable to suspect code12:15
afd__ok12:16
mintsauceKeyError: 'od_description' - od_description is my description field (od_what is my title field, which works fine)12:17
afd__could you paste on the pastebin the full traceback?12:18
mintsauceafd__: lol, restarted server to get a clean traceback and whatever i've done since has fixed the problem!12:20
mintsauceafd__: thanks for the offer tho :)12:20
afd__np12:20
mintsauceis this iteration through objects memory intensive? I was reading that it's better to use indexes?12:21
afd__mintsauce: it depends. It's about "waking up objects". Zope has a fixed cache for the objects that were read from the database and sit now in the memory12:22
afd__If you want to list the contents of a folder, you'll probably wake up the objects anyway, to read their data (title, size, and so on)12:23
afd__if you have a filtered view on the folder, then you probably should use the catalog12:24
mintsauceafd__: makes sense. the example in PVW's books is for searches using DC, which i suppose could have a much larger number of hits12:24
*** ignas has joined #zope3-dev12:25
*** ignas has joined #zope3-dev12:25
*** mkerrin has joined #zope3-dev12:25
*** thruflo has joined #zope3-dev12:37
*** thruflo is now known as thru|mtg12:42
*** mintsauce has quit IRC12:47
*** aaronv has joined #zope3-dev13:14
*** afd__ has quit IRC13:22
*** brandon_rhodes has joined #zope3-dev13:25
*** regebro has joined #zope3-dev13:40
*** ktwilight_ has joined #zope3-dev13:42
*** mgedmin has joined #zope3-dev13:49
*** ktwilight has quit IRC13:55
*** fairwinds has joined #zope3-dev14:02
*** fairwinds has joined #zope3-dev14:08
*** andres has joined #zope3-dev14:17
*** aaronv has quit IRC14:30
*** yvl has joined #zope3-dev14:30
*** georgyberdyshev has joined #zope3-dev14:39
*** gberdyshev_ has quit IRC14:39
*** georgyberdyshev is now known as gberdyshev_14:39
*** benji has joined #zope3-dev14:40
*** mintsauce has joined #zope3-dev14:42
*** afd__ has joined #zope3-dev14:43
mintsauceanyone using gdata.py or any form of google data import with zope?14:46
*** jinty has joined #zope3-dev14:50
*** alga has joined #zope3-dev15:19
*** tarek has joined #zope3-dev15:21
*** seletz_ has joined #zope3-dev15:24
*** aclark|away is now known as aclark15:24
*** rcrafton has joined #zope3-dev15:29
*** projekt01 has joined #zope3-dev15:30
*** rcrafton has quit IRC15:34
*** yvl has quit IRC15:36
*** seletz has quit IRC15:37
*** stub has quit IRC15:46
*** sp0cksbeard has joined #zope3-dev15:50
*** brandon_rhodes has quit IRC15:50
*** lurkymclurkleton has joined #zope3-dev15:51
*** ateoh211|jpype has quit IRC15:54
*** jhauser has joined #zope3-dev15:55
*** danielblackburn has joined #zope3-dev15:58
*** aaronv has joined #zope3-dev16:01
*** mintsauce has quit IRC16:02
*** J1m has joined #zope3-dev16:13
*** whit has joined #zope3-dev16:14
*** binseer has left #zope3-dev16:16
*** binseer has joined #zope3-dev16:22
*** alecghica has quit IRC16:28
*** jsadjohnson has joined #zope3-dev16:30
*** thru|mtg is now known as thru|proposal16:31
*** Aiste has joined #zope3-dev16:37
*** georgyberdyshev has joined #zope3-dev16:39
*** gberdyshev_ has quit IRC16:39
*** georgyberdyshev is now known as gberdyshev_16:39
*** alecghica has joined #zope3-dev16:47
*** fcorrea has quit IRC16:52
*** fcorrea has joined #zope3-dev16:52
*** brandon_rhodes has joined #zope3-dev16:57
*** sm_ has joined #zope3-dev17:00
*** thruflo has joined #zope3-dev17:01
*** dunny has quit IRC17:04
*** tarek has quit IRC17:05
*** tarek has joined #zope3-dev17:08
*** thru|proposal has quit IRC17:16
*** MJ has quit IRC17:29
*** Aiste has quit IRC17:32
*** lucielejard has joined #zope3-dev17:36
*** nathany has joined #zope3-dev17:56
*** danielblackburn_ has joined #zope3-dev17:56
*** nathany has quit IRC17:57
*** mcdonc has joined #zope3-dev17:59
*** jsadjohnson has quit IRC18:01
*** reco has joined #zope3-dev18:08
*** andres_f has joined #zope3-dev18:09
*** srichter has joined #zope3-dev18:10
*** andres has quit IRC18:10
*** danielblackburn has quit IRC18:12
*** goschtl has quit IRC18:15
*** tarek has quit IRC18:17
*** tarek has joined #zope3-dev18:18
*** sm_ is now known as sm18:29
*** lurkymclurkleton has quit IRC18:33
*** lurkymclurkleton has joined #zope3-dev18:33
*** rmarianski has joined #zope3-dev18:33
*** zagy has quit IRC18:33
*** projekt01 has quit IRC18:39
*** tarek has quit IRC18:45
*** reco has quit IRC18:48
*** srichter has quit IRC18:50
*** srichter has joined #zope3-dev18:50
CSWookieI hate browser:page.18:51
*** __mac__ has quit IRC18:53
*** srichter has quit IRC18:54
*** vimes656 has joined #zope3-dev18:56
mgedminmhm19:05
*** nathany has joined #zope3-dev19:12
*** lucielejard has quit IRC19:13
* philiKON points CSWookie to grokcore.view... define and register views simply in python19:14
philiKON(it's not released yet, but works)19:14
*** reco has joined #zope3-dev19:17
*** jayaraj has quit IRC19:18
*** lucielejard has joined #zope3-dev19:19
*** lucielejard has quit IRC19:20
*** srichter has joined #zope3-dev19:21
*** yotaff has quit IRC19:22
mgedminsrichter: hi!19:24
mgedminwould you have a spare minute to bump ClientForm to version 0.2.9 in the KGS?19:24
mgedminor give me a link to a document explaining the KGS update procedure?19:24
mgedminit's needed to fix https://bugs.launchpad.net/zope3/+bug/24378519:24
*** romanofski has quit IRC19:24
*** reco has quit IRC19:25
srichtermgedmin: yeah19:25
srichtermgedmin: we need to ask J1m to give and others access tot he directory as well, then you can jsut upload it yourself19:25
srichterthe basic steps are19:26
srichtercheckout 3.4 branch of zope.release19:26
srichterupdate the controlled-packages.cfg file19:26
philiKONbtw, i wonder why the zope KGS is actually part of the zope.release software tree19:26
philiKONwouldn't it make more sense to maintain this in the Zope3 tree?19:27
srichterthen use the provided tools to upload the file and create the tree19:27
srichterfor me zope.release represents the Zope 3 tree19:27
srichterI can generate the Zope 3 tree from that or update it at least19:27
philiKONhmm. that feels a bit weird19:27
philiKONto me, zope.release is a piece of software19:27
philiKONit's almost as if a Zope buildout lived inside of zc.buildout19:28
*** MrTopf has joined #zope3-dev19:28
mgedminisn't it more like a standalone buildout that refers to the software instead of containing it?19:28
philiKONwell, that's what i would prefer19:28
philiKONbut zope.release cotains both the software (which is generic) and the Zope3 specific version definitions19:28
srichternot true19:29
philiKONit feels to me that they should be separated19:29
srichterzope.kgs contains the software19:29
philiKONah19:29
philiKONi got that mixed up then19:29
*** seletz_ is now known as seletz19:29
philiKONhmm19:29
philiKONhow about renaming zope.release then?19:29
philiKONzope.release sounds like a packag ename ;)19:29
srichterzope.release contains only a few scripts that a very specific of updating the Zope3 tree and othe small bits particularly releated to the Zope 3 release process19:30
MrTopfHi19:30
srichterthe generic KGS code that Grok, Plone and others can use is in zope.kgs19:30
*** rocky is now known as rocky|away19:30
philiKONsrichter: that's great to know19:30
philiKONsrichter: would it make sense to merge zope.release with the Zope3 tree?19:30
srichterwell, the Zope 3 tree might go away at some point, but I would imagine that zope.release survives19:31
philiKONwell19:31
philiKONthat's the point19:31
philiKONperhaps it wouldn't go away19:31
srichterit would make sense to have a big warning on the Zope3 tree saying: The code is only updated by a bot these days19:31
philiKONor we merge them and say: the fact that you're still getting the software via svn:externals is for legacy19:32
philiKONplease execute these scripts19:32
philiKONthat pull in the stuff using eggs19:32
srichterI am not feeling strongly either way; just that checking out a Zope 3 tree always takes a lot more time than the small zope.release package19:32
philiKONis it really a package?19:32
srichtermgedmin: I updated the KGS and published it as 3.4.0c219:33
philiKONor just a buildout?19:33
*** reco has joined #zope3-dev19:33
mgedminsrichter: thanks!19:33
*** acsr has left #zope3-dev19:33
srichterphiliKON: it's a package because it contains a script to update the Zoep3 tree and upload the KGS to download.zope.org19:34
philiKONgotcha19:34
srichterthose 2 scripts did not make sense in zope.kgs19:34
fcorreahello there, is there any reason for z3c.fom to pull up __name__ and __parent__ from an interface and think it is a field? I am prooly doing something stupid here becuse I need to force it to pick the correct fields with select() for add/edit/display19:34
mgedminfcorrea: your schema probably inherits from IContained19:35
srichterfcorrea: this is not z3c.form specific; simply omit('__parent__', '__name__')19:35
*** timte_ has joined #zope3-dev19:35
fcorreamgedmin, srichter, gotcha. Thanks!19:36
*** timte has quit IRC19:39
*** philiKON has quit IRC19:40
*** lurkymclurkleton has quit IRC19:40
*** lurkymclurkleton has joined #zope3-dev19:41
*** timte_ has quit IRC19:42
srichtermgedmin: mmh, the batch job has not run yet19:43
mgedminbatch job?19:43
srichterstrange, the index got updated19:43
srichteroh yes, different script19:43
srichterthere are two cron jobs19:43
srichterone to keep the indeces up-to-date19:44
*** timte has joined #zope3-dev19:44
srichterand another to generate the Web site19:44
srichterhttp://download.zope.org/zope3.4/intro.html19:44
mgedminall I know is that zope.testbrowser's buildout.cfg, which refers to .../3.4/versions.cfg, saw the updated ClientForm requirement right away19:45
CSWookieHmm.  Couldn't I do it in Python anyway?  Or is grokcore.view a happy convenience?19:48
srichtermgedmin: ok, that script is run every minute19:52
*** ignas has quit IRC19:56
*** philiKON has joined #zope3-dev20:00
*** regebro has quit IRC20:05
*** fcorrea has quit IRC20:08
*** timte has quit IRC20:11
*** binseer has quit IRC20:11
*** thruflo has quit IRC20:12
*** timte has joined #zope3-dev20:12
*** fcorrea has joined #zope3-dev20:17
*** RaFromBRC has joined #zope3-dev20:18
srichterJ1m: are you there?20:19
J1myes20:19
srichterJ1m Theuni edited /var/www/download.zope.org/zope3.4/zope.i18nmessageid/20:20
srichterwith his username and his poersonal group20:20
srichterwhich breaks updating this packge on download.zope.org20:20
srichtercan you set the group to zopesvn for me please?20:20
J1msure'20:20
srichterthx20:20
srichtermgedmin: it looks as if pretty much all Zope SVN users can update the KGS now20:21
J1mdone20:22
srichterthx, running the scripts now20:22
*** mkerrin has quit IRC20:24
*** timte has quit IRC20:35
*** alga has quit IRC20:36
*** nathany has quit IRC20:39
*** georgyberdyshev has joined #zope3-dev20:40
*** gberdyshev_ has quit IRC20:40
*** georgyberdyshev is now known as gberdyshev_20:40
*** nathany has joined #zope3-dev20:41
srichtermgedmin: now 3.4.0c2 is also in the intro page20:48
srichterhttp://download.zope.org/zope3.4/intro.html20:48
*** RaFromBRC has left #zope3-dev20:50
srichtermgedmin: btw, if you are interested, I can tell you about the process of updating the KGS20:50
*** seletz has left #zope3-dev20:51
mgedminsrichter: I'm potentially interested, but I think I'd be happier with a HOWTO.txt in the repository than a difficult-to-find irc conversation20:51
mgedminI see there's a README.txt in zope.release20:52
*** fcorrea_ has joined #zope3-dev20:52
mgedminwhat I hadn't remembered was to look into the 'zope.release' project in the svn repo20:52
mgedminI think I knew about it once, but I forgot20:52
*** harobed has quit IRC21:00
*** fcorrea has quit IRC21:02
*** jinty has quit IRC21:02
*** baijum has joined #zope3-dev21:03
*** dobee has quit IRC21:12
*** markusleist has quit IRC21:13
*** jodok has quit IRC21:13
*** quodt has quit IRC21:16
*** romanofski has joined #zope3-dev21:22
*** jpcw2002 has quit IRC21:24
*** baijum has left #zope3-dev21:25
*** lucielejard has joined #zope3-dev21:26
*** ranjith has joined #zope3-dev21:29
*** timte has joined #zope3-dev21:30
*** nathany has quit IRC21:38
srichtermgedmin: ok21:38
srichterthe README.txt needs a little bit of updating to explain on how to update the Zope3 tree21:39
*** harobed has joined #zope3-dev21:39
srichteryou also do not have to generate the buildout and versions anymore before uplaoding the cfg21:39
*** nathany has joined #zope3-dev21:41
*** sm has quit IRC21:41
*** zagy has joined #zope3-dev21:47
*** rocky|away is now known as rocky121:53
*** ranjith has quit IRC21:53
*** rocky1 is now known as rocky21:53
*** jodok has joined #zope3-dev22:00
*** quodt has joined #zope3-dev22:01
whithowdy folks.... is there an easy way to limit file upload size via configuration in zope3 currently? perhaps in zope.conf?22:02
* whit is just looking for pointer before digging22:02
srichterno22:02
srichterat least not that I am aware of22:03
whitsrichter: any suggestions on how to handle such a thing?22:03
mgedminmemory leak in zope 3 functional tests:22:04
mgedminevery ftest records the in-memory DB object as a global unnamed IDatabase utility22:04
* whit wonders if a wsgi filter that looks at contentlength would be the way to go22:04
srichterwhit: it really depends where you want to make that decision22:04
mgedminapparently the global adapter registry retains references to all the utilities ever registered for that interface22:04
srichterwhit: a wsgi filter would be appropriate, if you simply want to avoid DOS attacks22:04
whitsrichter: right... if I want to return a meaningful error, I'd need to percolate that info somehow22:05
srichterwhit: if you want to enforce a limit for the user and give nice messages etc you probably have to go into the app22:05
srichterthe WSGI filter could also remove the lengthy content and then add a header notifying Zope that the file was too large22:06
srichterthis is how z3c.extfile etc do it22:06
whitsrichter: yeah, that's what I was thinking22:06
srichterbut I think for DOS attacks you want to block on the front-end server side already22:06
whitI actually intended on using z3c.extfile, but the programmer working on this couldn't figure out how to get it working22:07
srichterwhit: contact dobee (Bernd) or kartnaller (Juergen) from lovely22:07
srichterI am pretty sure they will help out22:07
whitsrichter: I may if I get time.... sort of in the death by 1000 cuts phase of pre-deployment ;)22:08
srichterI hear you; I am on my way to that situation myself22:08
srichterbut I have until December ;-)22:09
whitsrichter: is that when you guys are launching?22:09
srichterwhit: yep22:09
whitsrichter: where are you located now? still in boston?22:09
srichterwhit: nope, I work downtown SF22:10
whitI thought I remember you saying you were headed to sf ;)22:11
* whit misses the bay sometimes22:11
whitsrichter: anyhoo... thanks for the advice and give sf my best :)22:11
srichterI miss MA :-)22:11
* whit chuckles22:11
srichterthx22:11
whitbut do you miss memphis?22:11
srichtera little bit :-)22:11
whitman it's hot in TN right now22:12
srichterI really miss the music, especially after talking to someone about it yesterday22:12
srichterI do not miss the heat, racism and religion :-)22:12
* benji doesn't miss TN summer.22:12
whityeah... no joke22:12
* whit adds poverty and poor urban planning to that list22:13
mgedminhttp://mg.pov.lt/db-objects-in-memory.png22:13
mgedminhm, maybe those aren't utilities22:14
mgedmin_subscribers22:14
mgedminhm22:14
srichtermgedmin: did you produce the graph by hand?22:15
benjiIt's a very pretty graph.22:15
mgedminsrichter: have you seen http://mg.pov.lt/blog/hunting-python-memleaks.html ?22:15
*** zagy has quit IRC22:15
mgedminpartially by hand, with tools22:15
srichtermgedmin: /me is not a regular blog consumer22:16
mgedminwaste of time, blogs22:17
* mgedmin speaks from experience22:17
mgedminbut then sometimes you find interesting things22:17
* srichter reads this post though22:17
mgedminanyway, every functional test apparently leaves a full in-memory object database forever22:17
mgedminwhich means your RAM requirements grow fast when you have many functional tests22:17
mgedminthat post I linked was produced on Zope 3.222:18
mgedminnow I'm doing the same sort of thing with 3.422:18
mgedminIDatabase utilities are a new thing in 3.422:18
mgedminhence my suspicion22:18
srichtermmh, interesting; I guess the wrapped demo storage has a ref hanging around22:18
mgedminbut now I see it's the _subscribers dict22:18
mgedminno, wait, it's an object named "utilities", which is a GlobalAdapterRegistry instance and keeps the IDatabase things in its _subscribers list22:20
* mgedmin reads source code22:21
mgedminoh, there's an unregisterUtility in the AdapterRegistry22:21
mgedminnice22:21
srichterthsi checks tool seems very cool22:21
*** yota has joined #zope3-dev22:24
* mgedmin updates blog post with link to the followup22:24
mgedminhm, so probably FunctionalTestSetup.tearDown should locate the global component registry and call unprovideUtility for all of them22:26
* mgedmin tries it22:28
*** nathany has quit IRC22:29
mgedminyup, that fixes the leak22:30
mgedminnow memory usage is flat after the 2nd test repetition22:32
*** georgyberdyshev has joined #zope3-dev22:39
*** gberdyshev_ has quit IRC22:39
*** georgyberdyshev is now known as gberdyshev_22:39
*** aclark is now known as aclark|away22:45
*** lurkymclurkleton has quit IRC22:46
*** lurkymclurkleton has joined #zope3-dev22:46
*** sunew has joined #zope3-dev22:47
*** malthe is now known as malthe|away22:51
*** ChanServ sets mode: +o srichter23:04
*** sunew has quit IRC23:11
*** jodok has quit IRC23:12
*** jukart has quit IRC23:13
mgedminokay, the easy part is done: I have a tested patch at https://bugs.launchpad.net/zope3/+bug/25127323:13
mgedminnow for the hard part: figuring out which repository branches to change and what changelogs to modify and what version numbers to bump and what svn:externals to update and...23:14
* mgedmin weeps23:14
*** romanofski has quit IRC23:14
mgedminit's late, I'm going home23:14
*** mgedmin has quit IRC23:14
*** dunny has joined #zope3-dev23:16
*** greenman has joined #zope3-dev23:27
fcorrea_Does anyone know if the resource namespace in z3 is bad for SEO? I can't believe I'll need to explain it doesn't affect anything to the client23:31
ccombwhit srichter : https://svn.gawel.org/gp.fileupload/trunk/23:32
ccombthis a new wsgi middleware that provide a progress status and a size limit23:32
whitccomb: rocking! thanks!23:32
ccombwith a jquery plugin to have an ajax progress bar23:33
afd__fcorrea_: aren't the resource links usually rendered as site/@@/resource.css ?23:33
*** nathany has joined #zope3-dev23:36
fcorrea_afd__, I use something like: /++resources++foo/something.css, where foo is a resource directory23:37
afd__I think doing something like <script tal:attributes="src context/++resource++lib/scripts.js" ></script> will result in a link like I mentioned above23:38
afd__so that would get rid of the ++resource++ in the urls23:39
fcorrea_aft__, trying here, sec23:43
fcorrea_afd__, you were right. Will try to come up with something to zrtresource now then. Thanks23:48
*** gberdyshev_ has quit IRC23:49
*** timte has quit IRC23:52
*** aaronv has quit IRC23:56
fcorrea_afd__, some more feedback when using z3c.resources for example. By doing this: /* zrt-replace: "/client/systemz/images/" tal"string:${context/++resource++pmgr.images}/" */ works as well23:59

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