Team Chat Logs

July 30, 2010

2010 6
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:52:18.925113]<gbot83>t.e.o: Ticket #31 (Bug dependencies/relations feature) reopened - <http://trac.edgewall.org/ticket/31#comment:143> - anonymous
[01:07:22.233436]<gbot83>t.e.o: Ticket #9534 (AttributeError: 'NoneType' object has no attribute 'get_node') closed - <http://trac.edgewall.org/ticket/9534#comment:1> - rblank
[01:27:25.739086]<gbot83>t.e.o: Ticket #31 (Bug dependencies/relations feature) updated - <http://trac.edgewall.org/ticket/31#comment:144> - sheuchler@…
[02:22:35.596238]<gbot83>t.e.o: Ticket #31 (Bug dependencies/relations feature) updated - <http://trac.edgewall.org/ticket/31#comment:145> - cboos
[02:27:36.608940]<gbot83>t.e.o: Ticket #9533 (AttributeError: 'NoneType' object has no attribute 'chrome' in ...) updated - <http://trac.edgewall.org/ticket/9533#comment:2> - cboos
[02:47:40.632446]<gbot83>t.e.o: Ticket #2245 (Enable trac-admin to configure "user settings" (e.g. e-mail address)) updated - <http://trac.edgewall.org/ticket/2245#comment:7> - wouter@…
[03:32:46.452393]<gbot83>t.e.o: Ticket #9535 (DataError: (1264, "Out of range value for column 'due' at row 1")) created - <http://trac.edgewall.org/ticket/9535> - jochenhebbrecht@…
[04:43:00.958668]<gbot83>t.e.o: Ticket #9535 (DataError: (1264, "Out of range value for column 'due' at row 1")) updated - <http://trac.edgewall.org/ticket/9535#comment:1> - rblank
[04:48:01.106709]<gbot83>t.e.o: Ticket #9533 (AttributeError: 'NoneType' object has no attribute 'chrome' in ...) updated - <http://trac.edgewall.org/ticket/9533#comment:3> - rblank
[04:58:03.076103]<gbot83>t.e.o: Ticket #886 (Add support for Master tickets) updated - <http://trac.edgewall.org/ticket/886#comment:125> - anonymous
[05:23:07.061321]<gbot83>t.e.o: Ticket #8417 (CachedRepository support in TracMercurial) updated - <http://trac.edgewall.org/ticket/8417#comment:4> - awagner@…
[06:15:30.811803]<kenstrada>hi guys, did anyone manage to get Trac up and running on IIS? I know it's a rather bad idea, but it has been done before
[06:16:02.934439]<kenstrada>I'm followed the AJP howto, but I'm only getting a directory listing, not a single sign of trac..
[06:48:24.327521]<gbot83>t.e.o: Ticket #8645 (More readable header IDs) updated - <http://trac.edgewall.org/ticket/8645#comment:12> - Mitar
[06:53:24.654205]<gbot83>t.e.o: Ticket #886 (Add support for Master tickets) updated - <http://trac.edgewall.org/ticket/886#comment:126> - Ingmar
[07:21:02.685774]<DanC>I need a report for all tickets in one component showing summary and comments. suggestions?
[07:23:08.395390]*DanC finds http://trac.edgewall.org/ticket/5033
[07:31:34.299740]<DanC>how do I get the date of a ticket change? where's the ticket_change schema?
[07:31:59.522342]<DanC>google FTW: http://trac.edgewall.org/wiki/TracDev/DatabaseSchema
[07:37:32.528079]<DanC>trying to filter out certain comments and losing... my where clause includes: and tc.newvalue not like 'Batch update from%'
[07:40:10.721484]*DanC is perfuddled...
[07:40:12.691312]<DanC>sqlite> select like("Batch update from matrix", "Batch update from%");
[07:40:13.080380]<DanC>0
[07:40:55.864455]<lelit>what kind of query is that?
[07:40:57.260311]<DanC>ah... other order
[07:41:37.766667]<DanC>I'm just using sqlite to evaluate an expression... like: select 1+1;
[07:43:05.588292]<DanC>sqlite> select 1 where "Batch update from matrix" like "Batch update from%";
[07:43:05.782937]<DanC>1
[07:43:52.640456]<lelit>yes, I see
[07:44:50.297842]<DanC>but it's not working in my report. it's not filtering out those comments. :-/
[07:45:28.466143]<lelit>strange, maybe there's an OR somewhere? what is the complete query?
[07:49:45.330094]<DanC>http://paste.lisp.org/display/112992
[07:50:13.520559]<DanC>I don't grok LEFT OUTER JOIN.
[07:50:28.145494]<DanC>I just copied that from an example in a ticket linked from 5033
[07:58:11.121730]<Sacho>DanC: not surprising.
[07:58:23.714368]<Sacho>DanC: Consider the case. ticket -> two ticket changes, one is comment
[07:58:53.350104]<Sacho>joining changes(but removing the comment one since it starts with batch), will still leave you with ticket->change, so you'll still have a ticket.
[08:02:20.813541]<Sacho>DanC: In order to do a left join exclusion like that, you have to match what you want to exclude precisely
[08:02:45.176328]<Sacho>and then where tc IS NULL
[08:02:55.782649]<Sacho>(tc being tc.some_field_that_should_not_be_null_on_match)
[08:04:04.173390]<Sacho>DanC: ie LEFT JOIN ticket_change tc ON (t.id=tc.ticket AND field = 'comment' AND tc.newvalue like 'Batch%') where tc.ticket IS NULL
[08:04:05.587718]<DanC>aha! the problem was that the comments started with "Batch not just Batch
[08:04:13.559009]<Sacho>oh :(
[08:04:48.077171]<Sacho>It should still show up if there are two comments
[08:05:38.506943]<Sacho>oh, sorry, I thought you were trying to hide the tickets :P
[08:08:14.206504]<DanC>thanks for taking a look, though... also...
[08:08:22.352824]<DanC>how do I get wiki formatting of the comment?
[08:11:53.438185]*DanC finds "Automatically formatted columns" in TracReports
[08:12:48.373034]<DanC>ooh! bingo. just the report I was after.
[08:12:56.740571]*DanC does a little happy dance
[08:38:43.413108]<gbot83>t.e.o: Ticket #8866 (Admin pages messed up with browsers other than IE) updated - <http://trac.edgewall.org/ticket/8866#comment:24> - Carsten Klein <carsten.klein@…>
[08:48:45.345213]<gbot83>t.e.o: Ticket #9439 (KeyError: 'trac/locale') updated - <http://trac.edgewall.org/ticket/9439#comment:21> - Carsten Klein <carsten.klein@…>
[08:53:46.329151]<gbot83>t.e.o: Ticket #9405 ([patch] add reminder to keep priority order for proper ticket coloring) updated - <http://trac.edgewall.org/ticket/9405#comment:6> - Carsten Klein <carsten.klein@…>
[08:54:52.282861]<DanC>darn; my made-up "waiting" state doesn't show up in the roadmap. I hope that's not too hard to remedy...
[09:52:11.906712]<Igloo>Hi all
[09:52:41.272362]<Igloo>How would I get a versino of http://trac-hacks.org/wiki/MasterTicketsPlugin that works with 0.11?
[09:59:13.891261]<kisielk>hack it yourself ? :)
[09:59:21.720663]<Igloo>coderanger: Don't suppose you're about? ^^
[09:59:25.063691]<kisielk>we have an in-house version of it here, works with 0.12 even
[09:59:30.216626]<kisielk>and fixes a lot of the bugs
[09:59:57.831692]<Igloo>kisielk: That page says it works on 0.11, but the only zip I can see requires 0.12
[10:00:14.396763]<kisielk>upgrade to 0.12 ;)
[10:00:39.036581]<Igloo>Mmmhmm :-)
[10:01:51.188724]<slam>Igloo: did you actually try the 0.11 version on 0.12?=
[10:02:53.301304]<kisielk>I don't think it will work, I can see at least one 0.12-specific feature it uses
[10:03:24.345249]<Igloo>slam: ERROR: Skipping "TracMasterTickets 3.0.1": (version conflict "VersionConflict: (Trac 0.11.6 (/usr/lib/python2.5/site-packages), Requirement.parse('Trac>=0.12'))")
[10:12:12.759497]<kisielk>and that
[10:12:30.222783]<groogs>What's up with trac-hacks.org? permission denied errors on /search, /browser, /login ....
[10:30:37.644005]<hasienda>DanC: hello, see how this is done here: http://trac-hacks.org/wiki/TestingWorkflow#Installation (actually works for me) :-)
[10:34:47.067122]<DanC>thanks
[10:42:41.548504]<dnedelchev1>hello. I'd like to set up trac to update tickets from commit messages (i.e. fixed: #4, see #5 etc.) I've set the built-in trac-0.12 options as well as I've tried a couple of plugins that should add comments to tickets based on commit messages. None have had an effect. I didn't write any post-commit hooks since I thought I didn't have to do that... I guess probably I was wrong and I need to learn how to write post-commit scripts?
[10:50:25.738727]<DanC>yup
[10:50:37.001399]<DanC>I'm still struggling to get that working too, dnedelchev1
[10:54:08.755327]<gbot83>t.e.o: Ticket #9405 ([patch] add reminder to keep priority order for proper ticket coloring) updated - <http://trac.edgewall.org/ticket/9405#comment:7> - hasienda <hoff.st@…>
[11:01:00.710779]<dnedelchev1>if I knew where to read... I've found very little in the svn-book and almost nothing in the trac and plugins docs. And still don't know how to ask google properly for that.
[11:26:12.057443]<kisielk>you need a post-commit hook
[11:26:12.901049]<kisielk>basically
[11:26:20.891846]<kisielk>there's one included with trac
[11:27:41.330726]<kisielk>although in 0.12 there's a new component that's a bit more flexable
[11:27:43.686057]<kisielk>see http://trac.edgewall.org/wiki/TracWorkflow#Howtocombinethetracopt.ticket.commit_updaterwiththetestingworkflow
[11:49:44.454729]<dnedelchev1>kisielk: I've visited the links you gave and still didn't understand what I have to do. I've already set the tracopt options using the web-admin interface. my post-commit file contains just one actual line - infoking the apache (httpd) with arguments: the repository_hook_system\listener.py , "-p" , the trac environment path and " --hook post-commit $2"
[11:50:34.126159]<dnedelchev1>infoking = invoking (sorry for the typo)
[11:51:41.745741]<kisielk>how about you show the code
[11:51:47.306762]<kisielk>instead of telling me what it does :)
[11:52:06.352734]<dnedelchev1>ok
[11:52:12.900679]<dnedelchev1>second
[11:56:26.117673]<dnedelchev1>kisielk: http://paste.lisp.org/+2F6V
[11:57:01.372522]<kisielk>heh, I don't see how that could possibly work
[11:57:09.631446]<kisielk>I don't think httpd runs python programs as an argument
[11:57:30.289304]<dnedelchev1>I didn't write it by myself :(
[11:57:48.174911]<kisielk>well, whoever wrote it didn't really know what they were doing
[11:59:04.166061]<dnedelchev1>It's left there by the setup, there is no one here who can do it.
[12:00:09.793364]<dnedelchev1>I mean it's the original untouched content of that file. No one have edited it manually.
[12:00:31.291488]<kisielk>someone must have, because it doesn't make any sense :)
[12:01:18.420193]<dnedelchev1>I'm sure, no one edited it. It's my local machine and only I use it
[12:04:07.845562]<dnedelchev1>(btw, it doesn't work on our "official" trac that runs on linux but I don't have access to it now.)
[12:05:11.946351]<kisielk>so what generated this file?
[12:05:24.448769]<kisielk>it doesn't make sense, it has a bash shebang, and it's on windows, and it uses httpd.exe to try to run a python file
[12:07:49.545760]<dnedelchev1>maybe during trac installation or during upgrading to trac 0.12 (using easy_install)... I don't know. However, I didn't get it working prior to the upgrade to trac 0.12 (i.e. with trac 0.11) too.
[12:07:49.758794]<dnedelchev1>could you tell me what it should look like instead (for my local test trac instance @ WinXP)?
[12:09:41.780775]<dnedelchev1>or it depends on many items concernng actual trac configuration?
[12:10:49.611836]<kisielk>mine looks like
[12:10:53.364066]<kisielk>: /usr/bin/python /srv/svn/hooks/trac-post-commit-hook -p /srv/trac -r "$REV"
[12:16:29.808175]<dnedelchev1>Really, my file looks pretty strange... even some paths may be invalid... I'll chek them first, then I'll look for another example (for Win). Maybe it's a queston of couple of lines or even of a missed <EOL> or quotation marks...
[12:19:48.127018]<dnedelchev1>yes, I even don't have any repositoryhooksystem* directory or file in site-packages... brr
[12:30:25.298377]<edoceo>I'm doing an install on CentOS 5.5, with 0.12; getting the module load issue, cause Trac is in one Egg file, how to setup outside that? Directions have not helped me
[12:30:44.553440]<Getty>i'm working with the git plugin and have a problem, i'm getting a strange error. i did all so far as good as i can, and also repository resync \* shows up the right amount of commits from the git repository, but the webpage gives me: "GitError: GIT control files not found, maybe wrong directory?"
[12:33:03.208818]<edoceo>I've tried this: "easy_install --always-unzip Trac-0.12-py2.4.egg" but easy_install tells me I'm already at the latest version!
[12:35:08.043519]<edoceo>error: Couldn't find a setup script in /tmp/trac.zip
[12:36:04.477443]<edoceo>Trac is not usable, all tips on the install page have not helped, mod_python is working, virtual host configured properly, just cannot install egg properly (even using PythonOption for egg cache)
[12:37:34.537422]<Getty>ah i get it
[12:53:49.063023]<dnedelchev1>edoceo: I'm not too much in that and I don't know what your problem is, but since no one said anything: I would try "easy_install -m Trac" (it should remove the Trac from easy_install.pth) then delete trac directory and install again with --always-unzip option.
[12:59:00.064293]<dnedelchev1>edoceo: did you try installing with "easy_install -Z -U Trac" ? it should download and install the latest version of trac
[13:00:21.611023]<edoceo>dnedelchev1: tring that now, also appears to be some other missing pieces on my CentOS system
[13:00:36.140734]<edoceo>Gonna try the wsgi too, see you in hell mod_python
[13:02:17.976439]<dnedelchev1>I've always installed Trac from web (not from an egg) and I've never used mod_python (I use mod_wsgi instead too)
[13:03:28.647540]<edoceo>dnedelchev1: so I have to create this wsgi script looks like?
[13:04:01.619010]<dnedelchev1>My trac is @ Win and @ linux but since we are talking about using easy_install, there should be little difference
[13:04:15.257152]<dnedelchev1>it's pretty easy
[13:05:25.258520]<edoceo>I'm on CentOS, I'm working on trac-admin . deploy <dir> ; What does <dir> mean? webroot?
[13:06:12.142206]<dnedelchev1>it's a directory name
[13:06:28.760254]<dnedelchev1>where the scripts will be created
[13:07:08.882488]<edoceo>Oh, it puts a bunch of stuff there
[13:07:10.660186]<dnedelchev1>you'll have to use this scripts in your httpd configuration file then
[13:07:35.502612]<dnedelchev1>namely the one with .wsgi extension
[13:07:36.915529]<edoceo>Got that, hmm, so now I have to figure the config to Apache
[13:07:45.442373]<dnedelchev1>yes
[13:10:11.734689]<edoceo>winner winner chicken dinner!
[13:10:16.419881]<dnedelchev1>look in the cgi-bin directory.
[13:10:16.602512]<edoceo>thx dnedelchev1
[13:10:16.775097]<dnedelchev1>in my wsgi/cgi-bin - directory there are just 3 files and I use only the one named trac.wsgi with apache
[13:10:28.973636]<dnedelchev1>:)
[13:10:29.999909]<edoceo>same, too easy
[13:10:37.651901]*edoceo <3 trac
[14:43:59.518506]<pedahzur>Has anyone had any experience with the sqlite2pg script and Trac 0.11? There is a note on the sqlite2pg page that it works with 0.11, but for me, it's blowing up with this exception: "psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block" Is this something I need to ask the psycopg2 folks about?
[14:51:36.947224]<pedahzur>Hmm...according to http://initd.org/psycopg/docs/faq.html it does indeed seem to be an error in the SQL queries issued by sqlite2pg. Time to debug.
[15:02:59.442352]<pting>anyone have a suggestion on a good consumer oriented tech support ticketing system that works well with trac?
[15:17:29.819421]<pedahzur>pting: I don't know how well it would integrate with Trac, but http://pypi.python.org/pypi/roundup is pretty flexible, and I'm sure you could write custom modules/APIs that would do what you want/need. You might want to investigate just writing a custom web app that uses Trac's modules to interface to the Trac environment.
[15:23:36.706019]<pting>pedahzur, i'll review it, thanks
[17:15:55.229887]<Getty>i'm confused, how i get a ToC into the wiki page?
[17:16:30.521692]<Getty>ah damn, now i got it
[17:16:32.197558]<Getty>of courswe
[17:40:16.311876]<gbot83>t.e.o: 7228-download-source-r9966.patch attached to Ticket #7228 - <http://trac.edgewall.org/attachment/ticket/7228/7228-download-source-r9966.patch> - rblank
[18:05:21.159953]<gbot83>t.e.o: Ticket #7228 (Download file as default action of browser) updated - <http://trac.edgewall.org/ticket/7228#comment:9> - rblank
[18:30:25.064726]<gbot83>t.e.o: Changeset [9969]: 0.12-stable: Follow-up to [9958], add the script data for the query page ... - <http://trac.edgewall.org/changeset/9969> - rblank
[18:30:30.064850]<gbot83>t.e.o: Ticket #9533 (AttributeError: 'NoneType' object has no attribute 'chrome' in ...) closed - <http://trac.edgewall.org/ticket/9533#comment:4> - rblank
[22:16:01.140739]<gbot83>t.e.o: TracDev/DevelopmentEnvironmentSetup edited - <http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup?version=27> - jikanter@…