Team Chat Logs

June 21, 2010

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

[01:16:57.903987]<xuedi>hello, does someone know if the is a way ( plugin, script, program ) that let me do automated trac hosting, so people can register an create their own trac instance as well as initialize their repository?
[01:38:07.268811]<osimons>xuedi: none known. bits and pieces over at trac-hacks.org like creation script helpers (tracforge, traclegoscript ++), but you likely need to roll you own layer suited to your needs. i've done it for www.coderesort.com, but all custom code - and not shared.
[01:42:42.636217]<xuedi>osimons: ok, i just wanted ao avoid to do all the work again ... seems to be quite possible, auth via apache ldap in mysql, same as trac 0.12 in mysql and some simple python scripts for in comandline work triggert my a webinterface that also share the mysql data ...
[02:30:21.476909]<wotwot>xuedi, maybe http://www.kforgeproject.com/ is for you
[02:32:55.201317]<xuedi>wotwot: thanks that was exactly what i was looking for :-)
[02:40:43.317322]<wotwot>:)
[04:46:26.755845]<Blackhex>Hello everyone.
[04:48:05.151291]<Blackhex>aat: Could you please delete/rename SlippyMapPlugin. I missnamed it by mistake.
[04:54:46.145169]<osimons>Blackhex: how is that misnamed?
[04:56:25.475366]<osimons>- and by the way, aat has not managed trac-hacks for quite some time... hosted by otaku42 now.
[05:04:57.100789]<Blackhex>osimons: It should be name OpenLayersPlguin
[05:05:10.342784]<Blackhex>osimons: ah ok, I haven't been here for some time .-)
[05:05:24.878799]<Blackhex>OpenLayersPlugin
[05:09:35.625349]<osimons>don't think renaming is a good idea, so just create the hack again using new name Blackhex. then just edit SlippyMapPlugin to just contain a link to new page. i can delete the page and component too, i suppose.
[05:12:59.490599]<Blackhex>osimons: yeah, I created it few days ago and I didn't fill in anything so it can be just deleted, I'll create a plugin with the new name, I just don't want to pollute the SVN and wiki.
[05:14:20.371319]<osimons>Blackhex: the svn you can delete yourself, no? you have write for /slippymapplugin so perhaps best if you do that yourself? delete + refer to new plugin/name in commit whent tht is ready?
[05:14:33.216351]*osimons deletes wiki + component
[05:14:41.549698]<Blackhex>osimons: ok
[05:16:30.224616]<Blackhex>osimons: seems like I can't delete the top directory
[05:18:26.589542]<osimons>Blackhex: oh. hmmpf. lets just leave it then. no big deal. i'll leave the wiki page too then for reference - just a link on to new name. http://trac-hacks.org/wiki/SlippyMapPlugin
[05:19:19.520610]<osimons>=> no big deal, Blackhex. just create the plugin under new name.
[05:20:06.892879]<Blackhex>osimons: ok, thanks for help
[05:23:58.390009]<otaku42>Blackhex: if everything else fails, send a mail to mrenzmann@otaku42.de, i'll drop the wiki page, svn path and stuff for the misnamed plugin.
[05:24:48.370492]<Blackhex>otaku42: thank you
[05:32:46.360589]<osimons>otaku42: it is just component + wiki + svn right? nothing else stored elsewhere of relevance?
[05:37:02.928669]<otaku42>osimons: correct
[05:37:45.020373]<osimons>otaku42: granted myself r+w for /, so i can do it now.
[05:38:47.361067]<osimons>otaku42: + deleting the svn auth path in admin i suppose
[05:38:57.493024]<osimons>Blackhex: svn path is gone.
[05:40:00.696463]<otaku42>osimons: you'd need to remove the component in the admin panel, and delete the wiki page. you should have the required permission for both actions, iirc
[05:40:30.524463]<osimons>otaku42: yeah. got all i need.
[05:40:36.141282]<Blackhex>osimons: ok, htanks aggain
[05:41:22.602914]<otaku42>osimons: great, thx
[05:41:25.673713]<osimons>all gone now.
[06:25:32.497677]<bob_f>Hi guys, I'm running trac behind mod_wsgi, not sure if this is really an apache question, but what user will python be running as ?
[06:25:56.752026]<bob_f>I assumed it would be the same user as the apache process, but this user has access to my trac dir; I'm getting a perms error, so it must be another user.
[06:35:44.362514]<DanC>bob_f, mine runs as daemon
[06:36:03.674899]<DanC>with a processgroup, I think you can tell apache/mod_wsgi what user you want
[06:36:19.471416]<bob_f>DanC: Ah okay, I'll look into it, thanks.
[06:36:48.217290]<bob_f>DanC: Yeah, that did it - thanks a lot.
[06:36:56.236790]<DanC>welcome
[06:39:26.631789]<osimons>DanC: good stuff - got it working then the other day?
[06:39:54.374560]<DanC>no
[06:40:18.437241]<osimons>oh. never mind then...
[06:41:09.646881]<DanC>still stuck on:
[06:41:11.599638]<DanC>[Mon Jun 21 08:40:56 2010] [error] [client 10.17.8.76] Premature end of script headers: trac.wsgi
[06:41:11.784743]<DanC>[Mon Jun 21 08:40:56 2010] [notice] child pid 19557 exit signal Segmentation fault (11)
[06:42:02.494731]<DanC>"This error message can also occur where you haven't configured Apache correctly and your WSGI script file is being executed as a CGI script instead"
[06:42:07.690218]<DanC> -- http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions
[06:42:27.391702]<DanC>but "haven't configured Apache correctly" hardly narrows it down
[06:44:53.768685]<osimons>DanC: what version of modwsgi?
[06:45:07.922187]<DanC>I factored all my apache config customizations out of httpd.conf and put them in included .conf files; trac.conf is: http://paste.lisp.org/display/111678
[06:45:24.001887]<DanC> mod_wsgi-3.2.tar.gz
[06:48:28.397591]<DanC>if I change trac.wsgi to hello-world.cgi (in the same directory and everything), it works fine.
[06:48:33.553238]<osimons>DanC: not sure what else it finds in that directory. does it change anything if you change from <Directory /usr/local/apache2/trac-share/cgi-bin> to <Location /trac> instead?
[06:48:42.475355]<DanC>i.e. hello-world.wsgi is *not* getting run as a CGI script instead
[06:50:10.719457]<DanC>no; same result with Location
[06:50:53.902357]<osimons>!seen GrahamDumpleton
[06:50:53.907425]<evil_twin>grahamdumpleton was last seen on irc.freenode.net at Tue, 15 Jun 2010 06:08:02 +0100, quitting: Quit: GrahamDumpleton
[06:51:36.550753]<osimons>DanC: ^^ the person you want. he also reads trac users mailing list, so either that or the modwsgi mailing list.
[06:52:00.150056]<DanC>good to know; thanks...
[06:52:26.844297]<DanC>... though it worries me that I need so much help to get a vanilla trac installation working
[07:09:57.668319]<osimons>DanC: one more question: what python version?
[07:10:19.982601]<osimons>(for mod_wsgi)
[07:14:09.559400]<bob_f>If I'm running trac under mod_wsgi and I'm using TRAC_ENV_PARENT_DIR, and I want to use HTTP BasicAuth, do I have to create a separate <Location> (e.g. <Location /var/trac/project1/login>) for each project ?
[07:15:01.710422]<bob_f>(Sorry again if this is an apache question, it's a little blurred as I don't know what trac does to deal with use cases like this).
[07:15:03.721787]<osimons>bob_f: no, you typically use a LocationMatch like this; <LocationMatch (/[^/.]+/login)>
[07:15:14.835690]<bob_f>osimons: Aha, so it was an apache question. :)
[07:15:16.870044]<bob_f>Thanks a lot.
[07:15:58.373292]<osimons><Location> is for URLs, <Directory> is for file paths. <Location /var/trac/project1/login> is wrong usage as it combines a URL directive with disk location
[07:15:58.948388]*DanC wanders back in...
[07:16:23.982341]<DanC>python 2.6, osimons . from the SuSE package
[07:16:37.648899]<osimons>unless /var/trac is a URL path of course (which i presumed it wasn't)
[07:16:39.221789]<bob_f>osimons: Whoops, I meant <Location /trac/project1/login>
[07:17:05.794631]<osimons>DanC: even stranger... and wsgi is from suse package too?
[07:17:14.175476]<DanC>python 2.6 is what I get from the command line; I don't know how to check what runs under wsgi
[07:17:18.567334]<DanC>no, I built wsgi from source
[07:17:35.614621]<bob_f>osimons: Great ! Now I finally have auth working - thanks for your help the other day too, using mod_wsgi was a good plan, all working now.
[07:24:20.997118]*DanC tries some http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
[07:32:03.553847]<DanC>ok... "application debug #1" works...
[07:51:39.361476]<exarkun>Hey, why can't I submit the ticket change form after someone else has changed the ticket?
[07:54:50.538602]<cmc>I've never tried it, but http://trac-hacks.org/wiki/OverrideEditPlugin appears to allow you to do that
[07:57:17.522612]<exarkun>Thanks
[08:03:20.357000]<DanC>the problem is here: from trac.web.main import dispatch_request
[08:03:57.224938]<osimons>DanC: i suspect wsgi is not linked correctly - it does not find trac
[08:04:26.286990]<DanC>linked... as in compiler/linker? how is that related to python imports?
[08:04:28.323277]<osimons>DanC: i use opensuse too for most production, and what i do is stick to repos. i use this for wsgi: http://en.opensuse.org/Additional_package_repositories#Apache_Modules
[08:04:47.921758]<osimons>then 'zypper install apache2-mod_wsgi'
[08:05:18.271970]<osimons>(i suppose you have apache2 and python from package repos)
[08:05:54.391848]<DanC>well, the apache2 installation here is in /usr/local ; I don't know why.
[08:06:24.736081]<DanC>hgweb has no problem importing mercurial.hgweb.hgwebdir_mod
[08:06:49.991440]<DanC>that suggests the problem is trac-specific
[08:07:58.033229]<DanC>it's wierd... the trac.web.main import craps out even with a try/except around it
[08:08:33.255804]<osimons>DanC: => mailing list. best bet for now.
[08:09:34.615249]<rafaelmartins>hi
[08:10:13.661921]<rafaelmartins>how can I make restructured text the default wiki syntax?
[08:10:19.221566]<rafaelmartins>it's possible?
[08:11:35.915662]*DanC noodles on participation in public mailing lists now that his email setup of 15 years is done and he's starting a new one...
[08:15:27.049561]<alim>can someone help me how to install a Macro for trac ? i followed the intructions on http://trac.edgewall.org/wiki/MacroBazaar without success
[08:29:27.130271]<osimons>DanC: trac-users is google groups, and you can also use the web interface to post. it obfuscates your email. i've had no (known) trouble with that.
[08:30:14.216079]<DanC>yeah, but which google account to use? I have 4.
[08:30:30.649814]<osimons>DanC: that i will have to leave for you to decide... :-)
[08:58:25.403748]*retracile utters something acrimonious about mornings.
[11:26:27.494439]<osimons>otaku42: around?
[13:19:55.197695]<macmaN>osimons: i am
[13:19:57.787158]<macmaN>:)
[13:44:36.255445]<DanC>hmm... does trac grok products? or just components?
[13:55:52.427218]<alim>anyways to add extra "action" for example ( VIEW_PASSWORD ) on so I can grant that to certain users only ?
[13:55:58.524398]<alim>any plugins that does that?
[14:29:11.685236]<DanC>hmm... how do I change the component of a ticket?
[14:30:11.309904]*DanC figures it out...
[15:59:29.500181]<srl295>wow.. going to add my first plugin to trac-hacks..
[17:39:08.044708]<bai>I'm having issues with Trac's SVN source browser. We've had Trac running for a couple years and had no problems until someone tried to add an additional SVN post-commit hook which had typos. the typos were fixed quickly but ever since then Trac refuses to accept information about new revisions
[17:39:46.755170]<bai>if you give trac any revision past that number, it throws a NoSuchChangeset exception
[17:39:58.956544]<bai>is there any way to force Trac to resync with the SVN repository?
[17:42:20.377879]<bai>oops, I may have just answered my own question, after typing it out in exactly those words I googled a bit more and found the "trac-admin <trac_env> resync" command
[17:42:43.641171]<bai>running now, guess I'll see if it helps soon enough
[17:50:58.716132]<bai>oops: Command failed: (1062, "Duplicate entry '35494-bravo/trunk/data/classifiers/title/result/isFindable/found' for key 1")
[18:01:33.300706]<wildintellect>you might have a bad record caused by the typos in the database
[18:07:30.827539]<bai>wildintellect: I found an open bug regarding the issue - http://trac.edgewall.org/ticket/3676 - it seems that Trac's mysql backend implementation has some poorly-chosen primary keys. altering the keys to allow longer paths fixed the issue for me
[18:07:47.291735]<bai>at least until someone commits a file with a path > 255 characters, heh