RaFromBRC | hmm... 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 |
---|---|---|
volvox | if 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 exit | 00:00 |
rocky | benji: 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 |
rocky | lol | 00:03 |
rocky | volvox: you're marco mariani ? | 00:04 |
volvox | yep | 00:04 |
*** bradb has quit IRC | 00:11 | |
*** pcardune_ has quit IRC | 00:12 | |
*** philiKON has joined #zope3-dev | 00:16 | |
*** jinty has quit IRC | 00:23 | |
*** hazmat has joined #zope3-dev | 00:26 | |
*** ChanServ sets mode: +o hazmat | 00:26 | |
*** hazmat has quit IRC | 00:35 | |
*** pcardune_ has joined #zope3-dev | 00:37 | |
*** J1m has quit IRC | 00:39 | |
*** zbir has quit IRC | 00:40 | |
*** pcardune_ has quit IRC | 00:44 | |
*** d2m has quit IRC | 00:46 | |
*** projekt01 has joined #zope3-dev | 00:48 | |
*** gumpa has quit IRC | 01:02 | |
*** RaFromBRC has quit IRC | 01:18 | |
*** benji has quit IRC | 01:19 | |
*** b_52CEntos_ has quit IRC | 01:20 | |
*** b_52CEntos_ has joined #zope3-dev | 01:25 | |
*** zbir has joined #zope3-dev | 01:26 | |
*** natea is now known as natea|regattabar | 01:27 | |
*** hazmat has joined #zope3-dev | 01:31 | |
*** ChanServ sets mode: +o hazmat | 01:31 | |
*** yota has quit IRC | 01:32 | |
*** jinty has joined #zope3-dev | 01:33 | |
*** sashav has quit IRC | 01:34 | |
*** rocky is now known as rocky|zZz | 01:39 | |
*** b_52CEntos_ is now known as b_52CEntos | 01:39 | |
*** philiKON has quit IRC | 01:42 | |
*** jinty has quit IRC | 01:51 | |
*** jinty has joined #zope3-dev | 01:51 | |
*** Theuni has quit IRC | 01:52 | |
*** volvox has quit IRC | 02:00 | |
*** b_52CEntos_ has joined #zope3-dev | 02:21 | |
*** b_52CEntos has quit IRC | 02:34 | |
*** zbir has quit IRC | 02:35 | |
*** oferw has joined #zope3-dev | 02:36 | |
*** b_52Centos__ has joined #zope3-dev | 03:02 | |
*** b_52CEntos_ has quit IRC | 03:16 | |
*** oferw has quit IRC | 03:16 | |
*** jinty has quit IRC | 03:45 | |
*** b_52CEntos_ has joined #zope3-dev | 04:19 | |
*** zbir has joined #zope3-dev | 04:21 | |
*** b_52Centos__ has quit IRC | 04:31 | |
*** b_52Centos__ has joined #zope3-dev | 05:04 | |
*** projekt01 has left #zope3-dev | 05:08 | |
*** b_52CEntos_ has quit IRC | 05:17 | |
*** srichter has quit IRC | 05:50 | |
*** b_52CEntos_ has joined #zope3-dev | 06:00 | |
*** b_52Centos__ has quit IRC | 06:14 | |
*** natea|regattabar is now known as natea | 06:28 | |
*** rom|aw is now known as romanofski | 06:32 | |
romanofski | moin | 06:32 |
*** romanofski has quit IRC | 06:34 | |
*** b_52CEntos has joined #zope3-dev | 06:35 | |
*** romanofski has joined #zope3-dev | 06:36 | |
*** b_52Centos__ has joined #zope3-dev | 06:43 | |
*** hazmat has quit IRC | 06:43 | |
*** b_52CEntos_ has quit IRC | 06:46 | |
*** stub has joined #zope3-dev | 06:53 | |
*** b_52CEntos has quit IRC | 07:00 | |
alecm | anybody 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 IRC | 07:18 | |
*** b_52CEntos_ has joined #zope3-dev | 07:46 | |
*** b_52Centos__ has quit IRC | 07:58 | |
*** roman_ has joined #zope3-dev | 08:01 | |
*** Aiste has joined #zope3-dev | 08:06 | |
*** srichter has joined #zope3-dev | 08:10 | |
*** romanofski has quit IRC | 08:13 | |
*** roman_ is now known as romanofski | 08:13 | |
*** nouri has quit IRC | 08:17 | |
*** nouri has joined #zope3-dev | 08:20 | |
*** SureshV has joined #zope3-dev | 08:27 | |
*** sashav has joined #zope3-dev | 08:35 | |
*** b_52CEntos_ is now known as b_52CEntos | 08:47 | |
*** sashav has quit IRC | 08:53 | |
*** oferw has joined #zope3-dev | 08:57 | |
*** d2m has joined #zope3-dev | 09:01 | |
*** oferw has quit IRC | 09:08 | |
*** Aiste has quit IRC | 09:09 | |
*** tarek has quit IRC | 09:12 | |
*** hdima has joined #zope3-dev | 09:13 | |
*** dobee has joined #zope3-dev | 09:15 | |
*** philiKON has joined #zope3-dev | 09:18 | |
*** dlk has joined #zope3-dev | 09:54 | |
*** philiKON has quit IRC | 09:56 | |
*** b_52CEntos_ has joined #zope3-dev | 09:57 | |
*** Aiste has joined #zope3-dev | 10:02 | |
*** Aiste has quit IRC | 10:02 | |
*** Aiste has joined #zope3-dev | 10:03 | |
*** dobee has quit IRC | 10:08 | |
*** b_52CEntos has quit IRC | 10:09 | |
*** sashav has joined #zope3-dev | 10:10 | |
*** b_52CEntos_ is now known as b_52CEntos | 10:12 | |
*** b_52CEntos_ has joined #zope3-dev | 10:19 | |
*** b_52Centos__ has joined #zope3-dev | 10:24 | |
*** alecm has quit IRC | 10:25 | |
*** SureshV has quit IRC | 10:29 | |
*** yota has joined #zope3-dev | 10:30 | |
*** b_52CEntos has quit IRC | 10:32 | |
*** b_52Centos__ is now known as b_52Centos | 10:32 | |
*** J1m has joined #zope3-dev | 10:35 | |
*** tarek has joined #zope3-dev | 10:35 | |
*** dobee has joined #zope3-dev | 10:36 | |
*** b_52CEntos_ has quit IRC | 10:37 | |
*** volvox has joined #zope3-dev | 10:50 | |
*** romanofski has quit IRC | 10:50 | |
*** romanofski has joined #zope3-dev | 10:54 | |
*** efrerich has joined #zope3-dev | 10:57 | |
*** d2m has quit IRC | 11:08 | |
*** armychina_ has joined #zope3-dev | 11:25 | |
*** oferw has joined #zope3-dev | 11:32 | |
*** oferw has quit IRC | 11:36 | |
*** eins has joined #zope3-dev | 11:47 | |
eins | hi all | 11:47 |
romanofski | hey eins :) | 11:52 |
eins | hey romanofski | 12:10 |
eins | whats up? | 12:10 |
romanofski | doing well - how are you? | 12:10 |
*** mgedmin has joined #zope3-dev | 12:13 | |
*** d2m has joined #zope3-dev | 12:19 | |
*** batlogg has joined #zope3-dev | 12:21 | |
*** b_52Centos has quit IRC | 12:35 | |
eins | romanofski passed 2 exams today :) | 12:37 |
eins | so doing also well ;) | 12:37 |
*** b_52Centos has joined #zope3-dev | 12:41 | |
*** alga has joined #zope3-dev | 12:45 | |
*** armychina_ has quit IRC | 12:57 | |
*** faassen has joined #zope3-dev | 13:03 | |
*** armychina_ has joined #zope3-dev | 13:05 | |
*** mkerrin has joined #zope3-dev | 13:06 | |
*** ignas has joined #zope3-dev | 13:12 | |
*** ChanServ sets mode: +o srichter | 13:15 | |
*** rocky|zZz is now known as rocky | 13:17 | |
*** jinty has joined #zope3-dev | 13:28 | |
romanofski | eins: gratulations! | 13:36 |
eins | thanks;) | 13:45 |
*** b_52CEntos_ has joined #zope3-dev | 13:48 | |
mgedmin | so, if a user has a file with a non-ASCII character (or several) | 13:54 |
mgedmin | and he uploads that file with a web form | 13:54 |
mgedmin | what is supposed to happen to the non-ASCII character in the filename in the mime headers that zope 3 sees? | 13:54 |
* mgedmin googles | 13:56 | |
* mgedmin discovers a reference to RFC 1867 "Form-based File Upload in HTML" | 13:56 | |
*** projekt01 has joined #zope3-dev | 13:58 | |
mgedmin | rfc 1867 says that in mime headers filenames (and other non-ascii values) ought to be encoded with RFC 1522 | 14:00 |
*** b_52Free has joined #zope3-dev | 14:01 | |
*** J1m has quit IRC | 14:01 | |
mgedmin | ... which means =?q?utf-8?lalalala=xx=yy=zzlalala?= as far as I can see ... | 14:01 |
*** b_52Centos has quit IRC | 14:03 | |
*** b_52CEntos_ has quit IRC | 14:06 | |
*** armychina_ has quit IRC | 14:07 | |
*** efrerich has quit IRC | 14:10 | |
* mgedmin experiments | 14:11 | |
mgedmin | zope 3 views get utf-8 filenames, both with Firefox on Linux and MSIE on Windows | 14:12 |
mgedmin | good | 14:12 |
mgedmin | although Unicode would be better | 14:12 |
rocky | that statement doesn't make sense | 14:13 |
rocky | you can't compare utf-8 to unicode | 14:13 |
mgedmin | in Python there is a definitive difference between u"\u263B" and "\xe2\x98\xbb" | 14:16 |
mgedmin | one is unicode, the other is UTF-8 str | 14:16 |
rocky | sure | 14:16 |
rocky | did you know that a unicode string (in python) is actually just a utf-8 encoded binary string ? | 14:16 |
mgedmin | request.form['fieldname'].filename gives me an str in UTF-8, when fieldname refers to an uploaded file field | 14:16 |
rocky | utf-8 is an encoding | 14:16 |
rocky | unicode is a characater set | 14:16 |
rocky | utf-8 is an encoding for the unicode character set | 14:17 |
mgedmin | rocky: Python stores unicode objects as UCS-2 or UCS-4 internally | 14:17 |
mgedmin | not UTF-8 | 14:17 |
rocky | bah | 14:17 |
rocky | you're right | 14:17 |
rocky | sorry | 14:17 |
mgedmin | but that does not matter | 14:17 |
rocky | i'm going to shut up now.. didn't realize the context of your question | 14:17 |
mgedmin | to the application a unicode object is definitely different from a str object with 8-bit characters that just happen to be valid UTF-8 | 14:17 |
rocky | you were saying it would be better to get a unicode "object" back | 14:17 |
mgedmin | and this results in UnicodeEncodeErrors when you try to upload a file with a non-ascii filename into zope 3 | 14:18 |
rocky | i thought you were saying that in your browser you were getting utf-8 filenames and wish you were getting unicode ones | 14:18 |
mgedmin | yes | 14:18 |
mgedmin | J1m has left... | 14:18 |
mgedmin | any zope 3 core architects here? | 14:18 |
mgedmin | would 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 list | 14:19 | |
BjornT | mgedmin: 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 elsewhere | 14:20 |
* rocky agrees ... not that that means much given his confused discussion with mgedmin | 14:23 | |
*** b_52CEntos_ has joined #zope3-dev | 14:24 | |
*** b_52CEntos has joined #zope3-dev | 14:24 | |
*** b_52CEntos_ has quit IRC | 14:25 | |
*** b_52CEntos has quit IRC | 14:28 | |
*** b_52CEntos_ has joined #zope3-dev | 14:28 | |
*** b_52Free has quit IRC | 14:36 | |
*** zbir has quit IRC | 14:39 | |
*** romanofski has quit IRC | 14:46 | |
*** romanofski has joined #zope3-dev | 14:48 | |
* mgedmin files http://www.zope.org/Collectors/Zope3-dev/648 | 14:53 | |
*** rocky has quit IRC | 15:02 | |
*** gumpa has joined #zope3-dev | 15:11 | |
* BjornT points mgedmin to http://www.zope.org/Collectors/Zope3-dev/593 | 15:13 | |
mgedmin | BjornT: thanks, but why didn't I see that bug when I searched for 'upload'? | 15:17 |
mgedmin | does the collector search match only whole words? | 15:18 |
*** rocky has joined #zope3-dev | 15:20 | |
BjornT | probably, and it probably doesn't have a nice "stem matching" either | 15:21 |
mgedmin | I cannot resolve svn.zope.org! | 15:27 |
volvox | 63.240.213.173 | 15:28 |
*** SureshV has joined #zope3-dev | 15:30 | |
*** b_52CEntos_ has quit IRC | 15:42 | |
*** Theuni has joined #zope3-dev | 15:45 | |
*** zbir has joined #zope3-dev | 15:48 | |
*** b_52CEntos_ has joined #zope3-dev | 15:49 | |
*** rocky has quit IRC | 15:52 | |
*** philiKON has joined #zope3-dev | 15:54 | |
*** rocky has joined #zope3-dev | 15:54 | |
*** gump1 has joined #zope3-dev | 16:06 | |
*** gumpa has quit IRC | 16:08 | |
*** baijum has joined #zope3-dev | 16:11 | |
*** b_52CEntos_ has quit IRC | 16:14 | |
*** b_52CEntos_ has joined #zope3-dev | 16:18 | |
*** Theuni has quit IRC | 16:18 | |
*** Theuni has joined #zope3-dev | 16:19 | |
baijum | Can 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-dev | 16:20 | |
*** benji has joined #zope3-dev | 16:20 | |
baijum | s/What/Why | 16:21 |
mgedmin | because you did not register the IAnnotations adapter on IAttributeAnnotatable | 16:23 |
mgedmin | zope.app.testing.setup.setUpAnnotations() does that, IIRC | 16:23 |
mgedmin | from zope.annotation.attribute import AttributeAnnotations | 16:24 |
mgedmin | zope.component.provideAdapter(AttributeAnnotations) | 16:24 |
mgedmin | that's it | 16:24 |
mgedmin | I don't know offhand what zope.annotation.factory is | 16:24 |
mgedmin | ah, I think I know | 16:24 |
mgedmin | baijum: just register the AttributeAnnotations adapter in addition to the one you are already registering | 16:25 |
*** romanofski is now known as rom|aw | 16:27 | |
baijum | mgedmin, thanks! will try now | 16:29 |
*** SureshV has quit IRC | 16:29 | |
*** b_52CEntos has joined #zope3-dev | 16:29 | |
*** philiKON has quit IRC | 16:33 | |
*** Theuni has quit IRC | 16:38 | |
*** bradb has joined #zope3-dev | 16:38 | |
baijum | I updated what worked for me at bottom of http://zope3.pastebin.com/708454 | 16:39 |
*** b_52CEntos_ has quit IRC | 16:45 | |
*** natea is now known as natea|breakfast | 16:45 | |
*** philiKON has joined #zope3-dev | 16:55 | |
baijum | I 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 IRC | 17:02 | |
*** eins has quit IRC | 17:07 | |
*** natea|breakfast is now known as natea | 17:08 | |
* mgedmin commits baijum's typo fixes | 17:14 | |
*** srichter has quit IRC | 17:17 | |
* mgedmin wants to have runzope and debugzope on the same data.fs at the same time... | 17:18 | |
*** hdima has quit IRC | 17:20 | |
philiKON | mgedmin, use zeo | 17:22 |
philiKON | setup a zeo server with your data.fs | 17:22 |
mgedmin | that's an idea | 17:22 |
philiKON | use one zeo client as runzope | 17:22 |
philiKON | and the other one for debugzope | 17:22 |
mgedmin | I wish I remembered how to set up zeo | 17:22 |
mgedmin | last time I did that maybe 4 years ago | 17:23 |
philiKON | mkzeoinstance | 17:23 |
philiKON | to create a zeo server instance | 17:23 |
philiKON | of course, you could also just do it all in the zope 3 checkout | 17:23 |
philiKON | no idea how you're working | 17:23 |
mgedmin | checkout | 17:23 |
mgedmin | it's simpler that way (for me) | 17:23 |
philiKON | right | 17:23 |
philiKON | bin/runzeo | 17:24 |
mgedmin | but it's all a matter of zope.conf etc, isn't it? | 17:24 |
philiKON | to start the zeo server | 17:24 |
philiKON | or bin/zeoctl start | 17:24 |
philiKON | right, then you need to change your zope.conf from filestorage to clientstorage | 17:24 |
philiKON | zope.conf.in has an example | 17:24 |
philiKON | at leat it should | 17:24 |
philiKON | hmm, zopeskel/etc/zope.conf.in has one | 17:25 |
* mgedmin discovers that debugzope is not quite enough for what he needs, because local components are involved | 17:26 | |
* mgedmin has always distrusted local components | 17:26 | |
*** philiKON has quit IRC | 17:26 | |
*** philiKON has joined #zope3-dev | 17:27 | |
*** projekt01 has left #zope3-dev | 17:27 | |
philiKON | mgedmin, you can still use local components in debugzope | 17:27 |
philiKON | try zope.app.compoennt.hooks.setSite :) | 17:27 |
mgedmin | yes, but somewhere along the line my invisible pain threshold is crossed | 17:28 |
mgedmin | and I switch from "let me just quickly do this from a python prompt" mode | 17:28 |
mgedmin | to "let me write a proper view for that" mode | 17:28 |
*** alecm has joined #zope3-dev | 17:29 | |
philiKON | mgedmin, :) | 17:30 |
*** b_52CEntos has quit IRC | 17:32 | |
*** gump1 is now known as gumpa-away | 17:33 | |
*** ignas has quit IRC | 17:36 | |
*** ignas has joined #zope3-dev | 17:37 | |
*** b_52CEntos has joined #zope3-dev | 17:38 | |
*** srichter has joined #zope3-dev | 17:39 | |
*** mkerrin has quit IRC | 17:41 | |
*** sashav has quit IRC | 17:47 | |
*** alecm has joined #zope3-dev | 17:55 | |
*** bradb has quit IRC | 18:05 | |
*** alecm has quit IRC | 18:12 | |
*** alecm has joined #zope3-dev | 18:27 | |
*** dobee has quit IRC | 18:35 | |
*** _sussi has joined #zope3-dev | 18:36 | |
*** stub has quit IRC | 18:40 | |
*** gumpa has joined #zope3-dev | 18:45 | |
*** gumpa-away has quit IRC | 18:45 | |
*** mkerrin has joined #zope3-dev | 18:52 | |
*** alecm has left #zope3-dev | 19:01 | |
*** alecm has joined #zope3-dev | 19:02 | |
*** oferw has joined #zope3-dev | 19:02 | |
*** batlogg has quit IRC | 19:05 | |
*** batlogg has joined #zope3-dev | 19:10 | |
*** oferw has quit IRC | 19:16 | |
*** bradb has joined #zope3-dev | 19:22 | |
*** alga has quit IRC | 19:24 | |
*** batlogg has quit IRC | 19:29 | |
*** mgedmin has quit IRC | 19:32 | |
*** rocky has quit IRC | 19:45 | |
*** RaFromBRC has joined #zope3-dev | 19:53 | |
*** rocky has joined #zope3-dev | 19:55 | |
*** jinty has quit IRC | 19:59 | |
*** zagy has joined #zope3-dev | 20:02 | |
volvox | zope.app.securitypolicy.principalrole.principalRoleManager does not contain roles assigned via zcml, right? how do I retrieve them? | 20:10 |
*** zagy has quit IRC | 20:33 | |
*** J1m has joined #zope3-dev | 20:43 | |
*** hazmat has joined #zope3-dev | 20:50 | |
*** ChanServ sets mode: +o hazmat | 20:50 | |
*** faassen has quit IRC | 20:58 | |
*** b_52CEntos_ has joined #zope3-dev | 21:00 | |
*** hazmat has quit IRC | 21:01 | |
*** batlogg has joined #zope3-dev | 21:01 | |
*** hazmat has joined #zope3-dev | 21:01 | |
*** ChanServ sets mode: +o hazmat | 21:01 | |
*** natea is now known as natea|lunch | 21:11 | |
*** b_52CEntos has quit IRC | 21:11 | |
*** b_52CEntos_ is now known as b_52CEntos | 21:13 | |
*** ignas has quit IRC | 21:22 | |
*** ChanServ sets mode: +o srichter | 21:25 | |
*** gumpa has quit IRC | 21:27 | |
*** gumpa has joined #zope3-dev | 21:27 | |
*** _sussi has quit IRC | 21:33 | |
*** philiKON has quit IRC | 21:34 | |
*** J1m has quit IRC | 21:38 | |
*** gumpa has quit IRC | 21:41 | |
*** gump1 has joined #zope3-dev | 21:41 | |
*** mkerrin has quit IRC | 21:51 | |
*** zbir_ has joined #zope3-dev | 21:53 | |
*** povbot` has joined #zope3-dev | 22:22 | |
*** b_52CEntos has joined #zope3-dev | 22:23 | |
*** povbot has quit IRC | 22:26 | |
*** Aiste has quit IRC | 22:27 | |
*** povbot has joined #zope3-dev | 22:34 | |
*** RaFromBRC is now known as RaFromBRC|away | 22:39 | |
*** strichter has joined #zope3-dev | 22:50 | |
*** vlado has joined #zope3-dev | 22:50 | |
*** regebro has quit IRC | 22:50 | |
*** srichter has quit IRC | 22:50 | |
*** strichter is now known as srichter | 22:50 | |
*** ChanServ sets mode: +o srichter | 22:50 | |
*** vlado has quit IRC | 23:02 | |
*** hazmat has quit IRC | 23:03 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!