IRC log of #zope3-dev for Wednesday, 2007-08-01

*** pcardune has joined #zope3-dev00:02
ayersinstantfoo: My function already returns a tempfile but I'm not quite sure what you mean by adding a @property decorator00:02
*** natea_ has joined #zope3-dev00:05
ayersI've also tried returning a zope.app.file.file File with the same results00:09
philiKONayers: first of all you need to think of a reproducible URL of that temporary file00:11
*** b52lap has joined #zope3-dev00:11
philiKONlet's say you have http://localhost/path/foo which resolves to this object that has the Bytes attribute00:11
philiKONthen you could make the Bytes contents available for download at e.g. http://localhost/path/foo/download00:12
philiKONwhich means you want to write a view for the 'foo' object called 'download'00:12
*** b52lap has quit IRC00:12
*** natea has quit IRC00:12
philiKONin that view, you simply return the bytes data to the client00:13
philiKONan efficient way of doing that is to write the data to a temp file and simply return that tempfile00:13
philiKONthe zope publisher will efficiently stream the data to the client00:14
philiKONthis is explained in my book, for example. http://worldcookery.com00:14
ayersphiliKON: Thanks... but are you sure that the tempfile should work? (I tried to extrapolate from the PDF code in the book.00:15
philiKONwhat do you mean am i sure? you think i write bollocks in my book? ;)00:15
ayersBut returning the tempfile gave me the TypeError00:15
ayersNo :-)00:16
ayersI think I'm just missing some fundamental detail00:16
philiKONshow me the traceback pls00:16
ayerssure:00:16
philiKONnot here please00:17
philiKONplease paste it somewhere00:17
ayersACK... the app just takes a few until it's up...00:20
philiKONsure, np00:21
lisppaste6ayers pasted "tempfile rendering traceback" at http://paste.lisp.org/display/4541300:27
*** rcrafton has quit IRC00:29
*** benji has quit IRC00:29
*** nerdalert has quit IRC00:30
ayersphiliKON: does that help you already?00:32
* philiKON takes a look00:32
philiKONhmmm00:33
philiKONNamedTemporaryFile00:33
philiKONhave you tried the not-named version?00:33
*** bigkevmcd has quit IRC00:33
philiKONi think it's called TemporaryFile00:33
philiKONthat should work00:33
philiKONi'm surprised that NamedTemporaryFile doesn't work00:33
ayersI can try with TemporaryFile just a sec....00:34
philiKONif so, that shoudl be fixed00:34
philiKONbut00:34
philiKONyou don't really need the NamedTempFile anyway00:34
philiKONbtw, this code is probably best put directly into the browser page00:35
*** ferrafox has joined #zope3-dev00:37
ayersWow!!! that did make the difference!00:37
ayerss/NamedTemporaryFile/TemporaryFile/00:37
*** norro has quit IRC00:38
ayersI would love to have it in the browser page...00:38
*** RaFromBRC is now known as RaFromBRC|away00:50
*** eldar has quit IRC00:50
*** marianom has left #zope3-dev00:53
*** torkel_ has joined #zope3-dev00:54
*** lucielejard has quit IRC00:55
*** AVN` has quit IRC01:04
*** netshade_ has quit IRC01:05
*** timte has quit IRC01:07
*** fcorrea has quit IRC01:07
*** romanofs1i has joined #zope3-dev01:07
*** pcardune has quit IRC01:13
*** sm-afk is now known as sm01:13
*** rocky is now known as rocky|away01:13
*** romanofski has quit IRC01:19
*** RaFromBRC|away is now known as RaFromBRC01:21
*** natea_ is now known as natea|away01:22
*** oferw has joined #zope3-dev01:25
*** faassen has quit IRC01:29
*** whit_ has joined #zope3-dev01:30
*** whit has quit IRC01:30
*** csmiga has left #zope3-dev01:34
edgordoni am having a lot of trouble setting up a container constraint based on a local utility. my main problem is that the zcmi 'add' menu doesn't seem to respect my constraints. it still shows items as addable even though adding them will return the (correct) Invalid error. do i just need to make a custom menu to get this done?01:37
*** ktwilight_ has quit IRC01:39
*** oferw has quit IRC01:39
*** edgordon has quit IRC01:40
*** ktwilight has joined #zope3-dev01:41
*** edgordon has joined #zope3-dev01:42
edgordonugh. love when my battery dies just after i ask a question01:42
instantfoo:)01:42
nathanyanyone know of a buildout recipe for compiling .po files -> .mo files?01:43
*** whit_ has quit IRC01:45
*** whit has joined #zope3-dev01:46
*** nathany has quit IRC01:54
*** nathany has joined #zope3-dev01:54
ayersphiliKON: Thanks a lot... I've been able to reduce my code to the view that configures the response and returns the temporary file... know I'm trying to find a way to create a link to the uri as you mentioned above [the URI itself already works, I just would like I link in the object's form]... I suppose I need to play with a URI attribute in the schema...02:00
*** natea|away_ has joined #zope3-dev02:00
philiKONwhy so complicated?02:01
philiKONjust link to ${obj/@@absolute_url}/download02:01
philiKON(provided that 'download' is the name of the view you wrote)02:01
*** jsadjohnson has quit IRC02:03
* ayers is a newbie... and still needs to wade through lots of documentation... 02:03
ayersThanks for the pointer... let me see what I can come up with.02:04
*** natea|away has quit IRC02:07
*** jodok has quit IRC02:09
smwiki.zope.org going down for a sec02:14
*** nathany has quit IRC02:20
ayersphiliKON: Thanks, I've got the link on the page... but actually I think I'd like to tie it in as a "custom widget" for the Bytes attribute [so that it is rendered at the 'correct' place with the rest of the attributes]. Let me see if I can do that by following the examples in Chapter 8...02:20
*** torkel_ has quit IRC02:25
*** ktwilight_ has joined #zope3-dev02:30
instantfooayers: sorry for not answering you earlier, but I guess philiKON gave a decent answer ;)02:34
*** torkel_ has joined #zope3-dev02:36
instantfoonow I have a Q, before reloading a mo-file it displays one of my translations as "Save", as expected.. but..02:38
instantfoowhen i reload the mo-file, not changing a single thing, it all of displays this translation as "heading-save" instead of the earlier "Save"02:39
instantfooany ideas what causes this? I didn't even change anything.. just reloaded mo-file02:39
*** sm is now known as ba102:39
*** ba1 is now known as sm02:40
*** jsadjohnson has joined #zope3-dev02:40
instantfoobtw, the default for this one is "Save" and the msgstr is ""02:40
*** ktwilight has quit IRC02:46
instantfooi mean... the msgid shouldn't be displayed when there is a Default set?02:54
philiKONright02:54
philiKONsounds like a bug02:54
*** b52laptop has quit IRC02:56
*** jinty_ has quit IRC03:00
instantfooi'm gonna mess around some more here, see what happens03:02
*** torkel__ has joined #zope3-dev03:02
*** torkel___ has joined #zope3-dev03:07
*** huajie has joined #zope3-dev03:12
*** torkel__1 has joined #zope3-dev03:15
*** jsadjohnson has quit IRC03:16
*** torkel_ has quit IRC03:19
*** rocky|away has quit IRC03:22
*** ayers has left #zope3-dev03:22
*** torkel__ has quit IRC03:23
*** torkel___ has quit IRC03:27
*** jsadjohnson has joined #zope3-dev03:51
*** huajie has quit IRC03:58
*** natea|away has joined #zope3-dev04:01
*** natea|away_ has quit IRC04:09
*** huajie has joined #zope3-dev04:11
*** jsadjohnson has quit IRC04:15
*** ferrafox has quit IRC04:21
*** RaFromBRC has quit IRC04:25
*** AVN` has joined #zope3-dev04:28
*** jsadjohnson has joined #zope3-dev04:45
*** torkel__1 has quit IRC04:46
*** jsadjohnson has quit IRC04:57
*** whit has quit IRC05:38
*** whit has joined #zope3-dev05:38
*** niemeyer has quit IRC05:43
*** whit has quit IRC05:52
*** whit has joined #zope3-dev05:58
*** natea|away_ has joined #zope3-dev06:04
*** whit has quit IRC06:12
*** natea|away has quit IRC06:12
*** whit has joined #zope3-dev06:18
*** philiKON_ has joined #zope3-dev06:22
*** natea|away has joined #zope3-dev06:25
*** whit has quit IRC06:33
*** natea|away_ has quit IRC06:34
*** jukart_ has quit IRC06:34
*** whit has joined #zope3-dev06:38
*** philiKON has quit IRC06:39
*** run|home has joined #zope3-dev07:02
*** run|home has quit IRC07:07
*** natea|away_ has joined #zope3-dev07:22
*** stub has joined #zope3-dev07:24
*** natea|away has quit IRC07:29
*** chacha_chaudhry has joined #zope3-dev07:38
*** baijum has joined #zope3-dev07:45
*** greenman has joined #zope3-dev07:48
*** stub has quit IRC07:51
*** stub has joined #zope3-dev07:52
*** natea|away has joined #zope3-dev07:53
*** natea|away_ has quit IRC08:02
*** cursor has joined #zope3-dev08:08
*** natea|away_ has joined #zope3-dev08:11
*** kleist has joined #zope3-dev08:11
*** natea|away has quit IRC08:18
*** sorin has joined #zope3-dev08:35
*** sorin is now known as sorindregan08:35
*** CSWookie has joined #zope3-dev08:45
*** natea|away has joined #zope3-dev08:46
*** kleist is now known as kleist^lurking08:47
*** pcardune has joined #zope3-dev08:49
*** natea|away_ has quit IRC08:54
*** stub has quit IRC09:14
*** regebro has joined #zope3-dev09:21
*** dobee has joined #zope3-dev09:35
*** romanofski has joined #zope3-dev09:39
romanofskimoin :)09:41
*** timte has joined #zope3-dev09:43
*** romanofs1i has quit IRC09:46
*** jfroche has quit IRC09:51
*** natea|away_ has joined #zope3-dev09:55
*** dobee has quit IRC09:55
*** jodok has joined #zope3-dev09:57
*** natea|away has quit IRC10:01
*** schwendinger has joined #zope3-dev10:07
*** dobee has joined #zope3-dev10:09
*** febb has joined #zope3-dev10:11
*** febb has quit IRC10:13
*** dobee has quit IRC10:13
*** jodok has quit IRC10:18
huajiegood morning romanofski10:19
*** natea|away has joined #zope3-dev10:22
*** romanofski has quit IRC10:23
*** Theuni has quit IRC10:24
*** zagy has quit IRC10:24
regebroI have a memory of somebody using a specific name for eggs that have dots in the name, like zope.app.testing, zope.app.debug and so on. Was that dotted-path eggs, or something else?10:25
* regebro thought it was dotted-path eggs, but can't find any references to that....10:26
*** natea|away_ has quit IRC10:28
wiggynamespace eggs?10:30
wiggyor namespace packages10:30
*** zagy has joined #zope3-dev10:31
regebrowiggy: yeah, that might it...10:31
*** romanofski has joined #zope3-dev10:32
*** Theuni has joined #zope3-dev10:33
*** dobee has joined #zope3-dev10:33
regebroWingIDE 2.1 doesn't seem to support it, namely. I need to request that 3.0 does. :-)10:34
*** dobee has left #zope3-dev10:34
*** jodok has joined #zope3-dev10:34
*** jodok has left #zope3-dev10:34
*** bigkevmcd has joined #zope3-dev10:35
wiggyI'm quite sure MJ has a Wing version that supports them10:36
*** cursor has quit IRC10:37
regebrowiggy: Oh, cool. Who is MJ. :-)10:42
wiggymartijn pieters10:43
wiggycurrently on vacation :)10:43
*** malthe has joined #zope3-dev10:43
regebroOK, nice. I'll mail him and see.10:44
regebroThanks.10:44
*** natea|away_ has joined #zope3-dev10:51
*** natea|away has quit IRC10:57
*** SteveA has quit IRC11:01
*** SteveA has joined #zope3-dev11:01
*** projekt01 has joined #zope3-dev11:05
*** stub has joined #zope3-dev11:09
*** cursor has joined #zope3-dev11:13
*** malthe_ has joined #zope3-dev11:14
*** malthe has quit IRC11:14
*** pelle_ has joined #zope3-dev11:16
*** jfroche has joined #zope3-dev11:24
*** greenman has quit IRC11:38
*** jinty has joined #zope3-dev11:44
*** tarek has joined #zope3-dev11:48
*** mkerrin has joined #zope3-dev11:55
*** whit has quit IRC12:13
*** whit has joined #zope3-dev12:13
*** malthe_ is now known as malthe12:14
*** b52laptop has joined #zope3-dev12:26
*** whit has quit IRC12:27
*** richardkan has joined #zope3-dev12:29
*** bauer has joined #zope3-dev12:31
bauerweb component development with Zope 3. Second Edition Chapter 7 fig. 7.1 wont work ?12:31
*** greenman has joined #zope3-dev12:32
bauerLook like zcml is ignored12:33
*** whit has joined #zope3-dev12:33
*** junkafarian has joined #zope3-dev12:39
junkafarianmorning *12:39
bauerOkey where do i report an error in web component development with Zope 3. Second Edition ?12:50
romanofskibauer: you mean phillips book?12:54
CSWookiebauer: Likely you'd report it to publisher or auther.12:54
baueryes12:54
romanofskijoin #worldcookery12:54
romanofskiand tell it philikon12:54
bauerokey thx12:54
philiKON_bauer: please write me an email12:54
CSWookieHah!12:54
romanofskiHah!12:54
CSWookie#worldcookery.12:54
romanofskiit's the philiKON_12:54
*** bauer has left #zope3-dev12:55
*** ignas has joined #zope3-dev12:56
* junkafarian is still having trouble with his FTP permissions problem from yesterday13:00
junkafariansorry to be a pain :S13:01
*** huajie has quit IRC13:02
*** kleist^lurking has quit IRC13:02
*** faassen has joined #zope3-dev13:07
*** ignas has quit IRC13:10
*** ignas has joined #zope3-dev13:16
*** ferrafox has joined #zope3-dev13:33
*** zagy has quit IRC13:34
*** pelle_ has quit IRC13:41
*** pelle_ has joined #zope3-dev13:42
*** projekt01 has quit IRC13:51
*** zagy has joined #zope3-dev13:54
*** benji has joined #zope3-dev14:16
*** malthe has quit IRC14:19
*** Newfie2007 has joined #zope3-dev14:26
*** d2m has joined #zope3-dev14:39
d2mjustr a quick question: is this a joke )http://groups.google.com/group/zope-zope3-user/browse_thread/thread/4b0df2963e79e8d5/ee05714cc4dabfdf?q=zope&rnum=1#ee05714cc4dabfdf) is is there a real password sent to the list ?14:39
*** Aiste_ has joined #zope3-dev14:42
benjid2m: no joke; It looks like google groups is subscribed via that user with that password14:44
benjiI think I'll change the password to something stronger.14:44
benjipassword changed; also turned off password notification14:46
*** d2m has left #zope3-dev14:46
bigkevmcdhappy mailman day indeed :-)14:47
*** ktwilight_ has quit IRC14:50
*** markusleist has quit IRC14:51
*** afd has joined #zope3-dev14:53
*** ktwilight has joined #zope3-dev14:55
*** incorrect has joined #zope3-dev14:58
*** dunny has quit IRC15:01
*** greenman_ has joined #zope3-dev15:09
*** Ariel_Calzada has joined #zope3-dev15:09
*** niemeyer has joined #zope3-dev15:14
*** ccomb has joined #zope3-dev15:16
*** mgedmin has joined #zope3-dev15:16
*** ferrafox_ has joined #zope3-dev15:19
*** ccomb has quit IRC15:20
*** ccomb has joined #zope3-dev15:20
*** dtremea has joined #zope3-dev15:23
*** jsadjohnson has joined #zope3-dev15:24
*** deo has quit IRC15:25
*** greenman has quit IRC15:27
*** dtremea is now known as deo15:28
*** mgedmin has quit IRC15:29
*** mgedmin has joined #zope3-dev15:30
*** markusleist has joined #zope3-dev15:30
*** rocky has joined #zope3-dev15:32
*** projekt01 has joined #zope3-dev15:33
*** mkerrin has quit IRC15:34
*** ferrafox has quit IRC15:36
*** salfield has joined #zope3-dev15:39
*** marianom has joined #zope3-dev15:47
*** dokai has quit IRC15:54
*** faassen has quit IRC15:58
*** salfield has quit IRC16:01
*** salfield has joined #zope3-dev16:02
*** rocky has quit IRC16:03
*** zagy has quit IRC16:04
*** afd has quit IRC16:07
*** jukart has joined #zope3-dev16:09
*** mgedmin has quit IRC16:09
*** Ariel_Calzada has quit IRC16:10
*** rocky has joined #zope3-dev16:15
*** ferrafox_ is now known as ferrafox16:20
*** Aiste_ has quit IRC16:20
*** ksmith99 has joined #zope3-dev16:26
*** J1m has joined #zope3-dev16:27
*** baijum has quit IRC16:31
*** natea|away_ is now known as natea16:36
*** dtremea has joined #zope3-dev16:47
*** deo has quit IRC16:47
*** dtremea is now known as deo16:47
*** marianom has left #zope3-dev16:49
*** netshade has joined #zope3-dev16:51
srichterJ1m: I would like to release a new version of zc.zoep3recipes now that Roger has added Windows support; could you make me an owner of that package, please?16:52
J1msure, what is your pypi id?16:52
srichtersrichter16:53
srichterJ1m: ^16:53
*** CSWookie has quit IRC16:58
*** zagy has joined #zope3-dev17:05
*** netshade has quit IRC17:11
*** tdoggette has quit IRC17:16
*** tdoggette has joined #zope3-dev17:17
*** sorindregan has quit IRC17:18
*** edgordon has quit IRC17:18
*** chacha_chaudhry has quit IRC17:19
*** natea has quit IRC17:25
*** cursor has quit IRC17:26
J1msrichter, done17:27
*** edgordon has joined #zope3-dev17:40
*** yvl has quit IRC17:40
*** nateacyborg has joined #zope3-dev17:41
*** nateacyborg has joined #zope3-dev17:42
*** nateacyborg has quit IRC17:43
*** nateacyborg has joined #zope3-dev17:44
*** nerdalert has joined #zope3-dev17:47
*** malthe has joined #zope3-dev17:51
*** zagy has quit IRC18:05
*** zagy has joined #zope3-dev18:05
*** b52lap has joined #zope3-dev18:08
*** b52laptop has quit IRC18:09
*** mgedmin has joined #zope3-dev18:10
*** dokai has joined #zope3-dev18:15
*** fcorrea has joined #zope3-dev18:17
*** malthe has quit IRC18:17
*** alga has joined #zope3-dev18:20
*** ignas has quit IRC18:27
*** ignas has joined #zope3-dev18:28
*** whit_ has joined #zope3-dev18:28
*** whit has quit IRC18:29
*** Aiste_ has joined #zope3-dev18:30
*** pelle_ has quit IRC18:33
*** Aiste_ has quit IRC18:35
*** Aiste_ has joined #zope3-dev18:36
*** whit_ is now known as whit18:47
*** alga has quit IRC18:49
*** nathany has joined #zope3-dev18:49
*** nateacyborg is now known as natea18:56
*** incorrect has quit IRC18:58
*** dobee has joined #zope3-dev19:01
*** projekt01 has quit IRC19:09
*** RaFromBRC has joined #zope3-dev19:09
*** ferrafox has quit IRC19:18
*** romanofski has quit IRC19:18
*** zagy has quit IRC19:19
*** markusleist has quit IRC19:20
*** malthe has joined #zope3-dev19:20
*** edgordon has quit IRC19:33
*** alecm has joined #zope3-dev19:49
*** timte has quit IRC19:50
*** dobee has quit IRC19:53
*** pbugni has joined #zope3-dev19:58
*** b52lap has quit IRC20:02
*** jukart_ has joined #zope3-dev20:02
*** timte has joined #zope3-dev20:04
*** edgordon has joined #zope3-dev20:05
*** Aiste_ has quit IRC20:06
*** dobee has joined #zope3-dev20:08
*** stub has quit IRC20:11
*** jfroche has quit IRC20:18
*** jukart has quit IRC20:19
*** junkafarian has quit IRC20:19
*** edgordon has quit IRC20:23
*** edgordon has joined #zope3-dev20:23
*** greenman has joined #zope3-dev20:24
*** mgedmin has quit IRC20:26
*** rocky has quit IRC20:28
*** edgordon has quit IRC20:30
*** pcardune has quit IRC20:35
*** projekt01 has joined #zope3-dev20:36
*** dobee has quit IRC20:39
*** greenman_ has quit IRC20:39
*** jukart_ has quit IRC20:40
*** dobee has joined #zope3-dev21:00
*** grahal has joined #zope3-dev21:00
*** dobee has quit IRC21:01
*** pcardune has joined #zope3-dev21:04
*** malthe has quit IRC21:08
*** jfroche has joined #zope3-dev21:10
*** malthe has joined #zope3-dev21:11
*** romanofski has joined #zope3-dev21:12
*** csmiga has joined #zope3-dev21:15
*** richardkan has quit IRC21:16
*** rocky has joined #zope3-dev21:16
*** markusleist has joined #zope3-dev21:21
*** pelle_ has joined #zope3-dev21:23
*** jinty has quit IRC21:33
*** jinty has joined #zope3-dev21:34
*** Ariel_Calzada has joined #zope3-dev21:35
*** jbb666 has joined #zope3-dev21:46
*** b52laptop has joined #zope3-dev21:47
*** jbb666 has left #zope3-dev21:48
*** alecm has quit IRC21:51
*** whit has quit IRC21:52
*** edgordon has joined #zope3-dev21:52
*** whit has joined #zope3-dev21:53
edgordonis something funny going on w/ the cheeseshop?21:53
edgordoni am having trouble w/ them having the cheese i want (zope.contentprovider)21:54
*** AVN` has quit IRC21:54
*** alecm has joined #zope3-dev21:55
*** Newfie2007 has quit IRC21:57
edgordonanyone care to try and see the cheeseshop website for me? i can't see it and i also can't grab packages21:58
*** salfield has quit IRC22:04
benjiedgordon: yep, it's down22:06
edgordonok, thanks. glad it isn't my problem22:06
benjiI've reported the outage to catalog-sig (the keepers of PyPI)22:06
edgordonthe irony of the cheeseshop not carrying any cheeses is not lost on me22:06
benjithat's just the issue, it /is/ a problem for you22:06
benjiif you're using a buildout you can use ppix instead22:07
edgordoni have no shortage of other work. it can wait22:07
*** dunny has joined #zope3-dev22:07
edgordonback up22:10
* benji backs up.22:10
*** norro has joined #zope3-dev22:11
*** afd_ has quit IRC22:15
*** alecm has quit IRC22:15
*** alecm has joined #zope3-dev22:18
edgordonis zope.contentprovider going away or something? i am having trouble finding it anywhere but svn.zope.org22:22
*** jfroche_ has joined #zope3-dev22:27
*** Ariel_Calzada has quit IRC22:28
*** fcorrea_ has joined #zope3-dev22:31
*** fcorrea has quit IRC22:36
*** jfroche has quit IRC22:40
*** malthe has quit IRC22:43
*** malthe_ has joined #zope3-dev22:43
*** ignas has quit IRC22:46
*** RaFromBRC is now known as RaFromBRC|lunch22:48
*** pbugni has quit IRC22:54
*** RaFromBRC|lunch is now known as RaFromBRC23:02
*** alecm has left #zope3-dev23:03
*** alecm has joined #zope3-dev23:04
*** afd has joined #zope3-dev23:26
*** jsadjohnson has quit IRC23:44
*** romanofski has quit IRC23:58
*** pbugni has joined #zope3-dev23:59

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