Team Chat Logs
August 5, 2010
| 2010 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 | |||||
| << | < | > | >> | |||
| [02:28:49.405471] | <m_anish> | Hi, Is there some way I can automate trac bug reporting process using python? |
| [02:29:05.984635] | <m_anish> | (or perl) |
| [02:33:53.424710] | <kirean> | m_anish: xmlrpc? |
| [02:34:14.192870] | <ras0ir> | i use email2trac |
| [02:35:01.604392] | <m_anish> | ras0ir: kirean thanks! |
| [02:35:14.204872] | * | m_anish looks up email2trac |
| [02:40:00.673883] | <m_anish> | kirean: xmlrpc looks like it. Thanks! |
| [03:38:36.739108] | <kirean> | m_anish: good luck |
| [03:56:48.643907] | <arcspark> | hi there. i'm using fedora 13 and i'm having trouble installing the latest git clone of lightspark |
| [03:57:28.697712] | <arcspark> | 4.2.2.2-1 doesn't agree with youtube |
| [03:57:32.123982] | <arcspark> | or much else for that matter |
| [03:57:49.723731] | <arcspark> | so i decided to try using the so-advertised bleeding edge code |
| [03:58:08.178115] | <arcspark> | as I was promised, it's turning out to be pretty complicated |
| [03:58:35.720180] | <arcspark> | http://pastebin.com/aHeSdsiE |
| [03:59:32.924554] | <arcspark> | anybody know if those are problems with lightspark, or is it a problem with fedora? |
| [04:03:19.677875] | <ras0ir> | arcspark: it's better to ask in #fedora ;) |
| [04:12:38.619034] | <gbot83> | t.e.o: Ticket #4542 (Inconsistent treatment of underscores in Wiki Page Names) reopened - <http://trac.edgewall.org/ticket/4542#comment:3> - David Matthews |
| [04:27:41.513172] | <gbot83> | t.e.o: Ticket #4542 (Inconsistent treatment of underscores in Wiki Page Names) updated - <http://trac.edgewall.org/ticket/4542#comment:4> - cboos |
| [04:27:46.513438] | <gbot83> | t.e.o: Ticket #9545 (TypeError: __init__() takes exactly 4 arguments (5 given)) created - <http://trac.edgewall.org/ticket/9545> - admin |
| [04:45:50.370246] | <kirean> | arcspark: see irc://irc.freenode.net/lightspark |
| [04:48:43.804490] | <arcspark> | thanks for pointing me in the right direction :) |
| [04:52:45.450851] | <gbot83> | t.e.o: Ticket #9545 (TypeError: __init__() takes exactly 4 arguments (5 given)) closed - <http://trac.edgewall.org/ticket/9545#comment:1> - cboos |
| [05:27:51.336817] | <gbot83> | t.e.o: Ticket #5476 (Translation of Trac to Portuguese/Português [pt_BR]) updated - <http://trac.edgewall.org/ticket/5476#comment:48> - cleo.sl@… |
| [05:57:56.247658] | <gbot83> | t.e.o: Ticket #5476 (Translation of Trac to Portuguese/Português [pt_BR]) updated - <http://trac.edgewall.org/ticket/5476#comment:49> - daltonmatos@… |
| [07:06:27.637149] | <dAnjou> | hi, can i create a trac environment for a git repo using the trac-admin command? |
| [07:07:14.520178] | <dAnjou> | or do i have to do it manually in the trac.ini? |
| [07:27:57.694341] | <WiseAllec> | hello |
| [07:28:08.059433] | <WiseAllec> | anyone have any experience with git and trac? |
| [07:28:33.671564] | <WiseAllec> | and is willing to help me out with something? |
| [07:32:03.719316] | <shsek> | Hey, anyone happens to know if TracForgePlugin play nicely with multiple SVN repositories? is there any way to see commit history / timelines per project? |
| [07:32:45.324360] | <shsek> | Are there any features missing compared to setting up multiple Trac environments? |
| [07:33:14.760906] | <gbot83> | t.e.o: Ticket #9546 (Log mercurial's errors opening repository) created - <http://trac.edgewall.org/ticket/9546> - Alessio Franceschelli <dev@…> |
| [07:33:19.759359] | <gbot83> | t.e.o: log_error_hg.patch attached to Ticket #9546 - <http://trac.edgewall.org/attachment/ticket/9546/log_error_hg.patch> - Alessio Franceschelli <dev@…> |
| [07:38:06.813983] | <dAnjou> | WiseAllec: i'm not a supporter here, but i know, that supporters are mostly not willing to ask for your exact problem. so you should provide further information about you problem to help them to help you. |
| [07:38:29.986895] | <dAnjou> | *your |
| [07:38:49.975011] | <WiseAllec> | sorry about that |
| [07:39:01.968892] | <WiseAllec> | I got distracted with this site: http://hakim.se/experiments/ |
| [07:39:07.668945] | <WiseAllec> | really cool stuff there |
| [07:39:13.793537] | <WiseAllec> | alright |
| [07:39:17.185451] | <WiseAllec> | so, here's my problem |
| [07:39:29.814178] | <WiseAllec> | I initialized a directory with trac-admin |
| [07:39:43.872781] | <WiseAllec> | and I pointed it to a known git directory |
| [07:39:52.011470] | <WiseAllec> | it's a bare git directory |
| [07:40:08.288599] | <dAnjou> | WiseAllec: so, that actually helps me :D |
| [07:40:17.996994] | <dAnjou> | 16:06:27 < dAnjou> hi, can i create a trac environment for a git repo using the trac-admin command? |
| [07:40:21.425362] | <dAnjou> | 16:07:13 < dAnjou> or do i have to do it manually in the trac.ini? |
| [07:40:51.770654] | <WiseAllec> | I'm using the versions of trac and trac-git that Ubuntu 10.04 comes with in the it's application repositories |
| [07:41:33.958739] | <WiseAllec> | well, it's like this, version 0.11 asks you what VCS you are going to use and the directory in which the repo is located in |
| [07:41:39.006744] | <WiseAllec> | but 0.12 doesn't |
| [07:41:46.670983] | <WiseAllec> | so, if you are using 0.12 you have to do it manually |
| [07:41:53.474321] | <WiseAllec> | also, you have to install the tracgit plugin |
| [07:42:18.423180] | <dAnjou> | so, that's your problem? |
| [07:42:23.604907] | <WiseAllec> | no no |
| [07:42:25.005887] | <WiseAllec> | just a sec |
| [07:43:27.945481] | <WiseAllec> | my problem is that, after correcting a couple of initial problems that I had (trac not being able to use the git repo or whatnot cause it could not find the repo to begin with...) I try to browse the repo with the trac browser and there is nothing there |
| [07:43:31.403149] | <WiseAllec> | it's empty |
| [07:43:39.650574] | <WiseAllec> | but I know I commited changes |
| [07:43:47.883151] | <WiseAllec> | *committed |
| [07:43:52.926337] | <WiseAllec> | and pushed them to the server |
| [07:44:06.102628] | <WiseAllec> | so, something should appear, but nothing does |
| [07:44:29.539967] | <WiseAllec> | so, I was wondering if anyone has any experience they would like to share on the matter of trac+git |
| [07:47:41.532725] | <WiseAllec> | here's the error that appears when I try to see the changes (by clicking on the list changes link): Trac detected an internal error: GitErrorSha: |
| [07:52:14.942523] | <WiseAllec> | *cricket chirp* |
| [07:52:20.897158] | <WiseAllec> | *cricket chirp* *cricket chirp* |
| [07:53:57.637991] | <dAnjou> | hrhr, can't help you :P |
| [07:56:26.017849] | <WiseAllec> | :P |
| [08:08:29.710483] | <WiseAllec> | hmmm |
| [08:08:45.107331] | <WiseAllec> | I wonder if my problem is because I'm using tracd... |
| [08:14:02.528691] | <WiseAllec> | nope... might not be that... changing the permissions on the folder makes an error appear... if I change the permissions back, no error, but not changes are visible either... |
| [08:14:03.923703] | <WiseAllec> | arg... |
| [08:19:06.360371] | <WiseAllec> | arg... the only thing not working is the browse source feature... |
| [08:19:07.649518] | <WiseAllec> | why? |
| [08:19:08.615173] | <WiseAllec> | hmmm |
| [08:28:53.643360] | <evelyette> | hi |
| [08:29:46.153790] | <evelyette> | is there any guide: how to make trac more fit our own project, because I don't want all the default help on the first page and I want clean timeline ... basically I want to clean it up a bit ? |
| [08:33:24.795789] | <gbot83> | t.e.o: Ticket #9547 (Add exclude state option to Workflow in trac.ini (all but a couple states)) created - <http://trac.edgewall.org/ticket/9547> - kace25_2000@… |
| [08:39:10.401970] | <WiseAllec> | dAnjou, figured it out... |
| [08:39:15.781057] | <WiseAllec> | stupidest thing evar on my part... |
| [08:42:01.330984] | <dAnjou> | WiseAllec: do you use webdav + git? |
| [08:42:08.428971] | <dAnjou> | +trac |
| [08:42:12.626954] | <WiseAllec> | nops |
| [08:42:18.198013] | <WiseAllec> | sorry, can't help you there |
| [08:46:59.506078] | <evelyette> | hi |
| [08:47:13.793086] | <evelyette> | trac html plugin is not respecting my css styling ... why's that ? |
| [08:50:53.031983] | <WiseAllec> | yeah... html is an asshole like that sometimes... no respect... tsk tsk tsk |
| [08:51:02.172735] | <WiseAllec> | joking aside... I've no idea... :S |
| [08:51:06.508540] | <evelyette> | this is an example: http://dpaste.com/225323/ ... for example: it doesn't honor: .section color ... |
| [08:51:28.421827] | <evelyette> | I mean background-color |
| [08:52:15.262346] | <shsek> | what does rep.url mean under [repositories] in trac.ini? |
| [08:52:20.080820] | <shsek> | not quite sure what I should put there |
| [08:58:29.541064] | <gbot83> | t.e.o: Changeset [9984]: 0.12.1dev: WikiPageNames can't be followed by digits or _ Also added a ... - <http://trac.edgewall.org/changeset/9984> - cboos |
| [08:58:34.541157] | <gbot83> | t.e.o: Ticket #4542 (Inconsistent treatment of underscores in Wiki Page Names) closed - <http://trac.edgewall.org/ticket/4542#comment:5> - cboos |
| [09:02:47.263973] | <evelyette> | hi |
| [09:03:13.566152] | <evelyette> | where should I put: @import url(/style.css); .... because if I add it on top of the page ... it just shows it to me, not actually using that css ? |
| [09:14:51.666605] | <mrfree> | hi all |
| [09:15:22.335711] | <mrfree> | I'm going to write a plugin to prefill a ticket field with client hostname |
| [09:16:26.317722] | <mrfree> | is that info already available somewhere in trac env or eventually which method should I need to override to "filter" fields before sending html to client? |
| [09:23:41.453249] | <mrfree> | I think ITemplateStreamFilter |
| [09:28:33.536672] | <gbot83> | t.e.o: Ticket #9548 (Source browser: First character missing in hash for repo name) created - <http://trac.edgewall.org/ticket/9548> - shesek |
| [09:33:28.029527] | <evelyette> | everybody's dead here anyway :) |
| [09:37:33.540893] | <WiseAllec> | braaaaaaaaaaiiins... uuuuuuuh! |
| [09:38:23.704340] | * | WiseAllec starts to slowly and eerily move towards evelyette's general direction |
| [09:39:22.796543] | <evelyette> | WiseAllec, can you tell me how can I include this in my wiki: @import url(style.css); |
| [09:40:04.219493] | <WiseAllec> | http://trac.edgewall.org/wiki/TracInterfaceCustomization |
| [09:44:25.707901] | <mrfree> | any idea? |
| [09:45:03.819499] | <mrfree> | in my plugin I need client ip address |
| [09:47:04.123990] | <evelyette> | WiseAllec, it doesn't work |
| [09:47:19.786973] | <evelyette> | http://paste.pocoo.org/show/246392/ |
| [09:47:26.165344] | <evelyette> | this is what I've put in site.html |
| [09:48:36.592121] | <gbot83> | t.e.o: Changeset in ticket-links [7009:0f346d6820fe]: More PEP:0008 clean-ups in the model - <http://trac.edgewall.org/changeset/0f346d6820fe54338226be4e3ed6a0ce1ae5990b/ticket-links> - Christian Boos <cboos@…> |
| [09:48:41.592532] | <gbot83> | t.e.o: Changeset in ticket-links [7010:8e6d9ae5632b]: ticket model links: fix merge glitch, tkt_id is now a ref (array of ... - <http://trac.edgewall.org/changeset/8e6d9ae5632b32017ef58016b65303fe17952560/ticket-links> - Christian Boos <cboos@…> |
| [09:48:46.593460] | <gbot83> | t.e.o: Changeset in ticket-links [7011:e43ec53b481d]: ticket query links: fix more merge glitches Understood why there was a ... - <http://trac.edgewall.org/changeset/e43ec53b481d5edd65555a541fad933ee33b1618/ticket-links> - Christian Boos <cboos@…> |
| [09:48:51.592859] | <gbot83> | t.e.o: Changeset in ticket-links [7012:3cc476f76ff7]: ticket links: make it possible to run tests individually (`make ... - <http://trac.edgewall.org/changeset/3cc476f76ff73a2c80ada40df479dcbca121d1af/ticket-links> - Christian Boos <cboos@…> |
| [09:48:56.597592] | <gbot83> | t.e.o: Changeset in ticket-links [7013:e5e72f486fd4]: ticket links: simplify link updates - <http://trac.edgewall.org/changeset/e5e72f486fd4045aef803385549735324c7d26d3/ticket-links> - Christian Boos <cboos@…> |
| [09:49:01.597717] | <gbot83> | t.e.o: Changeset in ticket-links [7014:f8edcca97297]: ticket links: further simplify link updates - <http://trac.edgewall.org/changeset/f8edcca972975c2426cef3923caf86519ca2f232/ticket-links> - Christian Boos <cboos@…> |
| [09:50:37.523202] | <coderanger> | mrfree: req.remote_host |
| [09:50:48.974427] | <coderanger> | evelyette: What is the full path to that site.html file |
| [09:51:23.246200] | <WiseAllec> | http://bitten.edgewall.org/wiki/TracInterfaceCustomization#SiteCSS |
| [09:51:25.464579] | <WiseAllec> | how about that? |
| [09:51:58.793498] | <evelyette> | coderanger, it's in htdocs dir ... |
| [09:52:13.506710] | <coderanger> | evelyette: That would be the problem, put it in templates/ |
| [09:52:18.742073] | <evelyette> | ok |
| [09:52:49.474658] | <evelyette> | coderanger, in templates/htdocs ? |
| [09:52:53.048941] | <evelyette> | ot just templates |
| [09:52:57.395448] | <coderanger> | also it should be href="${chrome.htdocs_location}/site/style.css} |
| [09:53:05.772071] | <coderanger> | evelyette: Just templates/ in the env folder |
| [09:53:12.282225] | <evelyette> | why site/ ? |
| [09:53:39.308536] | <evelyette> | coderanger, ok it doesn't work |
| [09:53:54.289572] | <coderanger> | evelyette: Did you also restart your web server? |
| [09:54:06.745354] | <coderanger> | Templates are generally cached after load |
| [09:54:10.484902] | <evelyette> | yes |
| [09:54:32.583065] | <evelyette> | why can't I do it like this: @import url(/style/mytrac.css); |
| [09:54:41.388831] | <evelyette> | and why can't I specify css in the html itself ? |
| [09:54:43.766763] | <mrfree> | coderanger, any idea about my question? to pre-fill a field should I use ITemplateStreamFilter or what? |
| [09:54:55.980272] | <coderanger> | evelyette: You could, but that won't work any better |
| [09:55:06.969133] | <coderanger> | mrfree: Depends on the field |
| [09:55:20.356178] | <evelyette> | coderanger, well I have the css in my html ... but trac doesn't honor it |
| [09:55:51.392539] | <evelyette> | when I put that html directly into trac ... with {{{ #!html |
| [09:55:57.733282] | <coderanger> | evelyette: Right, you need to get the site.html setup in such a way that Trac recognizes it, once you do that either method will work |
| [09:56:07.024968] | <mrfree> | coderanger, I've a custom field... I need to prefill it with the client host name (I suppose I can get it python side using req.remote_host) |
| [09:56:17.065277] | <coderanger> | evelyette: Oh, that, because the html() macro is sanitized to prevent injection attacks |
| [09:56:25.869180] | <evelyette> | coderanger, ah :) |
| [09:56:53.715251] | <evelyette> | ok in my templates I've got site.html http://paste.pocoo.org/show/246400/ and style.css ... but this doesn't wotk |
| [09:56:54.892455] | <evelyette> | work |
| [09:57:01.862944] | <evelyette> | any idea? |
| [09:57:16.940904] | <coderanger> | evelyette: The style.css file should stay in the htdocs folder |
| [09:57:24.750367] | <coderanger> | Also, what is the full path to one of these files |
| [09:57:38.965786] | <evelyette> | coderanger, in /trac/htdocs or /trac/templates/htdocs ? |
| [09:57:52.201011] | <coderanger> | evelyette: Just trac/htdocs |
| [09:58:22.582040] | <coderanger> | htdocs/ is the location for static files of any kind (css, images, js, etc). templates/ is the location for Genshi template files. |
| [09:58:22.972468] | <evelyette> | hm, I don't even have trac/htdocs |
| [09:58:23.406257] | <evelyette> | ?? |
| [09:58:41.900923] | <coderanger> | evelyette: In this context, "trac/" is your environment folder, correct? |
| [09:58:47.766731] | <evelyette> | yes |
| [09:58:52.512733] | <coderanger> | The thing with conf/ and db/ and attachments/ |
| [09:59:05.782975] | <evelyette> | yes |
| [09:59:31.824955] | <coderanger> | not sure why there isn't an htdocs folder, but you can certainly make one |
| [09:59:33.972346] | <evelyette> | this is my whole path: /var/www/localhost/htdocs/trac{README VERSION attachments conf deploy eggs log plugins templates} |
| [10:00:14.163056] | <evelyette> | /var/www/localhost/htdocs <--- this is system wide ... not the same |
| [10:00:18.497477] | <coderanger> | Once you have done that, make sure you can load the CSS directly via http://yourtrac/chrome/site/style.css |
| [10:00:24.912562] | <coderanger> | evelyette: Correct, not the same |
| [10:00:54.267439] | <evelyette> | ok it loads |
| [10:01:06.501707] | <coderanger> | okay, so thats a step |
| [10:01:11.817778] | <evelyette> | this is the file: http://dpaste.com/225351/ |
| [10:01:36.578487] | <coderanger> | Next, look at any trac page, do you see any <link> with an href that is to your style.css? |
| [10:01:43.577563] | <coderanger> | (maybe the URL is off by a bit) |
| [10:02:08.600537] | <mrfree> | coderanger, any suggestion? why it depends on field? in you opinion is it possible to do what I need? |
| [10:02:26.504760] | <evelyette> | coderanger, nope ... but I've changed the first wiki page ... it's something else now |
| [10:02:33.277325] | <evelyette> | but if that's not the case .. then no, no link |
| [10:03:14.385482] | <coderanger> | mrfree: Sorry, yes, need to see if you can do this with a simple request filter |
| [10:03:48.994771] | <coderanger> | mrfree: You should probably be able to |
| [10:03:52.942946] | <evelyette> | coderanger, ah there is in the code: <link rel="stylesheet" type="text/css" href="/trac/chrome/common//style.css}" /> |
| [10:04:08.434449] | <mrfree> | coderanger, pre_process_request? |
| [10:04:08.607684] | <evelyette> | I think this is it |
| [10:04:24.339834] | <coderanger> | evelyette: Okay, do this |
| [10:04:58.981586] | <coderanger> | href="${href.chrome('site', 'style.css')}" |
| [10:05:07.807031] | <coderanger> | evelyette: Then restart the webserver |
| [10:05:08.171044] | <evelyette> | where should I put this ? |
| [10:05:16.131627] | <evelyette> | site.html ? |
| [10:05:18.706179] | <coderanger> | evelyette: In the <link> in your site.html |
| [10:05:24.412666] | <coderanger> | replace the other href |
| [10:05:30.170189] | <evelyette> | what do you mean |
| [10:05:41.693112] | <mrfree> | coderanger, nope... I think post_process_request :) |
| [10:05:42.897040] | <coderanger> | replace the <link>'s href with that |
| [10:05:54.092195] | <evelyette> | in the site's html code itself ? |
| [10:05:56.732119] | <coderanger> | mrfree: Yeah, post_proc, you can inject data into ['fields'] |
| [10:06:02.636191] | <coderanger> | evelyette: Yes |
| [10:06:36.697436] | <mrfree> | coderanger, where I can find "data" var datastructure? |
| [10:07:02.451496] | <coderanger> | mrfree: It is just a dict, the part you care about is created at http://trac.edgewall.org/browser/trunk/trac/ticket/web_ui.py#L413 |
| [10:07:33.389652] | <evelyette> | coderanger, ok I have this now: http://dpaste.com/225354/ ... but it's very strange ... since web browser can't load that |
| [10:07:47.628141] | <evelyette> | that's just the head |
| [10:07:52.916755] | <evelyette> | there are other thinkgs too |
| [10:08:18.034197] | <evelyette> | you see: <link rel="stylesheet" type="text/css" href="${href.chrome('site', 'style.css')}" /> |
| [10:08:31.319735] | <VxJasonxV> | I'm still pretty hung up with this project list thing... Some of the dots are not entirely connected. I specified the path to the index template file, but when I browse to the file, is rendering the project list literally; |
| [10:08:35.319751] | <VxJasonxV> | $project.name $project.name: Error |
| [10:08:38.071640] | <VxJasonxV> | ($project.description) |
| [10:08:38.250739] | <coderanger> | mrfree: If you don't have it already, grab the TracDeveloper plugin, it has a mode to dump the contents of data |
| [10:09:09.098992] | <coderanger> | VxJasonxV: Pastebin the template |
| [10:09:19.984172] | <coderanger> | evelyette: Hmm? that should be a genshi expression |
| [10:09:33.765221] | <VxJasonxV> | coderanger, it's identical to the one shipped in trac. $egg/trac/templates/index.html |
| [10:09:50.227277] | <evelyette> | coderanger, I've put it directly in the html code of the wiki page ... I don't think that's correct |
| [10:09:56.266870] | <mrfree> | coderanger, where I can find that plugin? |
| [10:10:03.791136] | <coderanger> | evelyette: No, it goes in site.html |
| [10:10:23.832765] | <coderanger> | evelyette: Look at your existing <link> in site.html, you just need to change the href on it |
| [10:10:27.948528] | <coderanger> | mrfree: trac-hacks |
| [10:10:34.733065] | <evelyette> | ok I've done that |
| [10:10:53.751500] | <evelyette> | so site should be the link ? |
| [10:11:24.099770] | <coderanger> | evelyette: I'm not sure what you are asking, but please pastebin the current <head> again |
| [10:11:41.630361] | <evelyette> | let me pastebin the site.html: and the path to a script |
| [10:11:59.668731] | <evelyette> | site.html: http://paste.pocoo.org/show/246412/ |
| [10:12:15.916125] | <evelyette> | path to a style.css is: <link rel="stylesheet" type="text/css" href="/trac/chrome/common//style.css}" /> |
| [10:13:35.236245] | <evelyette> | but a web browser displays it with: http://127.0.0.1/trac/chrome/site/style.css |
| [10:13:48.477561] | <coderanger> | evelyette: Are you sure you are both restarting the webserver and force-reloading the page? That isn't possible with your current site.html |
| [10:14:23.272946] | <evelyette> | ah restart was needed .. it works now |
| [10:14:33.488605] | <evelyette> | thank you very much |
| [10:14:40.031528] | <evelyette> | I really appreciate it |
| [10:15:44.988241] | * | coderanger -> work |
| [10:15:55.929924] | <VxJasonxV> | :< |
| [10:16:42.709011] | <mrfree> | coderanger, many thanks great plugin :) |
| [10:19:23.594001] | <VxJasonxV> | coderanger, I haven't pasted the template because I'm just using the stock one. I admit, I'm curious as to how it derives "for project in projects". |
| [10:20:27.003336] | <VxJasonxV> | oh, I see what's going on, trac.fcgid is only running on a subdirectory |
| [10:20:28.842600] | <coderanger> | VxJasonxV: py:for you mean? |
| [10:20:37.603620] | <VxJasonxV> | Hmm. |
| [10:20:50.951917] | <VxJasonxV> | So, here's my problem. fcgid is only running under /internal/trac |
| [10:21:01.214922] | <VxJasonxV> | The problem is this index file is well outside of that. |
| [10:21:23.014749] | <coderanger> | As a chroot you mean? |
| [10:21:37.576537] | <VxJasonxV> | no. |
| [10:21:47.085697] | <VxJasonxV> | I mean that the index template file is at /var/www |
| [10:21:51.984400] | <coderanger> | Thats fine |
| [10:22:03.842428] | <VxJasonxV> | how do I get it to run under trac.fcgid ? |
| [10:22:07.669956] | <VxJasonxV> | A second script alias? |
| [10:22:08.839873] | <coderanger> | Granted it won't work as a normal HTML file so thats probably not a good place for it |
| [10:22:17.985808] | <evelyette> | coderanger, one more thing: is it possible to save some html pages (without the <html> tags in trac/ subdirectory ... so that trac would load it). Because I have tons of html pages ... and I don't want to click it and adding it on the trac web interface ? |
| [10:22:22.168317] | <coderanger> | VxJasonxV: Trac will produce the index on the / URL on its own |
| [10:22:33.597631] | <coderanger> | VxJasonxV: Do you have TRAC_ENV_PARENT_DIR set? |
| [10:22:36.353481] | <VxJasonxV> | yes |
| [10:22:54.247286] | <VxJasonxV> | env parent = /internal/trac |
| [10:23:02.899525] | <VxJasonxV> | when I navigate to that, I get a traceback. |
| [10:23:11.518575] | <coderanger> | whats the trace? |
| [10:23:26.494036] | <coderanger> | evelyette: You could make a script that automates loading them as wiki pages or similar |
| [10:23:39.867209] | <VxJasonxV> | ugh, of course it's scrolled out of my chat history :P |
| [10:23:40.882299] | <coderanger> | evelyette: I don't know of anything off hand though, Trac isn't really built for that |
| [10:23:41.978382] | <VxJasonxV> | un momento |
| [10:23:56.888477] | <VxJasonxV> | ooh, but go go browser history |
| [10:23:58.345081] | <VxJasonxV> | http://pastie.org/private/oxwopotyw908zti87pg |
| [10:24:08.421396] | <evelyette> | coderanger, where does trac save it's wiki pages ? |
| [10:24:16.771292] | <coderanger> | evelyette: In the database |
| [10:24:17.108757] | <VxJasonxV> | evelyette, database |
| [10:24:27.120396] | <evelyette> | well in what form |
| [10:24:33.102838] | <evelyette> | I can add them directly into database |
| [10:25:30.861786] | <coderanger> | evelyette: Yes, you can make a script to do that ;-) |
| [10:25:44.024737] | <VxJasonxV> | evelyette, connect to your database and run SELECT * FROM wiki LIMIT 1; |
| [10:25:44.789553] | <coderanger> | evelyette: http://trac.edgewall.org/wiki/TracDev/DataModels |
| [10:25:45.406556] | <evelyette> | ah I use sqlite |
| [10:25:56.442844] | <coderanger> | That shows how to manipulate Trac data |
| [10:26:37.374698] | <evelyette> | aha |
| [10:26:43.413309] | <coderanger> | evelyette: Touching SQL directly is not advisable, very easy to break things |
| [10:27:05.776440] | <coderanger> | VxJasonxV: Please pastebin your FCGI file too |
| [10:27:08.149419] | <evelyette> | hm, well I need a script for inserting html into wiki of trac ... |
| [10:27:12.957740] | <evelyette> | because it will be done constantly |
| [10:27:29.904009] | <coderanger> | VxJasonxV: I think you are missing the last path component of the template setting |
| [10:27:33.477914] | <evelyette> | because I only want to touch html pages ... and let trac do the representation of them |
| [10:27:47.800608] | <VxJasonxV> | coderanger, http://pastie.org/private/shmvoinpocldmhndplk3w |
| [10:27:47.972606] | <coderanger> | evelyette: Why use Trac for that? It isn't very good at it |
| [10:28:01.035754] | <coderanger> | VxJasonxV: Yep, thats is |
| [10:28:08.760150] | <evelyette> | coderanger, do you suggest anything better? |
| [10:28:15.244943] | <VxJasonxV> | I know it's wrong in there, but I have it set right in apache conf. |
| [10:28:15.426415] | <coderanger> | os.environ['TRAC_ENV_INDEX_TEMPLATE'] = '/var/www/internal/trac-common/htdocs/common/index.html' |
| [10:28:37.320894] | <VxJasonxV> | I'll fix it there, but given the if, that shouldn't be taking effect |
| [10:28:43.157967] | <coderanger> | VxJasonxV: Env vars from the apache config don't propagate to the FCGI env usually |
| [10:28:47.458225] | <VxJasonxV> | oh |
| [10:28:48.550390] | <VxJasonxV> | well then |
| [10:28:54.013186] | <coderanger> | (assuming you used SetEnv) |
| [10:29:02.200925] | <VxJasonxV> | I used DefaultInitEnv I think |
| [10:29:22.186758] | <VxJasonxV> | yeah, DefaultInitEnv, FastCGI and all |
| [10:29:23.036127] | <coderanger> | Either way, just easier to have it set in the file where you know for a fact it works :-) |
| [10:29:25.643954] | <VxJasonxV> | sure |
| [10:29:26.821671] | <VxJasonxV> | thanks |
| [10:29:35.311304] | <coderanger> | evelyette: Maybe just a static site with some SSI includes? |
| [10:29:50.295372] | <coderanger> | evelyette: Trac's wiki is not a CMS, it is just a wiki |
| [10:30:48.103533] | <VxJasonxV> | yay, it works again without a restart |
| [10:30:49.373495] | <VxJasonxV> | thanks coderanger |
| [10:30:56.827127] | <evelyette> | well I like it because if someday I'll need more than that I'll already have it implemented ... becuase trac supports a lot of other things |
| [10:31:58.761813] | <coderanger> | evelyette: You can definitely setup a script to automate the sync. it will just be a bit ungainly |
| [10:32:17.303779] | <evelyette> | ok I'll try it, thanks for now |
| [10:32:20.920689] | <evelyette> | see ya later, bye bye |
| [10:32:28.832611] | <evelyette> | thanks again, I really appreciate it |
| [11:32:34.092733] | <blitzvergnugen> | I'm having issues with the CustomQuery tab. I go to the View Tickets > Custom Query and try to sort the tickets show by priority, by clicking the priority column (should sort asc/desc). The page refreshes, but nothing else happens. |
| [11:32:50.915285] | <blitzvergnugen> | Running trac on MySQL |
| [11:33:15.960973] | <blitzvergnugen> | I've ran a Select on the MySQL table and it sorts just fine |
| [11:37:10.906003] | <[M]ax> | i cant even get it working with git, let alone with mysql ... |
| [11:38:51.490442] | <gbot83> | t.e.o: TracStandalone edited - <http://trac.edgewall.org/wiki/TracStandalone?version=85> - mikec@… |
| [11:55:04.266715] | <hasienda> | blitzvergnugen: 0.12 with SQLite here, works; dunno how you came to think, the db backend could be related to the issue? |
| [11:56:41.981096] | <blitzvergnugen> | hasienda, are you asking if I think the db backend could be related to the issue? |
| [11:57:13.535129] | <hasienda> | [M]ax: I don't understand your statement, since git is a repo, but MySQL is a db, quite different things you speak of, right? |
| [11:57:28.930485] | <hasienda> | blitzvergnugen: yes |
| [11:58:19.088613] | <blitzvergnugen> | hasienda: tbh, I don't know what's causing the issue |
| [11:59:03.294771] | <blitzvergnugen> | hasienda, I have a feeling that it's in my config of trac or something to do w/ the csv2trac import of tickets that I did |
| [11:59:45.156168] | <blitzvergnugen> | hasienda, I included the part about the mysql b/c it shows that the database is intact and functioning |
| [12:00:17.981044] | <hasienda> | blitzvergnugen: 'csv2trac' not seen before, a Trac plugin? |
| [12:00:57.302321] | <blitzvergnugen> | hasienda, http://trac.edgewall.org/wiki/TracImport very bottom |
| [12:01:36.790218] | <blitzvergnugen> | hasienda, migrating from J-Trac so there wasn't an import script I could just use |
| [12:03:05.861011] | <hasienda> | blitzvergnugen: I used http://trac-hacks.org/wiki/TicketImportPlugin, since it has a preview, so you'll know, if it's ok before import |
| [12:03:58.115073] | <hasienda> | blitzvergnugen: just beware, there are issues with non-ascii chars, so better use the xls format for that, if you need to |
| [12:08:57.324716] | <gbot83> | t.e.o: Ticket #3048 (Issue with redirect after login) updated - <http://trac.edgewall.org/ticket/3048#comment:6> - veterinary technician |
| [12:15:29.554382] | <[M]ax> | hasienda sorry for the delay, yes i know they are different but im of the view, if i cant get one thing to work (a fairly important part imo) then i wouldnt look at getting other things running ... (like mySQL Database) |
| [12:17:01.728612] | <[M]ax> | in other words, ive just given up for the time being |
| [12:17:03.091813] | <[M]ax> | :P |
| [12:17:09.650117] | <[M]ax> | ill re-visit it at another time |
| [12:17:50.154023] | <hasienda> | [M]ax: while you're certainly free to think so (or anything else ;-)) but I consider it unwise to throw this at others without better explaination |
| [12:18:09.278801] | <hasienda> | [M]ax: did you test with 0.12? |
| [12:19:40.221371] | <[M]ax> | hasienda, yes i used 0.12, as i said, I cant get git working let alone mysql :P kinda points to me being stupid ;) |
| [12:20:13.982699] | <hasienda> | [M]ax: 0.12 provides a setup with web_ui admin for repos now, however I never used it before |
| [12:20:42.759378] | <[M]ax> | hasienda cause the git repo stuff is an "addon" its not offically supported "as of yet" |
| [12:20:45.874929] | <[M]ax> | unfortunately |
| [12:20:50.495372] | <shsek> | http://trac-hacks.org/wiki/RepoRevisionSyntaxPlugin - how can I get this 'get' (under Example) not to be rendered as a link? '!get' doesn't seem to do the trick, is there any different wiki sytnax for that on trac hacks? |
| [12:21:38.830475] | <hasienda> | [M]ax: where in the process did you get stuck? no help here eigher? |
| [12:22:07.681915] | * | hasienda feels a growing demand raised here for Trac with Git |
| [12:22:12.467834] | <[M]ax> | hasienda i came across this channel, AFTER the fact that i gave up ;) |
| [12:22:27.987165] | <[M]ax> | and ive not had a chance to re-visit it yet |
| [12:23:01.483651] | <[M]ax> | i got it intergrated with trac fine |
| [12:23:12.624492] | <[M]ax> | but i couldnt connect to the git repo |
| [12:24:40.555377] | <hasienda> | [M]ax: I tend to start a fight, better than giving up and miss a chance. Led me to know quite some bits of Trac, Python, Mercurial, etc. that I'd never know, if I'd thrown it away one year before. |
| [12:25:14.250005] | <[M]ax> | hasienda i normally shelf something and go back to it when my head is clearer |
| [12:25:15.800369] | <[M]ax> | :P |
| [12:25:23.511912] | <blitzvergnugen> | hasienda, do I use the TicketImportPlugin 0.11 or trunk to work with Trac 0.12 |
| [12:25:45.861172] | <hasienda> | [M]ax: ok, so see you soon. :-) |
| [12:25:56.475244] | <t0pGuN> | im trying to setup trac on Dreamhost.. its kinda advanced.. i was able to add a user and then configured the .htaccess file but now i get a 500 internal error after login.. |
| [12:26:58.459265] | <[M]ax> | hasienda can one install of trac handle multiple projects? |
| [12:27:20.398345] | <hasienda> | blitzvergnugen: I've 0.7c running with 0.12 here, dunno about any later version, but trunk was good for me in a number of occasions with other plugins as well |
| [12:27:47.613117] | <blitzvergnugen> | just found a commit on 0.11 that says it works w/ trac 0.12 now |
| [12:28:02.642756] | <hasienda> | blitzvergnugen: so I suggest giving it a try :-) |
| [12:28:41.558427] | <hasienda> | [M]ax: define 'projects', please |
| [12:30:49.523671] | <hasienda> | t0pGuN: then it might be about dir/file permission, right? tried to revert your changes on said .htaccess? |
| [12:31:35.289658] | <[M]ax> | hasienda i have multiple git repo's which i want to run a trac for each repo is normally a project. (i only have one project that uses 3 repos) |
| [12:31:47.573327] | <hasienda> | t0pGuN: while I've done some setups by now, nothing like shared hosts, so no first-hand experience here, sorry |
| [12:32:41.389142] | <hasienda> | [M]ax: you can associate multiple repos with one trac environment since 0.12 |
| [12:32:58.735757] | <t0pGuN> | im not very sure about what im doing, im using the "1-click" install by dreamhost but its not 1 click at all hehe, I installed it, then I went into the dir, i created the admin account with "htpasswd -c trac.htpasswd admin" then I added stuff into .htaccess using http://articles.akgfx.com/2008/12/setting-up-trac-on-dreamhost/ and then I added "trac-admin tracp permission add admin TRAC_ADMIN" and now im stuck |
| [12:33:05.305600] | <[M]ax> | its the multiple trac enviroments that im looking at ;) |
| [12:33:18.895851] | <hasienda> | [M]ax: you can associate repo to env one-on-one multiple times |
| [12:34:39.048937] | <hasienda> | [M]ax: you may serve multiple trac environments with a single Trac install, even standalone with tracd, no additional webserver need |
| [12:35:49.599990] | <hasienda> | [M]ax: you can't setup Trac for multiple environments/projects that know each other without InterTrac or a plugin to overcome some existing limitations of current Trac |
| [12:37:28.255476] | <hasienda> | [M]ax: as of existing solutions, they do exist, by means of some plugins or other customization, but I can't comment on that, did not need anything like that before |
| [12:40:46.105053] | <[M]ax> | ahh |
| [12:40:48.610091] | <[M]ax> | ok |
| [12:40:56.510872] | <[M]ax> | bbiab |
| [12:45:03.324776] | <hasienda> | [M]ax: just some bits from upcoming development, so you could see, what could come, if someone will put in time to create not only demand, suggestions, etc. but real code: |
| [12:45:10.605387] | <hasienda> | [M]ax: http://trac.edgewall.org/wiki/MultipleProjectSupport |
| [12:45:22.325782] | <hasienda> | [M]ax: http://trac.edgewall.org/wiki/TracDev/Proposals/MultipleProject |
| [12:46:06.412019] | <blitzvergnugen> | hasienda, is there a way to use the TicketImporterPlugin w/o creating users/setting up authentication |
| [12:46:52.778140] | <hasienda> | [M]ax: for me related projects are not a requirement, so current Trac is just fine with multiple projects side-by-side |
| [12:47:42.199745] | <hasienda> | blitzvergnugen: don't think so, I remember a dedicated permission was needed to grant for imports |
| [12:49:03.241051] | <gbot83> | t.e.o: Ticket #9549 (TicketQueryMacro and TracQueryLanguage documentation seems outdated) created - <http://trac.edgewall.org/ticket/9549> - Carsten Klein <carsten.klein@…> |
| [12:49:08.240697] | <gbot83> | t.e.o: Ticket #9549 (TicketQueryMacro and TracQueryLanguage documentation seems outdated) updated - <http://trac.edgewall.org/ticket/9549#comment:1> - Carsten Klein <carsten.klein@…> |
| [13:14:07.150784] | <gbot83> | t.e.o: Ticket #5566 (Postgresql admin security issue) closed - <http://trac.edgewall.org/ticket/5566#comment:8> - anonymous |
| [14:09:16.056266] | <gbot83> | t.e.o: Ticket #5566 (Postgresql admin security issue) updated - <http://trac.edgewall.org/ticket/5566#comment:9> - dannys@… |
| [14:14:17.028775] | <gbot83> | t.e.o: prefs_panels_as_separate_modules.path attached to Ticket #9162 - <http://trac.edgewall.org/attachment/ticket/9162/prefs_panels_as_separate_modules.path> - Bartosz Szatkowski <bulislaw@…> |
| [14:14:22.028409] | <gbot83> | t.e.o: Ticket #9162 (More modularity for preferences) updated - <http://trac.edgewall.org/ticket/9162#comment:5> - Bartosz Szatkowski <bulislaw@…> |
| [14:20:03.710884] | <evelyette> | hi |
| [14:20:20.436811] | <evelyette> | how can I get the environment: http://trac.edgewall.org/wiki/TracDev/DataModels (from trac.env import Environment) : I don't have that ? |
| [14:20:21.515254] | <evelyette> | any ideas |
| [14:38:12.193694] | <evelyette> | coderanger, ^ ? |
| [14:41:28.887491] | <hasienda> | evelyette: you certainly do, it's just called as self.env (see http://trac.edgewall.org/browser/trunk/trac/wiki/web_ui.py#L117 linked in the page you mentioned) |
| [14:44:26.626600] | <evelyette> | hasienda, well I've run python |
| [14:44:31.670981] | <evelyette> | and then: from trac.wiki.model import WikiPage |
| [14:44:43.375203] | <evelyette> | and there's an error |
| [14:44:52.146877] | <evelyette> | ImportError: No module named env |
| [14:44:54.956368] | <evelyette> | ?? any ideas |
| [14:46:34.924768] | <hasienda> | evelyette: 'I've run python' - you do reference the interactive mode here, right? |
| [14:47:04.535463] | <hasienda> | evelyette: actually I've not come to manage debugging like that by now |
| [14:48:24.052699] | <hasienda> | evelyette: I think, it's hard to initiate a full Trac environment with the env object in question alongside |
| [14:48:43.335512] | <evelyette> | hm |
| [14:49:33.871657] | <hasienda> | evelyette: best I could get was throwing a bunch of self.env.log.debug inside (plugin) code and print everything I could imagine to get a clue |
| [14:50:19.826756] | <hasienda> | evelyette: at least it was enough for me by now |
| [14:50:50.868009] | <evelyette> | but there's no env module ... I should get it somewhere |
| [14:52:07.361231] | <hasienda> | evelyette: besides, env is a derived Trac class holding the current environment (your project context) AFAIK |
| [14:52:51.950744] | <hasienda> | evelyette: you certainly can't just go and 'get it' anywhere |
| [14:54:24.834098] | <gbot83> | t.e.o: Ticket #9548 (Source browser: First character missing in hash for repo name) updated - <http://trac.edgewall.org/ticket/9548#comment:1> - rblank |
| [14:54:30.274139] | <hasienda> | evelyette: it might not be very complicated, but at the very least you'll have to look into how Trac initialisation is done to get a clue |
| [14:58:45.658587] | <evelyette> | yup I've done it |
| [14:58:53.146148] | <evelyette> | let me dig into it a little more |
| [14:58:57.585854] | <evelyette> | brb |
| [15:29:31.671965] | <gbot83> | t.e.o: TracUpgrade edited - <http://trac.edgewall.org/wiki/TracUpgrade?version=79> - iroberts@… |
| [16:49:04.246440] | <VxJasonxV> | is there documentation on writing your own handlers like the post-commit commenter was converted to? I want to take a stab at converting one that goes with one of our plugins, but I'm not 100% sure where to start. I'm trying not to copy the commit_updater.py out of Trac sources and just start re-writing things |
| [17:04:26.745512] | <VxJasonxV> | and as a followup question... after creating it... where do I put it? |
| [19:55:17.556540] | <gbot83> | t.e.o: Ticket #9550 (Ticket should be divisible) created - <http://trac.edgewall.org/ticket/9550> - stephan@… |
| [20:25:21.601087] | <gbot83> | t.e.o: Ticket #9551 (Error: Invalid milestone name) created - <http://trac.edgewall.org/ticket/9551> - ianmlewis@… |
| [20:30:22.582080] | <gbot83> | t.e.o: Ticket #9552 (Attempting to edit milestone creates new milestone) created - <http://trac.edgewall.org/ticket/9552> - ianmlewis@… |
| [22:20:55.813845] | <tuxipuxi> | hi guys |
| [22:21:35.731307] | <tuxipuxi> | previously, when i did "setup.py install" trac was installed into a *directory* in dist-packages which i could cd to. in 0.12 it's just the .egg file and not the unzipped directory |
| [22:21:48.150246] | <tuxipuxi> | how can i "change" this? |
| [22:22:34.768693] | <tuxipuxi> | Trac-0.11.7-py2.6.egg: setgid directory Trac-0.12.1dev_r0-py2.6.egg: Zip archive data, at least v2.0 to extract is what file says |
| [22:26:25.505405] | <tuxipuxi> | seems like i can simply unzip it? |
| [22:35:49.820303] | <tuxipuxi> | ok bdist_egg and easy_install --always-unzip did it :) |

Select Date