Team Chat Logs

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

August 27, 2006

[00:29:44] <sanmarcos> hola paco!
[01:21:23] * nextime has quit IRC
[01:27:36] * nextime has joined #trac
[02:21:11] * tuxipuxi has joined #trac
[02:39:37] * idostyle has quit IRC
[02:40:14] * idostyle has joined #trac
[03:01:59] * hpnadig has joined #trac
[03:29:54] * MasterC has joined #trac
[03:38:24] * eblot has joined #trac
[04:26:39] * hpnadig has quit IRC
[04:30:48] * imajes has quit IRC
[04:31:55] <Riccc> [03:30] <coderanger> And you are sure that Trac is running under 2.3? <-- how can I know the version under which trac runs ?
[05:09:58] * eblot_ has joined #trac
[05:09:58] * eblot has quit IRC
[05:16:24] * maxb has joined #trac
[05:38:24] * eblot_ has left #trac
[05:46:26] * flox|away is now known as flox
[06:33:09] * imajes has joined #trac
[06:33:51] * imajes has quit IRC
[06:38:27] * coderanger_ has joined #trac
[06:40:24] <coderanger_> morning y'all
[07:03:36] * imajes has joined #trac
[07:13:31] <jborg> morning coderanger
[07:22:07] * chjunior has joined #trac
[07:43:00] * dort has quit IRC
[07:44:42] <coderanger_> jborg: Getting ready for b1 tomorrow? ;-)
[07:45:02] * dort has joined #trac
[07:45:04] <misc> just for reference, is akismet accurate ?
[07:51:01] <coderanger_> It seems to come and go
[07:51:22] <coderanger_> sometimes it will flag false-positives for a few hours, then fix itself
[07:59:49] * tuxipuxi has quit IRC
[07:59:54] * tuxipuxi has joined #trac
[08:07:32] * MasterC has quit IRC
[08:09:30] * tuxipuxi has quit IRC
[08:09:35] * tuxipuxi has joined #trac
[08:13:16] * tuxipuxi has quit IRC
[08:13:20] * tuxipuxi has joined #trac
[08:19:15] <jborg> coderanger, yeah, I hope so
[08:20:05] <jborg> Have anyone of you guys tested any of the other SpamFilter backends, like Bayes?
[08:22:53] * hpnadig has joined #trac
[08:30:46] <coderanger_> jborg: All my installs are login-only or behind firewalls, though I think Alec uses the badcontent one on trac-hacks
[08:42:47] * flox has quit IRC
[08:43:24] * flox_ has joined #trac
[08:43:26] * flox_ is now known as flox
[08:53:20] <Riccc> Hmm I cant find a solution to my tracnav installation problem, I followed Egg Installation Instructions, TracNav appears in webadmin plugin list, logs seems to be correct
[08:53:22] <Riccc> 03:10:11 Trac[__init__] INFO: Installing plugin TracNav-3.92pre6-py2.3.egg
[08:53:30] <Riccc> 03:10:11 Trac[__init__] DEBUG: Loading plugin TracNav from /home/trac/devteam/plugins/TracNav-3.92pre6-py2.3.egg
[08:53:37] <Riccc> but nothing appears in wiki page
[08:54:15] <Riccc> also , it seems it's the 2.3 python version my trac is using
[08:54:16] <Riccc> 03:10:13 Trac[__init__] DEBUG: Loading plugin webadmin.perm from /usr/lib/python2.3/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.3.egg
[08:56:02] * jkp_ has joined #trac
[08:56:32] <jkp_> hey all - anyone in here anything to do with the development of trac.core ?
[09:00:41] * imajes has quit IRC
[09:06:10] * imajes has joined #trac
[09:07:46] * imajes has quit IRC
[09:08:07] * imajes has joined #trac
[09:10:40] * milk-it has joined #trac
[09:14:10] <coderanger_> jkp_: What is your question?
[09:15:54] * flox_ has joined #trac
[09:18:45] * hpnadig has quit IRC
[09:21:55] * flox has quit IRC
[09:32:20] * chjunior has quit IRC
[09:39:08] * chandlerc has joined #trac
[10:05:39] <jkp_> coderanger_: still there?
[10:06:16] * Nobody-AC1A1 has joined #trac
[10:12:11] * eblot has joined #trac
[10:20:04] <coderanger_> jkp_: Yes
[10:21:34] * s0undt3ch_ has joined #trac
[10:21:55] * s0undt3ch has quit IRC
[10:21:59] * dmax has quit IRC
[10:22:02] * s0undt3ch_ is now known as s0undt3ch
[10:23:28] * Riccc has quit IRC
[10:25:51] * bballizlife has quit IRC
[10:26:36] * dmax has joined #trac
[10:26:49] * bballizlife has joined #trac
[10:41:22] * coderanger_ has quit IRC
[10:49:30] * Miek has joined #trac
[10:49:46] * milk-it has left #trac
[10:54:34] <jkp_> hey coderanger...question: it says that any component instantiated gets three extra variables including the logging object
[10:54:45] <jkp_> i dont see where this happens...can you point me at the ccode?
[11:03:11] * MasterC has joined #trac
[11:18:44] * tuxipuxi has quit IRC
[11:23:40] * tuxipuxi has joined #trac
[11:53:20] * lowkey has joined #trac
[12:01:41] * jrydberg has joined #trac
[12:29:47] * sineer has joined #trac
[12:30:08] <sineer> hi
[12:37:32] * jrydberg has joined #trac
[12:44:19] * flox_ is now known as flox
[12:49:18] <sanmarcos> where can I find info about styling trac?
[12:49:46] <sanmarcos> ah nevermind
[12:51:54] * converter has joined #trac
[12:53:24] * Broofa has joined #trac
[12:54:18] <Broofa> Hi folks, are there logs of this channel available anywhere?
[12:54:34] <sanmarcos> hmm how would I set a custom htdocs folder
[13:02:32] * cmlenz has joined #trac
[13:05:46] <sanmarcos> why does the stuff that I put into my projects environemnt dir templates dir get ignored?
[13:06:22] * xjjk has quit IRC
[13:07:34] <Miek> check the path specified in trac.ini
[13:07:54] <Miek> it's probably set to /usr/share/trac/templates or similar
[13:10:09] * Broofa has quit IRC
[13:15:08] <sanmarcos> right
[13:15:20] <sanmarcos> but if I set it to local, then I wont get the templates
[13:15:26] <sanmarcos> I guess I have to copy them..
[13:16:08] <Miek> yup
[13:16:26] <sanmarcos> sucky implementation
[13:17:34] <sanmarcos> nope
[13:17:36] <sanmarcos> still the same fuck
[13:19:21] <sanmarcos> oh, you have to remove the <?cs shit from site_css.cs
[13:25:27] * MasterC has quit IRC
[13:42:33] * converter has quit IRC
[13:43:40] * jrydberg has quit IRC
[13:50:02] * flox has quit IRC
[14:07:07] * Miek has quit IRC
[14:12:39] * xjjk has joined #trac
[14:20:14] * sineer has quit IRC
[14:23:38] * converter has joined #trac
[14:27:33] * eblot has quit IRC
[14:45:19] * Del_Mon is now known as De_Mon
[14:49:22] <sanmarcos> I have to say, writing custom css for trac is the most horrible thing to do
[14:49:41] <sanmarcos> the infrastructure on how things are layed out (where files go), you ahve to make links on your own
[14:49:45] <sanmarcos> blah
[14:55:01] * chandlerc has quit IRC
[15:20:27] * jborg has quit IRC
[15:29:51] * cmlenz has quit IRC
[15:29:52] <jkp_> cmlenz: hey dude - you around?
[15:29:58] <jkp_> gaaaarrr
[15:30:01] <jkp_> too late
[15:30:24] * Miek has joined #trac
[15:32:47] <coderanger> jkp_:
[15:32:52] <coderanger> er, Ping
[15:36:08] <jkp_> hey coderanger
[15:36:18] <coderanger> Look at CompManager
[15:36:25] <jkp_> so...im working with the trac.core code
[15:36:38] <jkp_> but on another project....bsd license++
[15:36:40] <jkp_> :)
[15:36:45] <coderanger> http://trac.edgewall.org/browser/trunk/trac/env.py#L132
[15:36:58] <coderanger> Thats where the instance variable trick is done
[15:37:17] <jkp_> excellent
[15:37:39] <jkp_> so im at the point of having adopted trac.core as a mechanism to implement a modular arch
[15:37:56] <jkp_> but im having a couple of quandries as i learn the subtleties of using it
[15:37:59] <jkp_> for example
[15:38:12] <jkp_> you cant pass anything in as a constructor for a component
[15:38:40] <jkp_> which means rethinking some things....i can see it meaning a good deal more singletons in my app
[15:38:53] <coderanger> No, because the constructor is modified in the metaclass
[15:38:57] <jkp_> which is why i wanted to know how you made every component inherit those ivars
[15:39:30] <jkp_> yeah, i understand why (though having read the code im gonna have to read it a few more times and do some more reading before i fully get it!)
[15:39:46] <coderanger> Well all trac components are singletons
[15:40:00] <coderanger> and thats why they all load all needed configuration from a file
[15:40:04] <jkp_> yeah, but im thinking of things that might not stictly make sense as components
[15:40:11] <jkp_> but maybe they do
[15:40:20] * chandlerc has joined #trac
[15:40:21] <coderanger> It depends on your situation
[15:40:21] <jkp_> such as an application object
[15:40:36] <jkp_> im writing some sw foe a set-top-box
[15:41:06] <jkp_> so the main components i need to make availible are a config object, a player object and possibly a global application object
[15:41:14] <jkp_> maybe ill justg remodel them as components
[15:41:26] <coderanger> If the repo was online I would point you at snoengine
[15:41:28] <jkp_> they dont have to implement interfaces but it allows me to get at them from anywhere
[15:41:34] <jkp_> snoengine?
[15:41:51] <coderanger> http://www.gopetsdev.com/browser/trunk/src/snoengine/core.py
[15:42:04] <coderanger> That isn't quite the most recent, but maybe itl give you some ideas
[15:42:26] <jkp_> heh
[15:42:38] <jkp_> so we arent the only ones who thought that using trac.core was a nice idea :)
[15:42:49] <coderanger> Its not related to Trac's :P
[15:42:58] * ged has joined #trac
[15:43:01] <coderanger> well snoengine's config system is, but thats it
[15:44:25] <jkp_> ok so in order to customize my components as they get created i need to implement a ComponentManager subclass
[15:44:32] <coderanger> Yes
[15:44:43] <jkp_> presumably that stuff gets called before the __init__ method on each component
[15:44:54] <coderanger> I think so
[15:44:59] <coderanger> well, no
[15:45:06] <coderanger> its called before your __init__
[15:45:09] <jkp_> all i can say is that trac.core is very very nicely designed code
[15:45:16] <coderanger> which isnt the actual __init__ by that point
[15:45:45] <jkp_> right
[15:46:33] <jkp_> i love the concept of it all though - i was thinking of something so similar myself, interfaces etc, but the whole registration and ExtensionPoint thing is just great
[15:46:43] <jkp_> i was looking for a way to let new plugins add to the applications main menu
[15:46:58] <jkp_> and this is perfect coz they just implement my shiny new IMenuExtension interface
[15:47:20] <jkp_> who wrote the code?
[15:47:46] <jkp_> cmlenz? i should shout the dude, havent spoken in a long while
[15:48:22] <coderanger> http://trac.edgewall.org/log/trunk/trac/core.py?action=follow_copy&rev=3544&stop_rev=1&mode=follow_copy
[15:48:50] <jkp_> check :)
[15:48:58] <coderanger> cmlenz wrote most of the module system
[15:49:09] <coderanger> if not all of it
[15:49:22] <jkp_> now that ive seen how it works i might try something similar with another project i work on....
[15:49:26] <jkp_> do you know growl for os x?
[15:49:30] * flox_ has joined #trac
[15:49:32] * flox_ is now known as flox
[15:49:52] <coderanger> indeed, Colloquy is using it right now
[15:49:56] <jkp_> check
[15:50:14] <jkp_> we've been looking for a decent wayd to implement a plugin API for ages
[15:50:41] <jkp_> one of the guys i work with on it (semi)implemented this helishly complex plugin API which had plugins with plugins etc
[15:50:57] <jkp_> but in the end it was just too complex...i was about to get it ripped out this week so we couls start over
[15:51:43] <jkp_> this could be the right deisgn though because it allows you to build the hooks in as you go along - ie if a new plugin genre was added then new extension points could duly be added
[15:52:33] <coderanger> I don't know enough objc to say how well it would work, but its worth a shot :)
[15:52:59] <jkp_> it would be pretty simlar in many ways - objective-c is very dynamic
[15:53:05] <jkp_> python is a nice match for it
[15:53:40] <coderanger> It lacks some of the interal tomfoolery that python allows though (like the implements function)
[15:53:54] <coderanger> But you can usually work around that withh slightly less nice syntax
[15:54:09] <jkp_> how does that work?
[15:54:18] <jkp_> yeah im sure there is a way
[15:54:35] <coderanger> implements(foo) => _implements = (foo,)
[15:54:48] <coderanger> and then the metaclass checks for module._implements
[15:55:14] <jkp_> ahhhh - so its just messing with the ivars
[15:55:59] <jkp_> that wouldnt be hard in obj-c
[15:57:16] <coderanger> Heh, I'll take your word on it :)
[15:57:24] <coderanger> I need to start learning PyObjC
[15:57:42] <jkp_> aye - me too, now ive given time to python it would be good
[16:22:38] * tenshiKur0 has joined #trac
[16:38:48] * flox has quit IRC
[16:45:28] * flox_ has joined #trac
[16:45:29] * flox_ is now known as flox
[16:48:31] * tenshiKur0 has quit IRC
[17:15:04] * evil_twin has joined #trac
[17:16:58] * De_Mon has joined #trac
[17:17:23] * Naked has joined #trac
[17:17:25] * s0undt3ch has joined #trac
[17:17:38] * termie has joined #trac
[17:17:42] * Naked is now known as Hadaka
[17:17:53] * bartc has joined #trac
[17:18:08] * Leentje has joined #trac
[17:18:31] * hax has joined #trac
[17:20:56] * neoxed has joined #Trac
[17:21:58] * idnar has joined #trac
[17:24:03] * flox has joined #trac
[17:28:06] * jkp_ has joined #trac
[17:29:20] * Azrael- has joined #trac
[17:29:41] * converter has joined #trac
[17:30:57] * Azrael- is now known as Azrael
[17:47:28] * lisppaste5 has joined #trac
[18:07:36] * kousuke has joined #trac
[18:19:38] * chandlerc has quit IRC
[18:25:03] * moolight has joined #trac
[18:53:21] * chandlerc has joined #trac
[19:02:33] * tuxipuxi has quit IRC
[19:23:27] * Riccc has joined #trac
[19:27:16] * converter has quit IRC
[19:39:53] * Nobody-AC1A1 has quit IRC
[19:50:45] * Nobody-AC1A1 has joined #trac
[20:09:16] * Riccc has quit IRC
[20:10:17] * Riccc has joined #trac
[20:12:36] * Nobody-AC1A1 has quit IRC
[20:46:23] * Fatal_2 has joined #trac
[20:47:42] <Fatal_2> hi all.. our server that we were previously running trac on died last week.. we managed to rescue all of the data and have re-set trac up.. but its timestamps are out by 7 hours.. any ideas how to fix?
[20:48:54] <Fatal_2> we basically reinstalled python, pysqlite etc on the new pc and copied c:\trac from the old pc
[20:53:21] * UncleD has joined #trac
[20:53:26] <UncleD> Installing trac gives me this error
[20:53:26] <UncleD> error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)
[20:53:31] <UncleD> but i have python installed
[21:01:15] <coderanger> UncleD: What distro?
[21:01:20] <UncleD> i figured it out
[21:01:23] <UncleD> i had to install python-dev
[21:01:29] <coderanger> probably a -dev package
[21:01:33] <coderanger> heh, yeah
[21:01:59] <coderanger> Fatal_2: You mean in the DB or the file timestamps?
[21:02:15] <UncleD> ty
[21:02:16] * UncleD has left #trac
[21:03:02] <Fatal_2> coderanger: not quite sure.. when i view the timeline, the times are mixed up.. and if i click on a revision, for example, it shows: Timestamp:
[21:03:06] <Fatal_2> 27/08/2006 7:42:37 PM
[21:03:12] <Fatal_2> instead of 12:42:37 pm
[21:03:26] <Fatal_2> but viewing subversion log through tortoise the timestamps are fine
[21:03:30] <coderanger> Is the machine in the right timezone?
[21:04:36] <Fatal_2> *ahem* it is now :-/
[21:04:57] <Fatal_2> et voila its all showing properly now
[21:05:06] <coderanger> Heh
[21:05:12] <Fatal_2> i checked the regional options.. but ont the timezone in date time cpl
[21:05:28] <Fatal_2> thanks/sorry heh
[21:05:56] <coderanger> no worries, that usually the least of my concerns when rescusing a dying amchine
[21:12:43] * inetwsnet has joined #trac
[21:30:03] * hpnadig has joined #trac
[21:31:45] <Fatal_2> hmm i just edited the (enscript.py and api.py) .py files to add support for c# syntax highlighting.. do i need to delete the .pyc files to force a recompile?
[21:33:34] <coderanger> No
[21:33:43] <coderanger> Python checks the mtimes
[21:35:06] <coderanger> Why do you need to alter trac to do that?
[21:35:13] <coderanger> theres a tac.ini option for it
[21:36:20] * idostyle has quit IRC
[21:41:06] * UncleD has joined #trac
[21:41:14] <UncleD> Anyone seen this error before: http://rafb.net/paste/results/D8RL7W37.html ?
[21:41:42] <UncleD> ImportError: No module named svn
[21:48:17] <Fatal_2> coderanger: i was following the instructions on http://wiki.hasno.info/index.php/Csharp.st
[21:49:16] * idostyle has joined #trac
[21:50:02] <coderanger> UncleD: You need to install the python SWIG bindings for subversion
[21:50:13] <coderanger> matbe subversion-py or something
[21:51:18] <coderanger> Fatal_2: Check the mime_map option
[21:52:57] * Nobody-AC1A1 has joined #trac
[21:53:51] <Fatal_2> coderanger: ok will do..
[22:00:01] <Fatal_2> sweet got csharp syntax highlighting going.. now to fix up the colours a bit
[22:11:00] * Riccc has quit IRC
[22:23:06] * Riccc has joined #trac
[22:23:12] * lightcap has joined #trac
[22:41:06] * Nobody-AC1A1 has quit IRC
[22:46:35] <UncleD> ImportError: No module named svn
[22:46:39] <UncleD> no matter what I do I get that error
[22:46:51] <coderanger> UncleD: Do you have the bindings installed?
[22:48:12] <UncleD> I cant figure out how to install them
[22:48:18] <coderanger> What distro?
[22:48:30] <UncleD> ubuntu
[22:48:34] <UncleD> but i compiled svn from src
[22:48:37] <UncleD> I did this: ./configure --with-python=/usr/bin/python --with-apxs=/usr/local/apache2/bin/apxs --with-swig=/usr/bin/swig
[22:48:44] <UncleD> That was my config for svn.
[22:48:49] <UncleD> am I missing something?
[22:49:08] <coderanger> http://trac.edgewall.org/wiki/TracOnUbuntu
[22:49:42] <UncleD> that wont work for me
[22:50:05] <UncleD> because i installed svn from source
[22:50:15] <coderanger> http://trac.edgewall.org/wiki/TracSubversion ?
[22:50:16] <UncleD> and if i do apt-get install trac, itll try to install an old version of svn
[22:51:34] <UncleD> ah
[22:51:35] <UncleD> ty
[22:52:08] <coderanger> Being a Gentoo user, I've never actually built subversion by hand :P
[22:53:17] * Nobody-AC1A1 has joined #trac
[23:10:14] * Riccc has quit IRC
[23:10:28] <UncleD> coderanger: still got a problem
[23:10:29] <UncleD> python -c "from svn import client"
[23:10:30] <UncleD> Traceback (most recent call last):
[23:10:30] <UncleD> File "<string>", line 1, in ?
[23:10:30] <UncleD> ImportError: No module named svn
[23:10:52] <coderanger> type -a python
[23:11:18] <coderanger> Do you have more than one?
[23:11:38] <UncleD> what do you mean -a python?
[23:11:59] <UncleD> type -a python
[23:12:00] <UncleD> python is /usr/bin/python
[23:12:00] <UncleD> python is /usr/bin/X11/python
[23:12:01] <coderanger> run "type -a python"
[23:12:22] <coderanger> That seems a little odd
[23:12:30] <coderanger> which is the default?
[23:12:54] <UncleD> not sure
[23:12:56] <UncleD> they are both Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[23:13:04] <coderanger> "which python"
[23:13:14] <UncleD> the /usr/bin/ one is default
[23:13:28] <coderanger> okay, so that should be okay
[23:13:48] <coderanger> ls /usr/lib/python2.4/site-packages
[23:13:59] <UncleD> I see tonsof files
[23:14:00] <UncleD> tons
[23:14:20] <coderanger> a folder called "svn"?
[23:14:28] <UncleD> nope
[23:14:30] <UncleD> no svn folder
[23:14:35] <UncleD> what do i gotta do to make it appear
[23:14:54] <coderanger> It means its not actually installing the bindings
[23:15:11] <UncleD> i need the bindings for python for svn
[23:15:13] <coderanger> And I know very little about how that all works, I just type "emerge subversion"
[23:15:15] <UncleD> i did the swig thing
[23:15:28] <coderanger> maybe ask in #svn?
[23:19:18] <coderanger> Looking in the Gentoo ebuild, maybe try "--with-swig --with-python" without the paths
[23:23:25] * Riccc has joined #trac
[23:23:38] <UncleD> http://rafb.net/paste/results/80nSvo91.html
[23:23:39] <UncleD> maybe a symlink?
[23:26:29] <coderanger> I think you can pass an install prefix to make install-swig-py
[23:27:09] <UncleD> hm
[23:27:11] <UncleD> i ran that too
[23:27:13] <UncleD> after i did my build
[23:27:17] <UncleD> but it didnt seem to do any good
[23:27:21] <UncleD> i mean, it said it installed the stuff
[23:27:26] <UncleD> but the problem is trac is looking for the svn directory
[23:27:30] <UncleD> in sites-packages
[23:27:33] <UncleD> and its not there
[23:27:37] <coderanger> yeah, one sec
[23:28:20] <coderanger> ahh yeah, gentoo has to move the folder
[23:28:44] <coderanger> Yeah, look at the last bullet point on the TracSubversion page
[23:29:30] <UncleD> http://rafb.net/paste/results/AwGdo474.html
[23:29:32] <UncleD> k
[23:30:03] <UncleD> This one: Adapt your PYTHONPATH so that it contains the svn-python folder (the one containing the svn and libsvn packages).
[23:30:21] <coderanger> Yes
[23:30:36] <UncleD> So I need to create a symlink
[23:30:42] <coderanger> No
[23:31:11] <coderanger> PYTHONPATH="/usr/local/lib/svn-python/"
[23:31:32] <coderanger> well `export PYTHONPATH="/usr/local/lib/svn-python/"`
[23:33:15] <UncleD> that worked :)
[23:33:21] * flox has quit IRC
[23:34:50] * jrydberg has joined #trac
[23:35:00] <coderanger> You can also do "cp -rp /usr/local/lib/svn-python/* /usr/lib/python2.4/site-packages/"
[23:36:19] <UncleD> thank you
[23:40:27] * Nobody-AC1A1 has quit IRC
[23:52:26] <UncleD> coderanger You're awesome :)
[23:52:29] * UncleD has left #trac
[23:53:35] * Nobody-AC1A1 has joined #trac