IRC log of #zope3-dev for Thursday, 2007-11-15

*** junkafarian_ has joined #zope3-dev00:11
*** junkafarian_ has quit IRC00:12
*** xenru has quit IRC00:15
*** jodok has quit IRC00:26
*** malthe is now known as malthe|Zzz00:28
*** harobed_ has joined #zope3-dev00:28
*** gstratton has quit IRC00:29
*** stub has quit IRC00:52
*** faassen has quit IRC00:52
*** hazmat has quit IRC00:52
*** benji has quit IRC01:00
*** pcardune has joined #zope3-dev01:03
*** lucielejard has quit IRC01:03
*** jsadjohnson has quit IRC01:09
*** hazmat has joined #zope3-dev01:30
*** timte has quit IRC01:34
*** pbugni has quit IRC01:37
*** philiKON_ has joined #zope3-dev01:38
*** philiKON has quit IRC01:54
pan_how can i give user a possibility to download files saved in objects as Bytes field?01:59
philiKON_write a browser view of course02:02
*** regebro has left #zope3-dev02:03
*** RaFromBRC is now known as RaFromBRC|lunch02:04
*** harobed_ has quit IRC02:13
*** nathany has quit IRC02:18
*** lmiller has joined #zope3-dev02:26
lmillerI have an AddForm I am porting from zope 3.2 to 3.4 ... The form seems to be ignoring the form_field custom_widgets I set in the __init__  and using fieldNames instead.02:29
*** rmarianski has quit IRC02:32
lmillerhmm, what's the difference between form.Fields and form.FormFields?02:35
*** rcrafton has quit IRC02:35
*** pcardune has quit IRC02:37
*** greenman has joined #zope3-dev02:54
*** hexsprite has quit IRC02:55
*** ccomb has quit IRC03:15
*** RaFromBRC|lunch is now known as RaFromBRC03:15
*** TresEquis has joined #zope3-dev03:22
*** b52laptop has quit IRC03:37
*** salfield has quit IRC03:54
*** niemeyer has quit IRC03:56
*** acsr_ has joined #zope3-dev04:20
*** acsr has quit IRC04:27
*** pcardune has joined #zope3-dev04:38
*** hazmat has quit IRC05:08
*** hazmat has joined #zope3-dev05:34
*** hexsprite has joined #zope3-dev05:38
*** shurik has joined #zope3-dev05:40
*** natea|boston has joined #zope3-dev05:46
*** natea has quit IRC05:54
*** dunny has quit IRC06:12
*** alecm has quit IRC06:23
*** pcardune has quit IRC06:26
*** cursor has joined #zope3-dev06:42
*** RaFromBRC has quit IRC06:44
*** Ariel_Calzada has joined #zope3-dev06:51
*** rcrafton has joined #zope3-dev07:05
*** run|home has joined #zope3-dev07:09
*** shurik has quit IRC07:12
*** shurik has joined #zope3-dev07:14
*** stub has joined #zope3-dev07:18
*** pcardune has joined #zope3-dev07:40
*** cursor_ has joined #zope3-dev08:34
*** rcrafton has quit IRC08:41
*** hdima has joined #zope3-dev08:43
*** rcrafton has joined #zope3-dev08:46
*** __mac__ has joined #zope3-dev08:48
*** cursor has quit IRC08:51
*** jodok has joined #zope3-dev08:52
*** cursor_ has quit IRC08:53
*** sorin has joined #zope3-dev08:54
*** sorin is now known as sorindregan08:54
*** jodok has quit IRC08:55
*** jodok has joined #zope3-dev08:57
*** pcardune has quit IRC09:02
*** baijum has joined #zope3-dev09:12
*** stub has quit IRC09:28
*** stu2 has joined #zope3-dev09:28
*** stu2 is now known as stub09:29
*** schwendinger has joined #zope3-dev09:30
*** timte has joined #zope3-dev09:41
*** cursor has joined #zope3-dev09:43
*** quodt has quit IRC10:01
*** gstratton has joined #zope3-dev10:10
*** afd_ has joined #zope3-dev10:22
*** pelle_ has joined #zope3-dev10:22
*** harobed has joined #zope3-dev10:24
*** projekt01 has joined #zope3-dev10:26
*** malthe|Zzz has quit IRC10:30
*** shurik has quit IRC10:36
*** goschtl has joined #zope3-dev10:40
*** rcrafton has quit IRC10:41
*** quodt has joined #zope3-dev10:43
*** ghendi has joined #zope3-dev10:52
*** gimni has joined #zope3-dev10:52
*** yvl has joined #zope3-dev10:57
pan_im using Bytes filed for upload files. how can i get filename of uploaded file? when im displaying self.request, for file field im getting: form.cert:      <zope.publisher.browser.FileUpload object at 0x90c662c>10:59
pan_FileUpload doesnt have any method to check filename of uploaded file10:59
pan_hah. it has! :-)11:07
pan_but now how should i store it in my object? i can store data of file, but how should i store orginal filename? as separate TextLine field?11:07
*** jhauser has joined #zope3-dev11:39
*** dunny has joined #zope3-dev11:44
philiKON_pan_: sure11:51
philiKON_you might also consider using blobs, btw11:51
*** gimni_ has joined #zope3-dev11:54
*** gimni has quit IRC11:54
*** gimni_ is now known as gimni11:54
pan_philiKON_: where can i find information about blobs? i see that there is not such field in schema/
pan_philiKON_: thanks for response :-)11:56
philiKON_no, there's no such schema field11:56
*** pelle_ has quit IRC11:56
*** pelle_ has joined #zope3-dev11:56
philiKON_here's an example
philiKON_albeit from zope 211:57
*** yvl has left #zope3-dev11:57
*** MJ has joined #zope3-dev11:57
pan_philiKON_: ok. i just want to create possibility for service users to send messages between each others. every message can have files. i created List field with Bytes content. i created another List field with TextLine. in first list i keep files, in second i keep filenames. good solution?11:58
philiKON_if the files aren't big, it's ok11:58
pan_philiKON_: big > 10MB ?11:59
*** malthe has joined #zope3-dev11:59
philiKON_something like that11:59
pan_philiKON_: just curious - what should i do if files would be big?12:00
pan_ok. thanks for help. im going to read about blobs :-)12:00
philiKON_pan_: there's also
pan_great! that helps a lot :-)12:02
pan_just keep TextLine in db - for name of the blob - and any data of file in the blob, right?12:02
*** thruflo has joined #zope3-dev12:02
pan_and later use FileUpload browser view for give possibility to download.12:03
philiKON_not really12:03
philiKON_i would do my own12:04
philiKON_and do   blob.consumeFile(uploaded_file.filename)12:04
pan_ok. i will read about it and study Blob interface. thanks again, philiKON_.12:05
*** dunny_ has joined #zope3-dev12:08
*** dunny has quit IRC12:25
*** greenman has quit IRC12:26
*** mkerrin has joined #zope3-dev12:35
*** ccomb has joined #zope3-dev12:41
*** jinty has joined #zope3-dev12:41
*** jinty has quit IRC12:42
*** jinty has joined #zope3-dev12:53
*** jfroche has joined #zope3-dev12:56
*** cursor_ has joined #zope3-dev12:57
*** xenru has joined #zope3-dev12:59
xenruHi, all13:01
xenruwe are ready to release pre-alfa of Hivurt13:02
xenrucan you gimme some advices about marketing of our product?13:03
*** cursor has quit IRC13:03
xenruwho here have own blogs and want to psrticipate13:04
xenruwith code and other review?13:04
srichterxenru: I would be surprised if you find someone who will give you this committment13:05
*** MJ is now known as MJ|lunch13:05
srichterxenru: you have to put it out there and then promote it on the mailing lists, blogs and other communication channels13:05
*** regebro has joined #zope3-dev13:05
srichterxenru: then people decde whether they want to look at and blog about it13:05
ccombxenru : the first most important things to tell about it: 1) where to find it 2) how to install it 3) what can be done with it13:09
*** niemeyer has joined #zope3-dev13:09
xenrusrichter: I know about this ways, and I'll try, but I never release before that any open source projects, so I came here to ask what I need to do13:10
xenruccomb: thanks, we have this documentation, I'll double-check it13:11
*** malthe has quit IRC13:16
*** dunny_ has quit IRC13:19
*** __mac__ has quit IRC13:20
*** dunny has joined #zope3-dev13:21
*** malthe has joined #zope3-dev13:23
*** __mac__ has joined #zope3-dev13:27
*** jinty has joined #zope3-dev13:28
*** thruflo_ has joined #zope3-dev13:28
*** jsadjohnson has joined #zope3-dev13:30
*** cursor has joined #zope3-dev13:32
*** __mac__ has quit IRC13:40
*** cursor_ has quit IRC13:41
*** thruflo has quit IRC13:46
*** dunny has quit IRC13:53
*** Ariel_Calzada has quit IRC13:56
*** __mac__ has joined #zope3-dev13:57
*** salfield has joined #zope3-dev14:06
*** malthe has quit IRC14:07
*** b52laptop has joined #zope3-dev14:11
*** MJ|lunch is now known as MJ14:12
*** huajie has joined #zope3-dev14:21
*** mgedmin has joined #zope3-dev14:29
*** alga has joined #zope3-dev14:38
*** ignas has joined #zope3-dev14:42
harobedI read documentation (book)14:43
harobedit's very well14:44
harobedI think Zope Component Architecture must be spell Python Component Architecture14:44
*** rcrafton has joined #zope3-dev15:00
*** hazmat has quit IRC15:03
*** hdima has quit IRC15:03
*** hdima has joined #zope3-dev15:04
*** afd_ has quit IRC15:06
*** malthe has joined #zope3-dev15:09
*** pan has joined #zope3-dev15:16
*** lisppaste6 has quit IRC15:17
*** benji has joined #zope3-dev15:19
*** lisppaste6 has joined #zope3-dev15:25
*** pan_ has quit IRC15:30
*** lucielejard has joined #zope3-dev15:33
*** afd_ has joined #zope3-dev16:00
*** huajie has quit IRC16:02
*** Ariel_Calzada has joined #zope3-dev16:04
*** J1m has joined #zope3-dev16:19
*** afd_ has quit IRC16:20
*** ktwilight_ has joined #zope3-dev16:22
*** pan is now known as Pan]16:35
*** TresEquis has quit IRC16:35
*** ktwilight has quit IRC16:35
*** Ariel_Calzada has quit IRC16:40
*** mujinjun has joined #zope3-dev16:42
*** Ariel_Calzada has joined #zope3-dev16:45
*** __mac__ has quit IRC16:47
*** norro has joined #zope3-dev16:51
*** mujinjun has left #zope3-dev16:51
*** amaron has joined #zope3-dev16:54
amaronhi, anyone knows link with nice finished skins?16:55
*** baijum has quit IRC17:06
*** regebro has left #zope3-dev17:10
*** afd_ has joined #zope3-dev17:12
*** hexsprite has quit IRC17:20
*** hdima has quit IRC17:26
J1m :)17:32
*** thruflo has joined #zope3-dev17:33
*** rmarianski has joined #zope3-dev17:34
*** regebro has joined #zope3-dev17:35
philiKON_J1m: is there a way to find out whether a persistent object has been deleted? apparently persistent.weak.WeakRef will hold on to dead objects until the db is packed. i'd like such references to fail17:38
*** sorindregan has quit IRC17:39
*** gstratton_ has joined #zope3-dev17:40
* mgedmin would like to know if it is safe to copy a Data.fs from a x86 linux machine to an x86_64 linux machine17:43
malthemgedmin: if a pickle will work on both, so will Data.fs.17:44
philiKON_mgedmin: i'm pretty sure it's safe17:44
*** pelle_ has quit IRC17:46
*** thruflo_ has quit IRC17:49
ignasphiliKON_: i think the only way to do that is to define your own criterion to determine whether an object is "deleted", otherwise you will have to do something Data.fs garbage collector does - detect cyclic references17:51
*** ktenney has joined #zope3-dev17:52
*** gstratton has quit IRC17:55
J1mphiliKON_, I'm not sure what you mean by "deleted".18:07
philiKON_del obj18:07
philiKON_like, del container[name]18:08
J1mNone of whose have much to do with the life of a persistent object.18:08
J1mdel foo just unbinds a name.18:08
philiKON_i meant: del container[name]18:08
J1mIt doesn't necessarily cause an object to be removed from memory.18:08
philiKON_del last_reference_to_persistent_obj18:09
J1mThat just removes an object from the container.18:09
philiKON_yes yes18:09
* philiKON_ phone18:09
J1mThat last only occurs on packing.18:09
J1mfor some definition of reference.18:09
J1mwhatever you are trying to do, I doubt you should. :)18:10
philiKON_ok :)18:10
ignasif you want to lose a "weak" ref on deletion from container - don't use weak refs18:10
J1mIt's nice arguing with someone on the phone. ;)18:10
ignasuse IObjectRemoved subscriber18:10
* J1m hides before philiKON_ gets off the phone. ;)18:11
*** ghendi has quit IRC18:21
*** goschtl has quit IRC18:30
*** jfroche has quit IRC18:36
*** ignas has quit IRC18:45
*** gstratton has joined #zope3-dev18:51
*** Ariel_Calzad1 has joined #zope3-dev18:51
*** jinty has quit IRC18:55
*** gstratton_ has quit IRC18:58
*** Ariel_Calzada has quit IRC19:00
*** acsr_ has left #zope3-dev19:01
*** BjornT has quit IRC19:06
*** acsr has joined #zope3-dev19:06
*** MJ has quit IRC19:10
*** ktenney has quit IRC19:15
*** cursor has quit IRC19:16
*** dobee has joined #zope3-dev19:27
*** projekt01 has quit IRC19:29
*** pbugni has joined #zope3-dev19:34
*** natea|boston has quit IRC19:36
*** jodok has quit IRC19:38
*** alecm has joined #zope3-dev19:44
*** schwendinger has quit IRC19:50
*** gimni has quit IRC19:51
*** mkerrin has quit IRC19:56
*** RaFromBRC has joined #zope3-dev19:56
*** malthe has quit IRC19:58
*** TresEquis has joined #zope3-dev20:02
*** pcardune has joined #zope3-dev20:04
*** harobed has quit IRC20:06
*** natea|boston has joined #zope3-dev20:07
*** dunny has joined #zope3-dev20:08
*** quodt has quit IRC20:13
*** dunny has quit IRC20:22
*** natea|boston has quit IRC20:24
*** natea|boston has joined #zope3-dev20:25
*** Pan]_ has joined #zope3-dev20:25
*** rocky has quit IRC20:27
*** dobee has quit IRC20:28
*** rocky has joined #zope3-dev20:30
*** Pan] has quit IRC20:39
*** greenman has joined #zope3-dev20:40
*** BjornT has joined #zope3-dev20:47
*** thruflo_ has joined #zope3-dev20:53
*** jodok has joined #zope3-dev20:56
*** pcardune has quit IRC20:57
*** thruflo__ has joined #zope3-dev21:01
*** thruflo__ has quit IRC21:01
*** dobee has joined #zope3-dev21:06
*** norro has quit IRC21:13
*** thruflo_ has quit IRC21:19
*** thruflo has quit IRC21:21
*** schwendinger has joined #zope3-dev21:21
*** toutpt has joined #zope3-dev21:22
*** norro has joined #zope3-dev21:23
*** Ariel_Calzad1 has quit IRC21:26
toutptis there a buildout.cfg that install zope3.4 ?21:32
toutpti m trying to find sth similar with plone3_buildout paster's template21:33
*** pelle__ has joined #zope3-dev21:35
*** mgedmin has quit IRC21:36
philiKON_toutpt: zopeproject21:37
toutptthx philiKON_21:39
Pan]_how should i sort catalog? should i use some zope function, or should i just use myobjects = context.values(), and do some sorting (for example by date or type) by myself?21:39
Pan]_catalog - container i mean. my custom container with objects.21:40
*** rmarianski has quit IRC21:40
philiKON_you man an ordered container? or a sorted container?21:41
Pan]_hm... i dont know what you are asking... what is difference between ordered and sorted? i have defined Interfece with IContainer as base class. Implementation is BTreeContainer.21:42
Pan]_is this ordered container?21:43
* Pan]_ looking at ordered container implementation.21:45
Pan]_so... i have BTreeContainer... so it is sorted container. am i right?21:47
*** quodt has joined #zope3-dev21:47
philiKON_as an implementation detail, btrees sort, yes21:48
Pan]_so, should i do sorting by my own? or use some zope machinery?21:49
Pan]_which way is more efficient?21:49
*** natea|boston has quit IRC21:51
*** greenman has quit IRC21:54
*** gstratton has quit IRC21:57
*** afd_ has quit IRC21:59
*** BjornT has quit IRC22:02
*** greenman has joined #zope3-dev22:13
*** schwendinger has quit IRC22:24
*** BjornT has joined #zope3-dev22:29
*** rmarianski has joined #zope3-dev22:32
*** greenman has quit IRC22:32
*** xenru has quit IRC22:34
*** pcardune has joined #zope3-dev22:34
*** pcardune has quit IRC22:54
*** spython has joined #zope3-dev23:17
*** quodt has quit IRC23:21
*** quodt has joined #zope3-dev23:21
*** natea|boston has joined #zope3-dev23:21
spythonhi, from my page template I run a function that returns some special html-code to be inserted. But the html gets escaped, how do I avoid this?23:22
timtespython: tal:content="structure view/something"23:22
spythonthanks you23:23
*** dobee has quit IRC23:26
*** dobee has joined #zope3-dev23:29
*** toutpt has quit IRC23:30
*** dobee has left #zope3-dev23:30
*** dobee has joined #zope3-dev23:30
*** Pan]_ has quit IRC23:53
*** srichter has quit IRC23:53
*** romanofski has quit IRC23:53
*** dennis__ has quit IRC23:53
*** Jell-O-Fishi has quit IRC23:53
*** natea|boston has quit IRC23:53
*** spython has quit IRC23:53
*** acsr has quit IRC23:53
*** salfield has quit IRC23:53
*** alecm has quit IRC23:53
*** ktwilight_ has quit IRC23:53
*** lucielejard has quit IRC23:53
*** alga has quit IRC23:53
*** jsadjohnson has quit IRC23:53
*** niemeyer has quit IRC23:53
*** philiKON_ has quit IRC23:53
*** bigkevmcd has quit IRC23:53
*** quodt has quit IRC23:53
*** instantf1o has quit IRC23:53
*** SteveA has quit IRC23:53
*** regebro has quit IRC23:53
*** benji has quit IRC23:53
*** b52laptop has quit IRC23:53
*** ccomb has quit IRC23:53
*** timte has quit IRC23:53
*** lmiller has quit IRC23:53
*** dokai has quit IRC23:53
*** nouri has quit IRC23:53
*** rmarianski has quit IRC23:53
*** TresEquis has quit IRC23:53
*** rcrafton has quit IRC23:53
*** whit has quit IRC23:53
*** _Basti__ has quit IRC23:53
*** BjornT has quit IRC23:53
*** norro has quit IRC23:53
*** rocky has quit IRC23:53
*** lisppaste6 has quit IRC23:53
*** dobee has quit IRC23:53
*** RaFromBRC has quit IRC23:53
*** J1m has quit IRC23:53
*** run|home has quit IRC23:53
*** tomus has quit IRC23:53
*** Theuni has quit IRC23:53
*** WebMaven has quit IRC23:53
*** Jell-O-Fishi has joined #zope3-dev23:59
*** norro_ has joined #zope3-dev23:59
*** quodt has joined #zope3-dev23:59
*** spython has joined #zope3-dev23:59
*** rmarianski has joined #zope3-dev23:59
*** BjornT has joined #zope3-dev23:59
*** norro has joined #zope3-dev23:59
*** rocky has joined #zope3-dev23:59
*** TresEquis has joined #zope3-dev23:59
*** alecm has joined #zope3-dev23:59
*** acsr has joined #zope3-dev23:59
*** regebro has joined #zope3-dev23:59
*** ktwilight_ has joined #zope3-dev23:59
*** lucielejard has joined #zope3-dev23:59
*** lisppaste6 has joined #zope3-dev23:59
*** benji has joined #zope3-dev23:59

Generated by 2.15.1 by Marius Gedminas - find it at!