Team Chat Logs

February 20, 2010

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

[00:49:45.851282]<rapha>Hi!
[00:50:17.276986]<rapha>I've installed Trac 0.12 and Babel and changed my language under 'Preferences', but it's still in English ... what am I missing?
[01:08:06.450219]<gozerbot>trac: Ticket #6466 (Ticket.save_changes() timestamp precision is too low...) reopened - <http://trac.edgewall.org/ticket/6466#comment:39>
[01:38:05.798183]<gozerbot>trac: TracDev/Proposals/AdvancedWikiFormatting edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/AdvancedWikiFormatting?version=23>
[01:58:25.657173]<rapha>Sacho: macmaN: do you know how to get Trac 0.12 to appear in a different language? (Babel is installed and the language is set, but it's still English)
[02:08:06.199393]<gozerbot>trac: 0.12/WikiFormatting edited - <http://trac.edgewall.org/wiki/0.12/WikiFormatting?version=16>
[03:51:02.397871]<rapha>anybody around?
[04:03:48.507196]<macmaN>that question is pointless
[04:10:16.820630]<rapha>macmaN: maybe so, but since I asked my real question about 4 hours ago with no answer, I thought I'd try
[05:08:06.760059]<gozerbot>trac: MissingTranslations edited - <http://trac.edgewall.org/wiki/MissingTranslations?version=13> || TracStandalone edited - <http://trac.edgewall.org/wiki/TracStandalone?version=77>
[05:09:18.168364]<brightsites>hi, anyone around?
[05:35:27.243462]<rapha>brightsites: when they're around, they seem to think that a stupid question ... but apparently nobody rly is
[05:35:48.284071]*retracile croaks something disdainful about mornings.
[05:36:19.049684]<rapha>retracile: you should move to Europe, we have these "afternoon" thingies here :)
[05:40:03.199047]<brightsites>Im trying to get trac working on apache. Ive been trying for about a week now and really stuck. Does this look right fro my apache conf file?
[05:40:04.413006]<brightsites>http://www.pastebin.com/d3527dc62
[05:41:29.743384]<doki_pen>brightsites: why do you have two virtualhosts with the same ServerName?
[05:41:44.862012]<brightsites>i dont know what im ding obviously!
[05:42:10.494070]<doki_pen>brightsites: http://httpd.apache.org/docs/2.0/vhosts/
[05:42:12.333114]<brightsites>ive done the easy_install of trac, then created an initenviron at user/local/trac
[05:42:27.604050]<rapha>I'm trying to get I10N working with Trac 0.12-dev, but no matter what language I set under `preferences' it always remains English. What could I be missing?
[05:44:26.381610]<doki_pen>brightsites: http://www.pastebin.com/m102b98e4
[05:44:30.519711]<doki_pen>brightsites: try that
[05:45:31.866526]<doki_pen>brightsites: also: http://groups.google.com/group/trac-users/browse_thread/thread/afec243c5e28a039
[05:46:35.650583]<doki_pen>brightsites: http://trac.edgewall.org/wiki/TracModWSGI
[05:47:41.863280]<doki_pen>brightsites: IMHO, the mod_wsgi setup is pretty simple. The apache conf is minimal, and most configuration is in your small, custom python script.
[05:48:30.759497]<brightsites>thanks for your help...im really not getting this!
[05:48:38.337678]<doki_pen>brightsites: also, looks like drupal is getting the requests. Perhaps there is something in .htaccess?
[05:49:11.064495]<doki_pen>brightsites: /home/bright/public_html/.htaccess
[05:49:57.241311]<brightsites>do I need to put something in to prevent that? Am I right in thinking I dont need an actual folder in my html folder called trac?
[05:50:29.334877]<doki_pen>brightsites: right, can you install mod_wsgi? I'll be able to help you morethat way
[05:50:41.853434]<brightsites>yes, will need 5 mins
[05:50:58.269033]<doki_pen>brightsites: ok, hurry before my wife wakes up and wants my attention
[05:56:37.750353]<doki_pen>brightsites: http://www.pastebin.com/m33145154 apache conf at top/wsgi script at bottom
[05:57:15.800382]<doki_pen>brightsites: make sure you mkdir /usr/local/trac/eggs, mkdir /usr/local/trac/apache and then create /usr/local/trac/apache/mysite.wsgi
[05:57:39.056090]<doki_pen>brightsites: also, make sure bright has permissions on everything under /usr/local/trac
[05:58:06.660345]<brightsites>doki: Im speaking with my hosting company....thanks so much for your help. Ill run through your instructions. Im sure ill get there with these! Have a good day.
[05:59:29.653387]<doki_pen>brightsites: ah, I forgot you have a hosting company
[05:59:35.927370]<doki_pen>brightsites: which is it?
[05:59:39.770273]<brightsites>its a vps
[05:59:44.079625]<brightsites>eukhost
[05:59:49.945945]<doki_pen>brightsites: oh, you have control?
[05:59:54.472555]<doki_pen>brightsites: what distro?
[06:00:01.931506]<brightsites>I do: centos
[06:00:13.648012]<doki_pen>brightsites: yum install mod_wsgi doesn't work?
[06:00:18.641225]<brightsites>but Im not experienced at thtis
[06:01:22.834076]<brightsites>doki: http://www.pastebin.com/m52887283
[06:02:06.163364]<doki_pen>brightsites: http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide
[06:03:17.809899]<doki_pen>brightsites: in the "Configure Source Code" section, be sure to read about CentOS
[06:03:26.688608]<brightsites>brilliant
[06:05:08.608728]<doki_pen>brightsites: if you aren't comfortable with the entire compiling code thing, you could just run tracd and use mod_proxy
[06:06:03.202277]<brightsites>doki: is this slower? whats the disadvantage?
[06:06:13.896733]<doki_pen>brightsites: cd /usr/local/trac; tracd -p8000 . -sr
[06:06:32.812603]<doki_pen>brightsites: that's what I do, accept I use nginx instead of apache for the proxy
[06:07:07.908231]<doki_pen>brightsites: the downside is that you'll need to restart tracd seperately then apache
[06:07:23.661440]<doki_pen>brightsites: and add the tracd startup to your system init script
[06:07:45.467616]<brightsites>doki: ok it says trac server is running
[06:08:00.566790]<doki_pen>brightsites: ok, have you used mod_proxy?
[06:08:05.766644]<gozerbot>trac: AdvancedSearch edited - <http://trac.edgewall.org/wiki/AdvancedSearch?version=22> || Ticket #6466 (Ticket.save_changes() timestamp precision is too low...) closed - <http://trac.edgewall.org/ticket/6466#comment:40> || Changeset [9216]: l10n/fr: translations for the changeset page, after r9214 (100%) - <http://trac.edgewall.org/changeset/9216> || Changeset [9215]:
[06:08:10.812194]<gozerbot> l10n: automatic extraction after [9214] - <http://trac.edgewall.org/changeset/9215> || Changeset [9214]: i18n: the changeset.html template is now fully translated. - <http://trac.edgewall.org/changeset/9214> || Changeset [9213]: db: Follow-up to [9210], re-added `PRIMARY KEY` in addition to `SERIAL` ... - <http://trac.edgewall.org/changeset/9213>
[06:08:21.085643]<brightsites>doki: never
[06:08:32.092920]<doki_pen>brightsites: one sec
[06:08:58.675754]<brightsites>doki: Ive put a request in with the vps team to install mod_wsgi as well
[06:10:46.210541]<doki_pen>brightsites: http://www.pastebin.com/m1bcf7df6
[06:13:58.534499]<doki_pen>brightsites: actually, you may want to try this : http://www.pastebin.com/m542f184f
[06:14:45.250562]<doki_pen>brightsites: and tracd . --base-path=/trac -sd
[06:16:20.655674]<doki_pen>brightsites: leave the -sd as -s until you get it working
[06:16:29.704732]<doki_pen>brightsites: the d puts the process in the background
[06:16:43.606323]<brightsites>doki: ok
[06:16:47.874424]<brightsites>just trying that now
[06:17:55.573758]<brightsites>doki: where does the tracd. --base bit go?
[06:21:10.682128]<brightsites>doki: I've got to go...it's my wife this time ;) ill leave window open and go through what you've said. Once again many thanks :)
[06:26:11.407989]<doki_pen>brightsites: no problem
[06:30:35.667845]*rblank wonders if time-based releases would be a good idea for Trac
[06:31:04.314804]<rblank>...with a reasonable time interval, that is
[07:23:03.457816]<rapha>Can anybody help me to get l10n working for Trac 0.12?
[07:23:48.443426]<rapha>Or even speak to me at all? :-}
[07:48:38.996254]<rapha>retracile: you have got to know how to make it work!
[07:49:26.939731]<retracile>rapha: wha? huh?
[07:49:35.229584]<rapha>retracile: l10n for 0.12 ...
[07:49:54.978385]<rapha>retracile: Got Babel installed and can choose a lang under "Preferences", but it always stays English
[07:50:25.510503]<retracile>rapha: sorry, monoglot here.
[07:50:44.254386]<rapha>:-/
[07:50:58.428342]<rapha>nobody seems to have a clue
[07:51:55.176485]<rapha>retracile: who would you ask if you wanted to get it to work?
[08:38:32.448468]<rblank>rapha: You need to compile the catalogs before installing. See http://trac.edgewall.org/wiki/0.12/TracInstall#InstallingTrac
[08:39:47.849532]<rapha>ah i've been reading that article but knew i must've missed something
[08:40:56.995839]<rblank>rapha: You've probably read the "regular" TracInstall page, which is for 0.11.
[08:41:51.211766]<rapha>i read the .12 update page ... but i'm having a headache so it wouldnt surprise me if i missed stuff
[08:42:49.305275]<rblank>rapha: Short story: do a "python setup.py compile_catalog -f" before the "python setup.py install"
[08:44:33.041573]<rapha>rblank: perfect, got it now, thanks!
[08:44:41.493139]<rblank>rapha: np
[10:10:16.598003]<brightsites>doki: thanks for your help. I've restarted apache and have mod_wgsi loaded
[10:10:43.794829]<doki_pen>brightsites: still not working, check your apache logs
[10:11:05.546246]<doki_pen>brightsites: paste it, it's usually /var/log/httpd/error_log
[10:14:20.810965]<brightsites>doki: http://www.pastebin.com/m9423cc3
[10:14:38.728204]<doki_pen>brightsites: paste the output of this: httpd -S
[10:15:19.168484]<doki_pen>brightsites: that pastebin looks like your access log, not your error log
[10:15:27.081975]<brightsites>doki: http://www.pastebin.com/m9031abc
[10:15:58.193083]<doki_pen>brightsites: port 80 namevhost brightsitesconsulting.co.uk (/usr/local/apache/conf/httpd.conf:265)
[10:16:04.444559]<doki_pen>brightsites: is that what you expect?
[10:16:17.096947]<doki_pen>brightsites: line 265 in /usr/local/apache/conf/httpd.conf
[10:19:17.906090]<brightsites>doki: it says my httpd.conf is created automatically so I put my virtualhost stuff in the conf/sites/brigthsites.....conf
[10:20:16.640102]<doki_pen>brightsites: open the file anmd make sure it looks right
[10:21:02.857064]<brightsites>doki: http://www.pastebin.com/m41477830 I think it's missing the right stuff
[10:22:43.542200]<doki_pen>brightsites: I can't see line numbers, can you just paste the entire file?
[10:23:52.622476]<doki_pen>brightsites: is that a centos thing?
[10:23:58.942576]<doki_pen>brightsites: or your hosting company?
[10:24:31.718883]<brightsites>doki: I really dont know. I
[10:24:40.775454]<doki_pen>brightsites: it looks like you might need to just follow the instructions at the top of the file
[10:24:52.999006]<doki_pen>brightsites: use the right naming convention and run the script to regenerate httpd.conf
[10:25:09.581169]<doki_pen>brightsites: I don't know though, I've never dealt with that type of braindamage
[10:26:21.003477]<brightsites>doki: my hosting company says to email them and they will try and sort it out
[10:28:21.771412]<doki_pen>brightsites: great! gotta love support
[10:30:54.611645]<brightsites>doki: :)
[10:38:10.989693]<gozerbot>trac: Ticket #9071 (HTTPNotFound exception is not defined) created - <http://trac.edgewall.org/ticket/9071> || Ticket #9070 (trac.web.api.Request.send_file: test for modification date and ...) created - <http://trac.edgewall.org/ticket/9070>
[11:29:19.088324]<retracile_>PyCon Trac BoF 8pm today in ballroom 1
[11:38:08.619551]<gozerbot>trac: Ticket #9071 (HTTPNotFound exception is not defined) closed - <http://trac.edgewall.org/ticket/9071#comment:1> || Ticket #9070 (trac.web.api.Request.send_file: test for modification date and ...) closed - <http://trac.edgewall.org/ticket/9070#comment:1>
[11:54:18.178360]<d3nt>easy question, i hope: is there a way to link a ticket into a wiki document in such a way that trac automatically fetches and inserts the ticket summary into the document?
[11:55:14.585170]<d3nt>i hope to be able to type this into my wiki document: See ticket #103 (invoke_magical_summary_fetcher_for_ticket(103))
[13:38:10.167225]<gozerbot>trac: TracDev/ReleaseNotes/0.13 edited - <http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/0.13?version=3>
[17:13:36.884406]<Bjelleklang>hi folks, just a quick question: Is it possible to replace the per-project wiki with a global wiki with project namespaces trough any plugins?
[18:15:54.193984]<neblio>I see Trac static resources are stored under site-packages/trac...egg/htdocs. I'm running Trac in Apache with mod_wsgi on Windows. Should I use trac-admin deploy and copy common/htdocs to a shared location like /projects/share/trac/htdocs and then use an Alias in Apache to serve them?
[18:17:54.913410]<rblank>neblio: You could point Alias to site-packages/trac/htdocs directly.
[18:18:26.120945]<neblio>rblank: thanks
[18:19:31.717278]<neblio>So if I were to do that and write my own trac.wsgi I really don't need trac-admin deploy for anything?
[18:19:56.682756]<neblio>A single trac.wsgi for all project environments
[18:20:27.461163]<rblank>neblio: I'm not using wsgi, but I think that should work.
[18:20:39.760772]<neblio>Alright, thanks for your help.
[18:21:02.070654]<rblank>neblio: np
[18:43:30.972907]<paissad>guys, i had 0.11.6 version before, .... but now i have installe 0.12dev from svn repository .... but my trac environnement is still in english & i would like to get it in french, what must i do ?
[18:44:16.046554]<rblank>paissad: Do a "python setup.py compile_catalog -f" before the "python setup.py install"
[18:44:39.943246]<paissad>rblank, i already installed :/
[18:44:49.673687]<rblank>paissad: Do it again.
[18:44:58.719869]<rblank>It doesn't hurt.
[18:44:59.178759]<paissad>rblank, i have to reinstall ?
[18:45:13.965242]<rblank>Just do the "compile_catalog", and re-do the "install"
[18:45:23.396803]<rblank>In your checkout, that is.
[18:45:55.659153]<paissad>rblank, i don't know how i can do the compile_catalog knowing that 's a debian package
[18:46:16.988519]<rblank>paissad: You've got a debian package of 0.12dev?
[18:46:37.014356]<paissad>rblank, i've rebuilt it yeah :)
[18:47:34.052936]<rblank>paissad: Never used Debian, so I can't say how it goes with a .deb, but normally you do "python setup.py compile_catalog -f" in the checkout, then "python setup.py install" to install to your site-packages.
[18:48:21.010124]<paissad>rblank, 2 sec i check if it's already run during deb creation
[18:50:12.763514]<DisasteR>hi
[18:50:30.744355]<DisasteR>how to manage ticket with svn commit comments ?
[18:50:53.946372]<paissad>rblank, no , compile_catalog -f was not runned .... btw i do have ls /usr/share/pyshared/trac/locale/ | pastebinit -
[18:50:54.051822]<paissad>http://pastebin.com/f66d31307
[18:53:30.765578]<rblank>paissad: Can you pastebin the package description file that you use to create the .deb?
[18:53:59.250154]<paissad>rblank, what about giving the list of all files that the deb contain ?
[18:54:32.053517]<paissad>rblank, http://pastebin.com/f2dea068
[18:54:34.360549]<rblank>paissad: It most certainly is missing the compiled translations.
[18:55:48.428150]<paissad>ls -l /usr/lib/python2.5/site-packages/trac | pastebinit -
[18:55:48.568911]<paissad>http://pastebin.com/ff8c61ba
[18:56:11.430715]<rblank>paissad: You've got the .po files, but the .mo files are missing.
[18:56:43.445324]<rblank>paissad: Your best bet is to edit the package description and add the catalog compilation right before the "install" step.
[18:56:51.824898]<rblank>paissad: Must leave, good luck.
[18:57:11.511968]<paissad>rblank, ok, i just have to run compile_catalog -f before install, that 's all, i will rebuild !
[18:57:14.860596]<paissad>thanks mate :)
[18:57:28.080560]<rblank>paissad: np
[19:25:28.701837]<DisasteR>there is a trac plugin to make initenv with the webadmin ?
[19:26:10.915248]<paissad>i don't no :(
[19:26:12.976795]<paissad>know*
[19:26:37.096849]<paissad>guys, i 've updated my trac to 0.12dev by i don't have the translation in french yet !
[19:27:12.690258]<paissad>i do have the locale/fr/*po *mo files
[19:41:53.013556]<paissad>guys, i have this error when i run trac-admin /path/ initenv
[19:41:54.694894]<paissad>http://pastebin.com/d72497611
[19:42:10.226785]<paissad>i have it since i updated trac to 0.12dev
[19:45:26.889509]<DisasteR>You probably still have the Trac 0.11 egg in your site-packages directory.
[19:46:19.823849]<paissad>don't know what you mean by 0.11 egg ... what must i remove then ?
[19:47:49.879023]<DisasteR>how did you install your trac ?
[19:48:48.031169]<paissad>DisasteR, via a deb package ... but basically, i ran "python setup.py compile_catalog" & "python setup.py install"
[19:49:16.026122]<DisasteR>and you have made a clean uninstall of your old trac 0.11 ?
[19:49:25.879910]<paissad>DisasteR, no
[19:50:06.650562]<DisasteR>you must have to remove your trac 0.11 file in /usr/lib/pythonVERSION/site-packages/
[19:51:08.833921]<paissad>DisasteR, normally dpkg`or apt installer do that .... if that 's what you wanted to know, then all files in /usr/lib/python2.5/site-package/trac/ are the file of 0.12dev
[19:51:14.097261]<paissad>files*
[19:51:50.894539]<DisasteR>dpkg do it if the package have a good uninstall process
[19:52:19.789827]<paissad>DisasteR, well, i do a purge of trac, & then i reinstall... wait 1 min please
[19:53:17.798859]<DisasteR>you doesnt loose anything to try it ^^
[19:53:54.190238]<paissad>DisasteR, no i have no files in that dir ^^ i reinstall
[19:55:11.332792]<DisasteR>did you know if the en init by v0.11 are compatible with trac 0.12 ?
[19:55:58.334281]<paissad>en init ?
[19:56:45.450757]<DisasteR>env
[19:57:12.891561]<paissad>i don'k know
[19:57:19.520153]<paissad>but i have the same error !
[19:57:25.428194]<DisasteR>:/
[20:00:23.895725]<DisasteR>have you installed python setuptools ?
[20:02:35.827110]<paissad>DisasteR, yeah
[20:02:40.920582]<DisasteR>:)
[20:03:15.134556]<DisasteR>its working now ?
[20:04:47.944003]<paissad>DisasteR, it was installed before i got the problem
[20:05:04.458830]<DisasteR>ow ok
[20:08:45.922004]<DisasteR>you dont have more informations after this line :
[20:08:46.710287]<DisasteR>raise DistributionNotFound(req) # XXX put more info
[20:09:27.670051]<paissad>DisasteR, sorry, i missed one line
[20:09:28.834280]<paissad>http://pastebin.com/d454bb0a
[20:09:46.343516]<DisasteR>you have the problem
[20:09:52.153274]<DisasteR>upgrade your genshi version
[20:10:37.251959]<paissad>hmm damn it
[20:10:54.814564]<paissad>i already took the latest available from debian repositories !
[20:11:00.101018]<paissad>i even took it from sid !
[20:11:30.443017]<paissad>Version: 0.5.1-2+b1
[20:11:35.734633]<DisasteR>maybe you can try with easy_install
[20:11:39.781575]<DisasteR>easy_install -U "Genshi==dev"
[20:12:07.326650]<DisasteR>wich version you have listed with this command?
[20:12:10.826589]<paissad>waouh great tool
[20:12:22.482661]<paissad>DisasteR, version of python-genshi
[20:12:58.775913]<DisasteR>you need a genshi version superior to 0.6dev-r1072
[20:13:12.231918]<DisasteR>can yu past the return of easy_install ?
[20:13:27.890877]<paissad>DisasteR, everything's ok now, you're great mate
[20:13:34.145997]<DisasteR>:)
[20:14:03.733857]<DisasteR>good tracking :)
[20:14:34.169430]<paissad>actually i don't know anything about python ... but i understood that the matter was about genshi .. thanks for all
[20:14:45.442669]<paissad>another question about easyinstall
[20:14:58.155153]<DisasteR>yes ?
[20:15:23.963890]<paissad>what can i do with that tool ? .... may i update or retreive many programs with it ?
[20:15:30.261906]<DisasteR>yes
[20:15:41.582611]<DisasteR>its reserved to python
[20:16:09.158093]<paissad>i don't know anything about python :/
[20:16:26.296290]<DisasteR>http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install
[20:16:31.946746]<DisasteR>read this :)
[20:16:39.913698]<paissad>ok
[20:17:26.174955]<DisasteR>for example you can use it to auto install svn version of trac plugins
[20:17:42.757110]<paissad>oh ok
[20:19:14.475875]<paissad>DisasteR, i have an internal error -> https://trac.paissad.net/projects/scripts
[20:21:42.347596]<DisasteR>try to resync your env
[20:22:01.788921]<DisasteR>trac-admin /path/to/your/trac/env resync
[20:26:37.693599]<paissad>trac-admin /media/trac/work/scripts resync
[20:26:37.799382]<paissad>Error: Command not found
[20:26:37.820090]<paissad>No documentation found for 'resync'
[20:27:00.321675]<paissad>trac-admin --help or trac-admin help gives me nothing :/
[20:27:04.670160]<paissad>really really weird
[20:27:44.333625]<paissad>actually that just don't give the same help i had with 0.11.6
[20:28:23.274711]<paissad>http://pastebin.com/m67f5d5f7
[20:28:33.641569]<DisasteR>have you made your initial import on the svn ?
[20:29:15.990965]<paissad>yep
[20:29:24.311818]<DisasteR>and help command in interactive mode dont show you the resync command ?
[20:30:59.154165]<paissad>no
[20:31:24.299882]<DisasteR>-_-
[20:33:18.260673]<DisasteR>sqlite3 your_trac_env/db/trac.db "insert into system values
[20:33:18.368672]<DisasteR>('youngest_rev', '')"
[20:33:24.909094]<DisasteR>erf
[20:33:39.536699]<DisasteR>try this : sqlite3 your_trac_env/db/trac.db "insert into system values ('youngest_rev', '')"
[20:41:30.395085]<DisasteR>time to sleep for me i'm exhausted
[20:41:44.606134]<DisasteR>i hope you resolv your problem :)
[20:42:53.602009]<DisasteR>good night