Team Chat Logs

January 12, 2010

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

[00:00:10.945503]<osimons>heh. unmaintained is more accurate, i'd say...
[00:00:28.633060]<osimons>how's life in the gaming industry, coderanger_?
[00:00:45.704963]<osimons>all work and no play?
[00:00:52.051517]<otaku42>coderanger_: well, i'd not call me the new maintainer of it
[00:00:56.023411]<coderanger_>T-10 hours until Star Trek Online hits open beta >_<
[00:01:01.949333]<coderanger_>Its going to be a long week
[00:01:24.333917]<coderanger_>s/a/another/
[00:01:24.346250]<evil_twin>coderanger_ meant: Its going to be another long week
[00:01:31.138718]*coderanger_ kicks evil_twin
[00:02:17.582044]<coderanger_>Just counting the days until pycon, thats my post-launch vacation!
[00:02:46.934077]<osimons>doing anything there this year, or just following tracks?
[00:03:02.423723]<coderanger_>open-space coordinator
[00:03:06.026119]<coderanger_>but thats it
[00:03:19.945097]<coderanger_>my talk got rejected, which was fair (too much info, not enough time)
[00:04:31.416154]<osimons>so much to give to the world, eh.
[00:05:33.727181]<osimons>it will be fun no doubt - i'll make it one year. this year it clashed with winter break in norway - kids home from school for a week, so that means skiing and other things
[00:05:48.146469]<coderanger_>okay, my lady beckons, time for bed!
[00:06:02.181889]<coderanger_>yeah, or I need to make it out to europycon one year :-)
[00:06:37.964213]<otaku42>night, coderanger_
[00:06:41.031188]<osimons>night.
[00:16:09.579084]<otaku42>osimons: patch committed, #3206 fixed.
[00:16:48.950162]<osimons>:-)
[00:34:30.284109]<gozerbot>trac: Ticket #8959 (AttributeError: 'NoneType' object has no attribute 'name') closed - <http://trac.edgewall.org/ticket/8959#comment:2>
[00:43:21.931261]<opqdonut>how can i set which columns are visible by default? with the query module i mean. trying to add col=something to default_query didn't work...
[00:47:46.539885]<opqdonut>(0.11)
[00:59:56.919287]<kirean>opqdonut: hang on
[01:02:06.105994]<kirean>opqdonut: here's an example:
[01:02:06.241530]<kirean>default_query = ?status=!closed&col=ticket&col=summary&col=status&col=type&col=priority&col=milestone&col=component&col=time&col=changetime&owner=$USER
[01:02:56.683981]<kirean>opqdonut: what did you try?
[01:05:00.954163]<opqdonut>something like that
[01:05:45.367177]<opqdonut>yeah, OperationalError: near "?": syntax error
[01:05:50.488118]<kirean>opqdonut: still not working?
[01:05:59.147287]<kirean>what rev of 0.11?
[01:06:49.775456]<kirean>IIRC there was a fix for this quite recently (say last months or so)
[01:06:55.831780]<opqdonut>ah
[01:07:02.627113]<opqdonut>this is some version packaged by debian
[01:07:12.019259]<kirean>but I am not sure..
[01:07:22.404637]<kirean>might have been for another problem
[01:08:01.651107]<kirean>a core dev might remember, osimons maybe
[01:11:34.900585]<codyrobbins>Are there any plans to add Git support to Trac?
[01:13:30.714674]<bionoid>codyrobbins: There is a GitPlugin
[01:14:04.195589]<codyrobbins>bionoid: Yeah, but it's on a site called 'Trac Hacks' which doesn't inspire confidence
[01:14:09.046549]<codyrobbins>And then the page says 'As this is for now just a proof of concept implementation'
[01:14:32.173435]<codyrobbins>Are there are any plans to add Git support into the Trac core, like Subversion is?
[01:14:33.742435]<bionoid>codyrobbins: You should look up the Hackers Dictionary definition of the word 'hack' ;-)
[01:15:32.539536]<codyrobbins>bionoid: Every plugin I've installed from Trac Hacks turns into a bloodbath
[01:15:42.891239]<codyrobbins>They're all hacks in the non-Hacker Dictionary sense of the word
[01:16:20.559003]<codyrobbins>They don't install easy, screw things up when you upgrade Trac, have all sorts of weird bugs and quirks
[01:16:45.512660]<bionoid>This is true, but it's no less true for the trac core than for the plugins IMHO.
[01:16:55.042168]<codyrobbins>Hahah
[01:16:59.372369]<codyrobbins>I guess that's an honest answer
[01:17:11.145857]<bionoid>;-)
[01:17:34.142327]<codyrobbins>Git support just seems like it should be part of the core instead of relegated to a plugin
[01:17:39.293624]<bionoid>Well, I didn't use GitPlugin, it's alpha afaik, but I recall some discussion of including it in opt/, not sure if any work is being done with it.
[01:17:45.738125]<codyrobbins>It's at least as important as Subversion support if not more so now
[01:18:01.598086]<codyrobbins>bionoid: Was that on the mailing list?
[01:18:10.214924]<bionoid>Yeah or here. Not sure.
[01:18:27.857467]<codyrobbins>Cool, thanks. I'll check out the mailing list archives and see if there's anything
[01:21:07.835392]<bionoid>Well, getting it in opt/ is not core though, so it probably wouldn't make much difference. Your best bet is to run it as-is or contribute to its development ;-)
[01:22:10.159765]<codyrobbins>bionoid: Yeah, I'm thinking about making the change myself, that's why I was asking
[01:22:15.802880]<codyrobbins>To see if anyone else was working on it already
[01:22:23.940031]<codyrobbins>I guess I shouldn't ask such questions at 4 AM though ;)
[01:24:18.841449]<bionoid>You should probably ask on the mailing lists anyway, people rarely read irc backlogs
[02:10:22.069067]<osimons>codyrobbins: trac "core" is an illusive concept, as to a large degree it is a collections of plugins - db and repository connectors are also in reality plugins. svn is part of trac for historic reasons, hg is developed close to trac.
[02:13:00.238619]<osimons>the issue with git, iirc, is that it lacks an api with proper python bindings - i think the plugin needs to call executables. that makes it a bit more 'hackish', and prone to issues of calling and parsing. disclaimer: never looked at the code, just writing from fragmented memory of irc chats past...
[03:32:06.948244]<opqdonut>gah, how can i handle spaces in query language strings
[03:32:25.890651]<opqdonut>[query:milestone=Sprint 1 tickets for Sprint 1] obviously doesn't work
[03:33:08.716300]<opqdonut>ah, %20
[03:34:48.339973]<opqdonut>ah, no, +
[03:35:52.924078]<opqdonut>no, that doesn't work either
[03:36:51.443038]<opqdonut>ok, + works when using the ?-syntax
[03:37:45.989715]<bionoid>query:"some string" I think?
[03:43:21.360316]<opqdonut>i tried query:yaddayadda&foo="some string" and it didn't work
[03:51:11.152529]<bionoid>opqdonut: Try query:"yaddayadda&foo=some string" or some%20string perhaps
[04:09:49.616443]<osimons>otaku42: yo!
[04:32:26.848372]<djszapi_>hi
[04:32:28.314224]<djszapi_>http://trac-hacks.org/attachment/wiki/TracWikiPrintPlugin/admin_screenshot.jpg
[04:32:51.421904]<djszapi_>Which plugin provides trac.ini configuration part of webadmin interface ?
[04:34:41.084691]<apollo13>djszapi_: I am pretty sure searching for .ini on the http://trac-hacks.org/ main page reveals it
[04:38:39.149965]<otaku42>djszapi_: that screenshot seems to show the admin interface provided by the TracWikiPrintPlugin
[04:39:02.337296]<otaku42>(which certainly is the reason why a screenshot of it has been attached to the wiki page for that plugin ;))
[04:48:14.355952]<LimCore>hi
[04:48:30.758201]<LimCore>what is best solution, to use trac with pgsql or mysql
[04:49:49.034907]<osimons>pgsql recommended - most widespread usage, and best support within project. for "regular" setups, spqlite also performs well
[04:51:27.343208]<LimCore>this will remove this database is locked problem? ;)
[04:53:40.131841]<osimons>LimCore: what trac version?
[04:56:30.488092]<osimons>LimCore: "database is locked" should be gone in a recent trac - see http://trac.edgewall.org/ticket/3446. if using sqlite, i'd recommend installing from latest revision in 0.11-stable branch (ie. 0.11.7dev).
[05:13:44.969246]<LimCore>I dont have that in debian lenny
[05:14:01.366173]<LimCore>hmm but I have more important problem
[05:14:07.469813]<LimCore>all time I get UTF8 reltated problem
[05:21:17.906222]<proppy>Hi, <video> tag doesn't get included in wiki page when using {{{#!html}}}
[05:21:23.349901]<proppy>is this a known issue ?
[05:33:25.063288]<mindbendr>Hi, I use email2trac plugin and when the email notification arrives for the ticket, it gets a random different ticket number in the email (body+subject) whereas it appears with the correct ticket number. Any ideas what might be causing this issue?
[05:34:31.465028]<mindbendr>by random, the number difference is between 10-20, so if the actual ticket is 419, the email I get is 412. Also I get these email notifications more than once, one with the wrong ticket number and one with the correct one.
[05:34:31.750407]<gozerbot>trac: Ticket #8960 (OperationalError: no such column: remaining_time) created - <http://trac.edgewall.org/ticket/8960>
[06:04:31.264691]<gozerbot>trac: Ticket #8960 (OperationalError: no such column: remaining_time) closed - <http://trac.edgewall.org/ticket/8960#comment:1> || Ticket #8961 ([PATCH] Linkable lines on diff view) created - <http://trac.edgewall.org/ticket/8961>
[07:04:28.043009]<bootlaces>Hey guys, I'm having some difficulty. I upgraded to trac 11.6 and now my action panel is missing (when I view or create a ticket)
[07:04:40.993670]<bootlaces>plus, any tickets I do create aren't showing now in all active tickets
[07:05:00.449891]<bootlaces>(which I think is related to the fact that I can't assign an "action" to the ticket)
[07:06:02.963554]<bootlaces>can anyone perhaps help me find out what has gone wrong please?
[07:10:03.227380]<kirean>bootlaces: double check you permissions
[07:10:21.058389]<kirean>s/you/your
[07:10:21.070116]<evil_twin>kirean meant: bootlaces: double check your permissions
[07:11:22.660365]<bootlaces>user permissions in trac?
[07:11:41.083078]<bootlaces>if so, then I'm currently set as trac_admin
[07:15:53.228963]<bootlaces>Oh, I think I'm getting to the bottom of it...
[07:15:58.707494]<bootlaces>seems to be an issue with trac.ini
[07:22:28.935769]<tracUser>Hello, I have upgraded TRAC from .8 to .11, and SVN post-commit no longer works correctly. I've dug around in the documentation, & the hook errors at:
[07:22:48.673991]<tracUser> /usr/lib/python2.6/dist-packages/trac/loader.py:40: UserWarning: Unbuilt egg for ClientCookie [unknown version] (/usr/lib/python2.6/dist-packages)
[07:23:30.439478]<tracUser>However I'm not that familiar with Pythin. As far as I can tell, ClientCookie doesn't exist for 2.6, it is only for 2.5. I can't find a way to install the egg of ClientCookie for 2.6 ?
[07:23:36.611092]<tracUser>Thanks for any help.
[07:36:30.764500]<bootlaces>All works now
[07:36:38.377249]<bootlaces>It was a plugin causing issues
[07:36:51.087181]<bootlaces>I've wiped it's existence from the face of my installation :)
[07:40:08.072440]<Maschine_DBS>hi there! I have a serious problem getting trac to work on a gentoo installation... Basically trac works, but as soon as I click on "Browse source" or try to view a changeset, an internal server error appears...
[07:40:35.219207]<Maschine_DBS>I tried with Apache and also with tracd, always the same result. Dmes shows me the following line:
[07:40:39.217038]<Maschine_DBS>tracd[31010]: segfault at 57c2c0 ip a3c1e6ff sp a26c5fa0 error 4 in datetime.so[a3c17000+10000]
[07:41:10.446937]<Maschine_DBS>I already spent some hours on this problem, so I'm glad for any help. Thanks!
[07:48:31.318858]<evil_steve>Maschine_DBS: if you get the error when you try to view the source or changes, are you sure your repository is still good?
[07:50:24.252642]<Maschine_DBS>The repository is actively used for development with the SVN command line client and with Eclipse and its SVN plugins. Also the Timeline view is working and commits are shown, so somehow reading the repository seems to work...
[07:50:58.674386]<evil_steve>except for actually browsing the source or reading changesets
[07:51:09.975287]<evil_steve>what's the current trac in portage?
[07:51:34.105260]<Maschine_DBS>0.11.6 is installed
[08:06:00.880164]<tracUser>Does anyone have any idea about ClientCookie above? I've also just noticed that no plugins are showing, even though the About says they are enabled
[08:11:24.535561]<Maschine_DBS>I'm afk from now on, but I'll read the backlog tomorrow. So I'm still thankful for further ideas. :-)
[08:29:36.162891]<jacktrip>so why would my attachement list be appending to the bottom of every page?
[08:32:01.847880]<jacktrip>like i attache something to a wiki page, now all the wiki pages have Attacements at the bottom (the one i just uploaded)
[09:01:16.673046]<TML>Where would I find the code that triggers rst parsing? I want to plug my own parser in there.
[09:18:44.307936]<cmc>Hm. I have a component which implements IEnvironmentSetupParticipant, however none of its functions are getting called
[09:19:08.935381]<cmc>the file is definitely included (if I throw an error outside the class definition, trac dies, as expected
[09:29:41.727024]<cmc>aha, uncaught exception
[10:35:55.068508]<pacopablo>morning all
[10:36:13.983331]<pacopablo>so, who's going to be at PyCon this year?
[10:43:03.283657]<pacopablo>hmm, anyway of selectively skipping pre request filters?
[10:43:26.245504]<pacopablo>s/pre request/post request
[10:43:26.257853]<evil_twin>pacopablo meant: hmm, anyway of selectively skipping post request filters?
[10:44:47.616624]<pacopablo>the permredirect plugin operates based on whether or not a template is returned. if the handler doesn't return a template, and outputs it's own headers (since it's outputing text/plain) the perm redirect plugin jumps in and messes up the request
[10:55:32.894347]<osimons>pacopablo: a plugin that outputs content directly should also raise RequestDone, and if so the permredirect should really not touch it as the request is finalized
[10:55:55.218649]<pacopablo>hmm, good point
[11:29:45.218432]<l1pe>hi guys
[11:30:31.368642]<l1pe>I have a problem with notifications, they are not sent and nothing apears on the logs. can anybody help me with this?
[11:34:36.897785]<gozerbot>trac: Ticket #8962 (AttributeError: 'NoneType' object has no attribute 'backlog_info') created - <http://trac.edgewall.org/ticket/8962>
[11:57:53.011263]<infid>how can i found out which svn repository my trac session is pointed at?
[11:58:10.311561]<cmc>look at the trac.ini file
[12:00:00.283968]<infid>no way to do it from inside the trac webpage?
[12:01:11.434727]<cmc>if you install the http://trac-hacks.org/wiki/IniAdminPlugin plugin, maybe
[12:01:50.400623]<infid>thanks
[12:51:52.176275]<osimons>infid: do you have TRAC_ADMIN permissions? If so, 'About Trac' will display system info - including all current settings where you will find [trac] repository_dir = ....
[12:54:46.068895]<infid>idk if i do
[12:54:59.230823]<infid>dont seem to
[12:55:22.776208]<infid>i just set trac up, not fully configured yet
[13:04:35.199904]<gozerbot>trac: Ticket #8963 (need changes on lesson class lists) closed - <http://trac.edgewall.org/ticket/8963#comment:1> || Ticket #8962 (AttributeError: 'NoneType' object has no attribute 'backlog_info') closed - <http://trac.edgewall.org/ticket/8962#comment:1> || Ticket #8963 (need changes on lesson class lists) created - <http://trac.edgewall.org/ticket/8963>
[13:08:00.745456]<infid>i have trac 0.11.5 but i dont see an 'Admin' button
[13:09:34.791967]<infid>oh you have to add yourself to trac_admin even to see that
[13:09:55.864574]<jhammel>yes
[13:12:18.989660]<infid>if i'm the only one who uses trac on my system, should i bother creating a user in trac, or just editing the 'authenticated' group?
[13:22:09.929083]<ajd>I'm having problems configuring the authentication on trac, here is the history of my problem so far http://stackoverflow.com/questions/2003314/configuring-web-authentication-on-trac
[13:30:50.018000]<infid>how come when i say 'sudo trac-admin /home/trac/my-proj permission list <fakeuser>' it still shows permissions for that user that doesn't even exist?
[13:31:30.164963]<evil_steve>ajd: I'm about to jump on a plane, but I can take a look at your problem later if that's ok
[13:31:46.092971]<ajd>evil_steve, sure have a safe flight!
[13:32:44.123054]<infid>don't jump on the plane or the tsa will arrest you
[13:32:56.535177]<evil_steve>thankfully it's between AU and NZ
[13:33:08.771424]<evil_steve>so it's just a maori air marshall I have to deal with
[13:50:37.274388]<djszapi>hm
[13:50:42.640773]<djszapi>I've found a bug in trac.
[13:51:00.624684]<djszapi>simple users without TRAC_ADMIN permission aren't stored in the trac.db
[13:52:09.547557]<djszapi>permission table in that database stores the TRAC_ADMIN related users only.
[13:55:19.272208]<cmc>hm. I know for a fact that that's not true
[13:55:36.427231]<jhammel>yeah, that sounds unbelievable
[13:55:47.423175]<cmc>where are you looking for the users?
[14:13:33.746063]<djszapi>trac.db
[14:13:38.697220]<djszapi>in the tables.
[14:13:44.026416]<djszapi>sqlite3 trac.db
[14:13:46.073890]<djszapi>then .tables
[14:13:51.844931]<djszapi>and see any tables inside it.
[14:15:50.396506]<cmc>right, which table are you looking at
[14:16:48.109664]<djszapi>permission
[14:16:53.321273]<djszapi>AVAILABILITY, etc.
[14:17:13.912874]<cmc>does the permission appear in /admin/general/perm ?
[14:18:37.877307]<djszapi>?
[14:18:59.546901]<djszapi>what do you mean ?
[14:19:19.141749]<cmc>if you go through the web interface to /admin/general/perm, is the user + permission combination visible?
[14:20:10.311697]<djszapi>yes
[14:20:19.308948]<cmc>then that means it is in the db
[14:20:27.657240]<cmc>close your sqlite connection and open it again
[14:20:41.646272]<cmc>sqlite has weird concurrency issues
[14:22:03.538700]<djszapi>what do you mean ? Where should I see this data ?
[14:53:19.296959]<cmc>djszapi: the permissions are being stored in the db, lest they wouldn't appear at /admin/general/perm
[16:13:39.293079]<pacopablo>osimons: fyi, RequestDone does not avoid processing via permredirect
[16:14:02.982801]<pacopablo>osimons: I'm looking into whether permredirect or trac is the culprit here
[16:14:34.129417]<osimons>i just know of the plugin, but don't use it or know the details of the code
[16:15:04.439991]<pacopablo>I know the details of the code :)
[16:15:16.627521]<pacopablo>it's a fairly simple post request filter
[16:16:34.674127]<pacopablo>hmm, is there a way to know what the most recently raise exception was?
[16:16:51.165964]<pacopablo>ie, whether or not one is inside an "except" block?
[16:17:27.507152]<osimons>why does that get called if the method raises RequestDone? i think the main exception handling code should really just let RequestDone pass through - read trac.web.main, see the main dispatch method
[16:17:42.133686]<pacopablo>http://trac.edgewall.org/browser/trunk/trac/web/main.py#L257
[16:18:20.167596]<pacopablo>no, though that shouldn't be executed
[16:18:25.185513]<osimons>no, pacopablo - it is #255
[16:18:27.538936]<pacopablo>cus the RequestDone should be caught above that
[16:18:31.308861]<osimons>right.
[16:18:43.790136]<pacopablo>hmm, so why IS it getting called?
[16:18:57.627551]<osimons>so basically the main dispatch says "hands off" anything that anywhere has raised RequestDone
[16:19:08.008806]<osimons>good question...
[16:19:18.061823]<osimons>how is the exception raised?
[16:20:02.547880]<pacopablo>it's raised inside a process_request method
[16:20:14.691509]*pacopablo is adding some additional logging to make sure it's actually getting called.
[16:20:58.307882]<pacopablo>nm, it was my code, it wasn't actually getting called
[16:21:02.098876]<osimons>do that - it does not make sense. perhaps it is by magic?
[16:21:26.732820]<osimons>heh. that explanation sounds more reasonable... :-)
[16:21:34.226064]<Serge>hi guys, it is possible to write/read directly to/from trac.ini file from user crated plugins?
[16:22:11.967361]<osimons>Serge: of course. self.config.get('mysection', 'myoption', 'mydefault')
[16:22:28.852152]<Serge>oh, thanks!
[16:22:35.568405]<osimons>and self.config.set(section, option) + self.config.save()
[16:23:36.315576]<osimons>Serge: recommend you look into the trac.config code, and declare an Option of some sort in your plugin - that way you can just write to a visible variable, and the Option will be documented in TracIni ++
[16:25:23.192807]<osimons>search trac source for "Option(" and you should be provided with many examples - there is also BoolOption, PathOption, ListOption++ variations that handle transformation for you
[16:25:35.125598]<pacopablo>and be available in the IniAdminPlugin
[16:27:20.880686]<Serge>ok, thanks again. now search an Option example and create one of my own
[23:01:52.871582]<aTsgR>hey guys, is there a way to create SVN Tags for releases (and other stuff) within the web interface of trac?
[23:26:32.342314]<Guest19840>hi all
[23:27:13.134684]<Guest19840>i want to send trac notification, but not succeed
[23:29:10.878433]<Guest19840>any help ?