*** mgedmin has quit IRC | 00:09 | |
*** tvon|desk is now known as tvon | 00:19 | |
*** srichter has quit IRC | 00:21 | |
*** mohsenX has joined #zope3-dev | 00:23 | |
*** jdz_ has quit IRC | 00:25 | |
*** jdz_ has joined #zope3-dev | 00:26 | |
*** jdz_ has quit IRC | 00:42 | |
*** tvon|x31 has joined #zope3-dev | 00:53 | |
*** srichter has joined #zope3-dev | 00:57 | |
*** ChanServ sets mode: +o srichter | 00:58 | |
*** bskahan has quit IRC | 01:03 | |
*** jhauser has joined #zope3-dev | 01:19 | |
*** gintas has quit IRC | 01:25 | |
mohsenX | srichter: Is the PDF version of ZOPE3 book the most updated one? | 01:27 |
---|---|---|
mohsenX | srichter: I mean the one on zope.org | 01:27 |
srichter | its all pretty mcuh unedited; I have not been able to upload the revisions from the publisher yet | 01:28 |
srichter | best version is the paper one right now | 01:28 |
mohsenX | alright -- the PDF version is my only choice anyway -- As amazon or other sites do not ship to the place i live. When do you think it will be updated | 01:31 |
srichter | when I get time :-( | 01:32 |
srichter | if you want to help, I can get you all the access/files you need | 01:32 |
mohsenX | you mean by producing a PDF version by those files? | 01:33 |
srichter | no, update the master TeX files from the Publisher's Word files, so that we can generate updated PDFs | 01:34 |
*** jhauser_ has quit IRC | 01:35 | |
*** niemeyer has quit IRC | 01:35 | |
mohsenX | Ah, I wish I could, but unfortunately I dont know TeX - But I can produce the PDF version directly from word sources -- if that helps | 01:36 |
srichter | naeh, that's not helpful | 01:37 |
*** hazmat has quit IRC | 01:38 | |
mohsenX | Okay - i have to wait then | 01:39 |
srichter | my TeX is not hard | 01:48 |
srichter | but you need to setup the compiler of course (which is trivial under Linux and Windows | 01:48 |
mohsenX | why don't we produce a PDF version direclty? | 01:52 |
srichter | because the word version is unmanagable | 01:53 |
srichter | and does not produce a quality output | 01:53 |
Damascene | they didnt' setup their styles properly? | 01:54 |
mohsenX | true -- but if it going to take monthes maybe it's not bad to have lower-quality pdf :-) | 01:54 |
Damascene | what do you mean by a lower quality output? screenshot/images were compressed too greatly, etc? | 01:54 |
mohsenX | Damascene: sritcher told PDF direclty from word does not produce high quality output | 01:56 |
srichter | right, word sucks | 01:57 |
Damascene | i'm just wonderign what he means. i've printed out a lot of nice looking pdfs using word. | 01:57 |
Damascene | but it's not really a word issue, but the pdfwriter or you can just send it directly to the pdfwriter printer driver or convert to ps first then pdf (in which case it does lose some colors if you had any). | 01:58 |
Damascene | latex to ps to pdf seemed okay too though. | 01:58 |
mohsenX | and I Dont think a PDF zope book needs to be in high-quality...being updated is more important :-) | 01:59 |
*** bradb has quit IRC | 02:06 | |
*** bradb has joined #zope3-dev | 02:08 | |
tvon|x31 | is the online html up to date? | 02:15 |
*** mohsenX has quit IRC | 02:30 | |
srichter | no, same reason | 02:55 |
srichter | they are all generated from the tex | 02:55 |
*** projekt01 has quit IRC | 03:11 | |
*** hazmat has joined #zope3-dev | 03:18 | |
*** jdz has joined #zope3-dev | 03:32 | |
*** hazmat has quit IRC | 03:45 | |
*** tvon has quit IRC | 03:56 | |
*** hazmat has joined #zope3-dev | 04:35 | |
*** stub has joined #zope3-dev | 04:40 | |
*** BjornT has quit IRC | 04:45 | |
*** tvon|x31 has quit IRC | 06:23 | |
WebMaven | srichter: did anything happen with the docbook stuff you were going to experiment with? | 06:26 |
*** hazmat_ has joined #zope3-dev | 06:58 | |
*** `anthony has quit IRC | 07:22 | |
*** `anthony has joined #zope3-dev | 07:53 | |
*** __gotcha_ has joined #zope3-dev | 08:04 | |
*** th1a has quit IRC | 08:04 | |
*** stub has quit IRC | 08:14 | |
*** __gotcha has quit IRC | 08:21 | |
*** stub has joined #zope3-dev | 08:21 | |
*** d2m has quit IRC | 08:24 | |
*** stub has quit IRC | 08:25 | |
*** stub has joined #zope3-dev | 08:26 | |
*** stub has quit IRC | 08:28 | |
*** stub has joined #zope3-dev | 08:29 | |
*** stub has quit IRC | 08:30 | |
*** stub has joined #zope3-dev | 08:34 | |
*** stub has quit IRC | 08:34 | |
*** stub has joined #zope3-dev | 08:34 | |
*** stub has joined #zope3-dev | 08:36 | |
*** `anthony has quit IRC | 09:30 | |
*** hdima has joined #zope3-dev | 09:31 | |
*** d2m has joined #zope3-dev | 09:54 | |
*** Theuni has joined #zope3-dev | 10:27 | |
*** mexiKON has joined #zope3-dev | 10:59 | |
*** Theuni has quit IRC | 11:00 | |
*** dlk has joined #zope3-dev | 11:02 | |
*** dlk has joined #zope3-dev | 11:03 | |
*** Theuni has joined #zope3-dev | 11:05 | |
*** philiKON has quit IRC | 11:08 | |
*** projekt01 has joined #zope3-dev | 11:26 | |
srichter | WebMaven: no | 12:12 |
srichter | WebMaven: I might take a different approach | 12:12 |
*** tav has quit IRC | 12:41 | |
*** tav has joined #zope3-dev | 12:42 | |
*** mgedmin has joined #zope3-dev | 12:49 | |
*** tav has quit IRC | 12:59 | |
*** tav has joined #zope3-dev | 12:59 | |
*** sgp has joined #zope3-dev | 13:13 | |
*** sgp has left #zope3-dev | 13:17 | |
*** BjornT has joined #zope3-dev | 13:47 | |
*** mexiKON has quit IRC | 14:13 | |
*** Aiste has quit IRC | 14:13 | |
*** Aiste has joined #zope3-dev | 14:13 | |
*** philiKON has joined #zope3-dev | 14:14 | |
*** tav has quit IRC | 14:23 | |
*** xena has quit IRC | 14:23 | |
*** srichter has quit IRC | 14:25 | |
*** tav has joined #zope3-dev | 14:26 | |
*** MalcolmC has joined #zope3-dev | 14:32 | |
*** gintas has joined #zope3-dev | 14:38 | |
*** The|uni has joined #zope3-dev | 15:00 | |
*** srichter has joined #zope3-dev | 15:01 | |
*** ChanServ sets mode: +o srichter | 15:02 | |
*** `anthony has joined #zope3-dev | 15:13 | |
*** Theuni has quit IRC | 15:29 | |
*** niemeyer has joined #zope3-dev | 15:40 | |
*** alga has joined #zope3-dev | 15:41 | |
*** gintas has quit IRC | 15:56 | |
*** Homeblia is now known as Workblia | 16:09 | |
*** hdima has quit IRC | 16:54 | |
*** mkerrin has joined #zope3-dev | 17:06 | |
*** hazmat has quit IRC | 17:16 | |
*** hazmat_ has quit IRC | 17:17 | |
*** mgedmin has quit IRC | 17:18 | |
*** __gotcha_ is now known as __gotcha | 17:21 | |
*** dlk has quit IRC | 17:22 | |
* SteveA discovers interesting bug in new-style classes | 17:34 | |
*** hazmat has joined #zope3-dev | 17:47 | |
MalcolmC | So are you going to tell us what it is, or just let us find it for ourselves? :) | 17:59 |
Workblia | it is not a bug :P | 18:00 |
*** faassen has joined #zope3-dev | 18:19 | |
*** stub has left #zope3-dev | 18:19 | |
*** mgedmin has joined #zope3-dev | 18:22 | |
philiKON | ho faassen | 18:23 |
SteveA | Workblia: really? | 18:29 |
SteveA | with a classic class, it says "__init__ must return None" | 18:29 |
Workblia | SteveA, oh, and what if it doesn't ? | 18:30 |
SteveA | it __init__ returns a value, or is a generator, then you get an error | 18:31 |
SteveA | with a new style class, it just silently fails | 18:31 |
Workblia | well i just did an init that returns 5 | 18:31 |
Workblia | and it worked | 18:31 |
Workblia | so it would seem that it was designet to be tha way | 18:31 |
SteveA | >>> class Foo: | 18:32 |
SteveA | ... def __init__(self): | 18:32 |
SteveA | ... return 5 | 18:32 |
SteveA | ... | 18:32 |
SteveA | >>> Foo() | 18:32 |
SteveA | Traceback (most recent call last): | 18:32 |
SteveA | File "<stdin>", line 1, in ? | 18:32 |
SteveA | TypeError: __init__() should return None | 18:32 |
SteveA | >>> | 18:32 |
Workblia | python 2.3.5 - worked for me | 18:32 |
Workblia | >>> class Foo(object): | 18:32 |
Workblia | ... def __init__(self): | 18:32 |
Workblia | ... return 5 | 18:32 |
Workblia | ... | 18:32 |
Workblia | >>> Foo() | 18:32 |
Workblia | <__main__.Foo object at 0x40224bec> | 18:32 |
Workblia | so the generator is not failing too | 18:33 |
Workblia | naturally | 18:33 |
SteveA | >>> class Foo(object): | 18:34 |
SteveA | ... def __init__(self): | 18:34 |
SteveA | ... print "xxx" | 18:34 |
SteveA | ... yield 5 | 18:34 |
SteveA | ... | 18:34 |
SteveA | >>> Foo() | 18:34 |
SteveA | <__main__.Foo object at 0xb7e01c6c> | 18:34 |
SteveA | note that "xxx" is not printed | 18:34 |
Workblia | yes it is not | 18:34 |
Workblia | it is to be expected | 18:34 |
SteveA | it is printed in the case where you return 5 | 18:35 |
Workblia | the generator is returned | 18:35 |
Workblia | def foo(): | 18:35 |
SteveA | so, why do you expect it not to print "xxx" ? | 18:35 |
Workblia | yeald 32 | 18:35 |
philiKON | SteveA, because the parser creates a generator, not a function | 18:35 |
SteveA | oic | 18:35 |
SteveA | yeah, course | 18:35 |
Workblia | >>> def foo(): | 18:35 |
Workblia | ... print "xxx" | 18:35 |
Workblia | ... yield 32 | 18:35 |
Workblia | ... | 18:35 |
Workblia | >>> foo() | 18:35 |
Workblia | <generator object at 0x4022640c> | 18:35 |
SteveA | thanks Workblia | 18:35 |
Workblia | >>> | 18:35 |
SteveA | I think it is still a bug | 18:35 |
SteveA | i shall add that clarification to the report | 18:36 |
Workblia | don't thank me, it's alga who solved the mistery | 18:36 |
SteveA | it is a bug because it wasted one of my programmers lots of time working out why his __init__ was never called | 18:36 |
philiKON | well, it's a bug about bugs :) | 18:36 |
faassen | a question about traversing in Zope 3.. | 18:37 |
faassen | it seems that ITraverser in zope.app.traversing is not called if you type a URL into the publisher. | 18:38 |
faassen | that is, I'm trying to find out what in Zope 3 makes a view pop up if you do not add the @@ or ++view++ in front of it. | 18:38 |
SteveA | i very much want to separate the URL traversal and object graph traversal | 18:39 |
faassen | and I was studying Traverser in zope.app.traversing.adapters, but for some reason, this logic does not appear to be called at all times. | 18:39 |
SteveA | i had a conversation with fred on the mailing list about this a year or so ago | 18:39 |
faassen | well, I don't want to improve anything, I just want to know how it works now. :) | 18:39 |
SteveA | faassen: zope.app.traversing.adapters is all about object graph traversal iirc | 18:39 |
faassen | no, it also calls views if you use a namespaced step. | 18:40 |
faassen | like /@@foo | 18:40 |
faassen | defers to various ITraversables registered in zope.app.traversing.namespace | 18:40 |
*** BjornT has quit IRC | 18:40 | |
faassen | however, it appears the whole logic is not called if you traverse using a URL from the outside. at least not the logic in Traversing. | 18:40 |
*** hazmat has quit IRC | 18:41 | |
SteveA | that depends on whether a URL traverser is set up to use the object graph traverser | 18:41 |
faassen | where are the URL traversers? | 18:41 |
faassen | I'm talking Zope X3, by the way, though the trunk seems similar. | 18:41 |
SteveA | in zope.app.publishing i guess | 18:42 |
SteveA | or publication | 18:42 |
mgedmin | faassen, those are things thar provide IBrowserPublisher (for BrowserRequests) | 18:42 |
SteveA | IPublishTraverse | 18:42 |
faassen | well, zope.app.publisher or zope.app.publication. :) | 18:42 |
SteveA | which is related | 18:42 |
* mgedmin usually recursively greps all zcmls for things providing IBrowserPublisher | 18:42 | |
faassen | thanks, publicationtraverse.py looks like a good place to start looking. | 18:43 |
*** mgedmin has quit IRC | 18:51 | |
*** mgedmin has joined #zope3-dev | 18:51 | |
*** tvon has joined #zope3-dev | 18:53 | |
*** alga has quit IRC | 18:55 | |
*** alga has joined #zope3-dev | 19:13 | |
*** jdz_ has joined #zope3-dev | 19:18 | |
*** jdz_ has quit IRC | 19:32 | |
*** gintas has joined #zope3-dev | 19:52 | |
*** Workblia is now known as ignas | 20:01 | |
*** ignas is now known as Voblia | 20:04 | |
*** Voblia is now known as ignas | 20:04 | |
*** d2m has quit IRC | 20:33 | |
*** faassen has left #zope3-dev | 20:36 | |
*** d2m has joined #zope3-dev | 20:41 | |
*** mkerrin has quit IRC | 20:47 | |
*** hazmat has joined #zope3-dev | 21:16 | |
*** tvon has quit IRC | 21:17 | |
*** tvon has joined #zope3-dev | 21:59 | |
*** hazmat has quit IRC | 22:14 | |
*** BjornT has joined #zope3-dev | 22:21 | |
*** hazmat has joined #zope3-dev | 22:24 | |
*** ignas is now known as ignas|home | 22:46 | |
*** mgedmin has quit IRC | 22:56 | |
*** hazmat has quit IRC | 23:02 | |
*** gintas has quit IRC | 23:12 | |
*** mgedmin has joined #zope3-dev | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!