Team Chat Logs

May 25, 2010

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

[01:03:41.375430]<tasslehoff>I'm setting up trac on my development pc for test, and gave it the (valid) location of our svn repo, but it warns that it can't index the repository. It's svn, a valid repository_dir, so I'm not sure where to look next.
[01:07:25.293159]<tasslehoff>ah, it didn't want me to point to an existing repo, but to create one, right?
[01:18:45.204097]<wildintellect>last I checked the repo has to be local to the same machine as trac - it can be an existing repo
[04:00:11.625369]<aruntomar>hi, we are not able to modify the tickets after installing agilo plugin, was it suppose to happen?
[06:01:09.522326]<ende>http://trac-hacks.org/wiki/AccessMacro
[06:01:16.530120]<ende>for whoever was looking for that yeterday
[07:02:54.583936]<aruntomar>does agilo plugin causes issues in editing existing tickets
[07:12:19.866751]<DavidAndCarr>I'm seeing emails when i create a user, however not when a ticket is assigned to a user.. i have it enabled in my trac.ini file, is there something else I need to do?
[08:33:38.926035]<Linuturk>is there a way to add a message to the AcccountManager login page?
[10:12:58.445870]<cmc>Linuturk: genshi
[10:13:10.703385]<cmc>i.e. edit the template
[10:16:59.314278]<Linuturk>odd, the only template i have is site.html
[10:17:18.358583]<cmc>the only template you've modified is site.html
[10:17:36.007023]<Linuturk>actually, I've not modified any
[10:17:36.231888]<cmc>one moment
[10:18:24.558386]<cmc>http://trac-hacks.org/browser/accountmanagerplugin/0.11/acct_mgr/templates
[10:18:35.414103]<Linuturk>neat
[10:18:37.205501]<Linuturk>thanks :)
[10:18:46.803767]<cmc>find which of those templates is the one you want to modify, then copy it into your templates directory
[10:18:52.340630]*Linuturk hugglez cmc
[10:19:06.438019]<cmc>then modify the template. you'll need to restart trac after copying the file into the templates dir
[10:19:07.988576]<cmc>np
[10:19:19.170150]<cmc>genshi's not exactly documented
[10:22:25.982424]<Linuturk>you are awesome cmc :)
[10:22:51.131276]<cmc>only when I know the answer :-P
[11:51:47.761219]<deever>hi
[11:52:50.229080]<DavidAndCarr>I'm seeing emails when i create a user, however not when a ticket is assigned to a user.. i have it enabled in my trac.ini file, is there something else I need to do?
[11:55:30.074404]<deever>how can i make TicketQuery select the "opened" field of a ticket?
[11:56:36.547508]<DavidAndCarr>by default?
[11:57:50.819381]<deever>no, i mean how can i add "opened" to the list displayed like i can with "reporter"
[12:09:00.911947]<hasienda>deever: it's in the docs, see http://trac.edgewall.org/wiki/TracQuery#Customizingthetableformat
[12:09:57.245539]<hasienda>deever: there is a 'col=foo|bar' statement, worked for me
[12:12:18.932628]<deever>hasienda: i know this, but whats the name of the "opened" field? ;)
[12:13:53.167707]<hasienda>deever: well, it's just 'time'
[12:14:26.696697]<deever>thanks...worked! :)
[12:15:13.508671]<hasienda>deever: very well.
[12:16:46.797320]<hasienda>DavidAndCarr: You do use TracNotification, not a plugin like Announcer, right?
[12:17:00.868901]<DavidAndCarr>Correct
[12:17:12.100950]<DavidAndCarr>i've followed all the steps here:
[12:17:27.366843]<DavidAndCarr>TracNotification on the wiki
[12:18:30.713095]<osimons>@logging
[12:18:30.728141]<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.
[12:19:05.029152]<osimons>DavidAndCarr: ^^^^ for you.
[12:19:09.704578]<DavidAndCarr>cheers
[12:19:11.393107]<hasienda>DavidAndCarr: osimons is right, and would you mind to show the [notification] section, sensitive content obfuscated (->paste)? Might speed-up the process
[12:19:25.242240]<DavidAndCarr>hasienda: you bet, let me pastebin it
[12:21:03.961321]<DavidAndCarr>http://pastebin.com/cmRWV1vu
[12:35:16.890279]<hasienda>DavidAndCarr: creating users is a quite different thing from ticket system
[12:35:39.952276]<DavidAndCarr>gotcha, figured it would be using the notification either way
[12:38:01.872687]<hasienda>DavidAndCarr: With your settings obviously you need to be a) ticket owner, b) ticket reporter, or c) you've done changes or comments on that ticket, to get any change notification on it.
[12:38:24.453705]<DavidAndCarr>hasienda: correct, however i'm not being notified on any of the three
[12:38:51.482620]<hasienda>DavidAndCarr: "tell me about all ticket changes" -> smtp_always_*
[12:39:14.295460]<hasienda>DavidAndCarr: * = cc|bcc
[12:40:07.047304]<DavidAndCarr>add a * to those?
[12:40:16.530037]<DavidAndCarr>so smtp_always_cc = *
[12:45:20.939442]<hasienda>DavidAndCarr: No, should have been clearer here, sorry: smtp_always_cc = me@foo.bar.com
[12:45:32.038529]<DavidAndCarr>ok
[13:02:54.276796]<osimons>DavidAndCarr: I'm quite sure Gmail don't allow smtp on port 25. see http://trac.edgewall.org/wiki/TracNotification#UsingGMailastheSMTPrelayhost
[13:03:21.809999]<osimons>trac debug logging should tell you about what trac tries to do and what possible errors it may receive
[13:03:45.262187]<DavidAndCarr>osimons: Yea, i tried that port, then checked gmail's website, and it recommended 465 or 25
[13:03:52.756691]<osimons>ah. ok.
[13:04:19.306955]<osimons>right. it says. hmm trac debug logging then.
[13:04:30.904404]<DavidAndCarr>yea, im setting it up now
[13:05:20.438947]<osimons>and your users do have an email - as set in their Preferences? or however you have it if you use account manager (that i don't use and don't know how works)?
[13:05:25.439541]<hybryd>Anyone here able to help me troubleshoot my install of Trac? I'm specifically trying to modify the appearance of Trac as detailed in the 'TracInterfaceCustomization' guide by adding a site.html and site.css file to the /templates/ directory. I added the PythonOptions to my apache confs and restarted and it just does not seem to work
[13:05:52.535075]<osimons>PythonOption?
[13:06:20.448143]<osimons>you added site.html to $environment/templates/, right?
[13:06:31.481110]<hybryd>yep
[13:07:30.983008]<osimons>hybryd: and your site.html contents are exactly like http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
[13:08:10.233378]<osimons>with a site.css as $environment/htdocs/site.css ?
[13:08:14.336489]<hybryd>yes, copied directly. Is there any low level logging I can check to ensure Trac is looking in the right place?
[13:08:32.376277]<hybryd>nope, no site.css
[13:08:51.876237]<hybryd>does the site.css have to go into $environment/htdocs/
[13:09:33.598292]<osimons>${href.chrome('site/style.css')} where 'site' means the project htdocs directory - not templates. htdocs for resources being served, templates for resources being 'transformed'
[13:09:53.956699]<osimons>templates != static resources, yes
[13:10:10.858320]<hybryd>gotcha
[13:10:22.077325]<osimons>- as explained just below the code as well, i see :-)
[13:11:11.482845]<osimons>hybryd: if you have firefox/firebug, or safari web developer or anything, you should see the resources loading - or a 404 if browser can't get the file
[13:11:50.897186]<osimons>if you want to customize, you likely have something like that - if not it will be a long painful ride to get it tested and checked... :-)
[13:13:14.306445]<hybryd>well, that worked for the site.css file, thank you. Gonna try to modify the site.html in /templates/ and see if that works for me as well.
[13:13:17.365677]<hybryd>Thanks again!
[13:14:09.248946]<osimons>likely it does as the new site.css reference is added from the template you just added
[13:14:18.804407]<osimons>good luck. should be all set.
[13:15:29.262779]<DavidAndCarr>hmm, debug didn't write anything but when It emailed it the to field was blank
[13:23:59.319670]<hasienda>DavidAndCarr: so what, content in 'To' is not scrictly needed AFAIK
[13:24:31.343907]<DavidAndCarr>shouldn't the to field be populated with the user whom the message is for (ie whom the ticket is created for?)
[13:26:03.198938]<hasienda>DavidAndCarr: dunno, need to look at the code ... (I use AnnouncerPlugin here)
[13:27:59.173781]<hasienda>(looking into http://trac.edgewall.org/browser/trunk/trac/ticket/notification.py now)
[13:28:27.976275]<DavidAndCarr>would it be easier if i installed the announcer plugin?
[13:33:03.556115]<hasienda>DavidAndCarr: happen to like and hack Announcer a lot right now, but I'm still no fan-boy, so stick with native Trac function, as long as it serves your need.
[13:33:52.251191]<hasienda>DavidAndCarr: If it's just config, don't worry. We'll certainly fix this right away.
[13:34:39.376745]<hasienda>DavidAndCarr: http://trac.edgewall.org/browser/trunk/trac/ticket/notification.py#L274 tells, that reporter and owner will be put to 'To.', reading on ...
[13:40:23.880458]<hasienda>DavidAndCarr: ah, http://trac.edgewall.org/browser/trunk/trac/ticket/notification.py#L307 will add all updaters to 'To:' as well.
[13:41:12.749089]<DavidAndCarr>ah gotcha, could that be the problem?
[13:44:42.110948]<hasienda>DavidAndCarr: Now that I read that for the first time on my own, this seems not the best policy for email address usage. I stick to extensive use of bcc for recipients lists, mandatory in (most) profession use cases, even good to follow in private use, just to not give away addresses more than needed. This cross-post here is at best sub-optimal.
[13:45:21.449808]<hasienda>DavidAndCarr: However, all this might be not of concern to you, right?
[13:46:00.276123]<DavidAndCarr>ah gotcha, yes, I could do that I suppose, it's an internal network though, so not to concerned about showing addresses
[14:05:06.334195]<fr00d>Hello!
[14:06:37.161802]<fr00d>I'm trying to get notified by my trac. Local delivery works quite well. But when changing a ticket normally the owner and the changer should be notified per mail. I can't find any messages in my mailserver logs.
[14:07:22.091195]<fr00d>Do I need to enable notification in general?
[14:14:31.506296]<srl295>frood, do you know where your towel is?
[14:15:02.938561]<srl295>so you don't get any e-mails sent from trac?
[14:15:13.148215]<srl295>!wiki notification
[14:15:13.158820]<evil_twin>http://trac.edgewall.org/wiki/notification
[14:16:12.929686]<srl295>you do need to turn it on globally http://trac.edgewall.org/wiki/TracNotification
[14:21:11.469411]<fr00d>srl295: Yes, I know.
[14:22:05.571660]<fr00d>added smtp_enabled = true to my trac.ini, restarted the webserver, but still didn't send any notification. :(
[14:24:10.289665]<fr00d>http://nopaste.info/504759ca1c.html This is what my configuration looks like.
[14:57:10.093473]<hasienda>fr00d: owner and changer need to provide valid email addresses as well, did you check?
[14:59:23.947569]<hasienda>fr00d: not good: line 2: "smtp_enabled = true" BUT line 12: "smtp_enabled = false"
[15:04:25.012085]<hasienda>fr00d: you checked that mailserver at "localhost" accepts mail from user owning apache (or set "smtp_user = ") without smtp password (or set "smtp_password = " to corresponding password for smtp_user), didn't you?
[15:09:13.195519]<hasienda>fr00d: "mime_encoding = none" might be a bad idea, if you have any non-ascii chars in your Trac. Better use qp (quoted-printable) there. Notification might even bail out on that. You do watch your trac.log with logging at debug level DEBUG.?
[15:09:19.977691]<hasienda>@logging
[15:09:19.992333]<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.
[15:09:38.972134]<hasienda>fr00d: ^^^ watch out :-)