Team Chat Logs

2006 11
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 31

December 24, 2006

[00:33:39] * lisppaste5 has quit IRC
[00:37:24] * lisppaste5 has joined #trac
[00:42:01] * wter has joined #trac
[00:51:57] * xjjk has quit IRC
[01:40:31] * s0undt3ch_ has joined #trac
[01:42:04] * _dmax has joined #trac
[01:57:01] * m_g has joined #trac
[01:57:02] * s0undt3ch has quit IRC
[01:57:02] * s0undt3ch_ is now known as s0undt3ch
[01:57:17] * dmax has quit IRC
[01:57:19] * _dmax is now known as dmax
[02:06:46] * Hadaka has quit IRC
[02:30:55] * _shawn has joined #trac
[02:41:30] * pygi has joined #trac
[03:14:14] * _shawn has quit IRC
[03:18:46] * benofsky has joined #trac
[03:19:41] <benofsky> trac-admin /path/to/myproject initenv, is that to be run in your svn project dir or will that break your svn?
[03:23:31] <pygi> benofsky, the dir where you want to init trac enviroment :P
[03:23:51] <benofsky> where would that be, pygi?
[03:24:07] <pygi> benofsky, I dunno where you want to create a trac enviroment :P
[03:24:32] <benofsky> neither do I, I want to setup trac with my svn project located in /home/svn/copywrite
[03:24:38] <benofsky> :P
[03:24:42] <benofsky> never used trac before
[03:24:55] <benofsky> *installed
[03:25:05] <pygi> dunno, put it in /home/svn/trac or something? :P
[03:25:11] <benofsky> ok
[03:25:46] <pygi> dunno, I'm weird today (as always:P)
[03:26:38] <benofsky> :P
[03:26:43] <benofsky> does mysql work well with trac
[03:26:51] <pygi> dunno, I use sqlite
[03:26:58] <pygi> but I don't see why it wouldn't ;)
[03:27:08] <benofsky> I've never used sqlite
[03:27:16] <benofsky> database connection string?
[03:27:33] <benofsky> I think freebsd installed sqlite
[03:28:12] <maxb> sqlite's fine for small installations, but it can be a horrible source of slowness
[03:28:21] <benofsky> ok this isn't big
[03:28:43] <benofsky> but I'd like to go with mysql since thats what've used before
[03:28:56] <benofsky> will mysql:db/trac.db work as connection string? maxb
[03:29:36] <maxb> I don't know, but my guess is: no, absolutely not!
[03:29:54] * PingYeh_ has joined #trac
[03:30:03] <benofsky> Failed to create environment. Database connection string mysql:db/trac.db must start with scheme:/
[03:30:13] <maxb> It's hardly as if mysql stores databases in specific file where you tell it to, after all
[03:30:21] <benofsky> Database connection string [sqlite:db/trac.db]>
[03:30:25] <maxb> s/file/files/
[03:30:26] <benofsky> that's why
[03:30:40] <benofsky> I thought ...
[03:31:20] <benofsky> aah silly me
[03:31:26] <benofsky> mysql://johndoe:letmein@localhost:3306/trac
[04:07:14] * benofsky has left #trac
[05:40:48] * [algo] has joined #trac
[05:40:55] <[algo]> Trac works with python 2.5 ?
[05:43:08] <misc> yes
[05:43:36] <[algo]> Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 171, in dispatch chosen_handler = self.default_handler File "/usr/lib/python2.5/site-packages/trac/config.py", line 383, in __get__ self.section, self.name)) AttributeError: Cannot find an implementation of the
[05:43:36] <[algo]> "IRequestHandler" interface named "WikiModule". Please update the option trac.default_handler in trac.ini.
[05:44:06] <[algo]> what may be wrong ?
[05:46:52] <[algo]> hm, default config working
[05:59:59] * tsb has quit IRC
[06:17:29] * francois-simond has quit IRC
[06:19:36] * francois-simond has joined #trac
[07:30:07] <blinx> what can I do: TracError: Unsupported version control system "svn"
[07:30:23] <blinx> I updated python to 2.5 and now the problem is there
[07:31:22] <coderanger> You need to rebuild the subversion bindings
[07:32:18] <blinx> ok
[07:33:20] <blinx> with any specific configure options?
[07:34:11] <coderanger> no, just needs to be built against the 2.5 headers
[07:34:59] <blinx> ok
[07:45:00] <blinx> need I berkeley db?
[07:45:23] <maxb> If you want to access berkeley db svn repositories
[07:45:37] <blinx> hm
[07:46:01] <blinx> I don't know
[07:46:14] <blinx> I have a repo to which trac should access to
[07:56:47] <[algo]> wow
[07:56:49] <[algo]> newticket page
[07:56:52] <[algo]> takes 0.3 seconds
[07:56:56] <[algo]> that's soooo slow
[08:06:05] <[algo]> any benchmarks for Genshi ?
[08:06:44] <[algo]> can I test 0.11 timeline ?
[08:08:28] * JLeCours_ has quit IRC
[08:08:55] * idnar has joined #trac
[08:12:06] * bnovc has quit IRC
[08:12:27] * bnovc has joined #trac
[08:16:12] <coderanger> in the genshi source tree there is a comparative benchmark system
[08:16:43] <coderanger> just looking at render time though, not for stuff with Trac (since that includes DB access and shatnot)
[08:18:21] <[algo]> can I install 0.11 ?
[08:18:26] <[algo]> and try
[08:18:32] <[algo]> which pieces I can try ?
[08:18:46] <[algo]> I need ticketing and timeline/svn browsing
[08:19:23] * idnar_ has quit IRC
[08:20:04] <coderanger> There are instructions for getting trunk on the TracDownload page
[08:20:27] <coderanger> but be warned, Genshi is currently somewhat slower w.r.t. render time then ClearSilver
[08:20:58] <[algo]> timeline stuff can be tested ?
[08:21:05] <[algo]> tickets stuff?
[08:21:21] <coderanger> well it "works", but its under active development
[08:21:32] <coderanger> so you will probably find a few rough edges
[08:28:18] <[algo]> I tried trac
[08:28:21] <[algo]> on my machine
[08:28:26] <[algo]> 0.3 sec for newticket page
[08:28:37] <[algo]> that's too much for our company =(
[08:28:38] <m_g> lol
[08:28:43] <m_g> why?
[08:28:47] <[algo]> why ?
[08:28:48] <m_g> do they post 30 tickets/second?
[08:28:56] <[algo]> because that's the stuff I expect to fire instantly
[08:28:58] <[algo]> be nice to use
[08:29:05] <[algo]> 0.3 is too much
[08:29:12] <[algo]> I expect to click and get immediate answer
[08:29:17] <m_g> ah i see.. 0.3 is quite a long time
[08:29:20] <[algo]> yes
[08:29:23] <[algo]> it is noticeable
[08:29:42] <m_g> you could write a whole new ticket system in 0.3 seconds
[08:32:06] <[algo]> yeah
[08:32:09] <[algo]> I could write a new trac
[08:32:39] <[algo]> but I'd like existing one to become better +)
[08:32:53] <[algo]> I'll try genshi to see if 0.11 gonna be useful for us
[08:33:11] <m_g> what's the acceptable limit? 0.2 seconds?
[08:34:42] <[algo]> 0.1
[08:35:15] * hotte has joined #trac
[08:36:31] <m_g> ah
[08:36:34] <m_g> and 0.15?
[08:41:03] <[algo]> no
[08:41:07] <[algo]> 0.1
[08:41:12] <[algo]> 0.09 is ok too
[09:14:17] <[algo]> is there a desktop plugin or something ?
[09:14:20] <[algo]> jabber/icq plugin ?
[09:14:27] <[algo]> to send tickets w/o web interface
[09:16:34] <coderanger> mylar
[09:17:21] <[algo]> mylar ?
[09:17:58] <coderanger> google ftw ;-)
[09:18:07] <[algo]> http://www.eclipse.org/mylar/
[09:18:19] <coderanger> http://wiki.eclipse.org/index.php/Mylar_Trac_Connector
[09:30:21] <blinx> coderanger: ping
[09:30:27] <coderanger> yah
[09:31:24] <blinx> I compiled and installed subversion from source
[09:31:32] <blinx> but my problem is still there
[09:31:40] <blinx> http://pylucid.net/trac
[09:31:50] <blinx> I reinstalled trac with no effect
[09:32:02] <blinx> what have I to do?
[09:32:27] <coderanger> from the command line run "python -c 'from svn import fs'"
[09:32:41] <blinx> Traceback (most recent call last): File "<string>", line 1, in <module>
[09:32:42] <blinx> ImportError: No module named svn
[09:32:43] <blinx> hm
[09:32:45] <blinx> shit
[09:32:59] <blinx> only subversion
[09:33:02] <blinx> no pysvn..
[09:33:12] <coderanger> did you redo the linking silliness?
[09:33:40] <blinx> what linking?
[09:33:58] <coderanger> the subversion bindings install into something like /usr/lib/python-subversion
[09:34:01] <coderanger> so you need to do this:
[09:34:20] <coderanger> echo "/usr/lib/python-subversion" >>/usr/lib/python2.5/site-packages/subversion.pth
[09:35:14] <blinx> hm
[09:35:16] <blinx> done
[09:35:28] <coderanger> make that those paths are right
[09:35:31] <blinx> but python is not able to import the module
[09:35:34] <coderanger> er, make sure
[09:35:46] <coderanger> like ls /usr/lib/python-subversion
[09:36:01] <coderanger> it might subversion-python instead or something like that
[09:36:07] <coderanger> I don't have a box to check on right now
[09:36:11] <blinx> the directory doesn't exist
[09:36:56] <blinx> python-subversion exists only for python2.4 so it is right
[09:37:24] <coderanger> ls /usr/lib/svn-python
[09:37:37] <blinx> ls: /usr/lib/svn-python: No such file or directory
[09:37:51] <coderanger> /usr/local/lib/svn-python
[09:38:03] <blinx> too
[09:38:05] <coderanger> it had to install somewhere :P
[09:40:24] <blinx> hm
[09:40:27] <blinx> hm
[09:42:05] <blinx> so
[09:42:09] <blinx> merry Xmas
[09:42:12] <blinx> I have to go
[09:42:16] <coderanger> laters
[09:42:36] <blinx> yes
[09:42:36] <blinx> cu
[09:42:42] <blinx> when are you online tomorrow?
[09:42:54] <coderanger> No idea
[09:42:59] <blinx> ok
[09:43:00] <blinx> we see us
[09:43:01] <blinx> cu
[09:43:03] <blinx> bye
[09:43:06] <blinx> merry Xmas
[09:43:08] <blinx> @ all!
[09:43:09] <evil_twin> blinx: Error: "all!" is not a valid command.
[09:43:11] <coderanger> to you too
[09:43:16] <blinx> thx
[11:09:27] * bryanl has joined #trac
[11:27:45] * ErikRose has joined #trac
[11:37:57] * ropoctl has joined #trac
[11:38:35] <ropoctl> im browsing sources and diffs of a utf8 encoded file, and trac isnt rendering the funny letters right
[12:24:54] * xjjk has joined #trac
[13:01:17] * ropoctl has left #trac
[13:14:25] * ErikRose has quit IRC
[13:22:59] * hotte has quit IRC
[13:31:37] * omry has quit IRC
[13:38:06] * lnayrb has joined #trac
[13:41:15] * prisoner has left #trac
[13:41:43] * lnayrb has quit IRC
[13:53:38] * bryanl has quit IRC
[13:58:04] * Gershwin has joined #trac
[14:10:36] * Gershwin has quit IRC
[14:40:05] * liq has joined #trac
[14:40:14] * liq is now known as Liquidice
[14:40:42] <Liquidice> I'm having trouble installing ClearSilver...
[14:40:43] <Liquidice> /usr/bin/ld: warning -L: directory name ( $(NEOTONIC_ROOT)/libs/) does not exist
[14:40:48] <Liquidice> I keep getting that damn thing
[14:52:27] <Liquidice> Sigh
[15:25:07] * omry has joined #trac
[15:54:06] * sasha_ has joined #trac
[15:54:37] * sasha_ has left #trac
[15:55:41] * grotsasha has joined #trac
[15:56:10] <grotsasha> hallo, somebody here :) ?
[15:57:07] <pygi> no :P
[15:57:11] <grotsasha> :)
[15:57:18] <grotsasha> I have a quick question
[15:57:46] <grotsasha> on every commit message, trac says "post commit hook failed"
[15:58:02] <grotsasha> why is that? any ideas?
[15:58:02] <misc> you mean svn ?
[15:58:06] <grotsasha> yeah, sorry
[15:58:08] <grotsasha> I mean svn yeah
[15:58:24] <misc> and what is the post-commit hook script ?
[15:58:38] <misc> ( in $SVN/hooks/post-commit )
[15:59:22] <grotsasha> eh, it was installed with version 0.10.2
[15:59:34] <grotsasha> I guess it was there by default no?
[15:59:40] <misc> no
[15:59:42] <grotsasha> oh
[15:59:42] <grotsasha> ok
[15:59:52] <misc> trac do not add post-commit hook, so someone must have added it
[15:59:57] <grotsasha> I'll get access to server
[16:00:03] <grotsasha> I didn't install it, but I can look
[16:00:04] <Liquidice> Why would I get a : TracError: Unsupported version control system "svn"
[16:00:16] <misc> Liquidice: wrong python-svn module ?
[16:00:21] <Liquidice> mm ok
[16:00:31] <Liquidice> forgot to install the svn bindings probably
[16:04:31] <grotsasha> I found a trac post commit hook in trac-root directory
[16:04:42] <grotsasha> is is what is needed?
[16:04:53] <grotsasha> it doesn't have a version number though
[16:04:57] <grotsasha> says only 2004
[16:05:25] <grotsasha> or should I look somewhere in svn repository?
[16:06:21] <grotsasha> oh, I'm stupid, I got it
[16:07:32] <grotsasha> ok I see the script in question
[16:07:38] <grotsasha> what info do you need from it?
[16:09:32] <grotsasha> #!/bin/sh
[16:09:34] <grotsasha> REPOS="$1"
[16:09:34] <grotsasha> REV="$2"
[16:09:34] <grotsasha> LOG=`/opt/local/bin/svnlook log -r $REV $REPOS`
[16:09:34] <grotsasha> AUTHOR=`/opt/local/bin/svnlook author -r $REV $REPOS`
[16:09:35] <grotsasha> starts like that
[16:09:45] <grotsasha> all paths look ok
[16:09:47] <misc> and svn is in /opt/local ?
[16:09:54] <grotsasha> we have two installs of svn
[16:09:58] <grotsasha> one in /opt
[16:10:04] <grotsasha> one in /usr/local
[16:10:18] <grotsasha> because before trac the one in /usr/local was used
[16:10:24] <misc> when run by hand, does it work ? ( with proper parmaeter )
[16:10:42] <grotsasha> and then when trac was installed, svn in /opt was installed as well
[16:10:50] <grotsasha> what do you mean, run by hand?
[16:10:51] <grotsasha> the script?
[16:11:11] <grotsasha> what should I give it as param?
[16:11:37] <misc> path to svn, and revision number of the last commit
[16:11:46] <misc> maybe running with bash -x would help
[16:12:03] <grotsasha> what path should I give though :)
[16:12:17] <misc> to svn repository
[16:12:31] <grotsasha> messages doesn't come through
[16:12:33] <grotsasha> oh
[16:12:36] <grotsasha> now ok
[16:12:39] <grotsasha> I mean I have two paths
[16:12:47] <grotsasha> opt and usr
[16:12:57] <grotsasha> svn version is same for both
[16:13:16] <grotsasha> and maybe (not sure though) this message began to appear when I updated svn in /opt to the latest version
[16:13:27] <grotsasha> no, svn in /usr
[16:13:33] <grotsasha> opt was installed with trac
[16:13:35] <misc> so i guess the script fail to run for some reason
[16:13:40] <grotsasha> I updated /usr
[16:14:06] <grotsasha> is it important what the user has in his bashrc file as $PATH ?
[16:14:18] <grotsasha> because the svn repository is at the user level
[16:14:22] <grotsasha> not at the machine level
[16:14:30] <grotsasha> maybe the path is not being accessed somehow?
[16:14:33] <misc> try to run bash -x $SVN/hooks/postcommit $SVN $random_rev, under the uid of the user that commit to svn
[16:14:40] <grotsasha> ok
[16:14:53] <misc> ( ie, apache or httpd user, if using apache, etc )
[16:15:09] <grotsasha> that's getting difficult :)
[16:15:24] <grotsasha> I'm ssh ing our Xserve
[16:15:43] <grotsasha> so I should try to be careful :)
[16:15:46] <grotsasha> ok, here we go
[16:17:14] <grotsasha> how can I get the uid of apache ....
[16:17:19] <grotsasha> sorry for stupidity :)
[16:17:33] <grotsasha> I'm far from being unix guru
[16:17:54] <misc> id apache ?
[16:18:02] <misc> i am sorry, i need to go sleep :/
[16:18:25] <grotsasha> thanks :)
[16:18:27] <misc> the error message is harmless, you should therefor see with the admin that installed the server
[16:18:34] <misc> +later
[16:18:36] <grotsasha> okkkk
[16:18:38] <grotsasha> thanks
[16:18:47] <grotsasha> bye
[16:18:54] <misc> at worst, the only problem is that mail are not sent
[16:19:05] <grotsasha> ok, I see
[16:19:10] <misc> or there is no close bug on commit features, etc
[16:19:21] <grotsasha> I see
[16:25:36] * Liquidice has left #trac
[16:28:54] * grotsasha has left #trac
[16:50:50] * bryanl has joined #trac
[16:59:58] * dilinger has joined #trac
[17:26:15] * wter has quit IRC
[17:28:46] * kousuke has joined #trac
[17:30:42] * m_g has quit IRC
[17:52:37] * maxb has quit IRC
[18:41:41] <wardi> can I just drop .py files in my project plugins directory and use them from the wiki? It's not working for me
[18:45:10] <coderanger> If they are trac plugins
[18:45:25] <coderanger> they will just get imported
[18:45:58] <coderanger> perhaps you are thinking of old-style macros?
[18:46:02] <wardi> I tried copying them from the trac macros directory..
[18:46:08] <coderanger> those go in the macros/ folder
[18:46:16] <wardi> oh
[18:47:33] <wardi> Is there a place I can put macros that I only want accessible to one project?
[18:47:56] <s0undt3ch> on that projects's env macros dir
[18:48:18] <s0undt3ch> /trac/<project>/macros
[18:48:36] <s0undt3ch> adjusted to your paths of course
[18:48:40] <wardi> doesn't seem to work for me
[18:50:00] * xjjk has quit IRC
[18:50:01] <s0undt3ch> maybe the macro is outdated?
[18:50:02] <wardi> uh.. oh. "wiki-macros"
[18:50:09] <wardi> didn't see that
[18:50:18] <wardi> thanks s0undt3ch, coderanger
[18:51:06] <s0undt3ch> ops sorry, yes, wiki-macros
[18:51:37] <coderanger> also make sure you aren't using 0.11dev
[18:51:46] <coderanger> since macros won't work on that
[18:51:58] <wardi> are macros going away?
[18:52:20] <coderanger> the old-style ones, yes
[18:52:51] <coderanger> since they would all need to be changed to work with Genshi, and people might as well just port them to be plugins
[18:53:02] <coderanger> its a very straight forward conversion
[18:53:23] <coderanger> its just an issue of how they are loaded
[19:14:10] <s0undt3ch> in some months we'll be saying, hey how many plug are you loading, hmmm 20!
[19:15:26] <s0undt3ch> :)
[19:16:52] <coderanger> heh, I have about 40 on here
[19:16:57] <coderanger> granted most are my own ...
[19:19:10] <s0undt3ch> heh, and I was thinking 20 was a big number :)
[19:20:02] <coderanger> it just means it takes about 15 seconds to load everything up post-restart
[19:21:22] * wardi doesn't use any yet
[19:24:02] <s0undt3ch> coderanger: so why do mine keep reloading?
[19:24:12] <coderanger> plugins?
[19:24:18] <coderanger> what frontend are you using
[19:24:37] <s0undt3ch> not that it shows any abnormal load
[19:24:39] <s0undt3ch> mod_python
[19:25:08] <s0undt3ch> oh, and debug is on :)
[19:25:17] <s0undt3ch> logging to file
[19:27:27] <coderanger> what mpm?
[19:28:05] <coderanger> and what is MaxRequestsPerChild set to
[19:31:12] * lnayrb has joined #trac
[19:31:14] * bryanl has quit IRC
[19:31:15] <s0undt3ch> coderanger: default gentoo mpm
[19:31:28] <coderanger> do you have use="theads" set?
[19:31:40] <s0undt3ch> nope
[19:31:59] * lnayrb is now known as bryanl
[19:31:59] <coderanger> then its prefork
[19:32:16] <coderanger> check what MRPC is set to in httpd.conf
[19:32:25] <s0undt3ch> MaxRequestsPerChild all set to 0 except for peruser.c
[19:33:11] <coderanger> that should mean infinite I think
[19:33:24] <coderanger> dunno then, workers shouldnt ever be killed
[19:33:38] <coderanger> so the env (and therefore plugin) objects should last as long as the server is up
[19:33:54] <s0undt3ch> i just said that because when I tailf logs, i them loadind
[19:34:17] <s0undt3ch> oh, well, for the traffic I have, no major problem :)
[19:34:36] <coderanger> for every request?
[19:35:16] <s0undt3ch> no, I don't think it's for all
[19:35:28] <s0undt3ch> I think it's periodic
[19:36:35] <coderanger> heh
[19:38:12] <s0undt3ch> but I'll check it tommorrow, I think I still have your http.conf link on my logs :)
[19:38:15] * xjjk has joined #trac
[19:38:25] * bryanl has quit IRC
[19:39:22] <coderanger> maybe m_p is still reloading periodically just because it feels like it
[20:23:01] * xjjk has quit IRC
[20:23:17] * xjjk has joined #trac
[20:51:41] * neoxed has quit IRC
[21:49:48] * neoxed has joined #Trac
[22:38:54] * PingYeh_ has quit IRC
[23:53:38] * xjjk has quit IRC