Team Chat Logs

March 27, 2010

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

[08:46:54.470060]<Cope>Hello... what governs whether a user is able to create an edit wiki pages? I'm logged in, but can't do either. Is this a tracadmin thing?
[08:48:36.882311]<Cope>in fact - can trac-admin report on permissions? I don't see that option on the wiki
[08:49:40.702934]<puzzel>Cope: you already got the TRAC_ADMIN permission using trac-admin?
[08:50:12.258169]<Cope>puzzel: I'm just running trac-admin /path/to/project as root
[08:50:21.438954]<Cope>ah permission list maybe?
[08:50:56.943479]<puzzel>you've to give your user the TRAC_ADMIN permissions
[08:51:08.774045]<puzzel>trac-admin /path/to/projenv permission add bob TRAC_ADMIN
[08:51:40.501056]<puzzel>bob = your username
[08:51:58.163435]<Cope>does that have immediate effect?
[08:52:12.943194]<Cope>or does the webserver need a reload?
[08:52:50.566971]<puzzel>you get the permission directly after the command
[08:53:20.082383]<puzzel>http://trac.edgewall.org/wiki/TracPermissions#GraphicalAdminTab
[10:30:45.190625]<lxsameer>does 0.11 themes works with 0.12
[14:14:34.689441]<lxsameer>how should i config auth with wsgi ?
[15:07:53.969041]<anchovy>Hi, I am pulling my hair out over this trac and SQLite version error
[15:08:15.048462]<anchovy>Can't synchronize with the repository (Couldn't open Subversion repository /repo/path: SubversionException: ('SQLite compiled for 3.6.19, but running with 3.3.7', 200030)).
[15:08:34.657349]<anchovy>i have verified that python is using sqlite 3.6.19
[15:08:43.616536]<anchovy>and have no idea where this sqlite 3.3.7 is coming from?
[15:23:27.726055]<lxsameer>can i define new tab in 0.12?
[15:24:38.697628]<abli>Hi! How can I debug a failling macro? I get a red "Macro ... failed" box in the page, but nothing in the trac.log, even though log_level is set to DEBUG. I assume the macro throws some exception, but how can I find out what?
[15:25:37.003026]<wildintellect>anchovy, is this a new site or an old site?
[15:26:37.329609]<abli>Also. If I have a macro that simply returns a string in expand_macro(), what might be going wrong that I get such an error? (I am trying to get a plugin for 0.11 work for 0.10, and even if I replace the body of expand_macro() with a simple 'return foo', I get that error. I can import the module from python console, so it is not an ImportError)
[15:30:45.589681]<lxsameer>how can i remove trac from my box
[15:32:16.476131]<abli>(answering myself) 0.10's macro api had render_macro() instead of expand_macro()....
[15:32:44.633369]<wildintellect>lxsameer, depends on what method you used to install it
[15:33:04.236667]<lxsameer>wildintellect: svn , python setup.py install
[15:33:23.606903]<wildintellect>you can try python setup.py uninstall
[15:33:37.336274]<wildintellect>if that doesn't work delete the trac folder in your python site-packages folder
[15:47:14.220618]<lxsameer>what is it TracError: The Trac Environment needs to be upgraded.
[15:52:02.256595]<talley>lxsameer: http://trac.edgewall.org/wiki/TracUpgrade
[15:52:27.690674]<talley>short answer: trac-admin /path/to/projenv upgrade
[15:52:34.441761]<lxsameer>talley: i upgrade the env but i still get this error
[15:53:17.984576]<talley>that is unfortunate. try restarting your webserver/tracd
[16:16:32.739225]<osimons>anchovy: that is an sqlite compiled into subversion that gets somehow picked up - seen the error before, and sure there is a now closed ticket at t.e.o about it. seem to remember it being an svn bug that allowed that to "bleed" into python, and fixed in a more recent version?
[16:16:41.041503]<osimons>- what svn version are you running?
[16:17:12.312296]<hasienda>lxsameer: there are known issues with plugins failing to detect their db tables as up-to-date or even failing to upgrade their db tables. So you might have to investigate on suspect installed plugins.
[16:17:44.150704]<lxsameer>does trac work with git?
[16:22:30.560784]<wildintellect>lxsameer, http://trac-hacks.org/wiki/GitPlugin
[17:59:10.184263]<anchovy>wildintellect, new site
[17:59:14.402712]<anchovy>osimons, got it fixed
[17:59:44.481056]<anchovy>had to recompile subversion and copy the sqlite3.c file in to sqlite-amalgamation
[18:00:01.724378]<anchovy>and the update all of the libraries, includes, binaries after the make install
[21:51:21.818649]<lxsameer>hi , i use git plugin and my repository_dir is http://somewhere/repo.git but i get this error
[21:51:22.862851]<lxsameer>GitError: GIT control files not found, maybe wrong directory?
[21:51:29.911652]<lxsameer>what should i do
[22:12:51.318616]<wildintellect>are you sure you setup your git repo correctly
[22:13:16.916029]<lxsameer>wildintellect: yeah on github
[22:14:03.235277]<wildintellect>oh, I don't know if that will work, last time I looked at least with svn the repo had to be on the same machine as the trac server
[22:14:55.573997]<lxsameer>wildintellect: oh no , it's very very bad . may be i should look for some thing else instead of trac
[22:15:03.387833]<lxsameer>wildintellect: is there any ?
[22:15:40.545036]<wildintellect>if you're using github why do you need trac, doesn't github have bug tracking and wiki type stuff built in?
[22:16:08.067661]<lxsameer>wildintellect: yeah , but trac's one is more powerful
[22:16:43.642997]<wildintellect>there's probably a way to mirror the repo from github
[22:18:51.598210]<wildintellect>do some searching I see some interesting things like http://wiki.github.com/davglass/github-trac/ , http://alexbcoles.com/code/2008/05/15/a-really-simple-way-to-integrate-your-trac-with-github.html
[22:19:33.040134]<lxsameer>wildintellect: thanks