Team Chat Logs

August 18, 2009

2009 7
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:03:17.405078]<evil_twin>t.e.o: Ticket #4235 (Wiki formatting lost in ">" quoted blocks) updated - <http://trac.edgewall.org/ticket/4235#comment:16> - Ryan Ollos <ryano@…>
[01:08:20.319704]<evil_twin>t.e.o: Ticket #7490 (Trac 0.11 really slow, high cpu usage) updated - <http://trac.edgewall.org/ticket/7490#comment:96> - cboos
[01:32:28.053819]<kuru>hi, I'm trying to use the RepositoryHookSystem plugin, and it works great
[01:32:36.034358]<kuru>I'm just not sure how to pass it the url of the trac system
[01:32:49.523585]<kuru>in the emails I get it just says: Ticket URL: </ticket/22#comment:22>
[01:32:55.084266]<kuru>instead of having the url
[01:33:16.551641]<kuru>I looked at the code for the listener.py script and it doesn't have an argument for url like -s or whatever
[01:34:01.534519]<kuru>and it seems like it ignores the variable TRAC_URL that's in the trac-post-commit hook that calls out the RepositoryHookSystem
[01:34:05.132658]<kuru>any ideas?
[01:44:03.828437]<cRTrn13>hi all
[01:44:18.112989]<cRTrn13>I am writing a trac plugin atm but i need a little help:
[01:44:42.243877]<cRTrn13>my plugin generates some text including some wiki-syntax
[01:45:47.683774]<cRTrn13>I want it so that when a user goes to http://host/trac/genplug/ it'll generate a new wiki page and insert the text with wiki-syntax into that new wiki page
[01:46:07.442938]<cRTrn13>then when a user goes to to http://host/trac/wiki/NewWikiPage it'll show them that page
[01:46:50.534987]<cRTrn13>I already know how to hook into IRequestHandler and can get it to process the /genplug path
[01:47:03.208298]<cRTrn13>but how do I generate a new wiki page from within the plugin code?
[01:49:59.003998]<kirean>kuru: do you have trac.url set in trac.ini?
[01:50:11.684598]<cRTrn13>anyone?
[01:51:04.351156]<kuru>hrmm
[01:51:22.369847]<kirean>kuru: sorry
[01:51:41.605826]<kuru>nope
[01:51:46.154418]<kirean>base_url
[01:51:53.694642]<kuru>but under [project]
[01:51:56.976012]<kuru>it has 'url'
[01:52:05.104195]<kirean>in [trac] section
[01:52:58.110578]<kuru>ok.. so.. http://hostname/ or http://hostname ?
[01:54:42.489112]<kirean>@inform kuru wiki TracIni#trac-section
[01:54:42.594299]<evil_twin>http://trac.edgewall.org/wiki/TracIni#trac-section
[01:54:47.489241]<evil_twin>kuru: http://trac.edgewall.org/wiki/TracIni#trac-section
[01:56:52.465637]<kuru>kirean, that's great, but it still doesn't answer my question ;)
[01:56:57.503914]<kuru>do I keep a trailing / or not ;)
[01:57:14.799622]<kirean>kuru: i do not have a trailing /
[01:57:20.535892]<kirean>kuru: so try without
[02:07:32.217183]<kirean>kuru: success?
[02:18:23.443487]<cRTrn13>is there anyone who can help me with plugin dev questions?
[02:18:24.952062]<cRTrn13>pls?
[02:25:13.160172]<Elephantman>hi :)
[02:33:00.083576]<Elephantman>I've installed a plugin ( http://trac-hacks.org/wiki/TracWikiToPdfPlugin with 'easy_install http://trac-hacks.org/svn/tracwikitopdfplugin/0.11', and added 'wikitopdf.* = enabled' to my trac.ini, but it seems I must have missed something. How can I install this correctly ?
[02:36:07.739563]<osimons>@logging
[02:36:07.791444]<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:36:14.544344]<osimons>Elephantman: ^^ check logs
[02:36:46.556988]<jdixon>pacopablo: didn't work. restarted tracd and eventname (or eventname2009) wasn't listed in Available Projects.
[02:37:24.460898]<Elephantman>osimons> do I need to re-process the plugin install ?
[02:38:06.026080]<osimons>Elephantman: just turn on logging and look for wikitopdf
[02:38:19.175978]<evil_twin>t.e.o: Ticket #1468 (User-defined alternate formats [export] [wiki]) updated - <http://trac.edgewall.org/ticket/1468#comment:22> - molly
[02:38:34.840118]<Elephantman>osimons> it's not in the log
[02:39:14.073496]<osimons>Elephantman: but you see all the other trac & plug loading lines?
[02:39:23.415472]<Elephantman>osimons> yes
[02:40:25.984413]<osimons>and you've installed it the right location, using the correct python or whatever? on command-line do: python -c "import trac; import wikitopdf"
[02:41:44.967882]<osimons>- and check open tickets for the plugin. i don't know it, and don't know what it requires or depends on - or what issues people may have
[02:43:48.562034]<Elephantman>osimons> run that command, refreshed a page and checked again with no success
[02:44:45.685226]<osimons>so that means they both imported without issues - you've restarted your webserver of course?
[02:46:07.388019]<Elephantman>nope, and that did the job. sorry for that :)
[02:46:21.902114]<Elephantman>didn't realise it would need an apache restart
[02:47:21.558463]<osimons>if you're using mod_python or similar, python is embedded in apache and needs to restart to reload its knowledge of modules and code (path)
[02:47:27.397361]<osimons>no worries. good luck.
[02:47:41.104296]<Elephantman>okay, didn't know that one :) thanks !
[05:00:11.401072]<cRTrn13>hi all
[05:00:28.188514]<cRTrn13>are there any plugin-devs here or trac devs here that could help me?
[05:03:09.473538]<villejoubert>hello
[05:03:20.568117]<cRTrn13>hi
[05:06:57.420546]<villejoubert>what is your problem( i am not trac dev, but may be i can help you)
[05:07:31.038274]<villejoubert>escuse me for my english , i am french
[05:07:42.486927]<cRTrn13>thanks - here's my question"
[05:07:43.974508]<cRTrn13>:
[05:07:51.998564]<cRTrn13>I am using IWikiSyntaxProvider to replace my syntax expressions which works fine
[05:08:27.429487]<cRTrn13>the thing is I want to replace my expressions with wiki-text (that will be evaluated like other regular wiki text!!) - not just display the text on the page
[05:08:40.679237]<cRTrn13>for example, I have test on the page <<test>>
[05:09:09.964191]<cRTrn13>I am using IWikiSyntaxProvider to change that to == test ==
[05:09:37.050127]<cRTrn13>however I get '== test ==' on the page, it's not parsed again (I want to get a header...)
[05:10:06.780157]<cRTrn13>any ideas how I can get it to evaluate my returned value from get_wiki_syntax()?
[05:13:31.822096]<villejoubert>i dont use this plugin, i dont help you
[05:13:38.754030]<cRTrn13>ok no problem
[05:14:19.092749]<villejoubert>maybe you can help me ?
[05:14:30.348539]<cRTrn13>i can try?
[05:15:08.615803]<villejoubert>i want to get the ticket param in any html page
[05:15:15.327376]<cRTrn13>ahh sorry
[05:15:19.281827]<cRTrn13>only use wiki
[05:16:13.823414]<villejoubert>no problem
[05:17:22.013316]<villejoubert>for your problem , you only use the wikisyntaxProvider or you use your own functions
[05:17:25.052425]<villejoubert>?
[05:17:43.884805]<cRTrn13>I have a bunch of my own functions
[05:18:03.624460]<cRTrn13>and WikiSyntaxProvider
[05:18:08.125872]<cRTrn13>y?
[05:18:21.683774]<evil_twin>t.e.o: TracTermsPtBr edited - <http://trac.edgewall.org/wiki/TracTermsPtBr?version=21> - diogo.soares@…
[05:20:00.239320]<villejoubert>i think that could be a type problem
[05:20:16.623468]<cRTrn13>what do you mean?
[05:20:41.783719]<villejoubert>I mean that could be he wants a string and you bring him a array
[05:20:59.128786]<villejoubert>(it's only an example i don't know how it work)
[05:21:13.918577]<villejoubert>by that could be a way for research....
[05:25:11.886737]<ironi>is there a way to retrieve all tickets assigned to a person to an external python app?
[05:25:30.080328]<ironi>i.e. any tips on resources for doing so
[05:43:06.233992]<skarka>hi, i am trying to work with HttpAuthStore, is it works with htpasswd file save on another server or it works only with LDAP?
[06:42:24.771445]*retracile murmurs something acrimonious about mornings.
[06:51:12.163953]<asmodai>tactil!
[06:51:31.155781]<retracile>modi!
[07:00:14.963540]<doki_pen>thansen: hey
[07:00:18.926425]<doki_pen>thansen: pong
[07:07:18.134474]<Elephantman>simple begginer question : for the [header_logo], where does default folder land ?
[08:17:31.595925]<thansen>doki_pen: trying to figure out the beta irclogs config
[08:18:09.666356]<thansen>when I upgraded to python 2.6 for some reason 0.11 stopped working
[08:19:08.809810]<thansen>anyway, with the beta I'm getting this.. KeyError: paths
[08:28:24.864402]<evil_twin>t.e.o: Ticket #8244 (gaierror: (-2, 'Name or service not known')) closed - <http://trac.edgewall.org/ticket/8244#comment:3> - cboos
[08:44:32.819992]<doki_pen>thansen: ah
[08:44:41.846949]<doki_pen>thansen: can you paste your trac.ini and I'll have a look?
[08:44:47.893521]<doki_pen>thansen: also, can you paste the stack trac?
[08:44:53.338997]<doki_pen>s/trac/trace/
[08:44:53.647146]<evil_twin>doki_pen meant: thansen: also, can you paste the stack trace?
[08:49:40.320894]<retracile>thansen: what specific version of 0.11?
[08:49:54.310976]<retracile>(there were problems with 2.6 and 0.11.3 and earlier, IIRC.)
[08:50:36.267986]<WiK>morning
[09:00:29.074954]<retracile>WiK: yeah, don't remind me
[09:01:21.321209]<WiK>haha sorry..long day?
[09:02:49.321600]<retracile>not a fan of mornings :)
[09:03:58.043656]<WiK>this morning hasn't been too bad for me...ive mostly been goggling and reading info on trac. I added a custom field for usr_priority and im tring to setup a trigger in the database so when a ticket is "closed" the user_priority is reset from whatever it is to NA
[09:04:45.004567]<retracile>WiK: Why?
[09:05:04.126173]<retracile>WiK: That is, once a ticket is closed, why worry about what the user_priority is set to ?
[09:05:47.567709]<WiK>because there as been a couple times that a ticket is reopened, then you have to hunt for it if you didnt take notice of the user_priority when you reopened it
[09:06:17.228095]<WiK>its just a little thing that bugs me and perhaps noone else on my project
[09:07:14.794379]<WiK>I guess its just a convenience thing
[09:38:16.367687]<thansen>retracile: I'm running 11.2 trac atm..but it was working fine with .11 irclogs when I was running python 2.5
[09:39:14.416226]<thansen>doki_pen: here is what I currently have.. http://www.pastebin.ca/1534015
[09:45:51.142773]<doki_pen>thansen: those params work from me with the beta
[09:46:50.832369]<doki_pen>thansen: can you turn up logging and grep for 'parsing'
[09:47:25.333362]<doki_pen>thansen: also, paste your stack trace
[09:48:44.450972]<thansen>doki_pen: oops.. http://www.pastebin.ca/1534023
[09:48:50.646786]<retracile>thansen: Yeah, I'd recommend upgrading to at least 0.11.4. There were some python 2.6 incompatabilities in the previous 0.11.x releases.
[09:49:28.860167]<thansen>retracile: I'm waiting for it to hit portage still :(
[09:54:08.165861]<doki_pen>thansen: can you try running irclogs/tests/file_parser.py?
[09:55:43.247044]<doki_pen>thansen: the channel dict should inherit 'paths' from the default paths, which is defined as a ListOption in provider.file
[09:56:05.076300]<doki_pen>thansen: also, paste the components section of trac.ini
[09:57:35.105989]<thansen>doki_pen: irclogs.* = enabled
[09:58:00.570068]<thansen>doki_pen: you want me to just run that from the command line?
[09:58:13.862988]<doki_pen>thansen: yeah
[09:58:32.757140]<doki_pen>thansen: if any of the tests don't pass then that will be our problem
[09:59:23.941371]<thansen>doki_pen: does it matter where I run it from? ie should I be running it from tests/
[09:59:40.830675]<doki_pen>thansen: run it from the base of the parsing_refactor
[10:00:16.090951]<Viss>hey folks - I have a trac install that I just inherited. I've not worked with trac before. After a dist-upgrade (this is an ubuntu box) it seems trac was updated and is now looking for a 'chrome' directory which didnt previously exist - so the css is horked and images are missing.
[10:00:17.399001]<doki_pen>thansen: I don't think it matters
[10:00:28.342159]<Viss>Is it possible to just take the .db file, nuke everything, re install, and re drop-in that db?
[10:00:50.541518]<doki_pen>Viss: there is also the trac.ini and attachments to consider
[10:00:54.380495]<thansen>doki_pen: http://www.pastebin.ca/1534037
[10:01:07.341220]<doki_pen>Viss: I don't know what plugins you have either, they could have deps
[10:01:12.422072]<Viss>doki_pen: is there a doc somewhere on how to do this?
[10:01:24.008961]<doki_pen>Viss: don't know
[10:01:29.345922]<Viss>hurm.
[10:01:38.941147]<Viss>so the db and plugins, then whatever deps they have.
[10:01:40.183631]<Viss>alrighty
[10:01:43.971499]<doki_pen>thansen: did you run it from the base dir?
[10:02:51.439144]<doki_pen>thansen: I guess you need to
[10:03:14.408950]<Viss>seems like there are no plugins
[10:03:29.597353]<doki_pen>Viss: check the components section of the trac.ini
[10:03:38.150089]<thansen>doki_pen: I ran from here.. /var/lib/trac-plugins-source/irclogsplugin/parsing_refactor
[10:03:45.749662]<doki_pen>thansen: strange
[10:03:52.832602]<doki_pen>you can try python setup.py test
[10:04:07.473694]<doki_pen>there is some NoneType error at the end, I don't know what that is
[10:04:10.433622]<doki_pen>but you can ignore it
[10:05:25.800645]<thansen>doki_pen: http://www.pastebin.ca/1534043
[10:06:06.931037]<doki_pen>thansen: :S. I wonder what feature I'm using that isn't supported on your env
[10:06:06.986102]<Viss>doki_pen: only thing in there is 'webadmin.* = enabled "
[10:06:31.393873]<doki_pen>Viss: should be good then. I doubt it will solve your problem, but feel free
[10:06:35.863502]<Viss>hurm
[10:06:43.999067]<doki_pen>Viss: db, trac.ini and attachments are the only persistant data
[10:06:49.438106]<Viss>got it.
[10:07:31.610258]<doki_pen>pacopablo: what version of python are you using on your irclogs box?
[10:08:45.984570]<doki_pen>thansen: the get_channel_by_name method is the problem, if you are interested in pursuing it
[10:09:30.525053]<doki_pen>thansen: the only trac code is c = self.config. You can start by making sure it's working
[10:09:39.480591]<doki_pen>thansen: maybe adding a log or something
[10:10:16.803452]<thansen>doki_pen: well, when I add the path var in trac.ini I get a different error
[10:10:25.838715]<doki_pen>thansen: I would expect that
[10:10:38.055102]<doki_pen>thansen: it's not getting the Option values
[10:10:40.817353]<pacopablo>doki_pen: 2.5
[10:10:58.266597]<doki_pen>thansen: it must be a feature I'm relying on in newer trac
[10:11:13.454134]<doki_pen>thansen: that automatically adds the Option default values to the c.options() return value
[10:11:26.593335]<doki_pen>thansen: that would be my guess
[10:11:49.060427]*pacopablo still need to fix his logs
[10:11:58.372903]<doki_pen>pacopablo: mine are working :D
[10:12:13.613540]<pacopablo>hehe
[10:12:17.560242]<doki_pen>pacopablo: I got search almost completely working the other day
[10:12:32.740162]<doki_pen>pacopablo: I have a timezone conversion bug somewhere though, and it's one hour off
[10:12:45.331273]<doki_pen>pacopablo: I started refactoring the timezone conversion stuff to all be in one place
[10:12:46.478203]<pacopablo>yeah, I noticed
[10:13:21.757168]<doki_pen>pacopablo: also, it seems that a dict is no longer cutting it for the channel
[10:13:26.071296]<pacopablo>the weird part is that the IrcLogQuote macro still works
[10:13:26.197732]<doki_pen>pacopablo: I need a Channel class
[10:13:30.189522]<pacopablo>but the log display doesn't
[10:14:21.810174]<doki_pen>pacopablo: strange, once I refactor the channel stuff, things might start working better
[10:14:40.742114]<doki_pen>pacopablo: also, I think those macros should have the show announcements controls, as well as some header info
[10:14:48.189436]<doki_pen>pacopablo: I can make it optional though
[10:15:18.438294]<doki_pen>I don't get much done when the weather is this nice.
[10:15:31.352132]<doki_pen>it is _hot_ in boston
[10:19:38.982146]*thansen is headed out there next week :)
[10:20:49.954419]<thansen>this week actually
[10:20:51.409310]<thansen>wow
[10:20:59.961976]<thansen>going for yankees vs. sox :)
[10:22:03.418309]<thansen>doki_pen: ok, well, I guess I'm in a bad spot right now..2.6 python and 11.2 trac. I'll wait till an update comes through and update you
[10:23:49.454594]<doki_pen>thansen: yankee fan?
[10:24:02.564892]<doki_pen>thansen: yeah, sorry about that
[10:24:23.944567]<doki_pen>thansen: I think I advertise it as supporting 0.11.4 though ;)
[10:24:45.787295]<doki_pen>thansen: no, i don't
[10:24:49.361564]<doki_pen>thansen: I should though
[10:25:02.073646]<doki_pen>thansen: because I think the javascript would have been broken too
[10:25:07.653866]<thansen>doki_pen: sox :) or I'd go when they're playing in NY
[10:25:10.828383]<doki_pen>thansen: without a newer jquery
[10:25:22.634138]<doki_pen>thansen: ah, where are you fron?
[10:25:27.720237]<doki_pen>s/fron/from/
[10:25:27.731310]<evil_twin>doki_pen meant: thansen: ah, where are you from?
[10:25:59.362633]<thansen>doki_pen: Idaho, living in Utah currently
[10:28:48.135948]<doki_pen>thansen: how did you become a sox fan?
[10:28:56.833358]<doki_pen>thansen: are you cursed? ;)
[10:29:19.664781]<thansen>doki_pen: :) you a yankee fan?
[10:29:53.547727]*thansen never really cared about baseball until 2004
[10:30:03.732755]<thansen>those guys won me over in that series :)
[10:32:18.210111]<doki_pen>thansen: no, red sox from birth
[10:45:34.527915]<thansen>doki_pen: good for you :)
[11:10:43.611141]<WiK>Genshi, how i wish you were just html :)
[11:10:58.561745]<jhammel>WiK: it is?
[11:11:49.156636]<WiK>jhammel: I just need to spend some more time learning it before i try changing stuff
[11:15:06.637560]<WiK>Just tring to add a "Back to Query" link in a different location
[11:18:27.469389]<evil_twin>t.e.o: Ticket #8575 (IntegrityError: duplicate key violates unique constraint) created - <http://trac.edgewall.org/ticket/8575> - shanec@…
[11:41:42.186707]<WiK>can anyone help me out? I'm tring to copy my "Back to Query" link to another location but <?cs with:links = chrome.links ?> this code doesnt seem to work in the template/site.html
[11:42:02.918611]<WiK>I could use a kick in the ass towards the right direction
[11:47:05.692232]<WiK>nm
[11:47:41.012528]<WiK>guess i need to find a way to convrt it from chrome
[12:01:07.575005]<osimons>WiK: <?cs.... ?> is clearsilver (trac 0.10), not genshi (trac 0.11+)....
[12:01:15.797847]<osimons>@wiki TracInterfaceCustomization
[12:01:15.808369]<evil_twin>http://trac.edgewall.org/wiki/TracInterfaceCustomization
[12:13:48.622121]<doki_pen>thatch: btw, what was the error on the 0.11 branch? maybe that can be fixed easily
[12:20:24.360111]<Viss>heh
[12:36:51.801888]<WiK>osimons: thanks, i figured that out, now I'm just reading up on the conversion
[12:40:21.472230]<doki_pen>thansen: I meant you, not thatch
[12:56:13.943117]<thansen>doki_pen: you mean 0.11 of irclogs?
[13:00:56.280396]<doki_pen>thansen: yes
[13:02:38.007418]<thansen>doki_pen: yes, I couldn't get the module to load
[13:02:59.149534]<thansen>ie, it didn't even show up in plugins section of admin
[13:35:15.339923]<WiK>any suggestion on why chrome.links.up.0.href no longer works? I cant find anything in the docs
[13:35:32.314620]<WiK>if i use chrom.links.up i return a bunch of stuff, but i cant seam to parse any of it out
[14:18:30.609908]<evil_twin>t.e.o: Ticket #8575 (IntegrityError: duplicate key violates unique constraint) updated - <http://trac.edgewall.org/ticket/8575#comment:1> - Shane Caraveo <shanec@…>
[14:18:35.606025]<evil_twin>t.e.o: Ticket #8575 (IntegrityError: duplicate key violates unique constraint) updated - <http://trac.edgewall.org/ticket/8575#comment:2> - Shane Caraveo <shanec@…>
[16:54:21.429363]<Mainstay>I'm trying to compile Clearsilver in order to install Trac.
[16:54:22.577748]<Mainstay>I'm following the directions here: http://chrismiles.info/systemsadmin/solaris/articles/building-trac-on-solaris/
[16:54:22.599028]<Mainstay>After running I make I get the following errors:
[16:54:22.618673]<Mainstay>.install -sh -c -m 644 ClearSilver.h /usr/local/include/ClearSilver/
[16:54:22.643486]<Mainstay>make: .install: Command not found
[16:54:23.184863]<Mainstay>make: *** [install] Error 127
[16:54:25.162233]<Mainstay>Does this mean it can't find the install command? It's in my path.
[16:59:24.234500]<Mainstay>I'm trying to compile Clearsilver in order to install Trac. I'm following the directions here: http://chrismiles.info/systemsadmin/solaris/articles/building-trac-on-solaris/ After running I make I get the following errors. http://pastebin.com/m158926cd Does this mean it can't find the install command? It's in my path.
[23:09:32.893010]<cRTrn13>morning all
[23:09:34.978416]<cRTrn13>quick q:
[23:09:45.287510]<cRTrn13>is there any way to add a 'title' to a wiki link?
[23:09:54.425624]<cRTrn13>(i.e. the 'title' html attribute)