Team Chat Logs

April 14, 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    

[01:13:35.312361]<sivang>morning all!
[01:13:51.007142]<sivang>What is the state of efforts towards multiproject management in a single instance on trac?
[01:16:26.608056]<Sacho>it's in 0.12
[01:25:17.789638]<sivang>Sacho: you mean, it built in already?
[01:25:37.644567]<sivang>Sacho: does it support "My tasks" across projects?
[01:26:21.489508]<Sacho>oh, multi project, sorry
[01:26:38.872420]<sivang>Sacho: e.g., showing all your assigned tasks across projects
[01:26:56.499514]<Sacho>I misread.
[01:29:22.222560]<sivang>Sacho: okay
[01:29:33.648676]<sivang>Sacho: do you know if anybody is working on this or something ?
[01:32:33.826651]<sivang>Sacho: is there a guide for developing Trac? I want to experiment with adding project support
[01:34:08.068656]<sivang>http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup
[01:34:09.174023]<sivang>nice
[02:30:28.296463]<osimons>sivang: as http://trac.edgewall.org/wiki/TracMultipleProjects#MultipleProjecthandlingforpost-1.0Trac shows, we don't really have a clear idea of what "multiproject" actually means...
[02:33:02.362444]<Sacho>heh
[03:24:13.970374]<_dave_h_d>hi guys how do i do a time comparison when doing a report, lets say i want all tickets from a release which is happening in the future
[03:24:55.840997]<_dave_h_d>i am comparing version.time field
[03:26:50.351639]<kirean>_dave_h_d: db?
[03:29:33.061425]<kirean>_dave_h_d: Trac version?
[03:29:33.103194]<_dave_h_d>kirean: 0.11.7, sqlite
[03:33:19.957106]<_dave_h_d>i got it
[03:33:21.323260]<_dave_h_d>where DATE(v.time) > DATE(strftime('%s','now'))
[03:34:17.291879]<kirean>http://www.sqlite.org/lang_datefunc.html
[03:39:04.103121]<_dave_h_d>kirean: lol, good one
[03:39:05.330320]<_dave_h_d>thanks
[03:39:13.929543]<_dave_h_d>;-)
[03:41:28.925415]<kirean>_dave_h_d: don't mean to be arrogant
[03:42:04.337567]<kirean>_dave_h_d: when I was on sqlite that page was helpful for me
[03:42:44.396664]<_dave_h_d>i worked it out: where DATE(v.time) > DATE(strftime('%s','now'))
[03:47:34.175857]<_dave_h_d>hi all doing a pretty neat report, http://pastebin.com/zLCFWN1T, now as you can see it is grouped by release, I want to display only 3 releases of the future, anyone knows how?
[04:48:03.192768]<hasienda>Hello all, this is not related to SQL but to Python code from trunk. I added some modifications an debug statements arround, but fail to understand the actual of following code: http://dpaste.com/183741/
[04:48:06.364532]<sivang>osimons: would you think I could use multiple repositories and represent each project as an repo ? so it'd be linked in the UI
[04:48:09.541721]<sivang>and everything.
[04:49:12.037969]<hasienda>There is, whats in the log when calling /newticket: http://dpaste.com/183742/
[04:51:43.548387]<hasienda>I don't understand, why I see "formatted for display" log msg but not "attempt to format for display", what is only 2 lines before in same 'try:' statment. Well, I'm still new to Python, I guess. Any hints?
[06:19:19.086138]<bionoid>hey hasienda :) how's it going?
[06:21:52.673682]<bionoid>hasienda beats me why that wouldn't work (I'm new to python as well), but maybe try to log just a simple string in the upper log call in case it's a problem with the format string?
[06:50:51.270736]*retracile mutters something negative about mornings.
[07:41:18.349657]<webmaven>I'm looking for a plugin that would let me add editable text to the top of the timeline. Does anyone have a suggestion for that?
[07:43:01.193898]<cmc>webmaven: I'm not aware of a plugin that does that, but you can copy+edit the template file to achieve the same result
[07:45:30.058413]<webmaven>Hmm.,
[07:46:27.671814]<cmc>for example, since you want to modify the timeline, copy $trac_root/timeline/templates/timeline.html and put it in $site_env/templates/timeline.html
[07:46:43.709133]<cmc>restart tracd/apache and then edit that file to your heart's content
[08:00:19.850858]<osimons>webmaven: site.html customization so that you don't have to change the template directly
[08:00:36.574896]<osimons>@wiki CookBook/SiteHtml
[08:00:36.582907]<evil_twin>http://trac.edgewall.org/wiki/CookBook/SiteHtml
[08:01:07.612311]<osimons>- and add yours to the cookbook once you get it working :-)
[08:06:14.390872]<dunk_>gozerbot: part
[08:07:30.630937]<webmaven>Thanks folks.
[09:01:18.012856]<haard>Hi. I have a hard time figuring out if trac supports submitting tickets from an external systems (eg end-user software). Does it? Or is straight-into-database/webclient fake the only way?
[09:01:40.686467]<cmc>http://trac-hacks.org/wiki/XmlRpcPlugin
[09:02:21.727173]<haard>thanks!
[09:02:26.524318]<cmc>also, trac-admin: http://trac.edgewall.org/wiki/TracAdmin
[09:02:35.234371]<cmc>np
[09:02:46.651431]<cmc>trac-admin is probably best supported, though it's a command line tool only
[09:03:16.323548]<coderanger>xml-rpc
[09:03:40.375295]<cmc>yeah, the xmlrpc plugin is pretty great
[09:03:54.185680]<haard>xml-rpc looks like it intends to do exactly what I want; scripting for trac-admin could be plan B
[09:04:32.106442]<haard>is 0.11 the release to go for for a production environment?
[09:06:40.420078]<cmc>It's the most stable, though 0.12 is going to be around the corner
[09:06:46.002963]<cmc>most plugins work with 0.11
[09:07:46.462970]<haard>mm will probably aim for .11 then. Thanks again!
[09:07:55.775741]<cmc>:) good luck
[09:15:01.691488]<Sacho>what causes columns with the name summary in view tickets to get a link to the ticket?
[09:16:05.460057]<cmc>pretty sure its if the column title is "summary"
[09:16:17.708513]<Sacho>yes, but what causes that
[09:16:21.489197]<Sacho>how can I replicate the behavior
[09:16:28.678915]<cmc>I think it's a special case
[09:17:47.280180]<Sacho>works for ticket also
[09:18:01.816857]<cmc>and id
[09:18:25.640008]<cmc>but again, if I remember correctly, those are special cases
[09:20:04.296880]<Sacho>Found it
[09:20:10.550811]<Sacho>so it's the templates :P
[09:23:43.268429]<cmc>http://trac.edgewall.org/browser/tags/trac-0.11.7/trac/ticket/templates/report_view.html#L97 rockin
[09:24:23.444357]<cmc>special cases for ticket, id, summary, time, date, created, modified, datetime, report, title, description, and milestone
[09:24:44.486510]<cmc>but yeah you can override that with different special cases
[09:38:30.030994]<Sacho>Now i just need to read the documentation on how to override it without changing the source code
[09:38:34.761524]<Sacho>thanks :)
[09:38:58.893547]<cmc>:) unfortunately, documentation is a little light on template overrides
[09:39:31.999495]<cmc>a quickstart: copy the template file (report_view.html) to your template directory
[09:39:56.362335]<cmc>restart http/tracd and then edit that file
[09:40:19.354148]<Sacho>mmh
[09:40:34.296523]<Sacho>that would work fine
[09:48:47.995012]<hasienda>bionoid: thanks, after all, at least you did care about my lonely would-like-to-be-programmer-heart. ;-)
[09:50:34.195897]<hasienda>bionoid: I'll do another shot at it in #python. Will see ...
[09:51:41.970593]<hasienda>bionoid: I feel almost there with the first draft for custom time fields. Only two or three bugs remaining.
[09:52:18.239944]<hasienda>bionoid: You could have a look at http://trac.edgewall.org/wiki/TracTicketsCustomTimeFields
[09:52:58.082533]<hasienda>bionoid: Will announce patches applicable to trac-0.12 trunk this week.
[10:42:52.318154]<cboos>well, that's the first time I see this ... everything is OK on edgewall except t.e.o ... other 0.12 instances are OK
[10:43:23.542091]<cboos>and the corresponding trac.fcgi processes have some weird behavior I haven't seen before
[10:45:15.315554]<cboos>the process starts threads that simply do: set_robust_list/shutdown/close/_exit ... if someone knows what this means, I'm listening ;-)
[10:46:18.549030]<cboos>ah - works again, seems that once those trac.fcgi processes were killed, lighttpd was able to start new ones
[12:33:34.220226]<shaiss>Trying to uninstall a plugin. I followed the instructions @ http://trac.edgewall.org/wiki/TracPlugins but the plugin still shows in the admin>plugins
[12:33:47.860258]<shaiss>any help is appriciated
[12:34:33.592542]<cmc>how was the plugin installed?
[12:35:02.094682]<shaiss>sudo easy_install -U -Z http://trac-hacks.org/svn/customfieldadminplugin/0.11
[12:35:49.937582]<cmc>did you try the __file__ test? http://trac.edgewall.org/wiki/TracPlugins#Uninstalling
[12:36:35.577099]<shaiss>no, I'm not sure how to run those commands
[12:36:55.609790]<shaiss>would it be sudo python import TracCustomFieldAdmin
[12:36:57.181857]<shaiss>?
[12:37:11.765253]<shaiss>that didnt work
[12:37:24.916523]<cmc>you're running linux, yes?
[12:37:29.708501]<shaiss>yes
[12:37:48.399332]<cmc>alright go to a terminal emulator and run "python"
[12:37:59.062687]<cmc>then you'll get a python shell
[12:38:14.453859]<cmc>type: import customfieldadminplugin
[12:38:23.076679]<cmc>does that error?
[12:38:39.317781]<shaiss>ImportError: No module named customfieldadminplugin
[12:39:29.338597]<cmc>oh, sorry, customfieldadmin
[12:40:43.490111]<shaiss>ok, I'm an idiot, step 4 was the key, I restarted the server again, and its gone, voila
[12:40:44.250719]<shaiss>lol
[12:40:52.798369]<shaiss>thanks for the help cmc
[12:41:03.999008]<cmc>;) no problem
[12:44:15.020294]<shaiss>maybe you can point me in the right direction. http://trac-hacks.org/tags/'export' which would you suggest to use if I wanted to dump my entire wiki into a file
[12:44:29.624308]<shaiss>pdf preffered
[12:44:57.807474]<shaiss>they all say wikiPages, but I wonder if they allow a dump of the entire wiki
[12:49:30.815470]<cmc>hm, honestly I've never used any
[12:49:49.359534]<cmc>and unfortunately, I haven't heard of any of the developers either
[12:50:24.676930]<shaiss>trial and error than, thanks again for the help, good day!
[12:50:32.900226]<cmc>I'd go with one of the ones not marked as 'alpha' ;)
[12:50:37.900079]<cmc>good day to you!
[13:08:49.898925]<hasienda>bionoid: Got some helpful answers oberthere in #python. Now back on the trac ;-)
[15:33:55.253471]<giulianob>Is there a post commit hook python script available for Mercurial and Trac 0.12 ?
[15:34:28.143144]<giulianob>I'm using windows as well so some of the solutions i've found dont work
[15:34:51.104292]<giulianob>currently trying to modify post-commit.cmd to work w/ Mercurial but Im not 100% familiar w/ trac admin
[17:00:12.117460]<eyecue>Good morning, im having an issue at the moment where trac is erroring out with a 500 response on ticket editing, and i cant seem to find/get a stack trace in trac.log or lighttpd's error log, I'm running mod_fastcgi with the standard .fcgi script from trac-admin deploy
[17:00:34.552305]<eyecue>Is there a known configuration change I can make to either lighttpd or trac or the fcgi script to get those stack traces going somewhere?
[17:01:46.747945]<eyecue>Python is dumping core, and I cant seem to get anything useful when looking at it with gdb
[17:10:02.248826]<eyecue>Versions currently running, trac 0.11.6 python 2.6.4, genshi 0.5.1, mysqldb 1.2.3.c1, and subversion 1.6.9
[18:13:53.806342]<giulianob>Anyone getting a "OverflowError: long int too large to convert to int" on some tickets on 0.12 ?