Team Chat Logs

May 15, 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:07:06.492388]<macmaN>i think there is only one main option
[01:52:21.527091]<hasienda>macmaN: indeed, Ive read here before that there is native support in Trac 0.12 now, right?
[01:52:50.410520]<hasienda>macmaN: BTW: hello :-)
[01:55:03.653299]<hasienda>macmaN: speaking of plugins, if you begin to use i18n/l10n procedure (did you?), you may be interested in getting the/your plugin translated in to other languages as well.?
[01:55:43.033425]<hasienda>macmaN: that's what I started http://www.transifex.net/projects/p/Trac_Plugin-L10N/ for ... :-)
[01:58:00.094685]<hasienda>macmaN: tries to be a single uniform translation workbench for Trac plugins.
[01:59:59.001272]<hasienda>macmaN: a common way could help a lot with coordination and term consistency within the translations as well.
[02:00:43.892691]<hasienda>macmaN: Certainly I'd like see you with me in the boot, if you find it useful.
[02:01:01.339757]<hasienda>rblank: hello.
[04:45:24.760382]<scfe>vlt: ping
[05:55:15.617849]<zacharysmith>hi how do i change username and passwords for trac via CL?
[05:55:41.728119]<zacharysmith>any help would be appreciated
[06:29:24.133598]<vlt>Hello. How can I set a msgctxt for _() or ngettext()?
[06:34:35.520966]<edsiper>hi guys, i'm trying to add a custom SQL query in the main wiki page of my trac (0.12b1) but the query text it self is shown, what should i do in order to get the results displayed ?
[07:23:20.310930]<DarkDigitalDream>I'm checking out trac for the first time. I'm extremely impressed so far. The only issue I'm having is the location of the trac URL. "http://localhost:8888/trac/repos/repos/repos/" it makes me click through a link for each of these 'repos' before eventually coming to the trac page. Anyone know why?
[07:23:23.737846]<hasienda>vlt: regarding msgctxt in python I've just found this: http://mail.gnome.org/archives/commits-list/2009-July/msg00805.html, look for the C_() functions at the bottom.
[07:25:05.603856]<hasienda>edsiper: care to share your (current) wiki code to help with disscussion of improvements? (-> paste)
[12:27:13.885770]<DarkDigitalDream>I'm having trouble getting a sane path to my trac web interface. Its currently at "http://localhost:8888/trac/repos/repos/repos/" and after hours of reading I can't figure out why the url repeats.
[12:28:36.799916]<DarkDigitalDream>I also can't log in to edit anything, but I think solving one problem will simplify the other
[13:30:02.963322]<hasienda>DarkDigitalDream: mind sharing your trac.ini for a quick look into this? (-> paste)
[14:10:56.218586]<Aranel>How to clean Trac cache? Yesterday It gave me some ridiculous error messages (ZipError), today its fixed. Trac gives ZipErrors for a time period -I'm not sure how much time- after I change source files.
[14:14:26.713407]<DarkDigitalDream>hasienda: http://pastebin.com/MtY8Bnwx here it is. Sorry about the delay. Dozed off :P
[14:15:16.578608]<hasienda>DarkDigitalDream: Ok, know that. Let me have a look...
[14:19:01.763860]<DarkDigitalDream>my repository is located in /cvsrepos, and track in installed to /var/www/trac. I noticed the directory tree from there is rather small. 7 directories, 6 files. other tutorials alluded to more than that by the end of the install process
[14:19:59.011521]<hasienda>DarkDigitalDream: nothing to suspect from that ini. How do you serve Trac, standalone (tracd) or... ?
[14:20:11.413659]<DarkDigitalDream>through apache
[14:20:32.574989]<DarkDigitalDream>mod_python
[14:22:40.467677]<hasienda>Aranel: The is not one Trac cache but caches for several parts (i.e. a list of all corrent wiki pages, ...). You'd have to find the offending/not refreshing one. There is a mechanism to forcefully refresh, that would be available to additional code, executed i.e. by a Trac plugin.
[14:23:27.373111]<hasienda>DarkDigitalDream: a well, we need to look at apache configs then as well. :-)
[14:23:36.574320]<DarkDigitalDream>hasienda: already digging them up
[14:28:02.568361]<DarkDigitalDream>http://pastebin.com/9DkNN4mc here it is. I noticed the info was in two directories, so I put both back to back. /etc/apache2/sites-available/default and /etc/apache2/sites-enabled/000-default
[14:28:43.128767]<DarkDigitalDream>this is a fresh ubuntu 32 bit server edition install on a VM if the info is relevant
[14:57:10.482577]<hasienda>DarkDigitalDream: well, since I didn't use repositories with Trac by now, I was scanning http://trac.edgewall.org/wiki/TracModPython 'til now. Bad luck so far. Q.: How did you find that wired path you mentioned earlier? Was it by some Apache redirect? What do you get, if you type the expected http://localhost:8888/trac ?
[14:59:41.870653]<DarkDigitalDream>hasienda: when i take the expected url, I get a page that says 'available projects' and it has a link to my project. I follow through 3 of these pages and each adds a new level to the url until it eventually goes to the real trac page
[15:03:28.064242]<hasienda>DarkDigitalDream: Well, just recognized your setup is for multiple environments. So you get that 'Available projects' page. Is that really the case? I mean, I'd recommend to start with a single env as a simple setup.
[15:04:13.169346]<hasienda>DarkDigitalDream: One more thing, did your read this in the docs: The option TracUriRoot may or may not be necessary in your setup. Try your configuration without it; ... ?
[15:05:47.883061]<DarkDigitalDream>hasienda: yes on the second bit. I commented it out with no change. I put it back into the config I gave you to show I did in fact try it. I'll try the single setup, although I'll have to look up the difference configuration-wise
[15:06:57.432233]<Aranel>hasienda: "There is a mechanism to forcefully refresh" where's this mechanism, how to use it?
[15:08:37.445021]<hasienda>Aranel: concept and current implementation are outlined here: http://trac.edgewall.org/wiki/TracDev/Proposals/CacheInvalidation#Finalimplementation
[15:11:30.543273]<hasienda>DarkDigitalDream: difference configuration-wise is TracEnv vs. TracEnvParentDir (PythonOption) AFAIK
[15:12:34.205525]<Aranel>hasienda: thanks :) now I'm reading it =)
[15:13:01.783299]<DarkDigitalDream>hasienda: okay, that changed things up. Now I have "TracError: IOError: [Errno 2] No such file or directory: '/var/www/trac/VERSION' ". Never seen this one before, so I'll consider it progress
[15:14:13.733508]<hasienda>DarkDigitalDream: yes, indeed. Do you have the chance to test with tracd locally?
[15:16:03.216632]<DarkDigitalDream>hasienda: $tracd gives me 'either the --env-parent-dir option or at least one environment must be specified. ' The single-project line I am using in the apache config is now 'PythonOption TracEnv /var/www/trac'
[15:16:55.522766]<DarkDigitalDream>and out of those two files I sent, one is always a duplicate of the other. I learn something new every day :)
[15:17:03.765534]<DarkDigitalDream>the apache configs, that is
[15:18:09.461503]<hasienda>DarkDigitalDream: certainly a soft-link config -> config.000
[15:20:47.742133]<hasienda>DarkDigitalDream: however, for tracd try: /usr/bin/tracd --p 8888 -d -s /var/www/trac where '-d' is to daemonize, so leave it out to see all that is going on in the console - for testing
[15:28:25.514678]<DarkDigitalDream>hasienda: I dont think there is any need. Google tells me I was missing the last directory level on my trac environment setting. /var/www/trac vs /var/www/trac/vgdev (the environment i set up to begin with)
[15:28:44.765510]<DarkDigitalDream>it works now, minus the style sheet. I think thats just my browser being lame though
[15:30:13.787878]<hasienda>DarkDigitalDream: congrats. :-)
[15:31:23.509286]<DarkDigitalDream>thanks! Okay, the /trac root has no style, the /trac/login is the main page, and the /trac/login/login is the actual login page. haha. Nevertheless, this is at a point I am comfortable wrestling with it. It will work before tomorrow
[17:28:35.322148]<Aranel>vlt: you here? :) Already completed some of the work (57 fuzzy, 292 untranslated left) but It does not show up on my Trac installation :/
[17:29:32.760019]<Aranel>vlt: correcting: It shows up, but It needs some time, I think it's about caching.