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

[00:09:08] <s0undt3ch> pacopablo: yeah, a good start :)
[00:09:22] <s0undt3ch> My first experience with ajax too....
[00:12:21] <pacopablo> so, why perl?
[00:13:36] <s0undt3ch> pacopablo: not my choice, I hate perl!
[00:14:17] <pacopablo> ahh, integrating with some other existing infrastructure?
[00:14:32] <s0undt3ch> but the backend is working good it even has an admin panel also writen in perl, but it has too many options for a regular user(a hosted one)
[00:15:39] <s0undt3ch> so, since I love python, the customer control pannel had to be writen in python ;)
[00:16:35] <pacopablo> hehe
[00:16:53] <pacopablo> coderanger: no joke about absolute positioning on these templates!
[00:17:05] <coderanger> yeah
[00:17:10] <s0undt3ch> at first I though it was not possible, python interacting with perl he he he
[00:17:26] <s0undt3ch> but PyPerl actually does a good job
[00:18:27] * kane_ has quit IRC
[00:19:55] * Hadaka has quit IRC
[00:19:55] * o_cee has quit IRC
[00:20:52] * asmodai pats coderanger
[00:21:22] <coderanger> yop
[00:21:25] <coderanger> er, yo
[00:21:51] <pacopablo> alright, night time for me
[00:21:53] <pacopablo> later all
[00:22:28] <coderanger> gnite
[00:23:39] * o_cee has joined #trac
[00:23:52] * asmodai just woke up :D
[00:33:25] <coderanger> grr
[00:33:29] <coderanger> my table isnt working
[00:33:33] <coderanger> http://www.coderanger.net/tracs/test1/wiki
[00:33:39] <coderanger> the rowspan isn't working
[00:46:16] * kane_ has joined #trac
[00:54:02] <asmodai> Mmm
[00:54:50] <coderanger> hmm?
[00:55:00] <asmodai> wow
[00:55:02] <asmodai> nice design
[00:55:17] <asmodai> Been perusing the CSS Zen Garden? :)
[00:55:35] <coderanger> its from templateworld.com
[00:55:43] <coderanger> paco and I were working on converting a few more themes
[00:55:52] <coderanger> its the same place I got the consultant one
[00:56:22] <asmodai> nice
[00:56:53] <coderanger> just cant get the table cells to work right
[00:58:00] <coderanger> hrmm
[00:58:13] <coderanger> I can just rearrange some divs though
[01:00:58] <asmodai> I also needed to collapse a lot of Python.org's layout into the Trac stuff :)
[01:09:15] <coderanger> I just don't get why the two cells aren't the same height
[01:10:33] <coderanger> aha!
[01:10:39] * chandlerc has quit IRC
[01:10:46] <coderanger> forgot to remove the float: right
[01:12:29] <s0undt3ch> any regex guru arround
[01:12:35] <s0undt3ch> I need some help
[01:12:47] <s0undt3ch> imagine the following
[01:12:59] <s0undt3ch> _("A very long " +
[01:13:08] <s0undt3ch> "string that should" +
[01:13:14] <s0undt3ch> "be extracted")
[01:13:14] * chandlerc has joined #trac
[01:13:38] <s0undt3ch> How can I get with a regex A very long string that should be extracted?
[01:13:52] <s0undt3ch> is it even possible?
[01:14:04] <coderanger> not in one pass
[01:14:46] <s0undt3ch> heh, I'd like to get translatable strings from genshi templates
[01:15:11] <s0undt3ch> there's a recipe, but it only for something like
[01:15:21] <s0undt3ch> _("A very long string that should be extracted")
[01:15:29] * omry has quit IRC
[01:16:16] <s0undt3ch> coderanger: so, what could be done? first grab anything inside _(), and then grab a join each string?
[01:16:34] <coderanger> something like that
[01:16:39] <s0undt3ch> hmmm
[01:18:34] <coderanger> http://www.coderanger.net/tracs/test1/wiki
[01:18:38] <coderanger> whadyall think
[01:19:13] <s0undt3ch> trac logo bg should be transparent :)
[01:19:19] <s0undt3ch> apart from that, pretty nice
[01:20:04] <s0undt3ch> I also tend to dislike the login, setting, etc bar on the bottom, Pylons also does that
[01:20:35] <coderanger> I can't think of a better place for it :-/
[01:21:00] <coderanger> other than to merge it into the main one
[01:21:23] <s0undt3ch> above the main one, like trac does?
[01:21:34] <coderanger> where
[01:21:41] <s0undt3ch> with that line between them
[01:21:59] <s0undt3ch> between the logo and the ctxnav
[01:22:05] <s0undt3ch> sorry, not the main one
[01:22:08] <coderanger> hrmm
[01:22:20] <s0undt3ch> that's what you didn't want right :)
[01:22:42] <coderanger> have to think of how to do that
[01:24:08] <s0undt3ch> let's see if you got me right, you know that grey line you have betteen the logo and the wiki link bar(Start Page, etc)?
[01:24:15] <s0undt3ch> above the grey line
[01:24:17] <coderanger> yeah
[01:25:57] * amino has quit IRC
[01:26:08] * amino has joined #trac
[01:26:34] <coderanger> its a good start if nothing else
[01:27:33] <s0undt3ch> a pretty good one
[01:42:15] <asmodai> coderanger: pretty good start yea
[01:52:08] * chandlerc has quit IRC
[01:52:16] * chandlerc_ has joined #trac
[01:53:30] * omry has joined #trac
[01:59:46] * m_g has joined #trac
[02:01:08] * columbo has joined #trac
[02:01:24] <columbo> anyone awake?
[02:01:34] <coderanger> yep
[02:01:36] <columbo> i need the xml-rpc plugin
[02:01:42] <coderanger> trac-hacks.org
[02:01:48] <columbo> i can't seem to find a download link
[02:02:29] <coderanger> 6th <h2> from the top
[02:03:13] * columbo starts counting :D
[02:03:48] <columbo> got it thanks, heh, it was in TOC
[02:09:08] <blinx> moin
[02:09:51] <blinx> how can I create an additional link in the button-bar?
[02:10:12] <blinx> or isn't it possible?
[02:12:30] <coderanger> navadd and tractabs
[02:12:39] <coderanger> depending on the type of link you want
[02:13:13] * omry has quit IRC
[02:13:18] <coderanger> s0undt3ch: http://www.coderanger.net/tracs/test1/wiki
[02:13:21] <coderanger> hows that :)
[02:16:05] <asmodai> Looks good thus far
[02:16:19] <asmodai> some minor nits, but hey
[02:16:32] <blinx> coderanger: where can I get this template?
[02:16:36] <s0undt3ch> coderanger: yep, but I'd join both bars a bit more to the grey line :)
[02:16:44] <blinx> I can't find something on templateworld.com
[02:16:49] <coderanger> blinx: When its done, trac-hacks
[02:16:59] <coderanger> asmodai: Do tell :)
[02:17:26] <s0undt3ch> coderanger: you should probably write a howto on creating trac templates with your experience
[02:17:36] <coderanger> s0undt3ch: Yeah
[02:17:41] <blinx> coderanger: ok fine
[02:17:42] <asmodai> of course the trac logo misses a greyish part to blend in ;) The grey part at the bottom looks strangely pre-cut off before reaching the second grey area
[02:17:45] <coderanger> Need to refine themeengine a bit more too
[02:18:10] <coderanger> asmodai: Which second part
[02:18:51] <asmodai> at the bottom, the dark grey area approaches the grey side on the right
[02:19:04] <coderanger> asmodai: From what I can tell its an illusion
[02:19:08] <asmodai> mmm
[02:19:15] <coderanger> If you cover the darker box, it looks even again
[02:19:42] <coderanger> the contrast change just mucks with your brain
[02:20:39] <asmodai> ah ok
[02:22:05] <blinx> coderanger: I installed the navaddplugin
[02:22:24] <blinx> how I can add now a button?
[02:22:39] <blinx> the pasted code doesn't work
[02:23:57] <coderanger> did you reboot the webserver after installing it?
[02:24:00] <blinx> yes
[02:24:15] <coderanger> do you see it loading in the log
[02:24:22] <blinx> it is loaded
[02:24:29] <blinx> through the webinterface
[02:24:36] <blinx> there is a ./
[02:24:53] <coderanger> do you see it mentioned in the log though
[02:24:59] <blinx> mom
[02:26:35] <blinx> http://pylucid.net/trac/wiki/WikiStart
[02:26:36] <blinx> hm
[02:26:45] <blinx> I restarted trac again...
[02:26:47] <blinx> you see
[02:26:50] <blinx> errors..
[02:27:25] <coderanger> whatd you try adding
[02:27:35] <coderanger> pastebin that chunk of your trac.ini
[02:28:29] <coderanger> looks like ctxtnavadd is flipping out
[02:28:58] <blinx> ds.builtin.de/trac.ini
[02:29:00] <coderanger> what version of Trac is this
[02:29:06] <blinx> svn version
[02:29:24] <coderanger> um I highly doubt ctxtnavadd will work well on that
[02:29:29] <coderanger> it does weird stuff
[02:29:33] <blinx> hm
[02:29:42] <coderanger> I only test my plugins on 0.10.x
[02:29:47] <blinx> ok
[02:29:53] <blinx> then I will downgrade trac
[02:30:08] <blinx> coderanger: how I remove the svn version best?
[02:30:19] <coderanger> just remove the modules
[02:30:28] <coderanger> rm -rf /usr/lib/python2.4/site-packages/trac
[02:30:45] <blinx> ok
[02:30:47] <blinx> done
[02:30:49] <blinx> now?
[02:31:15] <blinx> the 0.10 versionß
[02:31:19] <s0undt3ch> dam, I need some regex help, consider the sample text > http://paste.ufsoft.org/111 <- I'd like whatever is inside _()
[02:31:21] <coderanger> just follow the normal 0.10 version
[02:31:28] <s0undt3ch> all ocurrences
[02:32:06] <coderanger> s0undt3ch: Is nesting possible
[02:32:39] <s0undt3ch> coderanger: how so?
[02:32:45] <blinx> coderanger: isn'
[02:32:51] <coderanger> _(_('string'))
[02:32:52] <blinx> t there an admin section?
[02:32:55] <s0undt3ch> coderanger: no
[02:33:01] <blinx> ..installed!
[02:33:20] <coderanger> s0undt3ch: one sec
[02:33:25] <s0undt3ch> thanks
[02:33:44] <s0undt3ch> (?:_\("[^"\)]*"\)) is not matching all
[02:34:29] <s0undt3ch> I'm using groups because I must consider the user does one of _("string") or _('string'), but let's start with just one group
[02:36:47] <lisppaste5> coderanger pasted "regexfu" at http://paste.lisp.org/display/32578
[02:36:59] <coderanger> something like that
[02:37:33] <s0undt3ch> k, trying that
[02:37:36] <s0undt3ch> thanks
[02:37:47] <coderanger> totally untested, ymmv, etc etc
[02:40:42] <blinx> coderanger: I installed the webadmin module version of the svn/sandbox but now there are only 2 points in my trac admin section...
[02:40:51] <blinx> General
[02:40:53] <blinx> Ticket System
[02:41:36] <coderanger> blinx: What else are you expecting?
[02:42:50] <blinx> yes but there is a 3rd point
[02:43:12] <coderanger> what
[02:43:23] <blinx> only .
[02:43:25] <blinx> *
[02:43:53] <blinx> no content below it
[02:46:20] <blinx> http://ds.builtin.de/screen.png
[02:46:23] <blinx> ^ you see
[02:46:26] <coderanger> look under /about/plugins to see what components are implementing IAdminPageProvider
[02:46:28] <blinx> the *
[02:46:47] <coderanger> looks like your webadmin is messed up ...
[02:46:53] <coderanger> it shouldn't look like that
[02:47:14] <blinx> yes I know
[02:47:22] <blinx> but I have only the svn version
[02:47:29] <blinx> of the webadmin ;-)
[02:47:34] <coderanger> which subversion
[02:47:40] <coderanger> webadmin or webadmin-genshi
[02:47:46] <blinx> svn co http://svn.edgewall.com/repos/trac/sandbox/webadmin/
[02:47:55] <blinx> is this wrong?
[02:47:56] <coderanger> thats the correct version
[02:48:14] <blinx> hm
[02:48:24] <blinx> there is something with the code...
[02:49:40] <blinx> what do you mean I should do?
[02:50:56] <s0undt3ch> coderanger: if a string to translate includes a ) it will break the regex :(
[02:51:13] <coderanger> s0undt3ch: hrm
[02:51:14] <s0undt3ch> we should probably search for _(" and ")
[02:51:38] <coderanger> s0undt3ch: This would be much easier with pyparsing :P
[02:51:44] <columbo> sweet mylar+xmlrpc trac rocks :)
[02:52:06] <s0undt3ch> coderanger: what's that and were can I find that?
[02:52:25] <coderanger> http://pyparsing.wikispaces.com/
[02:52:35] <s0undt3ch> yeah, just found it
[02:52:41] <s0undt3ch> reading it
[02:54:57] <blinx> coderanger: no idea?
[02:55:18] <coderanger> blinx: Try directly loading the webadmin CSS
[02:55:40] <coderanger> /chrome/admin/css/admin.css
[02:58:34] <blinx> http://pylucid.net/trac/chrome/admin/css/admin.css
[02:58:38] <blinx> not possible
[02:58:45] <coderanger> thats the problem
[02:59:06] <coderanger> which means webadmin isn't installed correctly
[02:59:17] <blinx> ok
[02:59:28] <blinx> now we know what is the problem ;-)
[02:59:44] <blinx> can I copy the css manually somewhere?
[03:00:53] <coderanger> blinx: Try deleting and rebuilding the webadmin egg
[03:01:14] <blinx> ok
[03:06:03] <blinx> where I find the files of the installed webadmin?
[03:06:22] <coderanger> depends on how you installed it
[03:07:11] <blinx> setup.py install
[03:07:21] <coderanger> itl be in site-pacakges
[03:07:31] <blinx> rm -rf /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg
[03:07:34] <blinx> ok
[03:08:06] <blinx> how was the command to create a new egg file?
[03:08:17] <coderanger> python setup.py bdist_egg
[03:08:28] <coderanger> and then copy the egg to /usr/share/trac/plugins
[03:08:42] <blinx> creating 'dist/TracWebAdmin-0.1.2dev_r4429-py2.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
[03:09:35] <blinx> installed
[03:09:48] <coderanger> now restart the server and try the CSS again
[03:10:14] <blinx> http://pylucid.net/trac/chrome/common/css/admin.css#
[03:10:18] <blinx> there is the css
[03:10:22] <coderanger> yep
[03:10:27] <coderanger> now webadmin should look better
[03:10:31] <blinx> no
[03:10:32] <blinx> ;-)
[03:10:49] <coderanger> hmm, wait
[03:10:56] <coderanger> did you just try copying it?
[03:11:08] <blinx> ah
[03:11:10] <coderanger> that admin.css is left over from trunk
[03:11:18] <coderanger> it shouldn't still be there
[03:11:20] <blinx> http://pylucid.net/trac/chrome/admin/css/admin.css <- this is in the src
[03:11:29] <blinx> but not on the server
[03:11:42] <coderanger> which means there is a bigger problem afoot
[03:11:58] <coderanger> any errors anywhere?
[03:12:07] <blinx> there the real css is: http://pylucid.net/trac/chrome/common/css/admin.css
[03:12:15] <blinx> hm
[03:12:17] <coderanger> that won't help you
[03:12:27] <blinx> hm
[03:12:35] <blinx> how? in the code is a wrong url
[03:12:43] <blinx> brb
[03:13:56] <coderanger> no it isnt
[03:14:02] <coderanger> you have a file you shouldnt
[03:14:13] <coderanger> the /common/css/admin is from trac 0.11dev
[03:16:31] <blinx> ah ok
[03:16:42] <blinx> should I remove it
[03:16:42] <blinx> ?
[03:16:56] <coderanger> you can, nothing should reference it though
[03:17:00] <blinx> ok
[03:17:04] <blinx> but the new one..
[03:17:18] <blinx> from trac 0.10
[03:17:26] <coderanger> new what
[03:17:32] <blinx> css
[03:17:33] <blinx> filre
[03:17:34] <blinx> -r
[03:17:45] <coderanger> which is bundled in the egg file
[03:18:02] <coderanger> do you have PYTHON_EGG_CACHE set?
[03:18:15] <blinx> I don't know
[03:18:17] <blinx> <link rel="stylesheet" href="/trac/chrome/admin/css/admin.css" type="text/css" />
[03:18:25] <blinx> is in the src of the admin page
[03:18:30] <coderanger> yes, that is the correct path
[03:18:33] <blinx> ok
[03:18:37] <coderanger> it just isn't finding the file
[03:18:46] <blinx> http://pylucid.net/trac/chrome/admin/css/admin.css
[03:18:51] <coderanger> check your server config for PYTHON_EGG_CACHE
[03:18:59] <blinx> how?
[03:19:40] <coderanger> what server are you using
[03:19:58] <blinx> lighty
[03:20:23] <coderanger> so look in the bin-environment
[03:20:27] <blinx> mom
[03:20:51] <blinx> "bin-environment" => (
[03:20:51] <blinx> "TRAC_URI_ROOT" => "/","TRAC_ENV" => "/var/trac/pylucid/",
[03:20:54] <blinx> ),
[03:21:15] <coderanger> add "PYTHON_EGG_CACHE" => "/tmp/.egg-cache"
[03:21:58] <blinx> ok
[03:22:01] <blinx> reloaded
[03:22:37] <blinx> but nothing changed ..
[03:22:44] <coderanger> are you sure there is nothing in either the lighty or trac log about this?
[03:22:58] <coderanger> what does lighty show as the reason for the 404
[03:23:09] <blinx> mom
[03:23:39] * JLeCours_ has quit IRC
[03:24:16] * JLeCours_ has joined #trac
[03:24:45] <blinx> http://paste.pocoo.org/show/380/
[03:24:49] <blinx> coderanger: you see
[03:24:54] <blinx> some modules are missing
[03:25:06] <blinx> that is the trac log
[03:25:18] <coderanger> okay, so you are missing dependcies it looks like
[03:25:21] <coderanger> Image is PIL
[03:25:52] <blinx> what should I install?
[03:26:06] <coderanger> PIL
[03:26:20] <coderanger> and you need to downgrade wikigoodies to the 0.9/0.10 version
[03:27:37] <blinx> ok
[03:27:49] <blinx> I downgraded the wikigoodies plugin
[03:27:54] <blinx> but the PIL
[03:28:05] <coderanger> what distro are you using
[03:28:10] <blinx> ubuntu edgy
[03:28:48] <blinx> python-imaging
[03:28:49] <blinx> ?
[03:30:43] <coderanger> looks like it
[03:32:47] <blinx> http://paste.pocoo.org/show/382/
[03:32:57] <blinx> I installed all the packages needed
[03:33:07] <s0undt3ch> coderanger: [^"\)] match anything except ") right?
[03:33:15] <blinx> but I get the errors again
[03:33:25] <coderanger> s0undt3ch: No
[03:33:30] <s0undt3ch> no?
[03:33:34] <s0undt3ch> :\
[03:33:42] <coderanger> any character except " \ or )
[03:33:57] <s0undt3ch> and how do I make it ") only
[03:34:09] <s0undt3ch> [^("\))]?
[03:34:11] <coderanger> you probably want a nongreedy quantifier
[03:34:25] <coderanger> _(".*?")
[03:34:54] <coderanger> well _\("(.*?)"\)
[03:35:09] <s0undt3ch> hmmm
[03:35:13] <s0undt3ch> trying that
[03:35:20] <coderanger> s0undt3ch: Any ideas on blinx's error?
[03:35:35] <coderanger> http://paste.pocoo.org/show/382/
[03:36:10] <blinx> coderanger: I have an idea
[03:36:10] <blinx> mom
[03:36:33] <s0undt3ch> what's wrong with my plug!?
[03:36:45] <s0undt3ch> blinx: what version of wiki notification are you running?
[03:36:47] <s0undt3ch> rc4?
[03:37:19] <s0undt3ch> dnspython must be installed by setuptools so it's mentioned on easy_install.pth
[03:37:35] <coderanger> s0undt3ch: Thats different
[03:37:43] <coderanger> thats a warning about spamfilter
[03:38:18] <s0undt3ch> yeah, but I never got that error with wiki notification
[03:38:45] <blinx> Processing dependencies for TracWikiNotification==0.1.0rc4
[03:39:09] <blinx> SilverCity is needed
[03:39:37] <s0undt3ch> yes, templates are in CS
[03:39:51] <coderanger> silivercity != clearsilver
[03:40:05] <s0undt3ch> oops
[03:40:22] <blinx> coderanger: I know
[03:40:45] <s0undt3ch> install_requires = ['TracCtxtnavAdd'],
[03:40:53] <s0undt3ch> that's all dependencies
[03:41:51] <s0undt3ch> 2006-12-16 11:40:28,452 Trac[loader] DEBUG: Loading egg plugin wikinotification from /usr/lib/python2.4/site-packages/TracWikiNotification-0.1.0rc4-py2.4.egg
[03:41:58] <s0undt3ch> working here
[03:42:56] <blinx> I disabled it
[03:43:12] <blinx> but with my admin section, coderanger, I don't know
[03:43:45] <blinx> 2006-12-16 12:42:34,000 Trac[__init__] WARNING: Cannot load plugin spamfilter.ip_blacklist because it requires "dnspython>=1.3.5"
[03:43:49] <blinx> 2006-12-16 12:42:34,024 Trac[__init__] WARNING: Cannot load plugin spamfilter.bayes because it requires "spambayes"
[03:43:52] <blinx> only the two warning
[03:43:52] <blinx> s
[03:44:00] <coderanger> which are fine
[03:44:09] <s0undt3ch> blinx: you're sure you have dnspython isntalled?
[03:44:12] <blinx> but spambayes has no influence to weadmin
[03:44:16] <blinx> s0undt3ch: yes
[03:44:23] <s0undt3ch> blinx: how did you installed it?
[03:45:55] <s0undt3ch> coderanger: that regex matches but removes leading and trailing "
[03:46:07] <blinx> ah
[03:46:08] <blinx> ok
[03:46:16] <blinx> I reinstalled it with easy_install
[03:46:17] <blinx> ok
[03:46:21] <coderanger> s0undt3ch: Then move the " inside the group
[03:46:22] <blinx> thx
[03:46:32] <blinx> coderanger: what can I do with my admin section?
[03:46:35] <coderanger> _\((".*?")\)
[03:46:38] <coderanger> blinx: Still not working?
[03:46:46] <blinx> coderanger: no
[03:46:56] <coderanger> That isn't a 404 being generated by Trac
[03:46:58] <s0undt3ch> hurray!
[03:47:02] <coderanger> sounds like lighty is grumpy
[03:47:08] <blinx> no
[03:47:27] <blinx> coderanger: it worked with 0.11dev
[03:47:38] * kane_ has quit IRC
[03:48:15] <s0undt3ch> coderanger: heh now _("foo"
[03:48:18] <s0undt3ch> "bar"
[03:48:19] <coderanger> none of the static content from webadmin is being found
[03:48:19] <s0undt3ch> )
[03:48:25] <s0undt3ch> does not match, he he he
[03:48:30] <coderanger> s0undt3ch: make it re.M
[03:48:38] <s0undt3ch> it is
[03:48:45] <coderanger> ahh
[03:48:47] <coderanger> i see
[03:49:11] <coderanger> _\((".*?")(?:\s*)\)
[03:49:31] <blinx> coderanger: tell me what I have to do!
[03:49:43] <coderanger> blinx: I don't know
[03:49:49] <blinx> hm
[03:49:58] <s0undt3ch> coderanger: man, your GOOD at re!
[