IRC log of #zope3-dev for Monday, 2008-03-24

*** salfield has quit IRC00:04
*** whit has joined #zope3-dev00:06
*** norro_ has quit IRC00:07
*** d2m has quit IRC00:11
*** whit has quit IRC00:11
*** regebro has quit IRC00:39
*** harobed has quit IRC01:55
*** norro has quit IRC02:09
*** philiKON has quit IRC02:36
*** quodt has quit IRC02:54
*** run|home has joined #zope3-dev03:38
*** run|home_ has quit IRC03:42
*** b52laptop has quit IRC04:03
*** run|home_ has joined #zope3-dev04:26
*** run|home has quit IRC04:32
*** run|home has joined #zope3-dev04:40
*** run|home_ has quit IRC04:46
*** ccomb has quit IRC04:48
*** rcrafton has joined #zope3-dev05:21
*** rcrafton has quit IRC05:21
*** pcardune has joined #zope3-dev05:45
*** pcardune has quit IRC06:49
*** pcardune has joined #zope3-dev06:50
*** jayaraj has joined #zope3-dev06:52
*** afd_ has joined #zope3-dev07:05
*** pcardune_ has joined #zope3-dev07:17
*** pcardune has quit IRC07:17
*** pcardune has joined #zope3-dev07:19
*** pcardune_ has quit IRC07:19
*** pcardune_ has joined #zope3-dev07:25
*** pcardune has quit IRC07:25
*** afd_ has quit IRC07:25
*** pcardune_ has quit IRC07:58
*** stub has joined #zope3-dev08:24
*** povbot` has joined #zope3-dev08:40
*** srichter has joined #zope3-dev08:41
*** dunny has joined #zope3-dev08:41
*** mcdonc has joined #zope3-dev08:41
*** stub has joined #zope3-dev08:41
*** jayaraj has joined #zope3-dev08:41
*** run|home has joined #zope3-dev08:41
*** redir has joined #zope3-dev08:41
*** benji_ has joined #zope3-dev08:41
*** jodok has joined #zope3-dev08:41
*** ktwilight has joined #zope3-dev08:41
*** timte has joined #zope3-dev08:41
*** acsr has joined #zope3-dev08:41
*** lisppaste6 has joined #zope3-dev08:41
*** alecghica has joined #zope3-dev08:41
*** markusleist has joined #zope3-dev08:41
*** jeffk has joined #zope3-dev08:41
*** Theuni has joined #zope3-dev08:41
*** kobold has joined #zope3-dev08:41
*** CSWookie has joined #zope3-dev08:41
*** BjornT has joined #zope3-dev08:41
*** ejucovy has joined #zope3-dev08:41
*** SteveA has joined #zope3-dev08:41
*** jfroche has joined #zope3-dev08:41
*** instantfoo has joined #zope3-dev08:41
*** tlotze has joined #zope3-dev08:41
*** _basti_ has joined #zope3-dev08:41
*** irc.freenode.net sets mode: +o srichter08:41
*** povbot has quit IRC08:44
*** kursor has joined #zope3-dev08:53
*** redir has quit IRC09:21
*** jukart has joined #zope3-dev09:32
*** kursor has quit IRC09:36
*** sorin has joined #zope3-dev09:39
*** sorin is now known as sorindregan09:39
*** philiKON has joined #zope3-dev09:48
*** afd_ has joined #zope3-dev09:51
*** jukart has quit IRC09:54
*** jukart has joined #zope3-dev09:57
*** stub has quit IRC10:14
*** stu1 has joined #zope3-dev10:14
*** stu1 is now known as stub10:14
*** stub has quit IRC10:39
*** quodt has joined #zope3-dev10:43
*** jayaraj has quit IRC10:49
*** jukart has quit IRC10:53
*** philiKON has quit IRC11:04
*** stub has joined #zope3-dev11:11
*** quodt has quit IRC11:19
*** dunny has quit IRC11:22
*** b52laptop has joined #zope3-dev11:29
*** regebro has joined #zope3-dev11:51
*** jodok has quit IRC12:01
*** jodok has joined #zope3-dev12:01
*** afd_ has quit IRC12:07
*** afd_ has joined #zope3-dev12:12
*** stub has quit IRC12:14
*** ignas has joined #zope3-dev12:29
*** norro has joined #zope3-dev12:34
*** redir has joined #zope3-dev12:47
*** stub has joined #zope3-dev13:08
*** ccomb has joined #zope3-dev13:09
*** redir has quit IRC13:13
*** dobee has joined #zope3-dev13:53
*** benji_ has quit IRC13:54
*** afd_ has quit IRC14:04
*** stub has quit IRC14:18
*** whit has joined #zope3-dev14:30
*** run|home has quit IRC14:39
*** alex_smith has joined #zope3-dev14:44
*** benji has joined #zope3-dev14:46
*** niemeyer has joined #zope3-dev14:52
*** afd_ has joined #zope3-dev14:53
*** rcrafton has joined #zope3-dev15:02
*** lisppaste6 has quit IRC15:09
markusleistHi all, where i can find the request object in a property-method get..15:10
markusleistin Line 73:15:11
markusleisthttp://trac.ict-ok.org/browser/trunk/org/ict_ok/admin_utils/usermanagement/usermanagement.py15:11
markusleistthere is my property - get15:11
benjimarkusleist: it's possible to dig the request out of the current interaction, but it's a definate code smell15:12
afd_http://wiki.zope.org/zope3/FAQProgramming#how-do-i-get-irequest-object-in-event-handler In case you decide to do it...15:13
*** lucielejard has joined #zope3-dev15:14
benjithat assumes the request is always the first participant in the interaction15:14
benjiI'll update that code with a more resiliant approach15:14
markusleistI'll try in pdb ...15:15
markusleistok, seems to work15:18
*** J1m has joined #zope3-dev15:19
benjimarkusleist: I just updated the code to be a bit less brittle, if you're interested15:20
*** redir has joined #zope3-dev15:20
markusleistbenji: yes, i have a look15:21
markusleistthanx15:21
*** lisppaste6 has joined #zope3-dev15:23
markusleistbenji: did you changed it in svn?15:24
*** djohnson has joined #zope3-dev15:26
*** whit has quit IRC15:28
*** lucielejard has quit IRC15:29
*** lucielejard has joined #zope3-dev15:31
*** whit has joined #zope3-dev15:35
benjimarkusleist: svn?15:41
markusleistbenji: where did you changed the code (svn.zope.org) ?15:42
benjinope; I changed the FAQ entry15:51
*** hazmat has joined #zope3-dev15:52
*** ChanServ sets mode: +o hazmat15:52
markusleistbenji: sorry for my misunderstanding - bye15:53
*** jayaraj has joined #zope3-dev16:11
markusleistsolved like: http://trac.ict-ok.org/browser/trunk/org/ict_ok/admin_utils/usermanagement/usermanagement.py#L68 (lines 68-84)16:14
markusleistthanx a lot16:14
*** nathany has joined #zope3-dev16:17
jayarajhi friends...need a help... i have a variable called 'obj' in viewPage class which is a BrowserPage. which renders  viewpage.pt. how can i access the 'obj' inside the pt using  'tal'...  i tried "<td tal:content="obj/name">NAME</td>"... but shows error...16:20
afd_jayaraj: view/obj_name16:20
afd_but you need to set it like16:21
afd_def __call__(self):16:21
afd_    self.something = Something()16:21
afd_then you'll have it available in the template with tal:content="view/something"16:21
afd_it doesn't have to be in the __call__ also... it can be anywhere in the class, as long as you're calling that method when you're publishing the view16:22
afd_or you can have the object as a property16:22
afd_class MyView(object):16:22
afd_    @property16:22
afd_    def something(self):16:22
afd_        return Something()16:22
jayarajafd_ wot does Something() stands for16:23
afd_it stands for something :)16:23
afd_something which you may replace with whatever you need16:23
afd_there's nothing magical about the example I gave you16:23
afd_just apply your python knowledge16:23
jayarajk16:23
jayarajthanks16:24
*** rmarianski has joined #zope3-dev16:30
*** sorindregan has quit IRC16:35
jayarajafd_ got it thanks16:36
afd_np16:36
*** b52laptop has quit IRC16:45
*** b52laptop has joined #zope3-dev16:46
*** nathany has quit IRC17:19
*** jsadjohnson has joined #zope3-dev17:27
*** sorindregan has joined #zope3-dev17:28
*** edgordon has joined #zope3-dev17:32
*** quodt has joined #zope3-dev17:33
*** b52laptop has quit IRC17:33
edgordonanyone have any recommendations on hosting solutions for z3 sites? I would prefer some sort of Debian virtual machine if it is possible. Doesn't have to do any software install or anything, just friendly to me building, installing my own python/zope17:34
*** b52laptop has joined #zope3-dev17:34
benjiedgordon: I have a small rimuhosting.com VM that works pretty well; it's $20 a month17:44
*** pcardune has joined #zope3-dev17:59
pcarduneTheuni: ayt?17:59
*** nathany has joined #zope3-dev18:08
kobolddoes anybody know where I can download the theme used for http://wiki.zope.org/zope3?18:09
*** sorindregan has quit IRC18:10
*** philiKON has joined #zope3-dev18:13
*** jayaraj has quit IRC18:20
*** djohnson has quit IRC18:20
*** djohnson has joined #zope3-dev18:21
*** afd_ has quit IRC18:27
*** dobee has quit IRC18:31
*** dobee has joined #zope3-dev18:33
*** dobee has quit IRC18:34
*** nathany has quit IRC18:40
*** b52laptop has quit IRC18:52
*** sm has joined #zope3-dev19:06
*** dobee has joined #zope3-dev19:09
*** edgordon has quit IRC19:21
Theunipcardune: here19:33
pcarduneTheuni: I'm going to try and get gocept.bsquare working19:33
Theunisure, anything you need?19:33
pcardunewell, i was wondering what if any dependencies there were19:34
pcarduneor what your guy's setup.py looked like?19:34
Theunididn't the readme mention that?19:34
Theuniit's really just buildbot you need (something current_19:35
pcarduneTheuni: the README mentions "python setup.py install"... but there was not setup.py in the repository19:35
Theunioh, interesting.19:35
Theunii forgot about that19:35
Theuniyou could add a standard setup.py if you want19:36
Theunimy setup for zopebuildbot.whq.gocept.com is still a bit more ad-hoc than i wanted19:36
pcarduneTheuni: it also didn't mention needing project-list.cfg19:36
Theuniyou have to run the cronjob script one time19:36
Theunithat's the thing that produces the project-list.cfg19:36
pcarduneooh, ok19:36
TheuniI'd be happy if you update the README with your experiences.19:37
TheuniYour setup is the first "clean install"/19:37
pcarduneI will certainly do that19:37
TheuniMy version has been around for a while and I didn't test that READme manually myself19:37
pcarduneTheuni: and what about doing svn authentication (which we obviously don't need for zope repo)19:37
pcarduneactually, i mean http auth19:38
Theuniyou might want to secure your buildout and store the credentials on its disk19:38
Theunithen subversion can do its thing19:38
Theunis/buildout/buildbot/19:38
pcarduneok19:38
* benji is glad to see that he's not the only one that gets tongue-tied with "buildbot" and "buildout".19:42
*** dobee has quit IRC19:46
*** dobee has joined #zope3-dev19:48
*** dobee has quit IRC19:50
*** whit is now known as whit|lunch19:50
smgood mornin19:50
*** dobee has joined #zope3-dev19:51
smI wonder what is the easiest way to (a) add some text and (b) customize the size of list widgets on a schema-generated form ?19:55
*** djohnson has quit IRC19:59
*** whit|lunch is now known as whit19:59
pcarduneTheuni: can I see your master.cfg for svn.zope.org?20:01
*** RaFromBRC has joined #zope3-dev20:01
Theunise20:01
Theunisec20:01
Theunipcardune: http://dpaste.com/41041/20:03
pcarduneTheuni: thanks20:03
Theuninp20:03
*** edgordon has joined #zope3-dev20:08
*** Alex_____ has joined #zope3-dev20:14
*** romanofski has joined #zope3-dev20:23
*** mweichert has joined #zope3-dev20:27
*** dunny has joined #zope3-dev20:29
*** alex_smith has quit IRC20:31
pcarduneTheuni: I'm getting a strange error now.  It seems like the botmaster is not getting set for the slave I created.  Do you think I might be missing something in the master.cfg file?20:36
smrelated question: what's the approximate status of formlib vs. z3c.form ? is the latter well-regarded ?20:43
pcardunesm: it is by me :)20:45
smgood to know pcardune. It sounds like it makes it easier to customize forms20:46
smand otherwise is basically a similar concept20:46
pcarduneyeah, if you already have experience with formlib, there isn't a ginormous conceptual gap between the two20:47
smgreat20:47
pcarduneit just makes things more pluggable all around, and uses standard zope naming conventions (just camelCase and no underscores)20:48
pcarduneand also makes creating widgets slightly less frightening (but only slightly in my opinion)20:48
* sm wants a list widget with more than 5 lines20:49
pcardunesm: for that you don't even need to make you own, just extend the updateWidgets method in your form20:50
smpcardune: that's with z3c.form, right ?20:51
pcardunesm: right20:51
smok, thanks for the pointer!20:52
*** whit has quit IRC20:52
*** djohnson has joined #zope3-dev20:57
*** quodt has quit IRC20:57
*** quodt has joined #zope3-dev20:57
*** yvl has joined #zope3-dev21:01
*** whit has joined #zope3-dev21:01
Theunipcardune: hard to tell21:02
pcarduneTheuni: I just found the problem (something else I did by accident)21:03
Theunialright21:03
pcarduneTheuni: so it seems like you are required to have a local build slave?21:03
*** yvl has left #zope3-dev21:03
Theunipcardune: doesn't have to be local21:03
Theunibut you need a build slave21:03
Theunithe buildbot master only provides the coordination stuff21:03
Theunithe build slaves to the actual work21:03
Theuniyou can install them side-by-side though21:03
*** djohnson has quit IRC21:04
pcarduneTheuni: well I had setup another buildslave, not named "local"  and it kept looking for one named "local"  I don't know how that got in there21:04
Theuniah21:04
pcarduneTheuni: so I change my slave to be called "local" which allowed the master to start up... Not I'm just working on getting the slave to connect to the master.21:05
pcarduneTheuni: strange, it seems like both slave and master are running, but the master doesn't see the slave21:21
*** ktwilight_ has joined #zope3-dev21:24
*** sm has quit IRC21:33
*** sm has joined #zope3-dev21:34
*** sm has quit IRC21:35
*** sm has joined #zope3-dev21:36
*** sm has quit IRC21:37
*** ktwilight has quit IRC21:37
*** reco has joined #zope3-dev21:40
*** sm has joined #zope3-dev21:51
*** sm has quit IRC21:53
*** jodok has quit IRC21:56
*** hexsprite has joined #zope3-dev21:59
*** regebro has left #zope3-dev22:05
*** markusleist has quit IRC22:21
*** yvl_ has joined #zope3-dev22:37
*** harobed has joined #zope3-dev22:41
*** yvl_ has quit IRC22:55
*** sm has joined #zope3-dev22:57
*** sm has quit IRC22:59
*** sm has joined #zope3-dev22:59
*** nathany has joined #zope3-dev23:04
*** Alex_____ has quit IRC23:18
*** b52laptop has joined #zope3-dev23:21
*** edgordon has quit IRC23:28
*** greenman has joined #zope3-dev23:30
*** djohnson has joined #zope3-dev23:33
*** djohnson has quit IRC23:35
*** hexsprite has quit IRC23:42
*** tarek has joined #zope3-dev23:47

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