IRC log of #zope3-dev for Wednesday, 2005-10-05

*** xenru_ is now known as xenru00:10
VladDracis there an easy way to check if any of the interfaces implemented by an object provide a specific attribute?00:14
VladDraclike name in ISomeInterface.names() without explicitly refering to the interface00:14
*** lunatik has joined #zope3-dev00:15
*** srichter has quit IRC00:16
benji_yorkVladDrac, I think there is, but can't make time right now :(00:18
*** andrew_m has quit IRC00:25
*** lunatik has left #zope3-dev00:25
*** bradb has left #zope3-dev00:28
*** zbir has quit IRC00:29
*** palmTree has quit IRC00:32
*** tekNico has left #zope3-dev00:40
*** jinty has quit IRC00:40
*** nie_away has quit IRC00:41
*** whit has quit IRC00:49
*** baldtrol has left #zope3-dev00:57
*** whit has joined #zope3-dev01:00
*** xenru has quit IRC01:11
*** xenru has joined #zope3-dev01:13
*** leticia has joined #zope3-dev01:13
projekt01benji_york, are you working on a windows box?01:15
benji_yorklinux and windows01:15
projekt01Do you have also a dualmodechannel problem on windows with the z3 server?01:16
benji_yorkI'm not familure with the "dualmodechannel problem"01:17
benji_yorkwhat do you mean?01:17
projekt01I get all the time such messages in the Dos box: http://paste.plone.org/30401:18
projekt01Do you know what this means?01:19
*** tziade has quit IRC01:19
benji_yorkI have seen it before, but it's been quite a while and don't remember :(  what are you doing when you see it01:20
projekt01Nothing special just call a page and they get returned correctly01:20
benji_yorkhmm, sorry I don't have any ideas01:21
*** benji_york has quit IRC01:22
*** whit has quit IRC01:27
*** J1m has quit IRC01:32
*** xenru has quit IRC01:33
*** leticia has left #zope3-dev01:33
*** whit has joined #zope3-dev01:44
*** runyaga has joined #zope3-dev01:55
runyagawhy on fscking earth does zope3 insert base href?!?!?!01:55
* runyaga frowns02:01
*** tav has joined #zope3-dev02:13
projekt01runyaga, there are some discussion about to remove BASE href insertion and use a different concept.02:29
runyagaits stupid02:29
projekt01runyaga, btw, this happens only if you don't define it in the template02:30
runyagai dont want base at all02:30
runyagano one wants to define it02:30
projekt01I agree, I run into some bugs because of that.02:30
runyagazope is the only system in the world that even cares about it02:30
runyagawhats hilarious is02:30
runyagaits not hilarious02:31
runyagaits just fucking wrong02:31
runyagaexcuse my language02:31
projekt01I guess it has to do with some traversal stuff where is solved with this concept.02:31
runyagano its not02:31
runyagai think its so you can use those stupid :method, :list02:31
runyagaconventions in forms02:31
projekt01Could be02:32
runyagai mean..02:32
runyagadamn i wish i would have hit this problem before 3.102:32
runyagai guess i could just check in the fixes02:32
runyagaredirect and __insertBase dont even USE self.getBase02:33
runyagawhy even have that method?!02:33
projekt01but __insertBase is not allways called02:33
runyagaas faulkner says "its further than crazy"02:34
projekt01;-)02:34
runyagaclass LSTechBrowserResponse(BrowserResponse):02:36
runyaga    def getBase(self):02:36
runyaga        return ''02:36
runyaga    def setBase(self, *args):02:36
runyaga        pass02:36
runyaga    _base = property(getBase, setBase)02:36
runyagajeesh02:36
*** yota has quit IRC02:39
projekt01runyaga, did you see the BrowserDefaultTests tests in zope.app.publication.tests.test_browserpublication.py02:51
runyagano i got my problem solved02:51
projekt01runyaga, the __insertBase has to do withe the setDefaultViewName02:52
runyagahuh?02:52
runyagai will write that on my to look at list02:52
projekt01The default view forces to traverses to a view.02:53
projekt01I'm not sure if in this case the base url is needed, but if so you are not able to insert a correct base url because of the implicit (default view) traverse hook02:55
projekt01I guess z3 does insert a base url because of, there is no other way to provide a correct base url with the "default view name" hook. But I'm not sure ;-)02:57
*** bradb has joined #zope3-dev03:02
*** bradb has left #zope3-dev03:02
projekt01srichter, ayt?03:02
projekt01J1m, ayt?03:05
*** stub has joined #zope3-dev03:22
*** leticia has joined #zope3-dev03:23
*** kaczordek has joined #zope3-dev03:42
*** leticia has quit IRC04:23
*** bradb has joined #zope3-dev04:40
*** bradb has left #zope3-dev04:41
projekt01kaczordek, hi04:43
*** projekt01 has quit IRC04:45
*** zbir has joined #zope3-dev04:50
*** niemeyer has joined #zope3-dev04:54
*** niemeyer_ has joined #zope3-dev05:09
niemeyer_Damd firewall05:10
sidneiwassup nimz05:11
*** niemeyer has quit IRC05:21
*** niemeyer_ has quit IRC05:37
*** elbixio has joined #zope3-dev05:46
*** fabiorizzo has joined #zope3-dev05:55
fabiorizzohi people05:55
fabiorizzohow i solve this error type: TypeError("Could not adapt", obj, self) ?05:56
*** newpers has quit IRC06:07
*** newpers has joined #zope3-dev06:07
*** newpers has quit IRC06:16
*** elbixio has quit IRC06:42
*** philiKON has joined #zope3-dev06:52
*** hazmat has joined #zope3-dev07:03
*** ChanServ sets mode: +o hazmat07:03
*** hazmat has quit IRC07:23
*** newpers has joined #zope3-dev07:39
*** whit has quit IRC08:10
*** dobee has joined #zope3-dev08:14
*** tvon has quit IRC08:17
*** dobee has quit IRC08:24
*** dobee has joined #zope3-dev08:25
*** zagy_ has quit IRC08:29
*** zagy_ has joined #zope3-dev08:32
*** dobee has quit IRC08:38
*** sashav has quit IRC08:38
*** sashav has joined #zope3-dev08:40
*** newpers has quit IRC08:45
*** sashav has quit IRC08:45
*** sashav has joined #zope3-dev08:46
*** dobee has joined #zope3-dev08:52
*** jinty has joined #zope3-dev09:05
*** sashav has quit IRC09:09
*** hdima has joined #zope3-dev09:21
*** dlk has joined #zope3-dev09:43
*** Soulraven has joined #zope3-dev09:44
*** tekNico has joined #zope3-dev10:08
*** sashav has joined #zope3-dev10:16
*** Lewy has joined #zope3-dev10:22
*** MJ has quit IRC10:24
*** kaczordek has quit IRC10:36
*** vidasp has joined #zope3-dev10:56
*** anguenot has quit IRC10:59
VladDracfabiorizzo: by creating an adapter to adapt from a to b :)11:10
VladDracargh11:12
VladDracI refactored my IBrowserPublisher supprt into an adapter11:12
VladDracand now it won't adapt anymore :(11:12
VladDracok11:15
* VladDrac drops the adapter11:15
VladDracI really would not know how to debug this11:15
*** MJ has joined #zope3-dev11:22
*** MrTopf has joined #zope3-dev11:31
*** jvts has joined #zope3-dev11:40
*** Ragica has quit IRC11:56
*** projekt01 has joined #zope3-dev12:02
*** faassen has joined #zope3-dev12:09
*** jvts has quit IRC12:18
*** jvts has joined #zope3-dev12:22
*** Alef has joined #zope3-dev12:34
*** Soulraven has quit IRC12:37
*** Aiste has joined #zope3-dev12:40
*** stub has quit IRC12:42
*** J1m has joined #zope3-dev12:58
*** alga has joined #zope3-dev13:20
*** ignas has joined #zope3-dev13:20
*** anguenot has joined #zope3-dev13:23
*** philiKON has quit IRC13:28
*** efge has joined #zope3-dev13:28
*** stub has joined #zope3-dev13:31
SteveAVladDrac: what do you have?13:39
VladDracsteve I wanted to refactor my class's IBrowserPublisher support into an adapter13:40
VladDracbut for some reason zope3 doesn't try to adapt my class (it just gives notfound)13:40
VladDracI've given up on it, and undone de refactoring13:41
J1mWas this a single adapter or a multiadapter?13:42
VladDracsingle13:42
J1mThat's your problem.13:42
J1mAs I told you last night, this should adapt the object and the request.13:42
VladDracah ok13:45
J1mGenerally, you should expect anything having to do with presentation to adapt the request. :)13:46
SteveAthe whole thing is very "grammatical" in a way13:47
SteveA "traverse myobject as appropriate for this request"13:48
VladDracsorry, after all this hacking, my brain still hasn't transformed itself into a zope3 component :)13:49
SteveAin a language with rich cases, "myobject" would be accusative while "request" would be dative or instrumentive13:49
SteveAVladDrac: does dutch have cases?13:50
VladDracI think you mean something like "onderwerp" and "leidend voorwerp"13:52
VladDracbut I'm not sure :)13:52
VladDracI'm not to good in english grammar terminology13:52
*** J1m has quit IRC13:53
*** ignas has quit IRC13:56
*** gnosis has quit IRC13:57
*** philiKON has joined #zope3-dev13:57
*** dlk has quit IRC14:08
*** j-w has joined #zope3-dev14:16
faassenSteveA: dutch doesn't have grammatical cases for nouns, if you mean that.14:16
faassenSteveA: not like lithuanian which has a zillion. German has cases, right?14:17
faassenSteveA: oh, right, accusative and dative and genetive (acquisition! :)14:17
SteveAyeah, german has cases14:21
SteveAthe nominative, accusative, genetive and dative, iirc14:21
faassenyeah, I just had to synch up with the english terms for these grammatical thingies.14:21
faassenyeah.14:21
faassennominative, genetive, dative and accusative tends to be the way they're ordered in the tables. :)14:21
philiKONSteveA, right, not in that order though14:21
philiKONfaassen, correct14:21
faassenan auf hinter neben in uber unter vor zwichen14:21
philiKONthe order is the latin order14:21
faassenright, I use the standard order. :)14:22
philiKONthose are all dative :)14:22
faassenoh, I didn't remember that. :)14:22
faassenbut I remember that thing..14:22
faassenmit nach bei zeit ..something..14:22
philiKONhehe, yes, it's funny how you remember those sayings14:22
faassenI told Felicia last night she should be glad she's learning Dutch, not German, and gave the cases as the ..case..14:24
faassento prove it. :)14:24
j-wfaassen: I bet you didn't touch the topics of tussen-n, kofschip etc. yet ;)14:24
faassenyes, we did touch kofschip in fact.14:24
faassenas I actually did verbal conjucations.14:25
faassenhet kofschip.14:25
faassenconjugations.14:25
faassenI don't know what tussen-n is. is that one of those newfangled thingies?14:25
*** vidasp has quit IRC14:25
*** tiredbones has joined #zope3-dev14:43
*** vlado has joined #zope3-dev14:53
*** d2m has quit IRC14:53
*** d2m_ has joined #zope3-dev14:53
*** d2m_ is now known as d2m14:53
*** fabiorizzo has quit IRC14:54
*** _projekt01 has joined #zope3-dev14:56
*** projekt01 has quit IRC14:57
*** Aiste has quit IRC15:11
*** _drzoltron has joined #zope3-dev15:11
*** _drzoltron is now known as drzoltron15:14
regebrodrzoltron: Hi!15:19
*** sashav has quit IRC15:21
*** MrTopf has quit IRC15:27
*** niemeyer has joined #zope3-dev15:28
*** vidasp has joined #zope3-dev15:33
*** zbir has quit IRC15:39
*** zbir has joined #zope3-dev15:52
*** whit has joined #zope3-dev16:06
*** sashav has joined #zope3-dev16:13
*** xenru has joined #zope3-dev16:27
*** sashav has quit IRC16:33
*** Lewy has quit IRC16:41
drzoltronregebro: hi16:52
drzoltron(sorry in a meeting)16:52
drzoltronregebro: just wanted to comment on your zope2 <> zope3 thing16:52
regebroAlright, shoot. :)16:52
drzoltronyour headline said: zope2 vs zope2 ;)16:53
drzoltronah you changed it ?16:53
drzoltronno it's still there:16:53
drzoltronI see  many questions on the differences between Zope 3 and Zope 3 on mailing lists. Here is a short attempt to answer some of the most common ones.16:53
regebroNo, but I see now in the textthat it sais Zoe 3 vs Zope316:53
drzoltron:)16:54
regebroThe headline I would have noticed. :)16:54
regebroFixed.16:54
drzoltroncool16:56
drzoltronthought you had a hotdog on your screen ;P16:56
drzoltronnot a big problem16:56
efgeproblem is, there are many differences between zope 3 and zope 3 :) so many versions...16:56
drzoltronbut disturbed me a little16:56
drzoltronefge: exactly16:56
efgej/k16:57
drzoltronthought at first regebro made a live diff utilizing XUL ;)16:57
drzoltronhave to run16:58
*** drzoltron has quit IRC16:58
*** hdima has quit IRC17:00
*** srichter has joined #zope3-dev17:04
*** srichter has quit IRC17:04
*** baldtrol has joined #zope3-dev17:05
*** srichter has joined #zope3-dev17:06
_projekt01srichter, are you arrived?17:08
*** _projekt01 is now known as projekt0117:08
*** xenru has quit IRC17:08
*** xenru has joined #zope3-dev17:09
*** yotaff has joined #zope3-dev17:10
*** andres has joined #zope3-dev17:12
andresHi.17:12
*** Theuni has quit IRC17:13
andresAgain i have a question: I have a Choice Interface with possibilities realised through vocabularys. Is it possible to set the prevuriously selected <option> as selected?17:13
andresIs the question clear enough?17:14
*** Theuni has joined #zope3-dev17:16
*** ChanServ sets mode: +o srichter17:20
srichterandres: the standard widgets should already do that17:20
andreshm. Then i have a bug in my vocabulary...17:21
srichteronly if it produces different keys for different call times17:27
baldtroldoes anyone have a suggestion on where to read up on the event dispatch machinery, esp redispatching of events?  or is that a 'documentation is the source code' kind of thing? :)17:28
*** J1m has joined #zope3-dev17:30
*** alga has quit IRC17:31
*** alga has joined #zope3-dev17:31
*** bradb has joined #zope3-dev17:32
*** niemeyer has quit IRC17:33
*** niemeyer_ has joined #zope3-dev17:34
*** jvts has quit IRC17:44
*** Alef has left #zope3-dev17:53
*** jukart has joined #zope3-dev17:57
jukartJ1m, ayt18:10
J1myes18:11
jukartshould I put a bug in the collector for the catalog reindex problem ?18:11
J1myes18:11
jukartok18:11
J1mThanks!18:11
jukartor a missfeature :)18:13
J1mYou pick. :)18:13
*** leticia has joined #zope3-dev18:23
*** sashav has joined #zope3-dev18:26
*** sashav has quit IRC18:29
*** dobee has quit IRC18:39
*** Aiste has joined #zope3-dev18:42
*** electricSqrl has joined #zope3-dev18:53
*** philiKON has quit IRC18:58
*** jukart has quit IRC19:07
*** jukart has joined #zope3-dev19:09
*** j-w has quit IRC19:21
*** MJ has quit IRC19:22
*** zbir has quit IRC19:24
*** xenru has quit IRC19:24
d2mwhat is the [Refresh] button on the objects Metadata-view is made for ? it works identical to the [Save] button19:27
*** vlado has quit IRC19:32
srichterrefresh *should* reset your input data19:33
d2mit does not19:33
d2mit saves instead19:33
srichterok, then this is a bug19:33
srichterplease report or even fix it :-)19:33
*** srichter has quit IRC19:34
electricSqrlwhere can i find my zope3 content objects in "app" when i do a zopectl debug?19:43
*** sidnei has quit IRC19:45
efgelist(app.keys()) lists them19:47
efgeapp['somename'] gets one19:47
smaha19:47
smno app.objectValues() in z3 ?19:47
electricSqrlAttributeError: 'Debugger' object has no attribute 'keys'19:47
electricSqrli must be retarded, but i'll dig deeper :)19:47
efgesm app.values() , like dicts19:47
efgeelectricSqrl: then app is not the root object19:48
efgeI don't know what names are available in z3 debug19:48
J1mSee doc/DEBUG.txt.19:48
J1mapp is a Debugger object.19:48
J1mUse it's root() method to get the root object.19:49
J1m*That* object is a mapping object.19:49
smahaa19:50
*** bradb_ has joined #zope3-dev19:51
*** zbir has joined #zope3-dev19:54
*** stub has quit IRC19:55
*** __matt__ has joined #zope3-dev19:57
electricSqrland the magic peels away... thanks J1m...19:59
electricSqrl>>> root[u'Zultan'].values()[0].values()[0]19:59
electricSqrl<zwiki.comment.Comment object at 0xb6a9a22c>19:59
*** leticia has quit IRC20:01
*** bradb has quit IRC20:02
smthere you go.. now you can probably use del to delete that dictionary entry20:02
smI'd use [thekey] instead of values()[n], it's a little clearer20:03
electricSqrlagreed on the clarity :)20:03
*** xenru has joined #zope3-dev20:04
smthen I expect you can do >>> del root['Zultan']['PageId']['Commentid20:05
sm']20:05
electricSqrlhmmm... root[u'Zultan'].keys()20:05
electricSqrlOut[11]: <OOBTreeItems object at 0xb6c70cf0>20:05
electricSqrli thought zope3 containers must be id'd by unicode strings...20:05
smok, u'' if needed20:06
SteveAargh... the debug stuff is tightly coupled to the zodb.  i have hacked around this in launchpad, but i'd like to do better.20:06
smhmm, if keys are not strings perhaps your values()[0] way is best20:06
electricSqrlso SteveA, do you know how i can delete an object on the inside?  (del doesnt work)20:06
*** xenru has quit IRC20:07
smdel root[u'Zultan'].values()[0].values()[0]20:08
electricSqrlyeah, i tried that... TypeError: object doesn't support item deletion20:08
electricSqrlarrr20:08
smah. :)20:08
electricSqrl:)20:08
electricSqrlmy crash course in zodb...20:08
electricSqrli can see the damn thing, i just cant delete it20:10
smI'm surprised you couldn't undo the adding of it20:11
J1mSteveA, I'd like to redo the debugger in terms of WSGI20:11
J1mIt's on my to-do list, but my to-do list is pretty long atm.20:11
SteveAsounds interesting20:12
*** xenru has joined #zope3-dev20:13
*** bradb_ is now known as bradb20:19
*** yota has joined #zope3-dev20:20
*** jvts has joined #zope3-dev20:24
*** regebro has quit IRC20:30
*** projekt01 has quit IRC20:30
*** projekt01 has joined #zope3-dev20:31
*** clueck has joined #zope3-dev20:36
*** SureshZ has joined #zope3-dev20:37
*** electricSqrl has left #zope3-dev20:43
*** MacYET has joined #zope3-dev20:49
*** nederhoed has joined #zope3-dev20:58
*** leticia has joined #zope3-dev20:59
*** zagy_ has quit IRC20:59
*** zagy has joined #zope3-dev20:59
*** benji_york has joined #zope3-dev21:00
*** jvts has quit IRC21:03
*** faassen has quit IRC21:03
nederhoedVladDrac: busy?21:03
*** jvts has joined #zope3-dev21:04
nederhoedHello, I have plans for a simple FreeMind mindmap product for Zope3 does that sound interesting to anyone?21:12
nederhoedmaybe I should say "thoughts about" instead of plans :)21:12
*** dobee has joined #zope3-dev21:14
tekNiconederhoed: here's a thought.21:19
tekNiconederhoed: mind maps are usually hierarchical, and therefore too limited to reach their goal.21:21
tekNicohttp://en.wikipedia.org/wiki/Mind_mapping21:21
tekNiconederhoed: the original "concept map" concept seems more useful, and generally applicable.21:21
tekNicohttp://en.wikipedia.org/wiki/Concept_map21:21
tekNiconederhoed: I have a few more links to recommend, if you are interested... :-)21:22
*** suresh has joined #zope3-dev21:23
tekNiconederhoed: well, two will suffice:21:24
tekNicohttp://www.rudi.net/bookshelf/classics/city/alexander/alexander1.shtml21:24
tekNicohttp://www.shirky.com/writings/ontology_overrated.html21:24
nederhoedmerci, I'll check them out21:25
*** tekNico has left #zope3-dev21:26
*** SureshZ has quit IRC21:28
*** dobee has quit IRC21:29
*** vidasp has quit IRC21:30
*** efge has quit IRC21:47
*** SureshZ has joined #zope3-dev21:51
*** suresh has quit IRC21:51
*** anguenot has quit IRC21:51
*** suresh has joined #zope3-dev21:53
*** SureshZ has quit IRC21:55
*** xenru_ has joined #zope3-dev22:02
*** Aiste has quit IRC22:15
*** alga has quit IRC22:16
*** xenru has quit IRC22:19
*** xenru_ has quit IRC22:35
*** xenru_ has joined #zope3-dev22:42
*** xenru_ is now known as xenru22:42
*** xenru has quit IRC22:44
*** tiredbones has quit IRC22:45
*** xenru_ has joined #zope3-dev22:54
*** xenru_ is now known as xenru22:54
*** sashav has joined #zope3-dev22:55
*** drzoltron_ has joined #zope3-dev22:58
*** xenru_ has joined #zope3-dev23:00
*** xenru_ is now known as xenru23:00
*** xenru has quit IRC23:00
*** projekt01 has quit IRC23:04
*** jvts has quit IRC23:05
*** drzoltron_ has left #zope3-dev23:10
*** nederhoed has quit IRC23:14
*** nederhoed has joined #zope3-dev23:14
*** newpers_ has joined #zope3-dev23:16
*** newpers_ is now known as newpers23:17
*** jinty has quit IRC23:17
*** sashav has quit IRC23:21
*** sashav has joined #zope3-dev23:21
*** sashav has joined #zope3-dev23:22
*** sashav has quit IRC23:22
*** sashav has joined #zope3-dev23:22
*** sashav has quit IRC23:24
*** leticia has quit IRC23:28
*** MacYET has quit IRC23:29
*** nederhoed has quit IRC23:35
*** SureshZ has joined #zope3-dev23:48
*** d2m has quit IRC23:57
*** suresh has quit IRC23:59

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