Team Chat Logs

September 29, 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:26:37.156700]<evil_twin>t.e.o: Ticket #2036 (Inconsistent sub-menu on Browse Source comparing with View Tickets) updated - <http://trac.edgewall.org/ticket/2036#comment:6> - cboos
[00:31:38.153061]<evil_twin>t.e.o: Ticket #9640 (Error enabling timingandestimationplugin) updated - <http://trac.edgewall.org/ticket/9640#comment:4> - anonymous
[00:36:39.133933]<evil_twin>t.e.o: Ticket #2182 (configurable date and time formats) updated - <http://trac.edgewall.org/ticket/2182#comment:87> - cboos
[01:01:42.212910]<evil_twin>t.e.o: Ticket #9648 (Improve ticket fields with tooltips) updated - <http://trac.edgewall.org/ticket/9648#comment:12> - Sebastian Krysmanski <sebastian@…>
[01:36:02.689226]<paissad>hi all,
[01:36:48.572122]<evil_twin>t.e.o: Ticket #5397 (ticket email URL not recognized by email clients) updated - <http://trac.edgewall.org/ticket/5397#comment:7> - andrixnet@…
[01:37:43.660769]<paissad>i changed the repository path of a trac project ... i would like to resync it again ^^, but when i run this command
[01:37:44.011054]<paissad>trac-admin /media/trac/IC/m1-stage repository resync /media/svn/IC/M1/m1-stage/
[01:37:44.163763]<paissad>here is what i get:
[01:37:45.568821]<paissad>/usr/lib64/python2.6/site-packages/TracScreenshots-0.7-py2.6.egg/tracscreenshots/core.py:10: DeprecationWarning: the sets module is deprecated
[01:37:46.102046]<paissad>/usr/lib64/python2.6/site-packages/graphviz-0.7.5-py2.6.egg/graphviz/graphviz.py:23: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
[01:37:48.991825]<paissad>TracError: Dépôt inconnu /media/svn/IC/M1/m1-stage/
[01:38:11.072167]<paissad>thanks in advance for helping
[01:39:08.863386]<manski>paissad: what does "Dépôt inconnu" mean?
[01:39:21.287365]<paissad>Sorry, the error in english mean:
[01:39:22.501485]<paissad>TracError: Unknown repository '/media/svn/IC/M1/m1-stage/'
[01:39:24.904761]<osimons>paissad: i think the input is the name of the repository - not its path.
[01:39:26.790436]<paissad>manski, ;)
[01:40:24.128374]<paissad>osimons, so what should i put instead ?
[01:40:53.038622]<manski>is "/media/svn/IC/M1/m1-stage/" the correct repository path?
[01:40:59.125219]<paissad>manski, yes
[01:41:00.316476]<osimons>name = the key you defined for it when adding the repository in admin (or just (default) if it is your default repos)
[01:41:42.822746]<osimons>paissad: one question: you are usign trac 0.12+?
[01:41:49.563981]<evil_twin>t.e.o: Ticket #6002 ([PATCH] Adds an options to customize the default history mode) updated - <http://trac.edgewall.org/ticket/6002#comment:8> - Martin Scharrer <martin@…>
[01:41:50.110114]<paissad>osimons, yes
[01:41:54.564921]<evil_twin>t.e.o: Ticket #3360 (Can sort order of change history be reversed) updated - <http://trac.edgewall.org/ticket/3360#comment:6> - Martin Scharrer <martin@…>
[01:41:59.563233]<evil_twin>t.e.o: Ticket #9616 (pre-configure the height of wiki edit text area) updated - <http://trac.edgewall.org/ticket/9616#comment:4> - Martin Scharrer <martin@…>
[01:43:32.739305]<paissad>i'm a bit confused ^^
[01:45:31.359565]<osimons>paissad: trac-admin . repository resync "(default)"
[01:45:48.601812]<osimons>paissad: http://trac.edgewall.org/wiki/TracRepositoryAdmin
[01:46:36.110369]<osimons>to resync all defined repositories for the project: trac-admin . repository resync "*"
[01:47:06.129244]<paissad>ah that's it, i omitted the doubles quotes for default ...
[01:47:11.653198]<paissad>thanks for all :)
[01:50:28.505846]<paissad>i think that would be easier for people if in the doc, they clearly say that we must pick the value of 'repository_syn_per_request' in the log/trac.ini
[01:50:36.899697]<paissad>just a suggestion ... ^^
[01:54:06.895509]<paissad>conf/trac.ini*
[02:26:58.492638]<evil_twin>t.e.o: Ticket #5397 (ticket email URL not recognized by email clients) closed - <http://trac.edgewall.org/ticket/5397#comment:8> - rblank
[02:27:03.493231]<evil_twin>t.e.o: Ticket #5397 (ticket email URL not recognized by email clients) updated - <http://trac.edgewall.org/ticket/5397#comment:9> - rblank
[02:43:30.465481]<ychaouche>Hello, I wish to insert an image left-aligned and text to flow on its right. How to do this in tracwiki ?
[02:44:54.845960]<ychaouche>in html, that would be a float left for the image.
[02:46:51.389078]<ychaouche>nm got it.
[02:47:01.554086]<evil_twin>t.e.o: Ticket #9611 ("LookupError: …: not found in manifest" when looking at hg revision log) closed - <http://trac.edgewall.org/ticket/9611#comment:6> - fschwarz
[05:34:00.794573]<larsivi>I was looking at a plugin that makes heavy use of request.session, and relies on it having (or not having) various fields in a persistent manner - but without knowing too much about .session in Trac, I'm thinking that this must be wrong as soon as someone logs on with a different browser or different computer right?
[05:47:29.586703]<evil_twin>t.e.o: Ubuntu-10.04-Bazaar edited - <http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar?version=4> - natewlew@…
[06:32:56.644305]<knutties>doki_pen: i was on IRC a couple of days back debugging a PATH_INFO problem
[06:33:10.745905]<doki_pen>knutties: right
[06:33:42.735767]<knutties>i tried setting PATH_INFO with os.environ['PATH_INFO'] = '/issues'
[06:33:54.650917]<doki_pen>knutties: that probably won't work
[06:34:37.930856]<doki_pen>knutties: what about os.environ['PATH_INFO'] = '/issues%s'%os.environ['PATH_INFO']
[06:34:46.603426]<doki_pen>knutties: also, you'll probably need to set a parent path
[06:35:12.348279]<doki_pen>knutties: actually, maybe try that first
[06:35:28.425149]<knutties>is that a trac ini setting ?
[06:36:29.920067]<doki_pen>knutties: The TRAC_ENV variable should naturally be the directory for your Trac environment (if you have several Trac environments in a directory, you can also use TRAC_ENV_PARENT_DIR instead), while the PYTHON_EGG_CACHE should be a directory where Python can temporarily extract Python eggs.
[06:36:52.036423]<doki_pen>knutties: ah, I'm thinking of things backwards
[06:37:32.972462]<knutties>my trac_env is fine
[06:37:50.019156]<knutties>i have only one trac environments
[06:38:09.661572]<doki_pen>knutties: yeah, did you try setting the alias to /issues instead of /?
[06:38:43.183760]<knutties>the scriptalias you mean?
[06:38:53.024141]<doki_pen>yes
[06:39:10.615377]<knutties>i think i tried it without success
[06:39:13.129090]<knutties>let me try again
[06:39:21.035412]<doki_pen>knutties: but what happens?
[06:39:36.297364]<doki_pen>knutties: do you have mod rewrite ?
[06:39:42.998335]<knutties>doki_pen: /issues is already an alias at the nginx level
[06:39:43.361963]<doki_pen>knutties: we can probably fix this in apache conf
[06:39:50.409625]<knutties>i have mod_rewrite
[06:40:09.892000]<doki_pen>knutties: is there anything that isn't in /issues?
[06:40:39.922260]<doki_pen>knutties: you probably want to rewrite all /(.*) requests as /issues/$1
[06:40:46.291719]<doki_pen>knutties: but not with a redirect
[06:41:35.361717]<knutties>no all my trac stuff is inside issues, the static files are under a different path though (should not be affected by this apache change)
[06:41:51.333438]<doki_pen>knutties: right, so apache is only handling /issues
[06:41:52.395057]<knutties>let me try the rewrite thing
[06:42:02.541224]<knutties>yeah
[06:42:05.371620]<doki_pen>knutties: basically, we are undoing what nginx has done
[06:42:17.241278]<doki_pen>knutties: the ideal solution is to not have nginx rewrite
[06:42:31.038233]<knutties>i think it tried it, but did not switch of the redirect and got into an infinite loop
[06:42:40.636427]<doki_pen>knutties: after that, you'll want to alias /issues to trac.wsgi
[06:42:56.146150]<knutties>yeah, got it
[06:43:41.481498]<doki_pen>knutties: I haven't setup an apache box in so long, but I think what you want is [P]
[06:43:48.764720]<doki_pen>knutties: you might have to reverse proxy it too
[06:50:43.092984]<doki_pen>knutties: never mind that [P], that will kill you
[06:51:01.297078]<knutties>should'nt [L] do
[06:51:39.658304]<doki_pen>yeah, I think so
[06:51:52.258040]<doki_pen>that should stop it from infinitely rewriting, right?
[06:58:57.114711]<knutties>yeah it does
[06:59:11.279431]<knutties>but my alias is'nt working after the rewrite
[06:59:18.174608]<knutties>am debugging it
[07:03:12.472126]<knutties>doki_pen: figured out that I need a [PT] for the alias to be processed correctly
[07:03:17.801237]<knutties>but that still does'nt re-write the links
[07:03:28.419103]<knutties>does'nt trac have any control on what the base url should be
[07:03:41.076646]<knutties>it would have been much easier that way
[07:11:15.896349]<doki_pen>knutties: it must, since my urls looks like this: http://host/trac/myproject
[07:11:54.476691]<doki_pen>knutties: you could try throwing your trac installation into an /issues subdir and using the parentpath
[07:12:24.620898]<knutties>thanks doki_pen, will try that
[07:12:41.062989]<evil_twin>t.e.o: Ticket #9643 (Ticket search by query with auto completion) updated - <http://trac.edgewall.org/ticket/9643#comment:30> - shesek
[07:12:56.127707]<knutties>i am still wondering why base_url settings is'nt overriding other env parameters
[08:22:53.982600]<evil_twin>t.e.o: Ticket #9467 (Can't kill tracd with CTRL-C (or SIGTERM)) updated - <http://trac.edgewall.org/ticket/9467#comment:4> - roy@…
[08:32:55.980855]<evil_twin>t.e.o: Ticket #9467 (Can't kill tracd with CTRL-C (or SIGTERM)) updated - <http://trac.edgewall.org/ticket/9467#comment:5> - roy@…
[08:56:37.269325]<alitrix>Is it possible to do something like {4 Link name to report}? The current trac doesn't support that :( Only stuff like [[ticket:1| ticket name]]
[09:04:50.546555]<parceval>hello any trac developers here?
[09:08:03.895901]<evil_twin>t.e.o: PySqlite edited - <http://trac.edgewall.org/wiki/PySqlite?version=52> - wwlike2005@…
[09:08:08.896759]<evil_twin>t.e.o: PySqlite edited - <http://trac.edgewall.org/wiki/PySqlite?version=53> - wwlike2005@…
[09:13:03.000055]<evil_twin>t.e.o: TracOnFedoraCore edited - <http://trac.edgewall.org/wiki/TracOnFedoraCore?version=79> - tychay@…
[09:18:03.998208]<evil_twin>t.e.o: TracOnFedoraCore edited - <http://trac.edgewall.org/wiki/TracOnFedoraCore?version=80> - tychay@…
[09:44:32.005683]<doki_pen>parceval: why do you need a trac developer?
[09:53:07.995851]<evil_twin>t.e.o: Changeset [10148]: l10n/he: updates to the Hebrew catalog (0.12.1 string freeze). (100%) - <http://trac.edgewall.org/changeset/10148> - itamaro
[10:05:24.600029]<osimons>alitrix: you can always use explicit links like; ticket:1, report:4 +++ that way you can do [report:4 Link name to report]
[10:06:50.917991]<osimons>i teach my users the explicit variety first - it is easier to read, remember and understand
[10:08:13.039562]<osimons>alitrix: see the 4th minute of my wiki-in-5-minutes howto...: http://www.coderesort.com/about/wiki/HowTo/5MinutesWikiMarkup#FourthMinute:Linking :-)
[10:11:27.947905]<doki_pen>osimons: sid is unique, right?
[10:13:45.455256]<osimons>doki_pen: yes
[10:50:48.547702]<RAWRjar>Hello. I have been put in charge of cleaning up a long-running Trac instance. The first thing I want to do is to close roughly 1,000 tickets that were left open and are now invalid. I can identify these with a couples searchs (eg, all of them have a certian phrase in the summary field), but obviously I don't want to do so manually.
[10:51:10.232306]<RAWRjar>How could I make a script that would run a Trac search, and perform some action on each result found?
[10:51:22.354710]<cmc>update the database directly
[10:51:45.019477]<RAWRjar>Ah. I guess that makes more sense.
[10:51:49.097726]<cmc>you'll want to add an entry into ticket_change for each ticket and then mass update the tickets
[10:52:25.253671]<cmc>if you skip the ticket_change step, you won't have a record of the ticket being closed (though it will still be closed)
[10:52:35.883281]<RAWRjar>Makes sense.
[10:52:52.618932]<RAWRjar>Are there any exampe executions documented?
[10:53:25.063727]<cmc>hm none that I'm aware of
[10:55:43.402337]<cmc>it'd be something like:
[10:57:26.586659]<cmc>1. INSERT INTO ticket_change (ticket, time, author, field, oldvalue, newvalue) (SELECT id, 1285786556, 'me@example.com', 'status', status, 'closed' from ticket where theyAreTheBadTickets)
[10:57:50.167596]<cmc>2. UPDATE ticket SET status='closed' WHERE theyAreTheBadTickets
[10:58:10.839521]<cmc>where 1285786556 is the current unix time, and theyAreTheBadTickets is your where clause for finding said tickets
[10:58:13.266065]<cmc>make sense?
[10:59:43.677467]<RAWRjar>Indeed.
[11:00:14.424163]<cmc>excellent
[11:01:15.751501]<RAWRjar>How about adding a comment to the change? Eg, "Auto-closing this ticket because [reason]"
[11:01:30.382659]<RAWRjar>Is that just another field in the ticket_change table
[11:02:01.955812]<osimons>RAWRjar: batchmodifyplugin is what i'd recommend if you manage large number of tickets
[11:02:13.657988]<cmc>oh hey, uis are nice too ;)
[11:02:58.086263]<cmc>RAWRjar: if you want to use the db, you'd want to add another ticket_change with field="comment", newvalue="your comment" and oldvalue=null
[11:03:14.439123]<cmc>but batchmodifyplugin makes more sense
[11:03:23.987967]<osimons>http://trac-hacks.org/wiki/BatchModifyPlugin
[11:04:46.382797]<RAWRjar>Awesome, thanks.
[11:58:21.383525]<evil_twin>t.e.o: SandBox/Page45/Software/Bin edited - <http://trac.edgewall.org/wiki/SandBox/Page45/Software/Bin?version=2> - anonymous
[12:08:22.031823]<evil_twin>t.e.o: ToDo edited - <http://trac.edgewall.org/wiki/ToDo?version=4> - cboos
[13:18:29.068228]<evil_twin>t.e.o: Ticket #9463 (Unable to edit components with slash or backslash) updated - <http://trac.edgewall.org/ticket/9463#comment:8> - itamaro
[13:33:31.062774]<evil_twin>t.e.o: Changeset in cboos [7157:b42bcbb202f8]: #9536: remove debugging left-over - <http://trac.edgewall.org/changeset/b42bcbb202f832407ece6ab0c28f5b3b7dfd5ca7/cboos> - Christian Boos <cboos@…>
[13:33:36.062554]<evil_twin>t.e.o: Changeset in cboos [7158:eac12ca2619c]: #9536: fix paginated reports. Remove two `db.rollback()`, one buggy, the ... - <http://trac.edgewall.org/changeset/eac12ca2619cd2f6de9444061160052a49cce16b/cboos> - Christian Boos <cboos@…>
[14:08:36.090843]<evil_twin>t.e.o: Ticket #9652 (error: redefinition of group name u'it_changeset' as group 31; was group ...) created - <http://trac.edgewall.org/ticket/9652> - carlos@…
[14:38:40.759256]<evil_twin>t.e.o: Ticket #9653 (tracd --base-path matches any string of the same length) created - <http://trac.edgewall.org/ticket/9653> - kamil@…
[15:18:45.660189]<evil_twin>t.e.o: Ticket #9652 (error: redefinition of group name u'it_changeset' as group 31; was group ...) closed - <http://trac.edgewall.org/ticket/9652#comment:1> - rblank
[15:18:50.660703]<evil_twin>t.e.o: Ticket #9653 (tracd --base-path matches any string of the same length) updated - <http://trac.edgewall.org/ticket/9653#comment:1> - rblank
[16:03:51.019269]<evil_twin>t.e.o: Ticket #1242 ([ER] Generalized automatic cross-references in Trac) updated - <http://trac.edgewall.org/ticket/1242#comment:17> - itamaro
[16:08:51.067398]<evil_twin>t.e.o: Ticket #2456 (Implement API for user management) updated - <http://trac.edgewall.org/ticket/2456#comment:49> - itamaro
[19:02:01.550178]<mathstuf>hi, i have py26-psycopg2-2.0.14 on FreeBSD 8.0 and im hitting this error: http://trac.edgewall.org/ticket/3997
[19:02:15.592380]<mathstuf>err
[19:02:22.231033]<mathstuf>this is the missing attr:
[19:02:23.327879]<mathstuf>get_db_cnx
[19:02:31.340073]<mathstuf>not get_client_encoding
[19:37:47.017803]<mathstuf>nvm, moved from trac-multirepos to trac and things are happy again
[19:54:23.985984]<evil_twin>t.e.o: Ticket #9567 (Trac License ¶) updated - <http://trac.edgewall.org/ticket/9567#comment:2> - anonymous
[20:19:29.757355]<evil_twin>t.e.o: Ticket #9654 (Change required in Tier2 logic) created - <http://trac.edgewall.org/ticket/9654> - mpandaraboyena
[22:29:47.961386]<evil_twin>t.e.o: Ticket #9463 (Unable to edit components with slash or backslash) updated - <http://trac.edgewall.org/ticket/9463#comment:9> - mrelbe
[22:34:48.956826]<evil_twin>t.e.o: Ticket #9654 (Change required in Tier2 logic) closed - <http://trac.edgewall.org/ticket/9654#comment:1> - mrelbe
[22:58:19.876602]<tasslehoff>I'm gonna setup an svn post-commit hook for 0.11. What user does the post-commit "normally" run as? www-data owns my trac environment, and I strongly suspect it doesn't run as that :)
[22:59:29.090408]<cotto>I'm working on a plugin that (among other things) turns git commit ids into links. What'd be the right thing to do if an id is ambiguous, e.g. there are commits with ids deadbeef100000000000000000000000000000000 and deadbeef200000000000000000000000000000000 and someone put "deadbeef" on a page, which could refer to either.
[23:00:19.523767]<cotto>(silly example and one not a likely common case, but I want to handle it well)
[23:09:52.994831]<evil_twin>t.e.o: Ticket #9463 (Unable to edit components with slash or backslash) updated - <http://trac.edgewall.org/ticket/9463#comment:10> - rblank
[23:43:35.738141]<macmaN>itamarost: hi
[23:44:23.793225]<macmaN>itamarost: u around? re #2456
[23:49:56.993170]<evil_twin>t.e.o: Ticket #2456 (Implement API for user management) updated - <http://trac.edgewall.org/ticket/2456#comment:50> - lkraav <leho@…>
[23:59:58.934748]<evil_twin>t.e.o: Ticket #2456 (Implement API for user management) updated - <http://trac.edgewall.org/ticket/2456#comment:51> - cboos