Team Chat Logs

February 3, 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:06:01.475138]<gozerbot>trac: Ticket #9024 (Two queries run when clicking on a changeset) closed - <http://trac.edgewall.org/ticket/9024#comment:3>
[00:13:58.424682]<otaku42>moin
[00:20:16.265582]<stockholm>hi otaku42
[00:20:24.596304]<stockholm>regarding the indices ...
[00:20:43.409142]<stockholm>do you recall which ones you created for trac in postgresql?
[00:23:40.924994]<otaku42>stockholm: not exactly. i did some documentation in the form of mailing list postings, but iirc it's been on a closed list used for communication among the t-h.o admins
[00:24:19.376772]<stockholm>otaku42: can you forward your own mails? :-)
[00:24:23.836987]<otaku42>stockholm: please send me a reminder mail to mrenzmann@otaku42.de, i'll try to dig that stuff up and post it on a public place. however, please note that all this was done for trac 0.10.
[00:24:41.491089]<stockholm>ok
[00:24:47.058584]<stockholm>better then nothing
[00:24:48.292537]<otaku42>stockholm: but since switching t-h.o to 0.11 will happen not too far away, i will have to look at the whole topic again
[00:25:30.903483]<stockholm>obviously it would be best if trac itself created the indices
[00:25:47.749162]<otaku42>aye
[00:27:06.519118]<stockholm>you got mail :-)
[00:27:10.088639]<otaku42>stockholm: you might also want to take a look at two threads on trac-dev, started by shane caraveo
[00:27:31.343901]<otaku42>stockholm: "performance and garbage collection" and "my various performance tweaks to trac"
[01:25:44.123077]<dubey>i need help regarding trac notification
[01:31:38.483067]<dubey>using my gmail a/c and want to send notification to my google apps's users
[02:06:03.648646]<gozerbot>trac: 0.12/TracUpgrade edited - <http://trac.edgewall.org/wiki/0.12/TracUpgrade?version=3>
[02:36:04.597758]<gozerbot>trac: 0.12/TracInstall edited - <http://trac.edgewall.org/wiki/0.12/TracInstall?version=12>
[03:06:04.872435]<gozerbot>trac: DatabaseBackend edited - <http://trac.edgewall.org/wiki/DatabaseBackend?version=41>
[03:36:05.339059]<gozerbot>trac: 0.12/TracInstall edited - <http://trac.edgewall.org/wiki/0.12/TracInstall?version=13>
[04:04:38.107404]<dubey>SMTPException: SMTP AUTH extension not supported by server.
[04:06:05.146030]<gozerbot>trac: 0.12/TracEnvironment edited - <http://trac.edgewall.org/wiki/0.12/TracEnvironment?version=4> || 0.12/TracInstall edited - <http://trac.edgewall.org/wiki/0.12/TracInstall?version=14> || 0.12/TracUpgrade edited - <http://trac.edgewall.org/wiki/0.12/TracUpgrade?version=4> || 0.12/TracRepositoryAdmin edited - <http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin?version=8>
[04:06:10.294070]<gozerbot> || 0.12/TracEnvironment edited - <http://trac.edgewall.org/wiki/0.12/TracEnvironment?version=3>
[08:06:08.808716]<gozerbot>trac: Changeset [9121]: MultiRepos: documentation tweaks to the trac-svn-hook contrib script. As ... - <http://trac.edgewall.org/changeset/9121>
[08:36:07.812576]<gozerbot>trac: Changeset [9123]: MultiRepos: merged r9122 - <http://trac.edgewall.org/changeset/9123> || Changeset [9122]: 0.12dev: r9029 was a backport to 0.11.7dev. - <http://trac.edgewall.org/changeset/9122>
[09:36:08.745909]<gozerbot>trac: Milestone 0.12-multirepos completed - <http://trac.edgewall.org/milestone/0.12-multirepos> || Ticket #2086 (better support for multiple repositories ) closed - <http://trac.edgewall.org/ticket/2086#comment:50> || Changeset [9125]: 0.12dev: merged [source:sandbox/multirepos@9124] branch on trunk. Closes ... - <http://trac.edgewall.org/changeset/9125>
[09:43:51.248293]<macmaN>gooooooooo cboos
[09:43:55.647722]<macmaN>gooooooooo rblank
[09:44:03.208338]<macmaN>i will tattoo r9125 on my arse
[10:06:09.248837]<gozerbot>trac: Changeset [9126]: 0.12dev: `trac-admin upgrade` for SQLite backend was broken if parameters ... - <http://trac.edgewall.org/changeset/9126>
[10:36:09.587775]<gozerbot>trac: Changeset [9130]: TracMercurial: place a redirection README at the location of the old ... - <http://trac.edgewall.org/changeset/9130> || Changeset [9129]: TracMercurial for 0.12: update install_requires as needed. - <http://trac.edgewall.org/changeset/9129> || Changeset [9128]: TracMercurial for 0.12 now has multiple repository support (or, depending ... - <http://trac.edgewall.org/changeset/9128>
[10:36:14.797899]<gozerbot> || Changeset [9127]: TracMercurial for 0.12 will be replaced by TracMercurial for multirepos, ... - <http://trac.edgewall.org/changeset/9127>
[11:46:17.906944]<kirean>I'm looking for a way to have select/drop down custom fields, with a key:value combination
[11:57:19.116636]<bernie>hello, is there an easy way to repair installed plugins after the version of python chaged?
[11:57:47.205534]<bernie>I tried renaming the eggs from py2.5 to py2.6, but no luck. I still don't see most plugins in the admin interface
[11:58:37.350954]<bernie>basic`: oh! ciao
[12:01:33.473269]<kirean>bernie: you need to reinstall
[12:01:40.793837]<kirean>the plugins that is..
[12:03:12.189045]<cmc>kirean: you could store everything as a key and then modify the template (with a plugin) to display the value on ticket profiles
[12:07:57.387889]<bernie>kirean: I worked it around with an ugly kludge: for i in *.egg; do mv $i `echo $i | sed -e s/2\.5/2.6/`; done
[12:08:13.244053]<bernie>kirean: and restart apache to convince trac to rescan the plugins
[12:08:51.081150]<bernie>recreating all the eggs manually would have been a lot of work
[12:10:36.087608]<bernie>I have another minor issue:
[12:10:38.437809]<bernie>[Wed Feb 03 15:00:39 2010] [error] /var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
[12:10:52.597936]<bernie>why is trac importing the MySQL bindings? I'm using SQLite :-)
[12:23:58.177895]<RichardLynch>I set up subversion using svnserv and post-commit-hook and it now puts links into tickets... The links go to .../changeset/45 which is "No such node". Do I need to start over with subversion using HTTP svn instead of svnserv? Or is there an easy way to wrap an HTTP reader around the repo?
[12:39:48.076490]<RichardLynch>New to trac... I'm setting it up for 3 or 4 projects in-house. Do I want just one trac-admin initenv, or one for each project? Which one makes it easiest to add/manage/control users with AccountManagerPlugin from trachacks? Pros and cons discourse most welcome if it's not an easy answer.
[12:40:28.931045]<cmc>one environment means one db, one set of users, etc.
[12:40:43.153433]<cmc>there are plugins/hacks to copy users, etc. between environments
[12:41:10.407166]<cmc>but I'd say use multiple environments if the projects are substantially unrelated
[12:41:28.376674]<cmc>i.e. no ticket references between them, no shared milestones, etc.
[12:42:59.842469]<RichardLynch>There is only one set of users (small set) and probably some project with public bug ticket access, and some with no public. But the named user set is small, and only a handful of projects, and most named users will be on several projects, if not all.
[12:43:39.042671]<RichardLynch>I suspect projects will have cross-talk tickets and maybe even milestones, but wouldn't swear to those in court.
[12:44:32.336700]<RichardLynch>Does one big project make it hard/impossible to hide some sub-parts from public or specific users?
[12:45:56.889179]<cmc>hm, there's a plugin for "private" tickets, but yes it becomes more difficult to manage permissions on individual tickets if they are all in one environment
[12:46:35.441186]<cmc>sharing users is pretty simple, and I think there are some plugins for that
[12:47:00.944490]<bionoid>RichardLynch: I use the AD for auth, makes peoples lives easier :)
[12:47:20.817645]<RichardLynch>We may use AD, though there are a ton of people in AD who won't be in trac...
[12:47:52.136671]<RichardLynch>Okay, I need to blow away trac/* and create trac/project1 trac/project2 etc. Is rm -rf trac/* okay?
[12:50:37.107103]<cmc>that will delete the environments (not the db, if you aren't using sqlite)
[13:31:58.461124]<kisielk>is there any method for validating users in the CC list of a ticket?
[13:36:12.714726]<gozerbot>trac: Ticket #9025 (Trac hangs with certain text) created - <http://trac.edgewall.org/ticket/9025>
[13:39:00.495840]<cmc>kisielk: I think you'd have to add your own plugin for that
[13:49:19.017553]<kisielk>cmc: yes, found out that http://trac-hacks.org/wiki/CcSelectorPlugin was finally updated to read names from the database, which is nice
[13:50:10.521285]<cmc>oh nice. go open source, go
[13:52:14.530805]<RichardLynch>I have subversion set up, with a post commit hook. It comments on tickets, and creates a link to trac/changeset/### that link is "No such node" How do I tie Trac in to view subversion repo?
[13:52:18.031387]<RichardLynch>What did I miss?
[14:00:22.194962]<cmc>Is trac tied to that subversion repo? i.e. if you go to "Browse Source," does it show the right files?
[14:04:58.494514]<RichardLynch>cmc: No, it does not. Trac Error. No node at revision 52.
[14:05:04.943864]<RichardLynch>What makes that tie in?
[14:05:13.911852]<RichardLynch>I must have missed it in the setup.
[14:07:05.490302]<cmc>alright, you are using svn, yes?
[14:07:31.902117]<RichardLynch>yes, with svnserv
[14:07:53.838925]<cmc>alright, what is the command you use to run svnserv? (I'm looking for the repo location)
[14:09:44.394571]<RichardLynch>/var/run/svnserv
[14:09:55.745670]<RichardLynch>Actually, it's in an init.d script, which calls that.
[14:10:02.590716]<RichardLynch>The repo location is /var/svn/
[14:10:56.821365]<cmc>alright, in the [trac] section of your trac.ini, it should have repository_dir = /var/svn and repository_type = svn
[14:14:51.480551]<RichardLynch>Aha! I had a brain-fart and put /var/svn/trac as the repo dir. Now I'm on a different error about respoitory sync, but I can probably find that one on Google...
[14:14:59.797700]<RichardLynch>Or just read it and do it.
[14:26:38.803310]<cmc>yeah if you change that you'll need to resync your repo. Let me find the command
[14:27:09.332144]<cmc>trac-admin /location/of/trac/env resync
[14:36:14.170617]<gozerbot>trac: Ticket #9026 (TypeError: 'NoneType' object is not iterable) closed - <http://trac.edgewall.org/ticket/9026#comment:1> || Ticket #9026 (TypeError: 'NoneType' object is not iterable) created - <http://trac.edgewall.org/ticket/9026>
[14:37:49.720226]<RichardLynch>If I don't have PythonOption PYTHON_EGG_CACHE I get an error about not being able to extract eggs. If I *do* have it, I get a 500 server output, with nothing in the logs... Almost as if the PythonOption is so broken that apache chokes on it... I copy/pasted from the docs, except I moved put the egg-cache in /tmp/
[14:40:23.854246]<RichardLynch>I've also tried it in the original suggested location, and it's not writable, so I chwon it to apache:apache (the User of owning the httpd processes). Still says it can't unpack those eggs.
[14:44:02.837856]<RichardLynch>Hmmm. I'm using TracEnvParentDir, and I *can* get my "Available Projects" listing from the front URL. Soon as I try to drill down to a project, it's 500 server error.
[14:46:38.100687]<bernie>is trac 0.12 supposed to support its own userdb one day?
[14:47:36.907067]<bernie>I like very much the idea of delegating authentication to the web server, but how are users supposed to create their own accounts for public bug trackers?
[14:47:38.504094]<cmc>RichardLynch: do you have auth enabled?
[14:48:59.266358]<cmc>bernie: http://trac-hacks.org/wiki/AccountManagerPlugin
[14:52:24.894805]<bernie>cmc: in 0.12 it says you should use http basic auth
[14:54:53.534328]<cmc>http://trac-hacks.org/wiki/AccountManagerPlugin#DisableHTTPauthentication
[14:59:14.616775]<RichardLynch>TracError: The user apache requires read _and_ write permissions to the database file /var/www/html/trac/ipiphony/db/trac.db and the directory it is located in.
[14:59:39.609894]<cmc>there ya go :)
[14:59:48.444364]<RichardLynch>4 drwxr-xr-x 2 apache apache 4096 Feb 3 15:36 db
[15:00:06.868180]<RichardLynch>364 -rw-r--r-- 1 apache apache 366592 Feb 3 15:36 trac.db
[15:00:22.432832]<cmc>and ipiphony?
[15:00:45.344987]<cmc>should just need rx
[15:00:50.261630]<RichardLynch>I needs the whole ipiphony dir?... Hmmm. Okay, the error message to me meant trac.db and it's parent.
[15:01:13.883628]<RichardLynch>4 drwxr-xr-x 9 root root 4096 Feb 3 15:36 ipiphony
[15:01:26.172005]<RichardLynch>Perhaps all that should be apache-owned?
[15:01:26.239089]<cmc>then apache should be able to read it
[15:01:37.491606]<RichardLynch>Anybody can read it, yes...
[15:01:46.643579]<cmc>try sudo su apache and then see if you can read/write to the trac.db file
[15:02:15.963599]<RichardLynch>this account is currently not available. so sudo to apache...
[15:03:57.384544]<RichardLynch>Temporarily gave it apache a shell. sudo su apache; touch trac.db worked.
[15:05:08.243874]<RichardLynch>It *is* the apache user that needs access, right? Not some kinda 'trac' user or 'python' user?
[15:05:48.479066]<RichardLynch>I mean, the user running httpd processes, which on my box is 'apache'
[15:06:14.294245]<gozerbot>trac: 0.12/TracRepositoryAdmin edited - <http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin?version=9> || Changeset [9131]: 0.12dev: Re-added a few `svn:*` properties that seem never to have reached ... - <http://trac.edgewall.org/changeset/9131>
[15:07:16.253420]<cmc>I believe so, but I've always used postgresql
[15:07:37.669060]<RichardLynch>Hmmph. I went ahead and chown -R apache:apache trac/* (multi project parent dir) and it "just worked", so *something* down in there other than trac.db and db needed access...
[15:08:04.108973]<RichardLynch>I didn't research pros and cons of sqlite versus postgresql... Any comments?
[15:08:56.078724]<cmc>yeah we have the entire project dir read-writable by the webserver user
[15:09:20.242596]<cmc>not sure which parts are needed
[15:10:34.693950]<cmc>my big issue with sqlite is contention. you can't write to the file twice at once as you could with a normal db
[15:10:54.707423]<RichardLynch>oh. that won't scale up well, will it?
[15:11:12.969573]<cmc>of course, trac doesn't use a lot of the nice features of postgres that it should
[15:11:20.906198]<RichardLynch>LCD
[15:11:57.018018]<cmc>RichardLynch: we never tried using sqlite because we will always have multiple users writing to the db at once
[15:12:17.434858]<RichardLynch>Guess I'd better go back and re-do that bit...
[15:12:52.754404]<cmc>it will work with sqlite, it'd just be a bit slower
[15:13:22.059641]<RichardLynch>I'm more concerned about users getting messages about db being locked...
[15:14:29.329177]<cmc>I don't understand sqlite enough to know if that would happen or if the process would just block until it could write
[15:15:11.629172]<cmc>we also use postgresql for our applications, so I was pretty familiar with it
[15:27:17.123835]<RichardLynch>I've used both a fair amount. Well, postgresql a whole lot more, but sqlite "works okay" for what I would expect trac to need.... Just wild guessing.
[15:36:14.543395]<gozerbot>trac: Changeset [9132]: 0.12dev: Set `tag_build` back to "dev". - <http://trac.edgewall.org/changeset/9132>
[16:06:15.489034]<gozerbot>trac: Changeset [9133]: TracMercurial: Fixed `install_requires` for current Trac trunk. - <http://trac.edgewall.org/changeset/9133>
[16:10:44.800002]<RichardLynch>The legacy TracWebAdmin plugin has been automatically disabled, and the integrated administration interface will be used instead.
[16:10:55.701083]<RichardLynch>How do I disable the integrated admin?...
[16:23:26.643574]<cmc>sorry, I do not know, perhaps another here
[17:18:40.533930]<basic`>bernie: hi there! :)
[17:36:16.091398]<gozerbot>trac: Ticket #9027 (In 0.11-stable, line breaks are added between section headings and section ...) created - <http://trac.edgewall.org/ticket/9027>
[22:06:25.306110]<gozerbot>trac: Ticket #9028 (move trac.util.hml.Deuglifier to tracopt) created - <http://trac.edgewall.org/ticket/9028> || TracIni edited - <http://trac.edgewall.org/wiki/TracIni?version=169>
[23:06:18.866719]<gozerbot>trac: TracOnDebian edited - <http://trac.edgewall.org/wiki/TracOnDebian?version=128>
[23:36:19.275000]<gozerbot>trac: Ticket #9029 (Don't let robots index wiki edit and history pages) created - <http://trac.edgewall.org/ticket/9029>