Team Chat Logs

September 9, 2010

2010 8
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:08:47.873691]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:2> - cboos
[00:18:49.792250]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:3> - Ryan Ollos <ryano@…>
[03:37:29.594561]<EdwardIII>hey it looks like trac is serving static files through it's cgi at the moment. i've tried googling for 'trac rewrite rules' but can't see any examples? could someone point me to the right documentation?
[03:37:35.293695]<EdwardIII>i also checked out trac deploy
[03:50:17.498860]<kirean>trac-admin deploy sounds familiar
[03:50:54.556546]<kirean>EdwardIII: what about this: http://trac.edgewall.org/wiki/TracCgi#MappingStaticResources
[03:51:10.040828]<EdwardIII>excellent, thanks!
[04:04:32.565947]<evil_twin>t.e.o: select_group_milestones.diff attached to Ticket #7895 - <http://trac.edgewall.org/attachment/ticket/7895/select_group_milestones.diff> - Ismael de Esteban <ismael@…>
[04:33:15.144962]<EdwardIII>hey
[04:34:05.856646]<EdwardIII>i'm looking at a) friendly url for trac (i.e. not trac.fcgi) and mapping static resources. i've checked out static resources but as this is all running for virtual sets adding stuff 'before the ScriptAlias for the CGI script' is going to be tricky... is there a way around this with mod_rewrite instead?
[04:46:25.089990]<EdwardIII>ok, i guess first things first. i've modified trac.ini, changed my base_url, changed 'use_base_url_for_redirect' = true, added my rule - but all the links still point to /cgi-bin/trac.fcgi
[04:59:00.060071]<EdwardIII>tried setting url in [project] but like the docs say that just seems to get used in e-mails
[05:08:11.945811]<EdwardIII>tl;dr?
[05:13:21.107257]<penmark>:)
[05:13:37.105532]<penmark>sorry, can't help you there, i use mod_wsgi
[05:13:37.432338]<EdwardIII>i've tried both relative and absolute urls in base_url
[05:13:44.414731]<EdwardIII>mod_wsgi, hardcore
[05:14:02.231948]<penmark>nah fcgi is the hardcore :)
[05:14:46.455877]<EdwardIII>for the dumb heh
[05:16:10.665118]<EdwardIII>i'm trying to set this up on a cpanel machine so there are certain restrictions
[05:16:19.857329]<EdwardIII>does mod_wsgi handle your url rewriting penmark?
[05:16:59.775292]<penmark>no rewriting needed in my setup
[05:17:13.294323]<EdwardIII>maybe i'm just being too fussy about my URLs heh
[05:18:06.552604]<penmark>well i have the wsgi app mounted in / so only the trac urls are shown, no prefix
[05:18:24.787570]<penmark>or do you rewrite the trac urls as well?
[05:19:11.761018]<EdwardIII>no, i'm just trying to omit the trac.fcgi bit
[05:19:21.944306]<EdwardIII>i thought base_url was the ticket! but i am sorely mistaken heh
[05:20:49.304390]<penmark>i heartily recommend using mod_wsgi; http://code.google.com/p/modwsgi/wiki/VirtualEnvironments is a guide to using a virtualenv with mod_wsgi
[05:23:40.702144]<EdwardIII>ah, i'm already using virtualenv penmark
[05:24:08.282744]<EdwardIII>i'm not sure about getting apache working with it in a cpanel environment but perhaps this article will light the way
[05:24:11.575057]<EdwardIII>thanks!
[05:24:13.001132]<penmark>yeah i reckoned, i just meant using mod_wsgi in you setup
[05:24:17.511479]<penmark>*your
[05:38:29.503072]<EdwardIII>perhaps i should just shut up and stop being so fussy
[05:38:32.989906]<EdwardIII>urls, schmurls
[05:38:42.297481]<EdwardIII>is there a way to get trac receiving email like rt does?
[05:43:32.459562]<EdwardIII>i've had a look through the config and i can't see anything about getting trac to check e-mail, i've also looked at the plugin list. i can see there's an anti-spam filter heh
[05:50:24.873233]<penmark>we use a plugin that edits/adds tickets based on incoming mail
[05:50:51.258106]<penmark>what's rt?
[05:50:55.940116]<EdwardIII>penmark, perl-based bugtracker
[05:51:00.992918]<EdwardIII>'request tracker'
[05:51:09.846533]<EdwardIII>penmark, is that a public plugin?
[05:51:12.968270]<penmark>yeah
[05:51:54.432165]<EdwardIII>penmark, where could i get it?
[05:54:26.179774]<EdwardIII>i checked out the pluginlist but couldn't spot anything: http://trac.edgewall.org/wiki/PluginList
[05:54:36.762918]<penmark>lemme check, i don
[05:54:42.698056]<penmark>'t remember what it's called
[05:54:52.675013]<EdwardIII>thanks fella
[06:14:50.418733]<EdwardIII>hrm i've run trac-admin ~/trac/ permission remove viewer '*'
[06:14:50.464606]<EdwardIII> but an anonymous user can still view tickets etc?
[06:17:21.778904]<penmark>https://subtrac.sara.nl/oss/email2trac (it's not a plugin though)
[06:18:48.120357]<EdwardIII>i'd've thought that some widely used plugin would be available, penmark?
[06:48:41.184476]<laz_>hello !
[06:49:04.678254]<laz_>does anyone know a way to execute a command (script) after a ticket creation / change ... is there a plugin for that ?
[06:50:03.620577]<evil_twin>t.e.o: Ticket #7895 (Issue: Custom Query Shows All Milestones Closed and Active) updated - <http://trac.edgewall.org/ticket/7895#comment:4> - Ismael de Esteban <ismael@…>
[07:16:06.691864]*retracile sputters something vitriolic about mornings.
[07:36:44.331009]<penmark>laz_: if creating your own plugin is feasible it's a simple matter of implementing the ITicketChangeListener interface
[07:37:00.931603]<laz_>penmark: ok great thanks
[07:43:47.089612]<EdwardIII>i've run the following but anonymous visitors can still access wiki, tickets etc? trac-admin ./trac/ permission remove viewer '*'
[07:44:02.214260]<EdwardIII>could someone point me to the right doumentation or offer a tip?
[07:44:51.202588]<EdwardIII>i've got htpasswd setup like in the tutorial, i guess the 'viewer' user is predefined so that doesn't exist in my htpasswd file
[07:46:43.175305]<retracile>what does `trac-admin ./trac/ permission list anonymous` show?
[07:47:14.412012]<retracile>EdwardIII: The `viewer` user isn't a predefined user; `anonymous` and `authenticated` are.
[07:48:58.631101]<EdwardIII>ah ok, thanks retracile
[07:49:48.169039]<EdwardIII>that is perfect, retracile
[07:50:26.521147]<EdwardIII>the reason i though tit was 'viewers' is because of this chap's recommendation on a newslist: http://groups.google.com/group/devjavu-users/browse_thread/thread/bc12cc1d5d01cb8e
[07:52:18.203631]<retracile>Yeah, that's a confusing way of stating that information...
[07:52:19.763786]<EdwardIII>mmmm, this is getting sweet. next: svn integration
[08:35:24.037788]<evil_twin>t.e.o: Ticket #9610 (Spamfilter bayes sometimes forgets database contents) created - <http://trac.edgewall.org/ticket/9610> - dstoecker
[08:45:25.977282]<evil_twin>t.e.o: Ticket #9449 (demo not found) updated - <http://trac.edgewall.org/ticket/9449#comment:2> - twalter@…
[09:20:32.771449]<evil_twin>t.e.o: Ticket #6474 (svn:externals displayed as folder in listing) updated - <http://trac.edgewall.org/ticket/6474#comment:10> - Martin Scharrer <martin@…>
[09:40:36.658979]<evil_twin>t.e.o: Ticket #9449 (demo not found) updated - <http://trac.edgewall.org/ticket/9449#comment:3> - cboos
[09:59:48.373018]<fatbrain>when running tracd without -d it works like a charm, but whenever I use -d it exists wihtout demonizing the process (no error message either)
[09:59:53.328786]<fatbrain>any thoughts?
[10:00:46.870767]<fatbrain>(I start it like this, trac -d -p 3000 -s -pidfile=pid.run --protocol=http /var/tracproject)
[10:05:40.591592]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:4> - rblank
[10:05:45.590989]<evil_twin>t.e.o: Ticket #7895 (Issue: Custom Query Shows All Milestones Closed and Active) updated - <http://trac.edgewall.org/ticket/7895#comment:5> - rblank
[10:24:34.225322]<evelyette>hi
[10:24:48.863702]<evelyette>I'm having problem setting up trac: )Permission denied: access to /trac denied
[10:24:53.323089]<evelyette>http://dpaste.com/241078/
[11:20:55.167375]<evil_twin>t.e.o: Ticket #4431 (wiki_to_wikidom) updated - <http://trac.edgewall.org/ticket/4431#comment:16> - anonymous
[13:21:18.531318]<evil_twin>t.e.o: Ticket #8172 (Plugin db upgrade infrastructure) updated - <http://trac.edgewall.org/ticket/8172#comment:10> - rblank
[13:35:38.276893]<pahalial>How would I troubleshoot a TemplateNotFound error with the AccountManager plugin?
[13:36:05.221411]<macmaN>umm, missing template files in the plugin dir?
[13:36:24.503994]<pahalial>Well, it's an egg file, but I extracted it and the template's defined in python
[13:36:38.424209]<pahalial>class AccountManagerAdminPage(Component): implements(IAdminPanelProvider, ITemplateProvider)
[13:46:12.747285]<exlt>would anyone have a hint on modifying the default /query page in TracQuery when logged in? I understand the default is to display my tickets - I would like it to display all tickets when logged in (Owner is: parameter empty or removed)
[13:46:23.404194]<evil_twin>t.e.o: plugin_components_select_all_variant.png attached to Ticket #9609 - <http://trac.edgewall.org/attachment/ticket/9609/plugin_components_select_all_variant.png> - dnedelchev <dbn@…>
[13:52:01.625396]<exlt>bah.. I think I found it default_query = status!=closed&owner=$USER -> default_query = status!=closed
[13:53:18.460296]<dnedelchev1>exlt:yes, exactly
[13:54:00.055396]<dnedelchev1>btw I think it should be status=!closed
[13:54:18.471182]<dnedelchev1>status!=closed didn't work
[13:54:30.152774]<exlt>hmm.. that was a direct cuttie pastie from my ini
[13:54:51.352241]<exlt>and it does work on 0.11.7
[13:55:12.070953]<dnedelchev1>I'm sure I had problems with status!= but you can try, I may be wrong
[13:55:55.023884]<dnedelchev1>I had to use status=!closed on 0.12
[13:56:25.348509]<evil_twin>t.e.o: Ticket #8459 (svn:mergeinfo rendering is far too slow) updated - <http://trac.edgewall.org/ticket/8459#comment:31> - cboos
[13:57:12.661570]<exlt>dnedelchev1: I'll (try) to remember that when we upgrade ;)
[13:57:18.312711]<dnedelchev1>would you tryif status=!closed do work with 0.11.7?
[13:57:25.601598]<exlt>sure
[13:58:48.985561]<dnedelchev1>if it works you may better use it instead (one upgrade trouble less;)
[13:58:54.148966]<exlt>yeah, that works too
[14:00:11.444252]<dnedelchev1>or maybe the failed "!=" should go into a bug-ticket?
[14:02:17.785892]<dnedelchev1>oops! it works now!
[14:03:38.099175]<dnedelchev1>sorry for the "!=" / "=!" spam! I may have mistyped something when I got the fault...
[14:06:27.293063]<evil_twin>t.e.o: Ticket #4717 (wrong table cell width with multibyte in ticket notify) updated - <http://trac.edgewall.org/ticket/4717#comment:10> - cboos
[14:10:22.264384]<pedahzur>We have a custom field on our track ticket (a select) whose values we'd like dynamically updated. Is there a way to configure a custom select's possible values to be pulled from an external source? Even a file would work fine, we could trivially export the values to a file each night.
[14:11:28.253824]<evil_twin>t.e.o: plugin_components_select_all_variant2.png attached to Ticket #9609 - <http://trac.edgewall.org/attachment/ticket/9609/plugin_components_select_all_variant2.png> - dnedelchev <dbn@…>
[14:35:09.486593]<osimons>pedahzur: if you have 0.12 and can export at regular intervals, you can just update it directly using command-line like "trac-admin ENV config set ticket-custom myfield.options one|two|three|four....." (untested)
[14:35:50.345841]<osimons>but no, nothing in trac that can pull it from other locations. may be some plugins, but none i've ever tried myself
[14:36:32.215991]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:5> - dnedelchev <dbn@…>
[14:37:30.087283]<pedahzur>osimons: That is cool, but we are running 0.11 right now. Yet another reason to move to 0.12. :)
[14:38:49.096477]<osimons>pedahzur: not overly complicated in 0.11 though, just need to write a little python. ~5 lines should be enough.
[14:40:55.825430]<osimons>or even one on commandline... python -c "from trac.env import Environment; myenv = Environment('/path/to/env'); myenv.config.set('ticket-custom', 'myfield.options', 'one|two|three|four...'); myenv.config.save()"
[14:41:00.269623]<osimons>- again untested :-)
[14:41:33.187275]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:6> - Ryan Ollos <ryano@…>
[14:46:55.302558]<pedahzur>osimons: Ooooo...spiffy. Yeah, there's a lot I don't know about trac internals. So, that will automatically update the config file too? Sweet!
[15:58:57.082461]<pedahzur>osimons: Thanks much! That idea works GREAT!
[22:59:19.810937]<dubey>hello
[23:00:45.242698]<kirean>hey
[23:01:45.232871]<dubey>i am using bitnami's trac, which is working fine. When i access it from browser "http://localhost/trac" i am able to see all the list of created projects. But now i want to implement authorization on this path, I mean when someone access /trac is should ask for user/passwd but not for other projects
[23:02:58.895964]<kirean>@frontend
[23:02:58.912076]<evil_twin>frontend is CGI, FastCGI, mod_python, tracd, or mod_wsgi
[23:03:11.347320]<kirean>dubey: which frontend?
[23:03:11.522773]<dubey>My purpose is that my client should not view the list of all the project But when they access their project they should be able to
[23:03:19.298308]<dubey>apache2
[23:03:49.481107]<coderanger_>Use LocationMatch
[23:13:50.725193]<dubey>coderanger: bitnami use "LocationMatch" default for /trac. I place auth related directives in LocationMatch of /tac and it is asking me for password when i access which is ok But when i put /trac/project this too asking for password, which i don't want
[23:22:54.733714]<coderanger_>dubey: <LocationMatch ^/trac(/?)$> should do it I think
[23:28:25.697777]<dubey>coderanger: yes, it is working. Pls. see http://pastebin.com/d3i3tQ07 But child directories are not working
[23:29:08.368549]<coderanger_>You shouldn't really be using mod_python anymore, but you need to move the auth config out of that Location into its own LocationMatch
[23:43:17.955457]<evil_twin>t.e.o: select_group_milestones_correct.diff attached to Ticket #7895 - <http://trac.edgewall.org/attachment/ticket/7895/select_group_milestones_correct.diff> - Ismael de Esteban <ismael@…>
[23:43:22.955741]<evil_twin>t.e.o: Ticket #5010 (shutdown hook for plugins) updated - <http://trac.edgewall.org/ticket/5010#comment:22> - cboos
[23:43:27.956973]<evil_twin>t.e.o: Ticket #221 (Creating TR for multiple components) updated - <http://trac.edgewall.org/ticket/221#comment:17> - cboos
[23:48:18.919424]<evil_twin>t.e.o: Ticket #533 (Support for custom reports) updated - <http://trac.edgewall.org/ticket/533#comment:5> - cboos
[23:48:23.917701]<evil_twin>t.e.o: Ticket #781 (svn:log editing) updated - <http://trac.edgewall.org/ticket/781#comment:30> - cboos
[23:58:20.862854]<evil_twin>t.e.o: Ticket #9609 ('Select All' function on WebAdmin Plugin panel) updated - <http://trac.edgewall.org/ticket/9609#comment:7> - rblank