Team Chat Logs

2006 3
Mo Tu We Th Fr Sa Su
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

April 12, 2006

[00:06:30] * otaku42_away is now known as otaku42
[00:09:52] * Neo` has quit IRC
[00:28:19] * cmlenz has joined #trac
[00:57:22] * Neo` has joined #trac
[00:58:26] * s0undt3ch has joined #trac
[01:02:56] * contingencyplan has quit IRC
[01:08:17] <alect> cmlenz: this is me commencing my daily workflow review hustle
[01:08:34] <cmlenz> heh
[01:08:45] <alect> :)
[01:08:55] <alect> i've changed the fields into objects
[01:09:11] <alect> do you know of a way to easily extract object attributes when using __slots__?
[01:09:22] <cmlenz> cool
[01:09:37] <cmlenz> "extract object attributes"?
[01:09:47] <alect> as in, dynamically
[01:10:02] <alect> eg. for k, v in self.__dict__.iteritems()...
[01:10:19] <alect> but when using slots __dict__ is not defined
[01:10:29] <alect> np if not, i'll just ditch slots
[01:10:41] <cmlenz> yeah, I'd ditch them
[01:10:48] <cmlenz> I think the only option is dir(self)
[01:11:00] <cmlenz> but still, ditch them... makes inheritance troublesome
[01:11:02] <alect> mmm, hassle
[01:11:11] <alect> yeah
[01:11:48] <cmlenz> multiple inheritance, that is
[01:12:16] <bdash> slots are only useful if per-instance dictionary overhead is excessive :)
[01:13:02] <alect> yeah
[01:13:11] <cmlenz> as in, tons of small objects
[01:14:21] <alect> heh "don't
[01:14:21] <alect> use __slots__. If you think you need __slots__, still don't use
[01:14:21] <alect> __slots__."
[01:15:21] <alect> re. the query module, there are quite a few issues with custom ticket field types
[01:15:56] <alect> the interface to each type is hard coded in the template
[01:16:12] <alect> and there is a lot of hard coded magic in the query module itself
[01:16:39] <alect> what are the future plans for the module?
[01:17:06] <alect> if it's staying in the current form, i'll start modifying it to use generic field types
[01:38:44] * ValiSystM has joined #trac
[01:41:35] <cmlenz> alect: why would it change from the current form?
[01:41:46] <cmlenz> if it needs changes for workflow, so be it
[01:46:23] * spike_ has joined #trac
[01:46:26] * spike_ is now known as spike
[01:59:21] <alect> well, i recall it is supposed to replace the report module completely, that's what i was referring to really
[02:00:08] <cmlenz> erm
[02:00:18] <cmlenz> it's the other way around, really
[02:00:25] <cmlenz> the report module must DIE :-P
[02:11:37] <cmlenz> so yeah, the query module is going to replace the report module at some point, but it still needs some features that make it a suitable replacement
[02:14:47] * tic has quit IRC
[02:41:57] <alect> okay, good, that was my understanding. but in the interim, i'll just go ahead and update it
[02:43:34] <alect> it's quite stunning how few people actually read and follow installation instructions
[02:52:13] <cmlenz> hehe
[03:09:18] * tuxipuxi has joined #trac
[03:16:15] * fimii has joined #trac
[03:18:51] * idnar has quit IRC
[03:18:51] * fimion has quit IRC
[03:18:51] * dna has quit IRC
[03:18:51] * alect has quit IRC
[03:18:51] * bartc has quit IRC
[03:18:51] * kousuke has quit IRC
[03:18:51] * [eASy] has quit IRC
[03:18:51] * verm__ has quit IRC
[03:18:51] * [g2] has quit IRC
[03:18:51] * exarkun has quit IRC
[03:18:51] * pfn has quit IRC
[03:20:40] * idnar has joined #trac
[03:20:40] * fimion has joined #trac
[03:20:40] * dna has joined #trac
[03:20:40] * pfn has joined #trac
[03:20:41] * kousuke has joined #trac
[03:20:41] * verm__ has joined #trac
[03:20:41] * exarkun has joined #trac
[03:20:41] * [eASy] has joined #trac
[03:20:41] * alect has joined #trac
[03:20:41] * bartc has joined #trac
[03:20:41] * [g2] has joined #trac
[03:21:03] * fimion has quit IRC
[03:21:06] * bartc has quit IRC
[03:21:15] <alect> that smells like a lot of effort, scratch that question
[03:21:38] * bartc has joined #trac
[03:34:05] <mitsuhiko> matt_good: ping :)
[03:34:19] * kousuke has quit IRC
[03:34:31] <ranq> alect: well, most of the time reading instructions is waste of time
[03:35:23] <ranq> it it *should* be unnecessary to read them anyway
[03:35:52] <alect> that's pretty optimistic
[03:36:23] * imajes has joined #trac
[03:36:52] * idnar has quit IRC
[03:36:58] * idnar_ has joined #trac
[03:43:42] * TovAre has quit IRC
[03:45:44] * Synapse has quit IRC
[03:45:47] * _42 has quit IRC
[03:46:11] * _42 has joined #trac
[03:48:16] * Synapse has joined #trac
[03:54:33] * MasterC has joined #trac
[03:58:13] * mjg2_ has joined #trac
[03:58:23] * mjg2 has quit IRC
[04:07:19] * imajes has quit IRC
[04:25:16] * alect has quit IRC
[04:25:16] * [eASy] has quit IRC
[04:25:16] * verm__ has quit IRC
[04:25:16] * [g2] has quit IRC
[04:25:16] * exarkun has quit IRC
[04:25:16] * pfn has quit IRC
[04:25:16] * dna has quit IRC
[04:25:34] * dna has joined #trac
[04:25:34] * pfn has joined #trac
[04:25:34] * verm__ has joined #trac
[04:25:34] * exarkun has joined #trac
[04:25:34] * [eASy] has joined #trac
[04:25:34] * alect has joined #trac
[04:25:34] * [g2] has joined #trac
[04:33:47] * ryepup has quit IRC
[04:34:14] * ryepup__ has joined #trac
[04:34:16] * ryepup__ is now known as ryepup
[04:39:06] * _42_ has joined #trac
[04:39:40] * _42 has quit IRC
[04:45:06] * tuxipuxi has quit IRC
[05:02:06] * kousuke has joined #trac
[05:02:49] * cprov has joined #trac
[05:10:35] * fimii has quit IRC
[05:19:46] * idnar_ is now known as idnar
[06:02:38] * jMCg has quit IRC
[06:13:52] * muness has joined #trac
[06:33:49] * mgalvin has joined #trac
[06:39:57] * hobu has joined #trac
[06:42:38] <hobu> does anyone have a buildbot plugin for trac for something like taking in the master page <http://www.python.org/dev/buildbot/all/> and displaying build results? Would it be possible?
[06:46:58] * zacwhite has joined #trac
[06:48:21] <exarkun> hobu: Are you interesting in working on such a thing? :)
[06:48:29] <exarkun> s/int/ed/
[06:48:30] <exarkun> arg
[06:48:42] <hobu> possibly. Was wondering if anyone else has already started something
[06:49:27] <hobu> I only wrote my first plugin yesterday though ;)
[06:49:55] <exarkun> The buildbot author is interested in doing something like this, but he is rather overloaded
[06:52:00] <exarkun> You might want to join the mailing list and make some noise, or find him on IRC (nick is warner)
[06:53:17] <hobu> will do
[06:54:32] <idnar> there is also Bitten
[06:55:52] * hobu is thoroughly committed to buildbot at this point
[06:56:21] <idnar> ederesting. heh.
[06:56:41] <hobu> but integration between trac and the build system is a must have IMO
[06:57:03] * ryepup has quit IRC
[06:57:21] <zacwhite> who wants to help a newb :)
[06:57:35] <zacwhite> I'm one of those people that joins #trac to just ask a question
[07:00:24] <zacwhite> http://trac.audipad.com/index.fcgi
[07:00:31] * danbeck has joined #trac
[07:00:37] <zacwhite> I missed something along the way, and I can't figure it out
[07:05:20] * matt_good has quit IRC
[07:09:10] * matt_good has joined #trac
[07:22:01] * chandlerc has joined #trac
[07:29:07] * zacwhite has quit IRC
[07:29:15] <alect> hey matt
[07:33:58] <alect> ah well
[07:34:05] <alect> 300 tickets on trachacks
[07:34:09] <alect> it's like...a birthday or something
[07:35:05] * tonib_ has joined #trac
[07:38:44] * GURT has joined #trac
[07:39:12] <GURT> does trac have the ability to allow users to retrieve their passwords?
[07:41:05] <alect> no
[07:45:21] <GURT> why not?
[07:47:00] <idnar> trac doesn't handle authentication directly, and .htpasswd files only contain the password hash, so the cleartext password isn't readily available
[07:47:04] * zacwhite has joined #trac
[07:47:42] <GURT> thanks for the info
[07:47:51] <idnar> that's my guess, anyway ;)
[07:47:52] * GURT has left #trac
[07:53:26] * klasstek has joined #trac
[07:56:08] * cprov is now known as cprov-lunch
[08:05:30] * ryepup has joined #trac
[08:08:27] * coderanger_ has joined #trac
[08:08:40] <alect> SYN
[08:11:06] <matt_good> ACK
[08:11:27] <alect> :)
[08:13:38] <alect> coderangeR: new toc plugin works nicely
[08:22:12] * danbeck has quit IRC
[08:22:56] * whitelynx|firest has joined #trac
[08:24:05] * danbeck has joined #trac
[08:29:42] <cmlenz> hey matt_good
[08:30:58] <cmlenz> what's up with that moving the report-related DB stuff you added in [2941] to the report module?
[08:31:13] <cmlenz> just noticed it in a totally unrelated traceback, which reminded me
[08:31:16] <cmlenz> :-)
[08:35:57] * fredb has joined #trac
[08:38:00] * hunmaat has left #trac
[08:41:49] <matt_good> cmlenz: oh, right I forgot about that
[08:43:51] <matt_good> I'll try to do that this evening
[08:46:59] <cmlenz> cool
[08:50:03] <dilinger> blah
[08:50:14] <alect> nicely put
[08:50:18] <dilinger> :)
[08:50:20] <cmlenz> hey dilinger
[08:50:22] <dilinger> hello
[08:50:46] <dilinger> do we have any timeline for 0.10, as far as hard date for features?
[08:50:52] <cmlenz> still interested in commit access for trac... after all the delay? :-P
[08:50:55] <dilinger> or can i put of trac stuff for another week?
[08:50:59] <dilinger> cmlenz: sure
[08:51:20] * dilinger is swamped w/ work atm
[08:51:23] <cmlenz> cool, I'll try to set you up with an account tomorrow
[08:51:47] <cmlenz> 0.10 timeline: april would be nice... but increasingly unrealistic
[08:51:54] <alect> heh
[08:52:19] <dilinger> on the TODO list, it's just mysql support and spam filtering, right?
[08:52:34] <cmlenz> yeah... well *hooks* for spam filtering, not spam filtering itself
[08:52:37] * tuxipuxi has joined #trac
[08:52:39] <cmlenz> which would go in a plugin
[08:52:42] <dilinger> *nod*
[08:52:55] <dilinger> how's that looking?
[08:53:31] <cmlenz> talked about it yesterday with alect... I think we're going to backport the ITicketManipulator from workflow, and add an equivalent for wiki pages
[08:53:57] <cmlenz> not a huge undertaking, but need to get the API right
[08:54:13] <dilinger> right
[08:54:29] <dilinger> alright, gotta run. later!
[08:56:19] <exarkun> is 0.10 going to have an extension point for observing ticket changes?
[08:57:31] <alect> probably this: http://projects.edgewall.com/trac/browser/sandbox/workflow/trac/ticket/api.py#L60
[08:57:58] <alect> specifically the validate_ticket() method
[08:58:34] <exarkun> Hm
[08:58:35] <exarkun> Cool
[08:58:54] <exarkun> I can't quite tell what validate_ticket should do from the docstring though. In particular, what if there are no problems with the ticket?
[08:59:08] <alect> then the returned list is empty
[08:59:15] <exarkun> Ah
[09:10:18] * tavancini has joined #trac
[09:11:01] <cmlenz> there should probably still be a model-level ITicketChangeListener extension point
[09:13:23] <exarkun> right now I have my own observer extension point and one plugin which abuses it to reject changes (by raising an exception, preventing the transaction from being committed) and another which is actually just a listener
[09:13:35] <exarkun> they run in a random order though which is really lame
[09:14:06] <exarkun> it'd definitely be nice to have an interface for reject-the-change and a separate one for something-happened (but you cannot stop it)
[09:14:57] <cmlenz> exactly
[09:17:25] <tavancini> where i can add a menu item on trac?
[09:17:36] <tavancini> is there a way to do this?
[09:18:11] <pacopablo> write a plugin that implement INavigationProvider
[09:18:33] <pacopablo> er, INavigationContributor
[09:19:45] <matt_good> cmlenz: any ideas how to deal with SQLite2 not supporting "ESCAPE" ?
[09:26:53] * zacwhite has quit IRC
[09:27:09] <alect> tavancini: TracNavPluginhttp://trac-hacks.org/wiki/TracTabPlugin
[09:27:21] <alect> err, -TracNavPlugin
[09:27:25] <alect> might do what you want
[09:27:38] <tavancini> thanks!!
[09:29:05] <alect> cmlenz: want me to whip up a patch for that?
[09:30:06] <cmlenz> matt_good: add a db.escape() hack? :-P
[09:30:11] <cmlenz> alect: sure thing ;-)
[09:38:36] * imajes has joined #trac
[09:43:13] <tavancini> how i can enable the tractab plugin??
[09:43:37] * cprov-lunch is now known as cprov
[09:43:48] <pacopablo> tractab.* = enabled in the [compenents] section of trac.ini
[09:43:51] * pacopablo guesses
[09:45:15] <tavancini> strange..threre is no difference for the interface
[09:45:35] <pacopablo> @logging
[09:45:35] <evil_twin> pacopablo: "logging" is http://projects.edgewall.com/trac/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[09:45:45] <pacopablo> make sure you have your log turn up to debug
[09:45:53] <pacopablo> and then check to see if the plugin is being loaded
[09:47:59] * cmlenz has quit IRC
[09:48:49] <tavancini> cool! it worked
[09:49:36] <coderanger_> alect: Is Toc behaving now?
[09:49:45] <alect> sure is
[09:49:48] <alect> :)
[09:52:49] <galis> humm, prblem with trac wikiformatting
[09:52:57] * tavancini has left #trac
[09:53:14] <galis> ?
[09:53:22] <coderanger_> excellent
[09:53:27] <pacopablo> galis: ??
[10:09:58] * mjg2 has joined #trac
[10:10:31] * mjg2_ has quit IRC
[10:20:40] * cmlenz has joined #trac
[10:24:19] <alect> cmlenz: what about enum/component change listeners?
[10:24:30] <alect> and milestone
[10:24:44] <alect> and version
[10:27:39] <cmlenz> don't think we need that quite as urgently yet
[10:28:03] <cmlenz> sorry, gotta go again
[10:28:07] * cmlenz has quit IRC
[10:53:25] * otaku42 is now known as otaku42_away
[10:57:15] * _42_ is now known as _42
[10:57:49] <alect> what is the answer to life, the universe and everything?
[10:57:58] <pacopablo> 42
[10:58:26] * mjg2_ has joined #trac
[10:58:36] <_42> Indeed
[10:59:51] * sam`_ has joined #trac
[11:00:43] <matt_good> alect: yes, but what is the question?
[11:01:06] <pacopablo> that's what earth is for :)
[11:01:31] <alect> well, i'd need to build another computer to find the question
[11:01:36] * mjg2_ has quit IRC
[11:06:56] * sam` has quit IRC
[11:07:09] * jcw9 has joined #trac
[11:17:23] * dilinger has quit IRC
[11:22:31] * whitelynx|firest has quit IRC
[11:40:17] * wnorrix has joined #trac
[11:40:48] * ValiSystM has quit IRC
[11:46:42] * dilinger has joined #trac
[11:51:21] * mjg2 has quit IRC
[11:53:06] <alect> paco: blog! http://trac-hacks.org
[11:53:34] <pacopablo> w00t!
[11:53:47] <alect> be good if that <hr> wasn't there
[11:53:54] <pacopablo> ooh nice!
[11:54:01] <pacopablo> I'll make that an option
[11:54:23] <alect> can you mark the last one and not display it? that would be ideal
[11:54:44] <pacopablo> picky, picky :)
[11:54:44] <alect> ie. only display <hr> if it separates two blog posts, not at the end
[11:54:46] <alect> heh
[11:54:47] <pacopablo> yeah, I can do that
[11:55:03] <pacopablo> do you think I should also make it optional inbetween posts?
[11:55:06] <alect> cool
[11:55:29] <alect> probably not necessary, it can be styled out of people don't like it
[11:56:15] <alect> much like i just did :)
[11:59:17] <pacopablo> hehe
[12:01:04] <alect> very nice
[12:01:39] * mjg2 has joined #trac
[12:02:13] <alect> is it possible to display X number of posts?
[12:02:16] <alect> rather than by time?
[12:02:29] <alect> or in addition to
[12:02:34] <pacopablo> what do you mean?
[12:02:53] <pacopablo> ahh, I see what you're saying
[12:02:58] <pacopablo> um, not right now
[12:03:03] <pacopablo> let me think about that
[12:03:17] <pacopablo> rather, let me think about the best way to add that
[12:04:27] <pacopablo> ugh, is there a way to tell whether or not teh value one is currently operating on is the last iteration of a loop?
[12:05:15] <alect> use enumerate(): for i, value in enumerate(foo): if len(foo) -1 == i: ...
[12:05:31] <pacopablo> good thinking
[12:06:30] <alect> that looks quite cool i think
[12:06:37] * ryepup has quit IRC
[12:06:37] <alect> a bit of stylesheet magic, and voila
[12:07:03] <pacopablo> it does look nice :)
[12:07:47] * stevegt has quit IRC
[12:11:45] <pacopablo> HDFWrapper doesn't support retrieving values, from the HDF, does it?
[12:12:15] <alect> should do: hdf['foo.bar.zoo']
[12:12:18] <pacopablo> nm, don't need it too
[12:13:58] <pacopablo> for the X number of posts, should it also be bound by whatever time frame you give it?
[12:14:22] <pacopablo> probably not, since that makes crossing years hard without specifying startdate and enddate
[12:14:22] <alect> i'd like it to
[12:14:36] <alect> ah
[12:14:38] <alect> hmm
[12:14:53] <coderanger_> alect: Isn't it 4AM over there?
[12:14:56] <alect> i'd be happy with just "show X posts"
[12:14:59] <alect> 5am
[12:15:00] <pacopablo> so if you say 5 posts, and also say month of march, should it show you 5 posts, or only the 3 that are in march?
[12:15:06] <alect> i need to sleep soon
[12:15:08] <alect> badly
[12:15:26] <pacopablo> alect: in many ways, bounding it by time is easier for me, but is that desired?
[12:16:14] <alect> i'm not sure i know what you mean by bounded
[12:16:25] <pacopablo> it means that if you want to make sure you get 5 posts cross years, you'll have to specify startdate and enddate which are specified in seconds since the epoch
[12:16:48] <alect> ah
[12:17:15] <pacopablo> alect: if you only have 3 posts in march, and you specify numposts=5 and month=3, should that show you 3 posts from march and 2 from feburary, or only the 3 from march that exist
[12:17:16] <alect> perhaps they could default to 0 and "infinity" respectively, if you specify X posts
[12:17:31] <alect> i'd think 3 from march
[12:17:34] <pacopablo> hmm, that shouldn't be too hard.
[12:18:06] * [g2] has left #trac
[12:18:35] <pacopablo> hmm, anyone know where the max int value is defined in python?
[12:18:49] * tiagovaz has joined #trac
[12:19:30] <matt_good> pacopablo: sys.maxint
[12:19:36] <pacopablo> matt_good: thanks
[12:20:02] <alect> http://trac-hacks.org/ticket/305
[12:20:21] <alect> heh
[12:20:24] <alect> can't please everybody :)
[12:20:56] <pacopablo> oops :)
[12:21:17] <alect> right, bed
[12:21:18] * alect waves
[12:21:30] <pacopablo> night, I'll have the changes ready when you awake :)
[12:22:03] <alect> eeeeeeeeeeeexcellent
[12:40:02] * jcw9 has quit IRC
[12:45:51] * wnorrix has quit IRC
[12:46:17] * ryepup has joined #trac
[12:53:13] * eblot has quit IRC
[12:54:43] * idostyle has joined #trac
[12:55:57] * eblot has joined #trac
[13:00:38] * chandlerc has quit IRC
[13:10:16] * eblot has quit IRC
[13:22:34] * coderanger_ has quit IRC
[13:45:49] * wnorrix has joined #trac
[13:47:44] * hobu has left #trac
[13:48:48] <pacopablo> changes done alect
[13:57:26] * muness has quit IRC
[14:01:49] * mgalvin has quit IRC
[14:18:42] * zacwhite has joined #trac
[14:19:38] <zacwhite> http://trac.audipad.com/index.fcgi
[14:19:52] <zacwhite> don't spend a lot of time with it or anything, but do any of you know what those errors might point to?
[14:23:29] <matt_good> “trac.audipad.com” could not be found.
[14:23:57] <pacopablo> matt_good: I found it :)
[14:24:09] <zacwhite> hm, that is odd
[14:24:14] <pacopablo> zacwhite: looks like somethign wrong with your sqlite bindings and/or db
[14:24:23] <zacwhite> yeah
[14:24:40] <zacwhite> what kind of permissions does my trac environment have to have?
[14:25:54] <pacopablo> the web server shold have rw perms on the trac environment
[14:26:56] <zacwhite> well, I think I did that... I just chmod -R 777 tracenviron :)
[14:27:14] <zacwhite> I'm on a shared host and couldn't chown it to the apache user
[14:27:37] <zacwhite> yeah, I have some installation problems of something
[14:27:54] <zacwhite> ~/lib/python2.3/site-packages/libsvn doesn't exist
[14:28:26] <zacwhite> is that SWIG that installs that?
[14:28:30] <pacopablo> yes
[14:28:38] <pacopablo> well, it's the swig bindings
[14:28:52] <pacopablo> they're found in the subversion code
[14:28:55] <pacopablo> bbiab
[14:29:01] <zacwhite> ah, ok
[14:33:05] * chandlerc has joined #trac
[14:42:45] * tolsen has quit IRC
[14:45:48] * MasterC has quit IRC
[14:50:17] * tolsen has joined #trac
[14:50:53] * cprov has quit IRC
[14:51:12] * benny`laptop has joined #trac
[14:53:41] <benny`laptop> hi! is it possible to install trac on sourceforge?
[14:57:28] <zacwhite> Indexing repository
[14:57:29] <zacwhite> Segmentation fault
[14:57:31] <zacwhite> awesome
[14:59:11] * benny`laptop has quit IRC
[15:06:59] * tiagovaz has quit IRC
[15:17:53] * danbeck has quit IRC
[15:23:19] * Semhirage has quit IRC
[15:23:28] * Semhirage has joined #trac
[15:36:49] * cmlenz has joined #trac
[15:38:42] * Semhirage_ has joined #trac
[15:38:45] * Semhirage has quit IRC
[15:39:03] * klasstek has quit IRC
[15:42:56] * matt_good has quit IRC
[15:44:14] * zacwhite_ has joined #trac
[15:44:59] * zacwhite has quit IRC
[15:46:33] * lightcap has joined #trac
[15:50:28] * zacwhite_ has quit IRC
[15:51:14] * zacwhite_ has joined #trac
[15:59:12] * sam`_ is now known as sam`
[16:04:29] * tiagovaz has joined #trac
[16:14:00] * chandlerc has quit IRC
[16:16:21] <pacopablo> hmm, I'm getting the dreaded UnicodeDecodeError
[16:16:41] <pacopablo> cmlenz: you around?
[16:17:17] <cmlenz> technically yes, otherwise, not so much :-P almost off to bed
[16:17:27] <pacopablo> what's the general solution?
[16:17:40] <