Team Chat Logs

February 8, 2010

2010 1
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

[00:20:14.592307]<pr0gg3d>hi to all, anyone that knows/uses a good vim syntax file for trac markup (and some macros, maybe...) ?
[00:24:59.251815]<Cupertino>Hi all
[00:25:42.704930]<Cupertino>Can I passwordprotect an entire trac version?
[00:25:49.075470]<Cupertino>*installation?
[00:27:03.527519]<wildintellect>yes
[00:27:21.468941]<wildintellect>use Apache or another web server to restrict access to the url
[00:28:16.327347]<wildintellect>you can also turn off anonymous view on everything but an initial page with a login button
[00:31:19.770394]<Cupertino>Right, thats cool
[00:31:20.916366]<Cupertino>thanks
[00:31:21.344230]<paranoidi>hmph, I'm still having this weird problem where trac goes berserk (apache + mod_wsgi) and consumes every bit of available resources, I've "fixed" this with a script that kills them all when load rises over 20
[00:31:57.572762]<paranoidi>my app ending up in russian equivalent of reddit did not help
[00:37:51.996058]<macmaN>you had some big traffic?
[00:40:55.472701]<paranoidi>well more than usually, meaning crashed 5 times yesterday
[00:41:27.075025]<paranoidi>I don't think it's load related, just happens more often then ..
[02:33:21.720182]<dachary>Hi. I wonder where I should start reading about customizing the user interface of trac ?
[02:35:16.056503]*dachary reading http://trac.edgewall.org/wiki/TracFaq#great-software-is-there-a-guide-on-hacking-the-templates
[02:43:08.181702]<otaku42>dachary: http://trac.edgewall.org/wiki/TracInterfaceCustomization might help
[02:43:53.148606]<dachary>otaku42: thanks. contemplating http://blackhex.no-ip.org/discussion found at http://trac-hacks.org/wiki/DiscussionPlugin now :-)
[06:47:22.939492]<gozerbot>trac: MoinMoin edited - <http://trac.edgewall.org/wiki/MoinMoin?version=3> || InterMapTxt edited - <http://trac.edgewall.org/wiki/InterMapTxt?version=33> || TracDev/Proposals/AdvancedWikiFormatting edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/AdvancedWikiFormatting?version=17>
[07:17:25.217550]<gozerbot>trac: TracRevisionLog edited - <http://trac.edgewall.org/wiki/TracRevisionLog?version=8>
[07:39:37.297204]<ktk>hey everyone
[07:40:10.288301]<ktk>short q: I block googlebot with some disalows as I host tons of projects and changelog/browse etc doesn't help for performance
[07:40:35.224794]<ktk>used to work fine but the past days I saw googlebot doing OPTIONS requests on the stuff which is blocked like "OPTIONS /fm2/changeset/551/trunk HTTP/1.1"
[07:40:53.622739]<ktk>which kills my performance again. anyone else noticed something like that?
[07:42:30.725124]<cmc>not heard of it
[07:44:10.628088]<cmc>seems like something that robots could disallow
[07:48:25.924852]<ktk>cmc: OPTIONS you mean?
[07:48:37.017272]<cmc>yeah
[07:48:57.515405]<cmc>this is the only thing that came up in a quick search: http://www.webmasterworld.com/search_engine_spiders/3929358.htm
[07:49:11.834424]<cmc>using 'HEAD' rather than 'OPTIONS', but same concept
[07:51:13.310868]<ktk>ok see what you mean but sounds like a PITA ;) I wonder why they even touch that, they should not care about anything behind the filter anyway
[07:51:29.585747]<ktk>behind the disallow
[07:51:31.297514]<ktk>I mean
[07:52:05.156993]<cmc>I agree. Not sure what's going on. You can register with google and tell them not to search that stuff I think
[07:53:26.883759]<ktk>did that, funny thing is that google lists all those URLs as blocked
[07:53:37.901751]<ktk>can even download a CSV of what they consider as blocked
[07:53:51.883640]<ktk>and the things which get requested are in this list
[07:53:58.019638]<ktk>so I was like WTF :9
[07:54:20.473599]<cmc>hm... maybe it's not actually google?
[07:54:46.452764]<ktk>whois says it's google
[09:33:48.893924]<plvaxuxoyi>I have a template I wish to have processed as part of the ticket rendering, what is the correct way to handle this?
[10:52:26.745806]<banished>Hi, how can I grant read acces to the svn for everyone using the webinterface?
[10:52:29.935934]<lamalex>If anyone here familiar with trac-bzr? I asked in #bzr but no one replied so I figured probably not
[10:54:31.561411]<cmc>banished: I think Browser_view is the permission you are looking for, but I thought that was defaulted on for anonymous
[10:55:53.512970]<banished>cmc: I have that, but it still asks me for a username and password, if I do svn co
[10:56:09.569047]<cmc>that's unrelated to trac
[10:56:11.016218]<cmc>one moment
[10:57:45.106847]<cmc>http://svnbook.red-bean.com/en/1.5/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.auth for svnserve
[10:59:10.885151]<banished>I do not have access to the configuration files, it's just a trac instance provided by a trac hosting facility
[11:00:00.674799]<cmc>trac doesn't control svn access
[11:00:11.247759]<banished>ah, ok
[11:39:49.829109]<plvaxuxoyi>From a plugin, what is the best way to add a template to the current genshi stream?
[11:40:27.904874]<cmc>irequesthandler
[11:40:55.269006]<cmc>that adds a new url (or block of urls)
[11:41:00.171063]<cmc>what are you trying to do
[11:42:15.501594]<plvaxuxoyi>I am trying to make changes to the ticket page. I figured I could implement it in a genshi template
[11:43:03.435918]<plvaxuxoyi>I've seen a couple plugins use ITemplateStreamFilter and use Transformer on the stream. They just plug in some raw html tags using it. Since this would be more than a couple of lines, it didn't seem the correct way to do it.
[11:46:15.779972]<cmc>ah I see, one moment
[11:47:09.567180]<cmc>http://genshi.edgewall.org/wiki/ApiDocs/genshi.builder should help
[11:47:24.665912]<cmc>I usually use Element
[11:53:37.328310]<plvaxuxoyi>I'm not sure if I see how to apply that. The concept I am working from is that one can create a template file that will be processed in addition to whatever normal templates Genshi is going to do. I guess similar to how a project's site.html might work?
[12:01:24.774202]<cmc>so a template within a template
[12:03:02.804212]<plvaxuxoyi>I guess... not entirely sure, I'm not really sure about the genshi/chrome workflow
[12:04:44.825834]<cmc>perhaps http://genshi.edgewall.org/wiki/GenshiTutorial is helpful?
[12:05:45.946826]<plvaxuxoyi>I'm afraid not, I've been over the docs a couple times. Let me see if I can provide some clean "example" code, perhaps you'd be able to point out how to correctly go about it.
[12:07:16.983144]<edwin_quijada>hi
[12:07:32.380623]<plvaxuxoyi>There ya go edwin
[12:07:47.555894]<edwin_quijada>plvaxuxoyi: Yes, thks, I am register now
[12:08:58.924098]<edwin_quijada>I am trying to install Subversion+apache2+trac in Lenny debian but always I get an error. I checked the apache log and I get this
[12:09:09.916860]<edwin_quijada>EnvironmentError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR" or the mod_python
[12:09:10.128657]<edwin_quijada>options "TracEnv" or "TracEnvParentDir" are missing.
[12:09:10.195968]<edwin_quijada>Trac requires one of these options to locate the Trac environment(s)
[12:10:44.245140]<edwin_quijada>i check my conf in default-ssl apache config file and I used this link to do http://trac.edgewall.org/wiki/TracModPython
[12:10:58.115436]<edwin_quijada>but it doesnt work
[12:13:22.913619]<edwin_quijada>this is my conf http://paste.lisp.org/display/94582
[12:14:33.408528]<edwin_quijada>subverison works fine but trac doesnt
[12:17:00.247958]<cmc>does /home/svn/trac have a directory for each project in it?
[12:17:11.920109]<cmc>for each environment*
[12:17:26.575086]<edwin_quijada>yes
[12:18:00.184470]<cmc>"TracEnvParerntDir"
[12:18:02.015380]<cmc>typo
[12:18:07.967702]<edwin_quijada>cmc: I ahve just one repo with a few
[12:18:16.668413]<edwin_quijada>projects
[12:18:42.352969]<cmc>that should fix
[12:19:01.515460]<edwin_quijada>cmc: ok
[12:19:04.981638]<edwin_quijada>let me see
[12:20:34.026739]<edwin_quijada>cmc: Thks!!!!!!!!
[12:20:40.512576]<cmc>np
[12:20:42.717413]<edwin_quijada>That was the error...
[12:21:02.670458]<edwin_quijada>I have 3 days figtinf with this issue
[12:21:16.825294]<cmc>awe, I'm sorry
[12:21:36.679446]<edwin_quijada>but one question it is was not supoosed to ask me for a password and user?
[12:21:52.091277]<cmc>if you have authentication, sure
[12:22:21.354442]<cmc>let me find documentation
[12:22:41.637188]<edwin_quijada>I have a directive for autenthication
[12:23:14.650916]<cmc>not in the pastebin you sent
[12:23:35.781272]<cmc>http://trac.edgewall.org/wiki/TracModPython#ConfiguringAuthentication
[12:27:39.428420]<edwin_quijada>let me see
[12:28:09.360379]<edwin_quijada>so If I ahve a few projets
[12:28:19.182422]<edwin_quijada>just in one repo
[12:28:28.016508]<edwin_quijada>i need to change my config
[12:28:28.480237]<edwin_quijada>?
[12:29:14.833207]<cmc>howso? The number of repos doesn't really affect the apache config
[12:30:04.181992]<edwin_quijada>http://paste.lisp.org/display/94585
[12:30:12.334500]<edwin_quijada>but affect the trac ?
[12:30:35.318073]<edwin_quijada>this is my authentication
[12:31:37.438358]<cmc>was /home/svn/.dav_svn.passwd generated by htpasswd?
[12:31:51.665624]<edwin_quijada>yes
[12:32:21.103309]<cmc>cool, then whenever you click the Login link, it should prompt for passwd
[12:32:32.435298]<edwin_quijada>ok
[12:32:47.936238]<cmc>I think the /trac/*/login notation works, but I'm no apache master
[12:33:25.044852]<edwin_quijada>Q: if have a few projects all information about this ..the first page when I can change?
[12:33:31.328348]<edwin_quijada>where i can change
[12:34:27.128835]<cmc>I don't quite understand your question, but I assume you are asking about:
[12:34:28.488889]<cmc># For the index of multiple projects
[12:34:28.556441]<cmc> PythonOption TracEnvIndexTemplate /srv/www/htdocs/trac/project_list_template.html
[12:36:10.726602]<edwin_quijada>excatly
[12:36:19.580081]<cmc>:)
[12:38:03.295209]<edwin_quijada>when I put https://server/trac I get this lists
[12:38:59.959992]<edwin_quijada>Available projects
[12:39:01.880769]<edwin_quijada>Aegon
[12:39:14.541482]<edwin_quijada>I can put password to this page
[12:40:16.365368]<cmc>If you want authentication there, just change the directory from /trac/*/login to /trac
[12:40:56.875879]<edwin_quijada>ok
[12:40:59.664670]<edwin_quijada>thks
[12:41:03.313753]<edwin_quijada>let me see
[12:41:23.156826]<edwin_quijada>sorry for this inconvenience I am so newbie using this
[12:41:37.272746]<cmc>no worries, everyone is new at some point
[12:46:55.311088]<edwin_quijada>doesnt work
[12:47:07.856340]<edwin_quijada>the authrntication in this place
[12:47:59.278069]<cmc>you said it worked for svn, yes?
[12:48:06.954452]<cmc>change that to be just /
[12:48:31.338647]<cmc>then all web traffic must have good authentication
[12:48:57.013275]<cmc>as a side note, I assume you are running this all on https, if not I strongly suggest you set that up right now
[12:50:20.230791]<edwin_quijada>yes
[12:51:04.086819]<edwin_quijada>yes, I run using https even this is in localnet
[12:51:14.641698]<cmc>good! :)
[12:53:33.896251]<edwin_quijada>U know if there is a good manual for this but in spabish'
[12:53:34.641275]<edwin_quijada>?
[12:53:50.783236]<edwin_quijada>I need to learn how to use this system
[12:54:15.882823]<edwin_quijada>How can I see all changes done in my repo
[12:54:16.657299]<edwin_quijada>?
[13:00:49.760406]<cmc>I'm not sure of a spanish translation
[13:01:09.664134]<cmc>look at the timeline to see changes to the repo
[13:05:10.972832]<edwin_quijada>the timeline just have an information about trac
[13:05:38.386640]<edwin_quijada>for now
[13:06:09.043035]<cmc>click browse. Can you view any changesets?
[13:06:14.710518]<cmc>er, any files
[13:06:20.773421]<edwin_quijada>no
[13:06:53.108575]<cmc>alright. trac isn't communicating with subversion then. where are your repos?
[13:07:06.231177]<cmc>/etc/svn/repos, etc.
[13:07:10.592427]<plvaxuxoyi>@cmc: I posted on pastebin (http://paste.lisp.org/display/94591) what I ended up figuring out. It does the behavior I was looking for, but I dunno if it is the *right* way.
[13:09:25.660294]<edwin_quijada>when I click over Browse Sorce I get my repo
[13:10:45.578396]<edwin_quijada>Can I creare another Env for other project?
[13:14:22.016087]<cmc>plvaxuxoyi: that could work, but why not just put that in a template? I'll find documentation
[13:14:53.576794]<cmc>edwin_quijada: each env has its own db, so its own tickets, etc. they can share subversion repos
[13:15:58.436214]<cmc>plvaxuxoyi: http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
[13:16:51.304168]<plvaxuxoyi>@cmc: Yeah but that only applies to the project's site.html file. This is in a plugin. I couldn't find documentation on implementing it in that manner.
[13:17:53.540638]<cmc>oh I see
[13:18:21.145467]<cmc>Are you just adding a script file?
[13:20:16.669450]<cmc>if so, then in your filter_stream, you can add: "from trac.web.chrome import add_script" and then call add_script(req, "myplugin/somejsfile.js")
[13:20:26.445891]<plvaxuxoyi>Nah, I want to apply a genshi template on top of the normal ticket template.
[13:20:46.612609]<cmc>ah, cool
[13:21:03.928843]<plvaxuxoyi>Yeah, confusing, I was having a hard-time getting across what I was trying to do.
[13:21:19.735891]<plvaxuxoyi>Do you know if there is a "better" way to do it?
[13:21:58.142017]<plvaxuxoyi>Including the current stream as a variable in the rendering of my template seems... ghetto. But that appears to be how theme.html does something similar.
[13:23:33.088777]<cmc>I'm not aware of a better solution, but I don't work with genshi too much
[13:26:50.158423]<plvaxuxoyi>Heh. I like the idea, it is vastly different than my normal template engine. So sometimes it can be difficult to wrestle with. Thanks for the help though!
[13:27:54.543118]<cmc>np; I like your solution
[15:17:31.838488]<gozerbot>trac: Changeset [9166]: tracopt: Removed `cnum` generation in commit ticket updater, as this is ... - <http://trac.edgewall.org/changeset/9166> || Ticket #9038 (Latest multirepos revision chokes on revision log links) closed - <http://trac.edgewall.org/ticket/9038#comment:2> || Changeset [9165]: versioncontrol: Fixed revision log link rendering in the case when there
[15:17:36.748338]<gozerbot> ... - <http://trac.edgewall.org/changeset/9165>
[15:47:28.272246]<gozerbot>trac: TracSearch edited - <http://trac.edgewall.org/wiki/TracSearch?version=7> || Ticket #9035 (KeyError: 'trac' on Admin>Plugins page) closed - <http://trac.edgewall.org/ticket/9035#comment:16>
[15:56:27.858299]<FabianLange>hi folks, i added the xmlrpc plugin to a trac installation, which was mantained by a colleague. i do not have that much of a clue :-) I followed the docs and all went fine however /xmlrpc does give me a "no handler for" error. where shall i look for further information to fix this? The plugin is active (seen in webadmin)
[15:59:47.394287]<osimons>FabianLange: permissions, perhaps? does anonymous have XML_RPC permission? authenticated users should use /login/xmlrpc
[15:59:51.471656]<osimons>@logging
[15:59:51.485716]<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.
[16:00:49.362143]<osimons>^^ turn on trac debug logging temporarily to get verbose output on your server with details on what happens to every request - should become apparent from logs what happen when you make your request
[16:01:09.704534]<FabianLange>i am using the url with my credentials to which i added xml_rpc permissions
[16:02:07.002358]<FabianLange>geh that logging setting seems to need a restart. well lets see if i find a slot where i can poke apache :)
[16:03:07.615805]<osimons>using basic or digest auth? not forms authentication (like account manager)?
[16:04:02.549615]<FabianLange>using forms, but added httpAutho for those two urls (which works, because i get the http pw popup)
[16:04:11.241068]<osimons>if you request /login/xmlrpc in your browser, do you get all the docs and all?
[16:04:28.038500]<osimons>- with "logged in as..." I suppose
[16:05:00.073295]<FabianLange>no i get that no handler error after I log in via http auth
[16:05:49.593184]<osimons>the debug log should provide the answer
[16:07:27.683594]<FabianLange>oh it looks like i used the trunk source... trac is 10.4 so i better try the .10 branch
[16:10:18.032188]<FabianLange>thanks osimons and evil_twin
[16:10:29.958312]<FabianLange>i just was too stupid to chose the correct version
[16:10:35.201522]<osimons>that makes a big difference for sure...
[16:10:45.431265]<osimons>np. good luck.
[16:11:08.923470]<FabianLange>well depends. the 11 version of http auth seems to work on 10 as well :)
[16:12:03.859335]<FabianLange>yeah mylin integration works fine. thanks again osimons
[23:47:34.165026]<gozerbot>trac: Ticket #9042 (Compiler prüft Maximalwerte der Größe von Parametrierung abhängig vom ...) created - <http://trac.edgewall.org/ticket/9042>