IRC log of #zope3-dev for Wednesday, 2006-06-14

RaFromBRChmm... i'm not seeing an 'order' argument in the field constructor... i'm using the Z3.2 that ships w/ Z2.9, maybe 'order' as a constructor argument was added later?00:00
volvoxif you are going to the list, i would give my left arm to somebody commenting my "list woes" post of this morning. it's got me in a hole i can't exit00:00
rockybenji: ah, the eternal question, to do or to argue... and i so love arguing ... ;)00:01
volvox(it's a very nice arm, can send a photo)00:02
rockylol00:03
rockyvolvox: you're marco mariani ?00:04
volvoxyep00:04
*** bradb has quit IRC00:11
*** pcardune_ has quit IRC00:12
*** philiKON has joined #zope3-dev00:16
*** jinty has quit IRC00:23
*** hazmat has joined #zope3-dev00:26
*** ChanServ sets mode: +o hazmat00:26
*** hazmat has quit IRC00:35
*** pcardune_ has joined #zope3-dev00:37
*** J1m has quit IRC00:39
*** zbir has quit IRC00:40
*** pcardune_ has quit IRC00:44
*** d2m has quit IRC00:46
*** projekt01 has joined #zope3-dev00:48
*** gumpa has quit IRC01:02
*** RaFromBRC has quit IRC01:18
*** benji has quit IRC01:19
*** b_52CEntos_ has quit IRC01:20
*** b_52CEntos_ has joined #zope3-dev01:25
*** zbir has joined #zope3-dev01:26
*** natea is now known as natea|regattabar01:27
*** hazmat has joined #zope3-dev01:31
*** ChanServ sets mode: +o hazmat01:31
*** yota has quit IRC01:32
*** jinty has joined #zope3-dev01:33
*** sashav has quit IRC01:34
*** rocky is now known as rocky|zZz01:39
*** b_52CEntos_ is now known as b_52CEntos01:39
*** philiKON has quit IRC01:42
*** jinty has quit IRC01:51
*** jinty has joined #zope3-dev01:51
*** Theuni has quit IRC01:52
*** volvox has quit IRC02:00
*** b_52CEntos_ has joined #zope3-dev02:21
*** b_52CEntos has quit IRC02:34
*** zbir has quit IRC02:35
*** oferw has joined #zope3-dev02:36
*** b_52Centos__ has joined #zope3-dev03:02
*** b_52CEntos_ has quit IRC03:16
*** oferw has quit IRC03:16
*** jinty has quit IRC03:45
*** b_52CEntos_ has joined #zope3-dev04:19
*** zbir has joined #zope3-dev04:21
*** b_52Centos__ has quit IRC04:31
*** b_52Centos__ has joined #zope3-dev05:04
*** projekt01 has left #zope3-dev05:08
*** b_52CEntos_ has quit IRC05:17
*** srichter has quit IRC05:50
*** b_52CEntos_ has joined #zope3-dev06:00
*** b_52Centos__ has quit IRC06:14
*** natea|regattabar is now known as natea06:28
*** rom|aw is now known as romanofski06:32
romanofskimoin06:32
*** romanofski has quit IRC06:34
*** b_52CEntos has joined #zope3-dev06:35
*** romanofski has joined #zope3-dev06:36
*** b_52Centos__ has joined #zope3-dev06:43
*** hazmat has quit IRC06:43
*** b_52CEntos_ has quit IRC06:46
*** stub has joined #zope3-dev06:53
*** b_52CEntos has quit IRC07:00
alecmanybody know if there's a good reason why the sort method of zope.viewlet.manager.ViewletManagerBase compares the actual viewlet instances, rather than their names, or some other sane-ish thing?07:12
*** dunny has quit IRC07:18
*** b_52CEntos_ has joined #zope3-dev07:46
*** b_52Centos__ has quit IRC07:58
*** roman_ has joined #zope3-dev08:01
*** Aiste has joined #zope3-dev08:06
*** srichter has joined #zope3-dev08:10
*** romanofski has quit IRC08:13
*** roman_ is now known as romanofski08:13
*** nouri has quit IRC08:17
*** nouri has joined #zope3-dev08:20
*** SureshV has joined #zope3-dev08:27
*** sashav has joined #zope3-dev08:35
*** b_52CEntos_ is now known as b_52CEntos08:47
*** sashav has quit IRC08:53
*** oferw has joined #zope3-dev08:57
*** d2m has joined #zope3-dev09:01
*** oferw has quit IRC09:08
*** Aiste has quit IRC09:09
*** tarek has quit IRC09:12
*** hdima has joined #zope3-dev09:13
*** dobee has joined #zope3-dev09:15
*** philiKON has joined #zope3-dev09:18
*** dlk has joined #zope3-dev09:54
*** philiKON has quit IRC09:56
*** b_52CEntos_ has joined #zope3-dev09:57
*** Aiste has joined #zope3-dev10:02
*** Aiste has quit IRC10:02
*** Aiste has joined #zope3-dev10:03
*** dobee has quit IRC10:08
*** b_52CEntos has quit IRC10:09
*** sashav has joined #zope3-dev10:10
*** b_52CEntos_ is now known as b_52CEntos10:12
*** b_52CEntos_ has joined #zope3-dev10:19
*** b_52Centos__ has joined #zope3-dev10:24
*** alecm has quit IRC10:25
*** SureshV has quit IRC10:29
*** yota has joined #zope3-dev10:30
*** b_52CEntos has quit IRC10:32
*** b_52Centos__ is now known as b_52Centos10:32
*** J1m has joined #zope3-dev10:35
*** tarek has joined #zope3-dev10:35
*** dobee has joined #zope3-dev10:36
*** b_52CEntos_ has quit IRC10:37
*** volvox has joined #zope3-dev10:50
*** romanofski has quit IRC10:50
*** romanofski has joined #zope3-dev10:54
*** efrerich has joined #zope3-dev10:57
*** d2m has quit IRC11:08
*** armychina_ has joined #zope3-dev11:25
*** oferw has joined #zope3-dev11:32
*** oferw has quit IRC11:36
*** eins has joined #zope3-dev11:47
einshi all11:47
romanofskihey eins :)11:52
einshey romanofski12:10
einswhats up?12:10
romanofskidoing well - how are you?12:10
*** mgedmin has joined #zope3-dev12:13
*** d2m has joined #zope3-dev12:19
*** batlogg has joined #zope3-dev12:21
*** b_52Centos has quit IRC12:35
einsromanofski passed 2 exams today :)12:37
einsso doing also well ;)12:37
*** b_52Centos has joined #zope3-dev12:41
*** alga has joined #zope3-dev12:45
*** armychina_ has quit IRC12:57
*** faassen has joined #zope3-dev13:03
*** armychina_ has joined #zope3-dev13:05
*** mkerrin has joined #zope3-dev13:06
*** ignas has joined #zope3-dev13:12
*** ChanServ sets mode: +o srichter13:15
*** rocky|zZz is now known as rocky13:17
*** jinty has joined #zope3-dev13:28
romanofskieins: gratulations!13:36
einsthanks;)13:45
*** b_52CEntos_ has joined #zope3-dev13:48
mgedminso, if a user has a file with a non-ASCII character (or several)13:54
mgedminand he uploads that file with a web form13:54
mgedminwhat is supposed to happen to the non-ASCII character in the filename in the mime headers that zope 3 sees?13:54
* mgedmin googles13:56
* mgedmin discovers a reference to RFC 1867 "Form-based File Upload in HTML"13:56
*** projekt01 has joined #zope3-dev13:58
mgedminrfc 1867 says that in mime headers filenames (and other non-ascii values) ought to be encoded with RFC 152214:00
*** b_52Free has joined #zope3-dev14:01
*** J1m has quit IRC14:01
mgedmin... which means =?q?utf-8?lalalala=xx=yy=zzlalala?= as far as I can see ...14:01
*** b_52Centos has quit IRC14:03
*** b_52CEntos_ has quit IRC14:06
*** armychina_ has quit IRC14:07
*** efrerich has quit IRC14:10
* mgedmin experiments14:11
mgedminzope 3 views get utf-8 filenames, both with Firefox on Linux and MSIE on Windows14:12
mgedmingood14:12
mgedminalthough Unicode would be better14:12
rockythat statement doesn't make sense14:13
rockyyou can't compare utf-8 to unicode14:13
mgedminin Python there is a definitive difference between u"\u263B" and "\xe2\x98\xbb"14:16
mgedminone is unicode, the other is UTF-8 str14:16
rockysure14:16
rockydid you know that a unicode string (in python) is actually just a utf-8 encoded binary string ?14:16
mgedminrequest.form['fieldname'].filename gives me an str in UTF-8, when fieldname refers to an uploaded file field14:16
rockyutf-8 is an encoding14:16
rockyunicode is a characater set14:16
rockyutf-8 is an encoding for the unicode character set14:17
mgedminrocky: Python stores unicode objects as UCS-2 or UCS-4 internally14:17
mgedminnot UTF-814:17
rockybah14:17
rockyyou're right14:17
rockysorry14:17
mgedminbut that does not matter14:17
rockyi'm going to shut up now.. didn't realize the context of your question14:17
mgedminto the application a unicode object is definitely different from a str object with 8-bit characters that just happen to be valid UTF-814:17
rockyyou were saying it would be better to get a unicode "object" back14:17
mgedminand this results in UnicodeEncodeErrors when you try to upload a file with a non-ascii filename into zope 314:18
rockyi thought you were saying that in your browser you were getting utf-8 filenames and wish you were getting unicode ones14:18
mgedminyes14:18
mgedminJ1m has left...14:18
mgedminany zope 3 core architects here?14:18
mgedminwould things break if zope.publisher.browser.FileUpload was changed so that its 'filename' attribute was a unicode object?14:19
* mgedmin will write a message to the mailing list14:19
BjornTmgedmin: fwiw, i think converting it to a unicode strings is the right thing to do. if the request contains a mixture of unicode and str strings, things break elsewhere14:20
* rocky agrees ... not that that means much given his confused discussion with mgedmin14:23
*** b_52CEntos_ has joined #zope3-dev14:24
*** b_52CEntos has joined #zope3-dev14:24
*** b_52CEntos_ has quit IRC14:25
*** b_52CEntos has quit IRC14:28
*** b_52CEntos_ has joined #zope3-dev14:28
*** b_52Free has quit IRC14:36
*** zbir has quit IRC14:39
*** romanofski has quit IRC14:46
*** romanofski has joined #zope3-dev14:48
* mgedmin files http://www.zope.org/Collectors/Zope3-dev/64814:53
*** rocky has quit IRC15:02
*** gumpa has joined #zope3-dev15:11
* BjornT points mgedmin to http://www.zope.org/Collectors/Zope3-dev/59315:13
mgedminBjornT: thanks, but why didn't I see that bug when I searched for 'upload'?15:17
mgedmindoes the collector search match only whole words?15:18
*** rocky has joined #zope3-dev15:20
BjornTprobably, and it probably doesn't have a nice "stem matching" either15:21
mgedminI cannot resolve svn.zope.org!15:27
volvox63.240.213.17315:28
*** SureshV has joined #zope3-dev15:30
*** b_52CEntos_ has quit IRC15:42
*** Theuni has joined #zope3-dev15:45
*** zbir has joined #zope3-dev15:48
*** b_52CEntos_ has joined #zope3-dev15:49
*** rocky has quit IRC15:52
*** philiKON has joined #zope3-dev15:54
*** rocky has joined #zope3-dev15:54
*** gump1 has joined #zope3-dev16:06
*** gumpa has quit IRC16:08
*** baijum has joined #zope3-dev16:11
*** b_52CEntos_ has quit IRC16:14
*** b_52CEntos_ has joined #zope3-dev16:18
*** Theuni has quit IRC16:18
*** Theuni has joined #zope3-dev16:19
baijumCan anyone look here: http://zope3.pastebin.com/708416 I was simple copy pasting README.txt in zope.annotation . What 'Could not adapt' ?16:20
*** The|uni has joined #zope3-dev16:20
*** benji has joined #zope3-dev16:20
baijums/What/Why16:21
mgedminbecause you did not register the IAnnotations adapter on IAttributeAnnotatable16:23
mgedminzope.app.testing.setup.setUpAnnotations() does that, IIRC16:23
mgedminfrom zope.annotation.attribute import AttributeAnnotations16:24
mgedminzope.component.provideAdapter(AttributeAnnotations)16:24
mgedminthat's it16:24
mgedminI don't know offhand what zope.annotation.factory is16:24
mgedminah, I think I know16:24
mgedminbaijum: just register the AttributeAnnotations adapter in addition to the one you are already registering16:25
*** romanofski is now known as rom|aw16:27
baijummgedmin, thanks!  will try now16:29
*** SureshV has quit IRC16:29
*** b_52CEntos has joined #zope3-dev16:29
*** philiKON has quit IRC16:33
*** Theuni has quit IRC16:38
*** bradb has joined #zope3-dev16:38
baijumI updated what worked for me at bottom of  http://zope3.pastebin.com/70845416:39
*** b_52CEntos_ has quit IRC16:45
*** natea is now known as natea|breakfast16:45
*** philiKON has joined #zope3-dev16:55
baijumI read zope.annotation README.txt now, there is three typos, please commit it. http://zope3.pastebin.com/708484 or should I report a collector issue with patch?16:58
*** baijum has quit IRC17:02
*** eins has quit IRC17:07
*** natea|breakfast is now known as natea17:08
* mgedmin commits baijum's typo fixes17:14
*** srichter has quit IRC17:17
* mgedmin wants to have runzope and debugzope on the same data.fs at the same time...17:18
*** hdima has quit IRC17:20
philiKONmgedmin, use zeo17:22
philiKONsetup a zeo server with your data.fs17:22
mgedminthat's an idea17:22
philiKONuse one zeo client as runzope17:22
philiKONand the other one for debugzope17:22
mgedminI wish I remembered how to set up zeo17:22
mgedminlast time I did that maybe 4 years ago17:23
philiKONmkzeoinstance17:23
philiKONto create a zeo server instance17:23
philiKONof course, you could also just do it all in the zope 3 checkout17:23
philiKONno idea how you're working17:23
mgedmincheckout17:23
mgedminit's simpler that way (for me)17:23
philiKONright17:23
philiKONbin/runzeo17:24
mgedminbut it's all a matter of zope.conf etc, isn't it?17:24
philiKONto start the zeo server17:24
philiKONor bin/zeoctl start17:24
philiKONright, then you need to change your zope.conf from filestorage to clientstorage17:24
philiKONzope.conf.in has an example17:24
philiKONat leat it should17:24
philiKONhmm, zopeskel/etc/zope.conf.in has one17:25
* mgedmin discovers that debugzope is not quite enough for what he needs, because local components are involved17:26
* mgedmin has always distrusted local components17:26
*** philiKON has quit IRC17:26
*** philiKON has joined #zope3-dev17:27
*** projekt01 has left #zope3-dev17:27
philiKONmgedmin, you can still use local components in debugzope17:27
philiKONtry zope.app.compoennt.hooks.setSite :)17:27
mgedminyes, but somewhere along the line my invisible pain threshold is crossed17:28
mgedminand I switch from "let me just quickly do this from a python prompt" mode17:28
mgedminto "let me write a proper view for that" mode17:28
*** alecm has joined #zope3-dev17:29
philiKONmgedmin, :)17:30
*** b_52CEntos has quit IRC17:32
*** gump1 is now known as gumpa-away17:33
*** ignas has quit IRC17:36
*** ignas has joined #zope3-dev17:37
*** b_52CEntos has joined #zope3-dev17:38
*** srichter has joined #zope3-dev17:39
*** mkerrin has quit IRC17:41
*** sashav has quit IRC17:47
*** alecm has joined #zope3-dev17:55
*** bradb has quit IRC18:05
*** alecm has quit IRC18:12
*** alecm has joined #zope3-dev18:27
*** dobee has quit IRC18:35
*** _sussi has joined #zope3-dev18:36
*** stub has quit IRC18:40
*** gumpa has joined #zope3-dev18:45
*** gumpa-away has quit IRC18:45
*** mkerrin has joined #zope3-dev18:52
*** alecm has left #zope3-dev19:01
*** alecm has joined #zope3-dev19:02
*** oferw has joined #zope3-dev19:02
*** batlogg has quit IRC19:05
*** batlogg has joined #zope3-dev19:10
*** oferw has quit IRC19:16
*** bradb has joined #zope3-dev19:22
*** alga has quit IRC19:24
*** batlogg has quit IRC19:29
*** mgedmin has quit IRC19:32
*** rocky has quit IRC19:45
*** RaFromBRC has joined #zope3-dev19:53
*** rocky has joined #zope3-dev19:55
*** jinty has quit IRC19:59
*** zagy has joined #zope3-dev20:02
volvoxzope.app.securitypolicy.principalrole.principalRoleManager does not contain roles assigned via zcml, right? how do I retrieve them?20:10
*** zagy has quit IRC20:33
*** J1m has joined #zope3-dev20:43
*** hazmat has joined #zope3-dev20:50
*** ChanServ sets mode: +o hazmat20:50
*** faassen has quit IRC20:58
*** b_52CEntos_ has joined #zope3-dev21:00
*** hazmat has quit IRC21:01
*** batlogg has joined #zope3-dev21:01
*** hazmat has joined #zope3-dev21:01
*** ChanServ sets mode: +o hazmat21:01
*** natea is now known as natea|lunch21:11
*** b_52CEntos has quit IRC21:11
*** b_52CEntos_ is now known as b_52CEntos21:13
*** ignas has quit IRC21:22
*** ChanServ sets mode: +o srichter21:25
*** gumpa has quit IRC21:27
*** gumpa has joined #zope3-dev21:27
*** _sussi has quit IRC21:33
*** philiKON has quit IRC21:34
*** J1m has quit IRC21:38
*** gumpa has quit IRC21:41
*** gump1 has joined #zope3-dev21:41
*** mkerrin has quit IRC21:51
*** zbir_ has joined #zope3-dev21:53
*** povbot` has joined #zope3-dev22:22
*** b_52CEntos has joined #zope3-dev22:23
*** povbot has quit IRC22:26
*** Aiste has quit IRC22:27
*** povbot has joined #zope3-dev22:34
*** RaFromBRC is now known as RaFromBRC|away22:39
*** strichter has joined #zope3-dev22:50
*** vlado has joined #zope3-dev22:50
*** regebro has quit IRC22:50
*** srichter has quit IRC22:50
*** strichter is now known as srichter22:50
*** ChanServ sets mode: +o srichter22:50
*** vlado has quit IRC23:02
*** hazmat has quit IRC23:03

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