Team Chat Logs

April 30, 2010

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

[00:04:43.045614]<osimons>Stealth: http://trac.edgewall.org/wiki/TracIni#notification-section - see for instance smtp_always_bcc and smtp_always_cc that work for you
[00:05:44.526380]<Stealth>osimons: thanks, but I need only on specific status of a ticket
[00:06:05.736497]<Stealth>e.g. when it becomes "closed", notify someone
[00:06:59.557255]<osimons>Stealth: but not if a closed ticket is reopened again?
[00:07:16.885265]<Stealth>yup
[00:07:35.463522]<Stealth>it will be closed finally => notify again
[00:08:45.001502]<osimons>Stealth: no default support for such fine-grained notification. that would need to be custom code somehow
[00:08:58.771613]<Stealth>I see
[00:09:09.254015]<Stealth>okay then, thanks anyway
[00:10:47.931648]<osimons>Stealth: perhaps http://trac-hacks.org/wiki/AnnouncerPlugin has support? or easily extended to support it? don't know the details that plugin myself.
[00:11:28.523319]<Stealth>mm, good. will look at it
[00:51:15.975126]<Sacho>how can I set a default repository in trac 0.12?
[00:55:39.757943]<cathode01>hello
[00:56:04.516709]<cathode01>i'm trying to get Trac installed on windows, using apache and python 2.5
[00:56:58.763839]<cathode01>i would like to set it up for "multiple projects" and the wiki says to use this: "PythonOption TracEnvParentDir /var/trac"
[00:57:03.650983]<cathode01>in my httpd.conf
[00:57:13.379544]<cathode01>what does "/var/trac" translate to in windows?
[00:57:46.434854]<cathode01>do i put the installation directory of trac? in this case, C:\Python25\lib\site-packages\trac
[01:00:43.259407]<osimons>cathode01: no, you put the directory containing your trac projects - like c:/data/trac or whereever
[01:01:56.509139]<cathode01>ok so how does mod_python know to run the trac code?
[01:02:36.303664]<cathode01>so if my documentroot is /www/trac do i put that in for the TracEnvParentDir ?
[01:04:12.617654]<cathode01>hmm, ok i'm getting a 500 internal server error, error log says "ImportError: No module named pkg_resources"
[01:04:46.821946]<osimons>mod_python is asked to run trac.web.modpython_frontend code, and that coupled with the location on disk for directories will be all it needs. you do NOT serve your projects under documentroot - that is for static resources only, and in theory you could then serve your database, settings with db passwords and more directly for download...
[01:05:04.986200]<osimons>cathode01: setuptools installed?
[01:05:33.001776]<cathode01>dunno, first time i've seen that
[01:05:50.730986]<osimons>apache restarted?
[01:06:23.695204]<cathode01>yes
[01:06:29.613143]<cathode01>where do i get setuptools?
[01:06:47.565804]<cathode01>googling for my error gives me: http://trac.edgewall.org/ticket/4073
[01:06:57.150700]<osimons>if you have it, it should be listed in C:\Python25\lib\site-packages along with the other packages you have installed
[01:07:44.922662]<cathode01>its not
[01:07:52.939272]<osimons>cathode01: how did you install trac? what command?
[01:08:27.757828]<osimons>and what version did you install?
[01:08:43.122591]<cathode01>i downloaded the .exe installer for trac
[01:08:45.377179]<cathode01>and it was 0.11
[01:08:46.524305]<cathode01>i think
[01:09:16.091970]<osimons>0.11.7 or similar?
[01:09:47.528222]<cathode01>yes
[01:09:52.711712]<osimons>cathode01: download the installer of setuptools too then: http://pypi.python.org/pypi/setuptools
[01:09:54.945749]<cathode01>now it's complaining about Genshi
[01:09:58.586643]<cathode01>i got setuptools
[01:10:25.169039]<osimons>right - the .exe installer won't install dependencies. get genshi too :-)
[01:11:41.906162]<hasienda>I joint with Felix to bring German translations up to 100 % ASAP, now I saw release plan for 0.12beta1 this evening. I've agreed with vlt to finish it 'til next Thuesday. Too late? Who else is working on this?
[01:12:18.732465]<osimons>cathode01: with setuptools in, you should now just be able to write easy_install Genshi (see http://genshi.edgewall.org/wiki/Download)
[01:12:31.441320]<cathode01>does python have to be in the PATH?
[01:13:38.318315]<osimons>no, not really but it makes admin easier if you add c:\python25 and c:\python25\scripts to your user/system path
[01:14:39.796322]<cathode01>ok...
[01:14:45.063071]<cathode01>well its working now, sort of
[01:15:09.883173]<cathode01>([Errno 2] No such file or directory: '\\www\\com.gearedstudios.scm\\netsgl\\VERSION')
[01:15:28.634809]<cathode01>i just made an empty directory in the parent path
[01:16:43.303158]<osimons>"netsgl" needs to be trac projects (and then it will contain a VERSION file) - use trac-admin c:\path\to\ netsgl initienv to create a proper project - continue the install docs you were reading...
[01:17:19.193010]<cathode>what do I have to add to make it a trac "project"?
[01:18:13.957533]<osimons>cathode: http://trac.edgewall.org/wiki/0.11/TracInstall#CreatingaProjectEnvironment (ie. continue reading install documentation...)
[01:18:35.645242]<cathode>ok i see
[01:19:17.785186]<osimons>(trac-admin being a python script installed into c:\python25\scripts, which of course is easier if it is on PATH)
[01:19:23.854482]<cathode>yea
[01:19:54.104134]<cathode>i'm a windows user through-and-through and i rarely put up with these install processes with the number of steps in the teens
[01:20:06.879105]<cathode>"next, next, next, next, done" is preferred.
[01:20:40.486329]<cathode>but redmine doesn't even work on windows at all
[01:20:47.024279]<osimons>cathode: http://bitnami.org/stack/trac
[01:21:01.815445]<cathode>and i'm not going to download 200+ MB and install who knows what
[01:21:12.190861]<cathode>bitnami looks WAY too enterprisey
[01:21:28.424218]<osimons>cathode: i've run it on windows for a long time, but have switched to linux as the performance was many times better than on windoes...
[01:22:10.360836]<osimons>cathode: it is a next, next, next stack of software that installs all the things for you - as per your request :-)
[01:22:40.492110]<osimons>and i quote from the page... "The process is simple; just download, click next-next-next and you are done!" :-9
[01:22:56.063393]<cathode>yea but 200+ MB just for one website?
[01:23:24.256015]<osimons>it installs apache, subversion, trac, genshi, +++
[01:23:37.862677]<cathode>i already have apache and subversion
[01:23:45.254318]<osimons>it says 27.7 MB on the page i'm reading
[01:23:48.746008]<osimons>(native)
[01:23:57.943301]<cathode>if trac was the only thing i was running, I would use the standalone server method
[01:23:59.315577]<osimons>cathode: fine now, you're almost there now
[01:25:42.049803]<osimons>cathode: your \\www\\com.gearedstudios.scm\\ is not under Apache DocumentRoot, is it? it just looks that way, perhaps?
[01:26:04.126510]<cathode>it is
[01:26:06.966785]<cathode>should it not be?
[01:28:00.624724]<osimons>cathode: no... then i could make a request to /project1/db/trac.db and get your database downloaded, or /project1/conf/trac.ini for your configuration including database passwords and so on...
[01:29:19.304215]<cathode>mmm... i hope you guys realize that writing a simple, easy to use interface is actually easier than writing a complicated, hard to use interface.
[01:29:27.518156]<cathode>at least, for me it is
[01:29:32.644851]<osimons>that is why i earlier suggested c:\data\trac or similar outside DocumentRoot - the projects are mapped via python code and served, they are not served directly as static resources. it is an application.
[01:31:23.512978]<cathode>ok thanks
[01:31:25.590363]<cathode>fixed...
[01:31:32.783454]<cathode>i like how windows accepts unix-style paths
[01:31:37.637235]<osimons>same as your subversion repositories, they also need to be served through the app, so putting repos as static files in DocumentRoot for direct serve is not going to get you far...
[01:31:39.782143]<cathode>i just make C:\var\stuff
[01:31:55.063288]<cathode>and then I don't have to constantly change stuff... i can leave it as "/var/trac"
[01:32:36.009384]<osimons>cathode: yeah, you can even use c:/var/stuff (the other way) - as \ is an escape character in python, that sometimes can lead to path confusion and why double slashes is often needed (to escape the escape) c:\\var\\trac
[01:33:36.117567]<cathode>ok the connection string... postgres://user:pass@localhost:5432/dbname?schema=schemaname
[01:33:47.548468]<cathode>whats the difference between "schemaname" and "dbname"?
[01:37:22.601048]<osimons>that would be if the db contained more than one schema - i think it is optional if not, but don't use postgres myself
[01:44:25.469950]<cathode>nice.
[01:44:38.797802]<cathode>up and running with windows active directory authentication
[01:45:15.939825]<osimons>goodie. congrats :-)
[01:45:18.460778]<andres>Is there a reason why the post commit hook which could close a ticket and such was removed in 0.12?
[01:46:42.701028]<osimons>andres: it hasn't been removed actually, it has been integrated i think; http://trac.edgewall.org/browser/trunk/tracopt/ticket/commit_updater.py
[01:47:09.589242]<cathode>redmine team basically told me to go f myself when i said i was trying to install on windows
[01:47:28.069946]<cathode>that was before i started getting rude with them.
[01:48:00.381854]<osimons>andres: http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets
[01:48:39.328744]<andres>osimons: thanks.
[01:49:15.412740]<cathode>man I really need to get my web server software worked on heh
[01:49:27.614488]<cathode>then I won't have to deal with apache anymore
[01:56:49.691402]<andres>Its not that bad imho. If you ever suffered with IIS or some custom java stuff...
[01:56:58.486200]<cathode>uh... IIS7 is awesome
[01:57:00.780777]<cathode>so easy.
[01:57:09.533303]<cathode>although i'll agree java is lame
[05:24:16.017880]<BaconZombie>Hey
[05:29:30.452151]<scfe>BaconZombie: Hi
[05:29:53.381686]<BaconZombie>hi scfe
[05:30:17.354987]<BaconZombie>Do you cove ntop issues here ? {followed link on ntop page}
[05:30:28.165613]<misc>nope
[05:30:52.330761]<BaconZombie>np
[06:04:54.932958]<hasienda>scfe: hello, I'm already on the run, but wanted to hear any news an i18n de
[06:07:13.516830]<hasienda>scfe: well, maybe see you later in the evening
[06:20:26.687062]<riot>is it possible to have tickets relate to each other? I want to setup a line of tickets leading to a milestone, where each ticket depends on a previous..
[06:21:36.052005]<kalkin->hi
[06:21:38.653545]<kalkin->i had trac running on ubuntu without problems quite a while
[06:21:44.587465]<kalkin->now i updated to ubuntu lynx 10.4 and trac was updated to 0.11.7-1
[06:21:57.234870]<kalkin->i i try to login i get the error No handler matched request to /login
[06:22:05.035346]<kalkin->what should i do?
[06:22:16.420766]<kalkin->does some login plugin changed in the new version of trac?
[06:22:26.033467]<kalkin->AFAIR i had 0.10.something
[06:22:32.641916]<kalkin->before ubuntu update
[06:26:16.706227]<riot>hmm. maybe updating the trac environment helps. Maybe there's a migration howto, too.
[06:26:47.949177]<kalkin->hmm the previous ubuntu version had trac-0.11.5-2ubuntu1
[06:26:51.707521]<kalkin->and not 0.10
[06:27:35.725426]<kalkin->what could be the problem?
[06:27:45.108329]<kalkin->i'm really lost @mom and i need the trac running
[06:29:33.001616]<riot>hm. maybe uninstall the ubuntu-package, grab your "previous" working version out of tracs svn and install that...
[06:29:45.058192]<riot>maybe this works, maybe it blows up all your stuff.
[06:29:58.201612]<kalkin->riot: k i will try
[06:29:59.989281]<riot>You have backups of all your stuff?
[06:31:21.230791]<scfe>hasienda: nothing new since yesterday evening
[06:34:30.240726]<kalkin->riot: : yes
[06:34:36.731533]<kalkin->hmm seems not to work
[06:35:11.080389]<kalkin->hmm checking out svn 0.11 stable doesn't help the same issue
[06:35:22.755986]<kalkin->btw could it be that trac needs python2.5?
[06:35:35.258919]<kalkin->afair i had some problems until i used python2.5 on ubuntu
[06:35:48.192038]<kalkin->but i'm not sure if it wasn't the git plugin which needed python2.5
[08:36:46.778768]<hasienda>riot: tickets, one depending on another, that's what http://trac-hacks.org/wiki/MasterTicketsPlugin is for
[08:40:57.261133]<hasienda>kalkin-: No handler matched request to /login - most likely you have a problem with your autentication provider, so 1) need to know the setup before upgrade (old trac.ini), 2) if trac.ini has changed during upgrade, 3) maybe more details about plugins like http://trac-hacks.org/wiki/AccountManagerPlugin then ...
[08:41:19.580653]<hasienda>kalkin-: and no, python 2.4 should still be fine
[08:42:09.719411]<hasienda>kalkin-: and you might activate verbose (DEBUG) logging, to get more insight then
[08:42:17.185509]<hasienda>@wiki logging
[08:42:17.193583]<evil_twin>http://trac.edgewall.org/wiki/logging
[08:42:30.420261]<hasienda>@wiki Logging
[08:42:30.427721]<evil_twin>http://trac.edgewall.org/wiki/Logging
[08:42:56.334276]<hasienda>@wiki TracLogging
[08:42:56.342358]<evil_twin>http://trac.edgewall.org/wiki/TracLogging
[08:43:23.970721]<hasienda>kalkin-: ^^^ this is for you. :-)
[08:50:25.134405]<hasienda>@logging
[08:50:25.150951]<evil_twin>logging is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[08:50:47.130864]<hasienda>kalkin-: much better
[09:33:33.002455]<riot>hasienda: thx alot, i just installed that even though it says its only for version 0.11 (i'm running SVN - r9571) and it seems to work :D
[09:44:34.038550]<hasienda>riot: np. :-)
[10:28:27.131103]<srl295>anyone familiat with the MyLyn connector under eclipse?
[11:50:32.051484]<bootlaces>Hi all, having an issue upgrading a 0.11 db to a 0.12 db
[11:50:46.426824]<bootlaces>When I run upgrade, it's complaining about a duplicate key
[11:51:47.268433]<bootlaces>IntegrityError: (1062, "Duplicate Entry '....' for key 1")
[12:00:09.441784]<bootlaces>What would I loose by deleting from node_cache and revision?
[12:00:20.962326]<bootlaces>:q
[12:04:00.222910]<srl295>you might need to do a re-sync
[12:04:55.317276]<srl295>trac-admin .. resync
[12:16:50.067451]<bootlaces>okay, will have a shot
[12:16:59.530083]<bootlaces>thank you
[12:21:58.172049]<flavius>Hi
[12:22:18.459945]<srl295>hi
[12:22:55.322411]<flavius>I have a multiproject setup and I'm wondering following these instructions http://trac.edgewall.org/wiki/TracStandalone#GeneratingPasswordsWithoutApache what should I put instead of "proj_name" when running tracd?
[12:30:21.953137]<riot>if i recall correctly, the first is the auth-realm presented to the user, the last one is your env
[12:31:14.013753]<riot>thats at least what i'm using to fire up tracd, here - and it works :)
[12:34:36.765102]<riot>hmhm, what i'd love: A combination between the timingandestimation-plugin and the ganttcalendarplugin
[12:34:52.136509]<riot>so i can plan ahead with a nice gantt-overview
[12:35:20.048263]<riot>because i (most of the time) roughly know what time single tasks take - but almost never how much the whole operation/milestone will need..
[12:36:22.941548]<riot>and preferrably i'd like to do this planning via the gantt-calendar - like dragging times around and every associated ticket (thats not yet accepted or fixed) gets adapted...
[12:36:28.122454]<riot>that would be cool..
[12:38:24.538430]<flavius>I used: trac/bin/tracd -p 10001 --auth=proj_name,digest.txt,foobar -e projects/
[12:38:47.170274]<flavius>it still says "Trac Error - Authentication information not available. Please refer to the installation documentation. "
[12:39:04.571851]<flavius>beside that, it works
[12:39:24.616634]<riot>digest.txt is available?
[12:39:33.381093]<riot>and filled with correct content?
[12:39:51.973420]<flavius>of course it is, in the current directory, and fille with what that python script generated
[12:39:58.282615]<flavius>*filld
[12:40:42.509555]<flavius>I also tested it with full paths
[12:41:54.580286]<riot>hmhm, i'm using htpasswd - without any problems. Worked at first try ;)
[12:43:36.985829]<flavius>indeed it doesn't look right:
[12:43:38.901161]<flavius>flav:foobar:c9c2b0e532c0bd3873d114b9e461bb87
[12:43:52.611820]<flavius>as opposed to one generated by this: http://www.htaccesstools.com/htpasswd-generator/
[12:46:34.087039]<riot>don't you have the htpasswd tool?
[12:46:44.609707]<riot>that usually works nicely.
[12:47:22.110408]<flavius>I have it on my system, not on the remote one running tracd. is it ok to generate it locally and upload it?
[12:50:17.548532]<riot>yeah, sure.
[12:50:34.922135]<riot>i think that shouldn't be a problem. Make sure no one snoops on the filetransfer, though ;)
[12:50:48.210937]<flavius>:-)
[12:51:03.892833]<flavius>I'm using sftp, the key is already cached
[12:55:21.826776]<flavius>it doesn't work
[12:57:24.019583]<flavius>doh, I'll just use pure svn until it becomes stable
[13:27:17.830313]<bootlaces>I co'ed out the latest 0.12 mercurial trac plugin, did a pythong setup.py bdist_egg, copied it to the plugsin directory
[13:27:31.162547]<bootlaces>yet trac doesn't show the plugin as listed in the admin pabnel
[13:27:32.720390]<bootlaces>panel
[13:27:45.853681]<bootlaces>(this is trac 0.12dev)
[13:28:13.722486]<bootlaces>anyone got any idea why trac won't load the plugin?
[13:28:14.780480]<macmaN>what does debug log show
[13:29:00.745781]<bootlaces>how do I switch that on?
[13:29:14.860192]<bootlaces>(at the moment I'm hiding behind apapche, but I can run it standalone to check it out)
[13:30:14.434269]<macmaN>@wiki TracIni
[13:30:14.441528]<evil_twin>http://trac.edgewall.org/wiki/TracIni
[13:30:17.822516]<macmaN>[logging]
[13:30:21.498112]<bootlaces>sweet
[13:30:30.424937]<macmaN>ofc, if its apache, it needs a reload
[13:30:42.317384]<bootlaces>did a restart a few times wit apache
[13:30:45.399936]<macmaN>to load new python code into memory
[13:31:15.448605]<macmaN>in that case, check log
[13:33:56.460858]<bootlaces>okay this is the issue:
[13:34:07.462251]<bootlaces>http://trac.edgewall.org/wiki/TracIni
[13:34:10.427434]<bootlaces>oops
[13:34:15.509532]<bootlaces>that's not the issue
[13:34:16.712489]<bootlaces>this is:
[13:34:37.591503]<bootlaces>Skipping "TracMercurial 0.12.0.21dev": (version conflict "VersionConflict: (Trac 0.12dev (/usr/lib/python2.5/site-packages/Trac-0.12dev-py2.5.egg), Requirement.parse('Trac>=0.12dev-r9125'))")
[13:35:02.575006]<bootlaces>The trac I'm using is off yesterday
[13:35:24.542628]<bootlaces>the plugin, i think, is doing a wrong version conflict resolve?
[13:39:26.874340]<bootlaces>Yeah, when I rebuild the egg with the version check removed (or set to 0.12dev) it works
[13:42:44.478824]<bootlaces>So, I'm a bit confused
[13:42:58.117195]<bootlaces>is the mercurial support built-in to trac0.12 now, or do I still need the plugin?
[13:43:16.600340]<macmaN>plugin
[13:43:21.682305]<bootlaces>okay
[13:43:48.287745]<bootlaces>so, the plugin needs updating to ignore the r9125 requirement, since 0.12dev is more or less now the beta
[15:22:01.429868]<cboos>hi there
[15:22:38.910417]<cboos>I've just prepared 0.12b1, could someone test accessibility of the packages, make a quick test install?
[15:22:54.663608]<cboos>hi simon
[15:23:06.231701]<osimons>hi christian
[15:23:13.641115]<osimons>what's up?
[15:23:18.387831]<osimons>release?
[15:23:19.289390]<cboos>please have a quick check of the 0.12b1 files I've just uploaded
[15:23:20.797540]<cboos>yes
[15:23:48.931467]<cboos>I now have to go ... but just drop me a note if everything is well, and tomorrow morning I'll update the TracDownload page
[15:24:13.811391]<cboos>(or if you have WIKI_ADMIN, feel free to do it if the packages are OK)
[15:24:51.986886]<osimons>will do - just rebooted. takes some time before i get all my windows back up... i'll just verify that the beta installs, i think. leave the rest to those able :-)
[15:26:28.810825]<cboos>ah damn, seems I've messed up something with the .exe
[15:27:24.209026]<cboos>or it's again the issue that setuptools wins over a bdist_wininst?
[15:28:19.411157]<cboos>ah yes, that was it
[15:28:37.423897]<cboos>really, I should know by now...
[15:29:07.451835]<cboos>ok, Trac-0.12b1,win32.exe seems to work fine
[15:30:13.228399]<cboos>... fantastic ;-)
[15:30:52.942158]<cboos>so please someone confirm all is fine (by mail), so tomorrow morning I can update the TracDownload page and make an announcement, thanks!
[15:31:01.692924]<cboos>'night
[15:35:13.268741]<srl295>congratulations on b1
[15:35:53.290628]<misc>?
[15:43:05.300715]<wagnerrp>are there any libraries or bindings for programmed access to trac?
[15:43:18.212271]<wagnerrp>the project im part of is plagued with bad tickets
[15:43:55.410583]<wagnerrp>people posting errors with insufficient information to debug them, never responding to requests for more information, and doing so anonymously so there is no contact information
[15:44:22.044860]<wagnerrp>i want to script up something that will pull various package information, log files, a backtrace if relevent
[15:44:27.266989]<wagnerrp>and attach them to a new ticket
[15:52:25.725132]<osimons>xmlrpcplugin, wagnerrp
[15:56:14.818526]<wagnerrp>ah, i looked at that plugin list, and somehow managed to miss that one
[15:56:15.748880]<wagnerrp>thanks
[21:59:00.400443]<SandGorgon>hey guys... i set up trac for the first time today. Everything is working fine, except that after I logout and then click on "login" again, trac logs me in directly without asking for a password (it uses the username password that I previously used _successfully_ ). How can I force trac to not cache passwords. I'm running it standalone
[22:23:24.866595]<lukasg>SandGorgon, I think you need the AccountManagerPlugin for that ( http://trac-hacks.org/wiki/AccountManagerPlugin )
[22:24:12.565197]<lukasg>SandGorgon, because by default trac uses basic HTTP Auth, which results in the browser storing your credentials until you restart it
[22:24:41.940675]<SandGorgon>lukasg, ahh.. thanks