Team Chat Logs

April 1, 2010

2010 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    

[00:27:30.580624]<otaku42>moin
[00:39:21.389511]<macmaN>u know it
[00:39:25.490487]<macmaN>gimme an o
[00:39:30.799600]<macmaN>gimme a t
[00:39:46.751808]<macmaN>a-k-you
[00:39:52.664901]<macmaN>it's four to the two
[00:43:06.812888]<otaku42>:)
[00:56:29.805284]<Xeross> I need some kind of suggestions webapp, seems there's a vote plugin for trac that handles voting for pages, tickets, etc. but it hasn't been updated in ages, doesn anyone know one that's still being maintained or a solution seperated from trac ?
[00:56:40.220711]<Xeross>and I mean kind of like feature voting
[01:05:50.496813]<macmaN>th:FiveStarVotePlugin ?
[01:13:13.640037]<Xeross>I want up-down voting
[01:13:29.095186]<Xeross>VotePlugin does it but is aged
[01:13:31.221475]<Xeross>still works
[01:13:41.058168]<Xeross>guess I need to modify it myself so it only works on a specific type of ticket
[01:22:22.724867]<macmaN> there is a plugin for that too
[01:22:27.945477]<macmaN>but cant recall the name
[03:28:15.505449]<hasienda>hello
[03:30:12.656222]<hasienda>Within the last few days I tried hard to provide a solution for http://trac.edgewall.org/ticket/1942 (custom time fields).
[03:31:10.252988]<hasienda>Now I think it's time to release some preliminary working code.
[03:31:49.670001]<hasienda>Is anyone here able to branch and commit to SVN repo?
[03:32:23.199615]<hasienda>Or should I just make a development doku wiki page and upload patch files?
[03:33:19.489952]<hasienda>Certainly I would love to see it in trac-0.12dev trunk ... :)
[05:53:57.953691]<strk>should os.environ['PYTHONPATH'] = xxxxxy
[05:54:10.079223]<strk>be enough in the trac.cgi script ?
[05:54:18.933567]<strk>enough == enough to import trac.web..
[05:55:05.127799]<bootlaces>Hi all, I'm getting a problem doing an initenv
[05:55:13.123998]<strk>PYTHONPATH=~/extra/trac/ ./trac.cgi "works"
[05:55:43.043340]<strk>I would like to set that env directly in the cgi itself
[05:55:47.127265]<bootlaces>http://pastebin.com/erkU7HPG
[05:56:09.571684]<strk>so right after 'import os' I added os.environ['PYTHONPATH'] = $myhomedir/extra/trac
[05:56:13.375944]<strk>but no luck
[05:58:47.432044]*strk finds http://docs.python.org/library/sys.html#sys.path
[06:17:18.750729]<bootlaces>I found the error
[06:17:20.354828]<bootlaces>it was a plugin
[06:18:05.866280]<bootlaces>the plugin stopped trac from initenv
[06:54:54.616761]<macmaN>haha hasienda, i love your last comment
[06:55:02.493795]<macmaN>So, if you can't wait another 5 years, please join now.
[06:58:26.911449]<macmaN>would anyone brainstorm with me what a good solution would be for some sort of a javascript wiki overlay note system
[06:59:30.126459]<macmaN>osimons our resident genius guy perhaps
[07:00:28.315494]*osimons *coughs*
[07:00:50.170605]<osimons>sorry, no time today macmaN
[07:14:39.607624]<macmaN>ok
[07:30:36.723473]<puzzel>hi i got many spam tickets in the last weeks. i want to block some ip adresses from "/newticket" page. i added http://pastie.org/898853 to my virtualhost config but it's not working. can someone help me with that?
[08:22:56.782750]<wolfboy22>has anyone used the WikiPrint plugin? http://trac-hacks.org/wiki/TracWikiPrintPlugin
[08:23:44.102453]<slam>wolfboy22: me not - but looks like an interesting one
[08:24:04.662912]<wolfboy22>I'm trying to install it, and I'm having a hell of a time doing so
[08:24:11.364707]<wolfboy22>it's not working, but I have no idea why not
[08:24:53.474488]<slam>it'S using xhtml2pdf
[08:25:00.801471]<slam>well, not soo good
[08:25:53.073104]<slam>does nothing else than printing from the browser to a virtual pdf printer
[08:27:11.081117]<wolfboy22>the thing is, Trac refuses to recognize it
[08:27:17.133579]<wolfboy22>I can't even test it
[08:27:44.581556]<pacopablo>wolfboy22: turn on logging
[08:27:46.506041]<pacopablo>@logging
[08:27:46.521218]<evil_twin>logging is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[08:28:05.182808]<pacopablo>that should give you a reason why it's not loading it
[08:29:00.908744]<slam>wolfboy22: and if the logs do not help you, try to contact the author http://trac-hacks.org/wiki/airadier
[08:29:58.368004]<slam>looking at his projects i understand that he might have the same problems with trac as i do ;-)
[08:30:18.355800]<wolfboy22>pacopablo: thanks for the logging tip
[08:30:23.413030]<wolfboy22>but I'm not seeing anything in there
[08:30:28.510073]<wolfboy22>slam: I might do that
[08:30:47.513697]<slam>wolfboy22: how did you install the plugin?
[08:30:55.978925]<pacopablo>wolfboy22: if you don't see anything that references the plugin, then it's not installed in the right place
[08:31:18.108628]<pacopablo>even if the plugin doesn't work, you should see a line in the log showing that it's trying to load it.
[08:32:01.573237]<wolfboy22>pacopablo: I don't see anything in there about it
[08:32:10.073802]<wolfboy22>I installed it system-wide
[08:32:16.341155]<wolfboy22>in the python site-packages directory
[08:32:20.514965]<wolfboy22>is that the right place?
[08:42:36.815214]<pacopablo>wolfboy22: site-packages should be fine. make sure that you're enabling it in your trac.ini
[08:43:15.021801]<pacopablo>though if you don't see it listed when setting logging to debug, then something's wrong with the python path
[08:43:20.721551]<pacopablo>how are you running trac?
[09:00:59.507408]*retracile mutters something unintelligable about mornings.
[09:04:16.525311]<wolfboy22>pacopablo: I'm just running it through apache
[09:04:59.655384]<wolfboy22>pacopablo: and yes, it's enabled in my trac.ini
[09:30:48.615282]<pacopablo>wolfboy22: try running via tracd and see if it shows up in the log
[10:45:24.610594]<hasienda>macmaN: thanks for your comment, after all it's positive, isn't it? :) I will be back in about 1 hour ready to discuss and release some code somewhere.
[10:46:25.959444]<macmaN>hasienda: i guess we should also be happy that trac is actually well and alive after 5 years
[10:46:31.149497]<macmaN>most of them already have tombstones
[10:50:06.776047]<pacopablo>hasienda: you familiar with using git?
[10:51:47.041732]<pacopablo>btw, why use mxDateTime.Parser instead of something like dateutil?
[10:52:15.898657]<hasienda>macmaN: agree, this counts for reliability, but in general there is not much that couldn't be done better. I prefer solving the issue over waiting, even if it looks like out-of-reach in my situation (started reading Python some months ago).
[10:52:55.008120]<macmaN>hasienda: you might be reading something out of my comment that i am not really saying
[10:53:00.566902]<macmaN>im fully supporting your effort
[10:53:22.711582]<macmaN>everything else is just sort of zen meditation statements
[10:53:25.720671]<macmaN>:)
[10:53:38.701383]<hasienda>pacopablo: no, but you're not the first pointing me at it, guess I need to have a start with git soon.
[10:53:45.221433]<macmaN>. o O (happy to see sw project survive)
[10:53:48.468427]<macmaN>yadda yadda
[10:54:13.554015]<pacopablo>hasienda: mercurial would probably work too
[10:54:34.705323]<pacopablo>hasienda: with either it's fairly easy to setup a mirror of the trac code that multiple people can hack on
[10:54:53.721465]<pacopablo>at least to get it to the point of either a nice patch, or a branch
[10:55:09.639835]<pacopablo>and I don't see this going into 0.12
[10:55:11.221612]<hasienda>thanks (mac)maN :)
[10:55:14.546757]<pacopablo>(maybe 0.12.1)
[10:57:15.541950]<hasienda>pacopablo: using mxDateTime.Parser is just a matter of not doing experiments with date string parsing, at least not at the start. For being a novice I considered it wise to build onto code with good reputation in this critical case.
[10:58:14.483982]<hasienda>And my tests show that this parser is really good, locale-aware, etc.
[10:58:32.300592]<pacopablo>hasienda: take a look at http://labix.org/python-dateutil
[10:58:59.890802]<pacopablo>unfortunately, I can't really give an objective opinion of which is better
[10:59:10.161383]<pacopablo>I've just always ended up using datuil
[10:59:24.052361]<pacopablo>especially since it has a really nice date string parser
[11:03:15.016286]<hasienda>And, if I find it in Debian stable, this speaks for this as well. Dateutil may be enought in the end, but why start with less, if you can get date from almost any string you can think of? I tested mxDateTime.Parser after having some trouble with getting dateutil to work. As always I might have been me not beeing able to put in the right magic incantation to it. :)
[11:04:02.240902]<hasienda>pacopablo: will look at dateutil after all, at least after fixing the notification thing.
[11:08:57.517119]<hasienda>pacopablo: maybe 0.12.x, but that dosen't matter, just give it a go, and we'll see.
[11:16:22.816204]<Igloo>Can anyone help me install http://trac-hacks.org/wiki/TracTicketStatsPlugin please?
[11:16:43.075645]<Igloo>I've done what should be necessary as far as I can tell, but I see no sign that the plugin is actually installed
[11:17:39.352480]<Igloo>The TSTATS_VIEW permission it claims to add isn't in the dropdown list on admin/general/perm, and and I don't see the plugin on admin/general/plugin
[11:20:53.057161]<Igloo>Hmm, same problem as http://trac-hacks.org/ticket/6851 which was silently closed by anonymous...
[11:21:03.245131]<pacopablo>@logging
[11:21:03.260489]<evil_twin>logging is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[11:21:22.176309]<pacopablo>Igloo: turn on logging and make sure that it's actually being loaded
[11:24:13.494380]<Igloo>pacopablo: 'grep Tracticketstats trac.log' finds nothing
[11:24:32.400825]<Igloo>The file is /srv/trac-plugins/Tracticketstats-2.1-py2.5.egg
[11:24:54.166765]<pacopablo>Igloo: then it's not being loaded
[11:24:59.161648]<Igloo>pacopablo: Why not?
[11:25:12.109310]<pacopablo>make sure that /srv/trac-plugins is in your PYTHONPATH
[11:25:31.665195]<Igloo>I have "plugins_dir = /srv/trac-plugins" in "[inherit]"
[11:25:46.680008]<Igloo>And it is loading TracMetrixPlugin-0.1.7-py2.5.egg from that directory fine
[11:25:56.847860]<Igloo>Oh, just noticed the perms on the file. Sigh.
[11:27:01.664826]<Igloo>OK, sorry for bothering you!
[11:27:20.699433]<pacopablo> np