Team Chat Logs

March 11, 2010

2010 2
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 31        

[00:17:21.233481]<otaku42>moin
[00:24:22.880070]*bootlaces is happy to see that 0.12 is nearly...nearly...nearly ready :)
[00:44:26.049569]<macmaN>osimons: guten morgen sir. i just noticed fullblogplugin doesnt display blog contents in RSS feed
[00:44:48.868318]<macmaN>osimons: is that correct behavior
[00:56:21.495815]<djc>any devs around?
[01:11:36.287050]<Mulleteer>hi, I've problems getting --inherit flag work with initenv. http://dpaste.com/170725/
[01:16:34.232095]<otaku42>djc: it's usually a good idea to ask your question(s) and see if anyone can answer them. some answers can also be given by non-core devs. :)
[01:17:57.306192]<djc>I've got test failures in 0.11.7
[01:18:19.640611]<djc>two UnicodeDecodeErrors in trac.util.tests.AtomicFileTestCase
[01:18:28.932342]<djc>err, UnicodeEncodeErrors
[01:18:46.643197]<otaku42>djc: in that case it might be best to file a ticket on trac.edgewall.org
[01:18:54.661252]<djc>yeah
[01:19:07.160679]<gozerbot>trac: TracDev/ToDo edited - <http://trac.edgewall.org/wiki/TracDev/ToDo?version=73>
[01:25:49.214834]<djc>okay, filed #9128
[01:49:07.623047]<gozerbot>trac: TracDev/ToDo edited - <http://trac.edgewall.org/wiki/TracDev/ToDo?version=74> || Ticket #9128 (Test failures in 0.11.7: UnicodeEncodeErrors in ...) created - <http://trac.edgewall.org/ticket/9128>
[01:59:41.870260]<osimons>macmaN: it has its own full blog feeds - it won't display full content in timeline if that is the RSS feed you referred to
[02:01:14.357945]<osimons>Mulleteer: --inherit should be the last argument, could you try that?
[02:10:54.495080]<Mulleteer>just a sec
[02:12:30.827635]<Mulleteer>it complains same error 'Wrong number of arguments to initenv:6'
[02:13:06.104905]<Mulleteer>without the --inherit option it works and creates project
[02:15:08.043525]<Mulleteer>I did check the source and it seems that admin.py doesn't even check for the flag?
[02:17:27.267337]<macmaN>osimons: ok gonna hafta patch that then :)
[02:19:55.250900]<osimons>Mulleteer: looking at your paste, that is wrong - docs say: initenv [<projectname> <db> [<repostype> <repospath>]]
[02:20:14.061112]<osimons>- you have both a path and a projectname, when it should be just one
[02:20:40.121084]<osimons>oops. misread. sorry. ignore :-)
[02:21:13.367082]<Mulleteer>ack
[02:21:38.745947]<osimons>Mulleteer: what's with the templates dir though? you found some very old docs?
[02:21:52.489058]<osimons>that is 0.10.x and earlier...
[02:22:12.260544]<Mulleteer>I'm upgrading our 0.9.5 installation, I'll need to go through 0.10 to 0.11
[02:22:49.870718]<osimons>Mulleteer: you don't really. and 0.10 did not have an --inherit=, I added that in 0.11
[02:23:07.239150]<Mulleteer>ok, that explains it
[02:23:19.621426]<Mulleteer>could I just upgrade straight to 0.11 from 0.9.5?
[02:23:40.349483]<osimons>yes, install all the new code and then rund trac-admin $project upgrade
[02:23:56.931258]<Mulleteer>I mean, we have ~250 projects and > 100GB of data, so I'm being extra carefull here
[02:24:34.694550]<osimons>Mulleteer: as you should be. backup is your friend. you could try a fresh virtualenv and test a copy of some projects
[02:25:09.353187]<Mulleteer>yes, I actually managed to port already few projects to 0.10 successfully, though I needed to make few fixes in trac.ini files
[02:25:21.914557]<Mulleteer>but I didn't realize I could have go straight to 0.11.
[02:25:26.003504]<Mulleteer>I'm going to give it a try
[02:26:11.356237]<Mulleteer>VMWare ESX is a friend in these trials :)
[02:26:20.593993]<osimons>Mulleteer: the main thing would be to get your global vs local config sorted out, and add [inherit] file = ... to your local projects before working on them (like upgrade)
[02:26:48.164986]<Mulleteer>ok, thanks for advices
[02:27:15.384441]<osimons>trac 0.11 has no shared directory any more, so if you want shared templates or configs, you need to add it to [inherit] section in each project
[02:27:57.873853]<osimons>macmaN: patch? what? the timeline is for all activity - creates, edits, comments, changes and so on. it is not good at providing a "pure" blog feed
[02:28:11.812220]<Mulleteer>ok, I'll do that.
[02:28:48.993409]<macmaN>osimons: i gotta run out, but thats pretty much exactly what i need :)
[02:28:52.878872]<macmaN>ill ttyl for sure
[02:49:08.779082]<gozerbot>trac: TracDev/ToDo edited - <http://trac.edgewall.org/wiki/TracDev/ToDo?version=75>
[02:49:11.669879]<|Mike|>Hi guys, we're having some difficulties with trac
[02:49:14.348800]<|Mike|>http://pastie.org/864742
[02:50:54.322916]<|Mike|>If i've added a project as you see on http://trac.kumina.nl it works for ~ few hours / days, but after a while it quits working. I've pastie'd the errors what show up
[02:54:10.498933]<|Mike|>Anyone which has a pointer in the good direction?
[02:55:10.360987]<osimons>|Mike|: likely something happens that makes the process loose track of the git software. then the error occurs when it finds 'git' in trac.ini but no corresponding component to handle it
[02:55:48.160186]<osimons>you want to turn on logging in your Trac project and see if you can find the error or events that lead up to this
[02:55:56.956014]<osimons>@logging
[02:55:56.971782]<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.
[02:57:36.640601]<osimons>|Mike|: i'd also check for open/closed tickets for the git plugin you use - no doubt other may have seen this before?
[02:58:59.251294]<|Mike|>osimons: Yeah many, but those are ~3 to 4 years old. But it's also important that we upgrade to lenny :)
[02:59:32.576573]<|Mike|>and the problem would be fixed then :p
[02:59:33.960290]<osimons>your install is 3-4 years old, |Mike|...
[03:01:19.435345]<osimons>trac 0.10.3 was tagged 12/12/06.... :-) http://trac.edgewall.org/browser/tags
[03:43:05.529288]<|Mike|>osimons: indeed, that's around 3 years ago. Etch isn't supported anymore tho.
[05:19:09.294306]<gozerbot>trac: MissingTranslations edited - <http://trac.edgewall.org/wiki/MissingTranslations?version=17>
[05:20:16.600743]<lelit>hi all, I'm spending some time to upgrade the italian translation of Trac [trunk], but I need some info on the syntax
[05:23:40.071117]<osimons>lelit: syntax, how?
[05:24:43.357619]<osimons>lelit: cboos keeps the french translation ~100% up-to-date now, so looking at the french one may give you many hints.
[05:25:51.141929]<lelit>osimons: I'm trying to figure out the meaning of this kind of msg: "[1:%(file)s]\n[2:[3:]]"
[05:26:06.582773]*lelit looks into the french translation
[05:26:13.764482]<osimons>lelit: i see that the .po file have not been updated for ~2 months. i'd recommend getting the messages updated as well - run a message extraction...
[05:26:22.194518]<lelit>yes, done
[05:26:28.388764]<osimons>cool. goodie.
[05:27:11.128540]<osimons>"[1:%(file)s]\n[2:[3:]]" does not look like a useful message for extraction.... where is that from?
[05:27:36.660593]*osimons looks
[05:28:56.861926]<lelit>osimons: it was slightly edited. The original looks like:
[05:28:59.635099]<lelit>#: trac/templates/list_of_attachments.html:18
[05:28:59.837857]<lelit>#, python-format
[05:28:59.904859]<lelit>msgid ""
[05:28:59.918741]<lelit>"[1:%(file)s]\n"
[05:29:02.841300]<lelit>" [2:[3:]]\n"
[05:29:06.041875]<lelit>" ([4:%(size)s]) -\n"
[05:29:09.242656]<lelit>" added by [5:%(author)s] %(date)s ago."
[05:29:12.442194]<lelit>msgstr ""
[05:30:24.296143]<osimons>lelit: found it myself. thanks. and the french shows a good example, i suppose
[05:32:04.575353]<lelit>I see, but I'd like to understand the meaning of those "[X:foo]", or should I just copy that verbatim (the number X, I mean)
[05:33:23.764993]<osimons>anything %(var)s is string variables for substitution, but looking at the actual list_of_attachments.html template I'm not so sure how the translation message got so convulted....
[05:33:43.092419]<osimons>i think it has to do with plurals of terms
[05:33:52.975292]<lelit>uhm
[05:34:20.230899]<|Mike|>wtf a gozerbot
[05:34:36.934664]<dunk_>?
[05:34:37.259920]<osimons>lelit: ah, no - it passes 4 arguments in the i18:msg params - they are then the numbers i guess
[05:34:38.084024]<|Mike|>dunk_:
[05:34:42.201855]<dunk_>mijk ;]
[05:34:46.927604]<|Mike|>aloahaaaaaaa :)
[05:35:07.642464]<|Mike|>wasn't aware that you where here dunkster :)
[05:35:33.318285]<dunk_>i'm everywhere mike ;]
[05:36:23.738923]<osimons>lelit: the advice to just do as cboos does for the french translation stands...
[05:36:50.240815]<lelit>ok, thanks
[05:36:54.362116]<|Mike|>dunk_: i see :-)
[06:27:30.746477]<lelit>osimons: I see a typo in versioncontrol/web_ui/changeset.py at 1067: "changset" instead of "changeset"
[06:44:14.095721]<osimons>lelit: thanks. i'll commit.
[06:49:09.551655]<gozerbot>trac: Changeset [9344]: Typo in 'changeset' message. - <http://trac.edgewall.org/changeset/9344>
[06:56:39.927031]<exarkun>I'm having a problem with attachments
[06:56:57.198809]<exarkun>I upgraded to 0.11.6 and they're all missing.
[06:57:29.790844]<exarkun>Anyone know anything about that?
[07:00:19.621838]<exarkun>Found them. Needed to be copied separately from the database.
[07:05:45.024668]<osimons>lelit: actually, this contains some background on your original question: http://trac.edgewall.org/wiki/TracL10N#EditingGuidelines
[07:07:11.351629]<lelit>ah, it's genshi markup! thank you
[07:08:07.854520]<osimons>lelit: , right - see the comment that also points to a .html (genshi) file - there you can see the context for extraction
[07:34:52.891741]<exarkun>Uh
[07:35:04.048528]<exarkun>'trac-admin resync' failed massively
[07:35:18.623713]<exarkun>it loaded the first 47 revisions out of 25000 and then decided it was done
[07:35:23.222846]<exarkun>what's the deal?
[07:49:21.649448]<gozerbot>trac: TracInstallPlatforms edited - <http://trac.edgewall.org/wiki/TracInstallPlatforms?version=60> || TracInstallPlatforms edited - <http://trac.edgewall.org/wiki/TracInstallPlatforms?version=59> || Ticket #9130 ("trac-admin env resync" terminates prematurely) created - <http://trac.edgewall.org/ticket/9130> || Ticket #9129 (TypeError: expecting datetime, int, long,
[07:49:26.650852]<gozerbot> float, or None; got <class ...) created - <http://trac.edgewall.org/ticket/9129>
[08:19:10.675223]<gozerbot>trac: TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=8> || TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=7> || TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=6> || TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=5> ||
[08:19:15.725069]<gozerbot> TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=4> || TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=3> || TracOnOpenSolaris edited - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=2> || TracOnOpenSolaris created - <http://trac.edgewall.org/wiki/TracOnOpenSolaris?version=1> || TracInstallPlatforms (+1)
[08:49:11.193646]<gozerbot>trac: WikiProcessors edited - <http://trac.edgewall.org/wiki/WikiProcessors?version=43> || Ticket #9131 (Customisation of default field labels) created - <http://trac.edgewall.org/ticket/9131>
[12:19:12.086224]<gozerbot>trac: TracInstall edited - <http://trac.edgewall.org/wiki/TracInstall?version=293> || TracInstall edited - <http://trac.edgewall.org/wiki/TracInstall?version=292> || Ticket #4202 ([PATCH] Images are not found on WikiStart page when the URL contains an ...) reopened - <http://trac.edgewall.org/ticket/4202#comment:4>
[12:49:11.812606]<gozerbot>trac: Ticket #9132 ([PATCH] Draft/preview background is too interfering) created - <http://trac.edgewall.org/ticket/9132>
[13:25:56.444822]<rblank>exarkun: Around?
[13:27:30.225630]<exarkun>Hello
[13:31:49.194698]<rblank>exarkun: About http://trac.edgewall.org/ticket/9129 any chance I could access the Trac instance and view the corresponding error page?
[13:32:34.785807]<exarkun>rblank: Sure. It's at http://twistedmatrix.com/
[13:32:46.360919]<rblank>exarkun: So it's the live instance?
[13:32:49.584460]<exarkun>rblank: Yep
[13:32:53.034953]<Sh0rtWave>hi all
[13:33:06.179071]<exarkun>rblank: I filed another ticket this morning as well that might be worth considering simultaneously.
[13:33:10.446893]<Sh0rtWave>I'm following the docs for setting up trac, and running into an issue where the deploy command isn't working.
[13:33:21.005502]<exarkun>rblank: #9130
[13:33:26.355013]<rblank>exarkun: I guess your first reaction was to resync, right?
[13:33:48.590498]<exarkun>rblank: Another page explicitly said I should, so I did
[13:34:05.715592]<exarkun>rblank: Then I got some surprising behavior from the resync command, and that's when I saw the page on #9129
[13:34:33.476748]<rblank>exarkun: So the error happened during the resync?
[13:34:33.963578]<exarkun>rblank: Ultimately I probably ran the resync command 10 or 15 times.
[13:34:38.116368]<exarkun>rblank: That depends. :)
[13:34:53.714201]<exarkun>rblank: Does the resync end when 'trac-admin ... resync' says "Done." or does it end sometime after that?
[13:35:08.632507]<Sh0rtWave>http://pastie.org/865642 <---is there anything non-obvious wrong with this?
[13:35:13.455434]<rblank>exarkun: That depends. :)
[13:35:23.822094]<exarkun>rblank: Heh heh.
[13:35:41.695511]<rblank>It should end when it says "Done.", but you seem to have a different experience about that.
[13:36:00.280198]<exarkun>rblank: Then it probably happened during one of the resyncs. Or, perhaps I even had several resyncs running in parallel, and it happened during that.
[13:36:36.756780]<rblank>exarkun: Oh, so probably a temporary issue. So I should rather look at #9130.
[13:36:39.467440]<exarkun>rblank: I happened to have had postgres query logging on at the time, and after one of the resync commands said "Done." I looked and saw lots of statements running trying to insert rows into the revision table, and lots of them failing with constraint errors.
[13:37:03.717302]<Sh0rtWave>Nobody?
[13:37:19.843794]<rblank>exarkun: That would indeed point to concurrent resyncs. Which should not be possible (famous last words).
[13:38:17.190062]<rblank>exarkun: You've got quite a lot of traffic on trac.twistedmatrix.com, haven't you?
[13:39:11.987013]<exarkun>rblank: I guess it's a lot, as far as trac sites goes. Something 25k requests per day, I think.
[13:39:50.011003]<rblank>exarkun: Ok. So I'll try to reproduce the issue by triggering a resync under load.
[13:39:57.594313]<Sh0rtWave>aight, I'm completely confused
[13:39:59.977837]<Sh0rtWave>am I missing something?
[13:40:24.576588]<rblank>exarkun: Are you ok if I close #9129 as a temporary issue, and concentrate on #9130?
[13:40:25.990932]<Sh0rtWave>it claims "deploy" is invalid syntax
[13:41:50.991990]<exarkun>rblank: It might be nice if things that couldn't work while a resync is happening somehow made this fact visible to the user. But since resyncs don't happen very often, I can imagine that not being a very high priority goal.
[13:45:13.162199]<rblank>exarkun: Makes sense. Must have been a race condition, and that shouldn't happen. Ok, I'll keep #9129 around then. Thanks for the info.
[13:45:41.126603]<exarkun>you're welcome :)
[13:49:19.870038]<rblank>exarkun: Bloody amazing performance you get on that site!
[13:49:36.180267]<rblank>exarkun: Who says Trac is slow? :)
[13:49:42.291670]<exarkun>Heh :)
[13:49:58.712957]<exarkun>Unfortunately I always want it to be faster. ;)
[13:50:20.447947]<exarkun>(Also Varnish is involved for anonymous requests)
[13:54:11.707154]<hylje>yay for anon caching
[13:56:17.379222]<Linuturk>I noticed that the wiki says that it is out of date for the Trac install instructions for RHEL/CentOS. Is there a recommended procedure for installing trac?
[14:19:12.124165]<gozerbot>trac: 0.12/TracGuide edited - <http://trac.edgewall.org/wiki/0.12/TracGuide?version=3> || Ticket #8902 ("edit this page" button in wiki doesn't send version number) closed - <http://trac.edgewall.org/ticket/8902#comment:5>
[14:57:33.653333]<nedko>hi, i get bad performance with cgi and good performance with tracd. so it is clear that i should move away from cgi. what alternative would you recommend: tracd+proxy, fastcgi, mod_wsgi or mod_python?
[15:02:40.573688]<Sh0rtWave>Ok so...
[15:03:02.162942]<Sh0rtWave>Are there any nice front-ends to trac-admin that won't require my users to ssh in and do things?
[15:06:50.476890]<cmc>like the web ui?
[15:12:52.630651]<Sh0rtWave>Is there such a thing?
[15:13:10.848996]<Sh0rtWave>Like I've got the main bit installed I think
[15:13:40.680902]<Sh0rtWave>ah I think I've found what I need
[16:42:56.363036]<nedko>hi, i get bad performance with cgi and good performance with tracd. so it is clear that i should move away from cgi. what alternative would you recommend: tracd+proxy, fastcgi, mod_wsgi or mod_python?
[16:50:56.899757]<thepeople>hello, is there a option to enable trac to send an email to the assignee of a ticket when it is assigned to them?
[16:55:51.180128]<Spec>thepeople: always_notify_owner ?
[16:56:31.944832]<Spec>nedko: we use mod_python and the performance is fine, but I don't know your environment.
[16:56:55.714100]<Spec>I wish the script I just wrote was more useful than to just me. (converting legacy footprints tickets into trac tickets).
[16:57:13.270514]<nedko>Spec: have you tried the alternatives (mod_wsgi, fastcgi) as well?
[16:58:25.730077]<Spec>nedko: nope, never.
[16:58:33.930832]<Spec>nedko: been using mod_python for years and have never had a problem.
[16:59:55.433137]<thepeople>Spec: just read that in a closed ticket, I guess from the discription it wasn't clear to me
[17:01:21.857484]<thepeople>Spec: thanks
[18:05:45.419250]<fkr680>hello everyone
[18:06:00.775562]<fkr680>i'm trying to disable svn search on trac
[18:06:19.524557]<fkr680>i've been google for the last 30 minutes and all i can find is how to integrate svn and all that stuff
[18:06:26.097489]<fkr680>we're only using it as a ticketing system
[18:06:30.132743]<fkr680>any ideas?
[18:12:36.787616]<fkr680>anyone?
[19:19:15.360284]<gozerbot>trac: TracInstall edited - <http://trac.edgewall.org/wiki/TracInstall?version=294>
[20:01:30.519322]<nedko>damn i cannot get trac running neither with mod_wsgi nor with mod_python :(
[20:01:51.578946]<nedko>the setting of python path fails to work for some evil reason
[20:03:43.102238]<nedko>or rather, i made it work with mod_wsgi but only in embedded mode
[20:03:59.937889]<nedko>and daemon mode is supposed to be the faster one
[20:49:13.096655]<gozerbot>trac: 0.12/TracBrowser edited - <http://trac.edgewall.org/wiki/0.12/TracBrowser?version=6>
[21:35:10.052992]<paissad>guys, i have a matter building locales from svn
[21:35:39.739689]<paissad>i did python python setup.py compile_catalog -f 2>&1 | wgetpaste
[21:35:45.668467]<paissad>sorry
[21:35:46.970903]<paissad>python setup.py compile_catalog -f 2>&1 | wgetpaste
[21:35:55.081836]<paissad>http://pastebin.ca/1835047