*** jdz_ has joined #zope3-dev | 00:29 | |
projekt01 | srichter, cool this submenues | 00:54 |
---|---|---|
srichter | projekt01: does it work well? | 00:56 |
projekt01 | I didn't try, is there a sample? | 00:56 |
jdz_ | srichter: awsome book! :D | 00:56 |
srichter | see menu.txt | 00:56 |
srichter | jdz_: thanks! | 00:56 |
projekt01 | In the apidoc? | 00:57 |
projekt01 | I was looking in the pulisher/browser /menu.txt | 00:57 |
srichter | I thinkit is in apidoc as well | 00:57 |
srichter | zope.app.publisher.browser/menu.txt | 00:58 |
projekt01 | Ah, you mapped it to the book | 00:58 |
srichter | yes | 00:59 |
srichter | there are also the tests for the directive | 00:59 |
srichter | test_menudirectives | 00:59 |
projekt01 | I don't see the menu in the book | 01:00 |
srichter | including tests/menus.zcml | 01:01 |
srichter | projekt01: I have not written any ZPT using the getMenu output yet, so I do not know how usable it is | 01:02 |
projekt01 | It looks useable if I take a menu.txt sample pprint | 01:03 |
projekt01 | ...It looks useable if I take a look at the pprint sample in the menu.txt | 01:05 |
projekt01 | I will checkin some onlinehelp cleanup and the skin mookup in the next couple minutes | 01:06 |
srichter | well, you have to write some recursive ZPT code, because submenus can be nested deep | 01:06 |
srichter | cool!! | 01:06 |
projekt01 | I get some errors from apidoc | 01:08 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\README.txt", line 305, in README.t | 01:08 |
projekt01 | Failed example: | 01:08 |
projekt01 | root.info | 01:08 |
projekt01 | Expected: | 01:08 |
projekt01 | File | 01:08 |
projekt01 | "/opt/zope/Zope3/Zope3-Fresh/src/zope/app/apidoc/codemodule/configure.zcml", | 01:08 |
projekt01 | line 1.0-53.0 | 01:08 |
projekt01 | Got: | 01:08 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\configure.zcml", line 1.0-53.0 | 01:08 |
projekt01 | Could this be, windows path? | 01:08 |
srichter | yeah | 01:09 |
projekt01 | And also some ftests failed | 01:09 |
srichter | I fixed th eunit test | 01:12 |
srichter | what ftests are failing? | 01:12 |
projekt01 | Also windows paths: | 01:12 |
projekt01 | Failure in test testInterfaceDetailsView (zope.app.apidoc.ifacemodule.ftests.InterfaceModuleTests) | 01:12 |
projekt01 | Traceback (most recent call last): | 01:12 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\app\apidoc\ifacemodule\ftests.py", line 50, in testInterfaceDetailsView | 01:12 |
projekt01 | basic='mgr:mgrpw') | 01:12 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\app\testing\functional.py", line 371, in checkForBrokenLinks | 01:12 |
projekt01 | self.fail("%s contains broken links:\n" % path | 01:12 |
projekt01 | File "C:\Python23\lib\unittest.py", line 270, in fail | 01:12 |
projekt01 | raise self.failure | 01:12 |
projekt01 | /++apidoc++/Interface/zope.app.apidoc.ifacemodule.IInterfaceModule/../../Code/zope\app\traversing\configure.zcml/index.html?line=4: NotFound: Obje | 01:13 |
projekt01 | ct: <zope.app.apidoc.codemodule.codemodule.CodeModule object at 0x059201F0>, name: u'zope\\app\\traversing\\configure.zcml' | 01:13 |
srichter | thanks | 01:23 |
projekt01 | 2 unittests and 2 functional tests are still broken | 01:33 |
srichter | probably all due to the same mistake | 01:33 |
projekt01 | Could be, all from the codemodule | 01:34 |
srichter | can you paste the unittest errors? | 01:34 |
projekt01 | Yup: | 01:35 |
projekt01 | Running UNIT tests at level 1 | 01:35 |
projekt01 | Running UNIT tests from D:\projektCompiler\trunk | 01:35 |
projekt01 | 40/3184 ( 1.3%): D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\REA | 01:35 |
projekt01 | Failure in test D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\README.txt | 01:35 |
projekt01 | Traceback (most recent call last): | 01:35 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\testing\doctest.py", line 2187, in runTest | 01:35 |
projekt01 | raise self.failureException(self.format_failure(new.getvalue())) | 01:35 |
projekt01 | AssertionError: Failed doctest test for README.txt | 01:35 |
projekt01 | File "D:\projekt | 01:35 |
projekt01 | Soory this was wrong | 01:35 |
projekt01 | Try again: | 01:36 |
projekt01 | Failure in test D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\README.txt | 01:36 |
projekt01 | Traceback (most recent call last): | 01:36 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\testing\doctest.py", line 2187, in runTest | 01:36 |
projekt01 | raise self.failureException(self.format_failure(new.getvalue())) | 01:36 |
projekt01 | AssertionError: Failed doctest test for README.txt | 01:36 |
projekt01 | File "D:\projektCompiler\trunk\src\zope\app\apidoc\codemodule\README.txt", line 0 | 01:36 |
projekt01 | ---------------------------------------------------------------------- | 01:36 |
projekt01 | File "D:\projektCompile | 01:36 |
projekt01 | Argh, I send you a mail | 01:36 |
srichter | yeah | 01:36 |
srichter | that's better | 01:36 |
projekt01 | Ok | 01:38 |
srichter | projekt01: ok, I think I fixed one more | 01:40 |
srichter | try to upload | 01:40 |
projekt01 | Still the same | 01:43 |
srichter | mmh, it is too hard to debug without a Winows bix | 01:43 |
srichter | I know what the reason is, but I do not want to guess and ass stupid code all over the place | 01:44 |
projekt01 | I can try, where do I have to look | 01:44 |
srichter | basically whereever I get a path and convert it to a URL there is a problem | 01:45 |
srichter | projekt01: finish your stuff first | 01:45 |
srichter | we do this debugging soemwhen next week | 01:45 |
projekt01 | Ok, I will checkin step by step, It will take a while because I have to change the svn props after checkin | 01:46 |
srichter | ok | 01:48 |
projekt01 | Ok, I checked in some widgets in zope.app.demo.widget for provide samples in the onlinehelp | 02:00 |
*** __gotchaway has quit IRC | 02:00 | |
projekt01 | You can find them in the onlinehelp Samples/Widgets TextWidget | 02:00 |
projekt01 | Is this usable? | 02:01 |
projekt01 | srichter;...and see boston | 02:01 |
srichter | projekt01: hold on; I have to make a checkin and then I check it out :-) | 02:09 |
projekt01 | Ok | 02:09 |
*** tarek_ has quit IRC | 02:15 | |
srichter | projekt01: ok, what do I need to do to see the demo? | 02:18 |
projekt01 | Boston is just a layout sample in zope.app.boston | 02:19 |
srichter | pk | 02:19 |
projekt01 | In the onlinehelp you can see Samples/Widgets/TextWidget | 02:19 |
projekt01 | As a default sample, others will follow | 02:20 |
srichter | I love the boston mockup | 02:20 |
projekt01 | I think if we add for all widgets samples we can better find missleading widgets | 02:20 |
srichter | it is very clear | 02:20 |
srichter | yeah | 02:20 |
projekt01 | Cool, I think till the end of the week I can implement it in HTML | 02:21 |
srichter | awesome! | 02:21 |
projekt01 | One question I whould like to use pagelets for let others register javascripts. What do you think? | 02:22 |
projekt01 | Pagelets offers a generic way for register content in slots. | 02:22 |
srichter | sure, we can make boston use all the experimental stuff | 02:22 |
projekt01 | This is wat we need for e.g. javascripts for custom widgets | 02:22 |
projekt01 | Ok, If we find out a better way we can change it | 02:23 |
srichter | yep | 02:23 |
*** alga has joined #zope3-dev | 02:24 | |
projekt01 | Does the contextual apidoc work? You send me once code for refactoring the classBrowser.html view. I didn't change it till now ;-( | 02:25 |
srichter | no, but I will do that too | 02:26 |
projekt01 | Ok | 02:27 |
srichter | I will completely deprecate introspector and write this view to forward to apidoc | 02:27 |
projekt01 | Cool | 02:27 |
projekt01 | Right to the information we need | 02:28 |
srichter | I am also going to work on the user preferences system some more tomorrow | 02:28 |
srichter | ok, I gotta go | 02:29 |
projekt01 | Oh, I think there is a function in the view where you can add interfaces (markers). I think this should be available again. | 02:29 |
projekt01 | Ok, see you | 02:29 |
srichter | I'll talk to you tomorrow | 02:29 |
srichter | good work!!! | 02:29 |
projekt01 | Thanks, same to you! | 02:29 |
srichter | Jim says he does not want this anymore. | 02:29 |
srichter | bye | 02:29 |
projekt01 | Ok, ....Roger is now happy to have submenues...... | 02:30 |
*** bskahan has quit IRC | 03:16 | |
*** projekt01 has quit IRC | 03:56 | |
*** BjornT has quit IRC | 04:32 | |
*** alga has quit IRC | 04:55 | |
*** hazmat has joined #zope3-dev | 05:10 | |
*** `anthony has quit IRC | 05:16 | |
*** bskahan has joined #zope3-dev | 05:34 | |
*** niemeyer has quit IRC | 06:30 | |
*** `anthony has joined #zope3-dev | 06:33 | |
*** jdz_ has quit IRC | 08:04 | |
zagy_ | moin | 08:51 |
*** zagy_ is now known as zagy | 08:51 | |
*** hdima has joined #zope3-dev | 09:12 | |
*** `anthony has quit IRC | 09:45 | |
*** admp__ has joined #zope3-dev | 10:16 | |
*** Aiste has quit IRC | 10:37 | |
*** Aiste has joined #zope3-dev | 10:47 | |
*** admp__ has quit IRC | 10:47 | |
*** d2m has quit IRC | 10:50 | |
*** mooded has joined #zope3-dev | 10:52 | |
*** d2m has joined #zope3-dev | 11:10 | |
*** projekt01 has joined #zope3-dev | 11:19 | |
*** rejj has quit IRC | 11:24 | |
*** Theuni has joined #zope3-dev | 12:12 | |
*** admp has joined #zope3-dev | 12:31 | |
*** sashav has joined #zope3-dev | 12:45 | |
*** mkerrin has joined #zope3-dev | 12:46 | |
*** admp has quit IRC | 13:06 | |
*** mkerrin has quit IRC | 13:28 | |
*** MalcolmC has joined #zope3-dev | 13:34 | |
*** srichter has quit IRC | 14:00 | |
*** alga has joined #zope3-dev | 14:27 | |
*** BjornT has joined #zope3-dev | 14:32 | |
*** srichter has joined #zope3-dev | 14:35 | |
*** SteveA_ has joined #zope3-dev | 14:35 | |
*** `anthony has joined #zope3-dev | 14:35 | |
*** SteveA has quit IRC | 14:36 | |
*** ChanServ sets mode: +o srichter | 14:36 | |
*** SteveA_ is now known as SteveA | 14:36 | |
*** sashav is now known as tunnelMan | 15:00 | |
*** niemeyer has joined #zope3-dev | 15:05 | |
*** apoirier has joined #zope3-dev | 15:27 | |
*** zagy has quit IRC | 15:38 | |
*** zagy has joined #zope3-dev | 15:38 | |
*** zagy has joined #zope3-dev | 15:39 | |
*** mgedmin has joined #zope3-dev | 16:02 | |
*** Voblia_ has joined #zope3-dev | 16:08 | |
*** [apoirier] has joined #zope3-dev | 16:30 | |
*** apoirier has quit IRC | 16:30 | |
*** tarek_ has joined #zope3-dev | 16:30 | |
*** tunnelMan is now known as sashav | 16:34 | |
*** benji_york has joined #zope3-dev | 16:46 | |
tarek_ | i need to implement a memory cache, and i've been told that I should avoid the _v_ prefix on attributes. | 16:47 |
tarek_ | what would be the best way to have an attribute list in a persistent object | 16:48 |
tarek_ | this list would be not persistent, but will hold any king of elements, like peristent ones | 16:48 |
SteveA | do you want to cache the result of some calculation? | 16:50 |
tarek_ | i need to cache mail parts that i have retrieved from the server | 16:53 |
tarek_ | those are used in a mail view | 16:53 |
tarek_ | for optimisation, i want to avoid calling the server twice for the same part | 16:54 |
SteveA | which server? | 16:54 |
tarek_ | imap | 16:55 |
tarek_ | mail parts are objects, that are adapted in the view | 16:55 |
srichter | tarek_: there is a caching framework in Zope 3 with the RAMCache as sample implementation; this should be what you want | 16:56 |
tarek_ | srichter: do you know if it's usable through five in zope 2 ? (i'd say why not but...) | 16:57 |
srichter | it is in Zope since X3.0, so it should | 16:57 |
srichter | it is justa couple of adapters and utilities as far as I remember | 16:57 |
tarek_ | ok thanks, i'll try this | 16:58 |
SteveA | srichter: do you know much about the ftp / dualmode server code? | 16:58 |
srichter | I used to | 16:58 |
srichter | but it has been a very long time | 16:58 |
SteveA | I'm investigating timeout problems in my ftp server | 16:59 |
srichter | (knew, because I wrote it) | 16:59 |
SteveA | i think i know what is happening now | 16:59 |
srichter | cool | 16:59 |
srichter | do you know the problem with the ActiveMode stuff too? | 16:59 |
SteveA | what i think is going on is that, first of all, the control connection times out after some inactivity. | 16:59 |
srichter | it would take me a long time to figure all this out again | 16:59 |
SteveA | secondly, a data connection doesn't tell the control connection "I'm still receiving data" | 16:59 |
srichter | right, I read your mail/issue report | 16:59 |
SteveA | so, if there's a long upload, then the control connection times out | 17:00 |
SteveA | even though the client is still sending data | 17:00 |
srichter | mmh, that's bad | 17:00 |
srichter | so we need some sort of callback there | 17:00 |
SteveA | in my problem report, this is about the control connection never having its activity timeout timer reset on activity | 17:00 |
SteveA | this is a separate issue that occurs even when the first problem is patched | 17:01 |
srichter | oh, I see, right | 17:01 |
SteveA | i now know the code moderately well ;-) | 17:01 |
srichter | :-) | 17:02 |
SteveA | maybe a solution is to have the abstraction of an "activity timer" that can be passed to other tasks | 17:02 |
SteveA | and then, if a task is passed such a thing, it pokes it from time to time | 17:02 |
SteveA | this timer can be shared between tasks | 17:02 |
srichter | sounds good | 17:02 |
SteveA | it would need to be able to be updated safely by concurrent threads, but that's okay, because it just has a "last used" value | 17:03 |
srichter | I was about suggesting something similar; before the timeout happens, the code checks whether the task is still active | 17:03 |
SteveA | i'll put this together for my server, and test it | 17:03 |
srichter | cool | 17:03 |
SteveA | hmm, i guess that would work too, but it doesn't deal with tasks timing out | 17:03 |
srichter | btw, do you have troubles in active mode as well? | 17:03 |
srichter | right | 17:04 |
SteveA | the overall issue is that the server wants to disconnect when there has been inactivity at the client end | 17:04 |
SteveA | and "inactivity" is measured over a bunch of tasks | 17:04 |
srichter | I see, I so cannot remember a lot of this :-) | 17:05 |
*** sashav is now known as tunnelMan | 17:10 | |
*** hdima has quit IRC | 17:24 | |
*** SteveA_ has joined #zope3-dev | 17:26 | |
*** SteveA has quit IRC | 17:30 | |
*** SteveA_ is now known as SteveA | 17:30 | |
*** tunnelMan is now known as sashav | 17:42 | |
*** Voblia_ is now known as Voblia | 17:50 | |
*** gintas has joined #zope3-dev | 17:55 | |
*** tvon|desk has joined #zope3-dev | 18:04 | |
*** tvon is now known as tvon|x31 | 18:07 | |
*** tvon|desk is now known as tvon | 18:08 | |
mgedmin | breadcrumbs question: AbsoluteURL.breadcrumbs returns a dict with __name__s and absolute URLs | 18:20 |
mgedmin | I want to display object titles | 18:20 |
mgedmin | ideas? | 18:20 |
mgedmin | what about changing breadcrumbs to add actual objects | 18:21 |
mgedmin | then I could try adapting them to IZopeDublinCore or whatever | 18:21 |
SteveA | don't see why not. the objects are loaded anyway | 18:24 |
*** hazmat has quit IRC | 18:25 | |
SteveA | although, what about URLs that don't have an associated object as such, and just a view? | 18:25 |
SteveA | so, maybe you need a special breadcrumb item view | 18:26 |
SteveA | that allows an object to present itself as a breadcrumb step | 18:26 |
mgedmin | hmm | 18:29 |
mgedmin | examples? | 18:29 |
SteveA | define an interface for what a breadcrumb step offers: URL, presentation name, presentation title (for tool-tip thinggie) | 18:33 |
SteveA | adapt object+request to that interface | 18:33 |
mgedmin | no time now | 18:34 |
mgedmin | looks like I'll have to reinvent breadcrumbs for schoolbell -- rc1 branches tomorrow... | 18:34 |
SteveA | i'm not using the zope standard ones on launchpad | 18:34 |
SteveA | but, if they were more like i described above, i might | 18:34 |
*** sashav has quit IRC | 18:38 | |
*** mooded has quit IRC | 18:38 | |
*** gintas has quit IRC | 19:01 | |
*** tarek_ is now known as tarek_away | 19:18 | |
*** BjornT has quit IRC | 19:25 | |
*** admp has joined #zope3-dev | 19:41 | |
*** Ragica has joined #zope3-dev | 20:05 | |
*** sashav has joined #zope3-dev | 20:52 | |
*** projekt01 has quit IRC | 20:52 | |
*** PalmTree has joined #zope3-dev | 21:08 | |
*** BjornT has joined #zope3-dev | 21:09 | |
*** [apoirier] has quit IRC | 21:11 | |
*** philiKON has joined #zope3-dev | 21:12 | |
philiKON | heya | 21:13 |
*** projekt01 has joined #zope3-dev | 21:25 | |
*** PalmTree has quit IRC | 21:49 | |
*** jdz has joined #zope3-dev | 22:18 | |
srichter | hi | 22:25 |
srichter | philiKON: thanks for the note | 22:25 |
srichter | I also wacked menus pretty bad; have you seen the addd menu? :-) | 22:25 |
*** tarek_away has quit IRC | 22:25 | |
*** sashav has quit IRC | 22:30 | |
*** Aiste has quit IRC | 22:36 | |
*** sashav has joined #zope3-dev | 22:48 | |
mgedmin | why oh why does SelectWidget render two <div> elements? | 23:08 |
*** admp has quit IRC | 23:26 | |
*** mgedmin has quit IRC | 23:43 | |
*** Jim7J1AJH has quit IRC | 23:49 | |
*** Jim7J1AJH has joined #zope3-dev | 23:52 | |
*** srichter has quit IRC | 23:53 | |
*** projekt01 has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!