Team Chat Logs

September 20, 2010

2010 8
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:40:04.835060]<evil_twin>t.e.o: Ticket #9622 (Subversion mergeinfo rendering - need to support asterix) updated - <http://trac.edgewall.org/ticket/9622#comment:14> - cboos
[00:40:09.834460]<evil_twin>t.e.o: 9622-non-inheritable-diff-renderer.patch attached to Ticket #9622 - <http://trac.edgewall.org/attachment/ticket/9622/9622-non-inheritable-diff-renderer.patch> - cboos
[00:45:05.813776]<evil_twin>t.e.o: 9622-non-inheritable-diff-renderer.patch attached to Ticket #9622 - <http://trac.edgewall.org/attachment/ticket/9622/9622-non-inheritable-diff-renderer.patch> - cboos
[00:49:53.794429]<Wu>hi guys
[00:50:55.604495]<Wu>I've a problem with a 0.11.x trac. Seems that my WikiStart page is lost
[00:51:08.460506]<Wu>when I try to access it, I get this error:
[00:51:10.017743]<Wu>Genshi UnicodeDecodeError error while rendering template (unknown template location)
[00:51:19.709512]<Wu>all the other pages are working correctly
[00:51:32.438522]<Wu>and I can even get the history, last change, etc of the WikiStart page
[00:51:35.250963]<Wu>but not its contents
[00:51:48.887083]<Wu>anyone familiar with this kind of error?
[00:56:04.567761]<Wu>mmm, If I do a "wiki dump" the page is exported correctly
[01:02:12.572095]<Wu>mmm
[01:02:18.679616]<Wu>seems ?action=edit works too
[01:10:10.688608]<evil_twin>t.e.o: Ticket #9622 (Subversion mergeinfo rendering - need to support asterix) updated - <http://trac.edgewall.org/ticket/9622#comment:15> - osimons
[01:16:26.982157]<badstorm>Hi, can i ask a question? I try to install trac on a centos server, with subversion already configured. But when I run trac-admin it doesn't ask me about the repository info. Any ideas? Thanks a lot.
[01:19:28.823994]<osimons>badstorm: trac 0.12+?
[01:19:55.911651]<badstorm>osimons: yes trac 0.12
[01:20:35.349314]<osimons>Wu: also likely ?format=txt will be fine. something in that content is messing things up, and i'd start by doing debug log + disable plugins:
[01:20:37.062248]<osimons>@logging
[01:20:37.078058]<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.
[01:21:00.408091]<Wu>osimons: I've found it
[01:21:07.340280]<osimons>badstorm: repository is now a separate admin - trac-admin commands and even a pretty webadmin page for adding and managing repositories
[01:21:12.731944]<Wu>I'm using the WikiTicketCalendar macro
[01:21:23.470919]<Wu>and seems there is some problem with one of the lately added tickets
[01:21:45.290730]<Wu>I'm trying to find out which one is causing the trouble
[01:22:44.087894]<badstorm>osimons: thanks. I try right now!
[01:25:13.596161]<evil_twin>t.e.o: Ticket #9622 (Subversion mergeinfo rendering - need to support asterix) updated - <http://trac.edgewall.org/ticket/9622#comment:16> - cboos
[01:30:38.706122]<evelyette>hey
[01:31:10.581568]<evelyette>is it possible to set up svn/git in trac to use it directly ... so that whenever there's a change in the svn/git, trac would update the database accordingly ?
[01:34:50.286392]<moreati>evelyette: Trac displays the latest state of the svn repository already, on each refresh. What do you mean by 'updates the database'?
[01:35:56.128763]<evelyette>moreati, well trac displays it's contents of wiki from mysql database...but I want to be able to access it's svn directly without having to go in web browser to wiki->edit page
[01:37:57.251736]<moreati>evelyette: you mean you want the wiki pages stored in Svn, or that you want Trac users to be able to edit Svn files within the browser?
[01:38:29.339771]<evelyette>I want to be able to access trac's svn via konsole and change it
[01:38:52.444785]<evelyette>is it also possible to store wiki pages in svn ?
[01:38:58.466651]<moreati>evelyette: you can do, just like any other svn repository
[01:39:38.347951]<moreati>evelyette: I have seen a Wiki-in-svn plugin, don't know how mature/up to date it is. Check trac-hacks.org
[01:41:31.386448]<evelyette>moreati, is there any other search engine. I don't like this one: http://trac-hacks.org/search?q=wiki+svn&wiki=on&changeset=on&ticket=on ... it just give's all the irrelevant info which I don't want
[01:41:47.142478]<evelyette>I mean search engine I can set up on my server ... not this trac-hacks search
[01:42:52.216133]<moreati>evelyette: It's the default Trac search engine to my knowledge. Specifically for search trac-haks you could use google with a site:track-hacks.org clause
[01:44:00.968307]<moreati>evelyette: you can also restrict the trac search to just wiki pages with those checkboxes beneath the search box
[01:44:36.048974]<evelyette>moreati, how ?
[01:45:03.220118]<moreati>evelyette: how which one?
[01:45:19.936440]<backslash7>hi yall :)
[01:46:08.496114]<evelyette>moreati, to restrict trac search engine to wiki pages only
[01:46:43.635763]<backslash7>I'm using svn with trac and the plugin AccountManager. How can I allow a user to access the admin-panel and add users without giving that user TRAC_ADMIN permissions? There must be a way to give fine-grained permissions to a user right?
[01:46:43.848607]<idesperado>hi there
[01:46:47.662612]<moreati>Look at the search you just did, there's 3 checkboxes beneath the search box
[01:47:46.288505]<idesperado>how to enable HttpAuthStore and SessionStore simultaneously?
[01:51:09.769095]<backslash7>I need to disable certain functions of the TRAC_ADMIN admin-panel, how would I do that?
[01:53:01.994478]<osimons>backslash7: here is an example, but works as far as enable/disable individual components: trac.admin.web_ui.LoggingAdminPanel = disabled
[01:53:21.015397]<osimons>the components corresponds to source - module + class names to enable/disable
[01:55:24.416985]<backslash7>osimons: Thanks for your answer but I'm not sure I understand what you're talking about. What would your specific example correspond to, "LoggingAdminPanel" ?
[01:55:45.435038]<osimons>backslash7: [components] in trac.ini - sorry for not being clearer
[01:56:45.396097]<osimons>http://trac.edgewall.org/browser/trunk/trac/admin/web_ui.py#L224
[01:58:08.328451]<backslash7>osimons: I knew you were talking about the .ini file. I just don't understand how to compose the parameter name.
[01:58:27.554415]<idesperado>anybody helps me?
[01:59:02.725098]<backslash7>osimons: I think it's clearing up now that I see the source code.
[01:59:10.080209]<backslash7>osimons: Thanks for leading the way :)
[02:05:03.527439]<osimons>backslash7: all trac.* components are default enabled, but you can disable anyone you don't want. typically logging, plugins panel and so on.
[02:06:30.218144]<idesperado>osimons: hello,there...
[02:07:36.967463]<osimons>idesperado: i don't use or know the account-manager plugin, so not able to help you at all. you need to be patient and ask again in a few hours in case others are awake/aware then to help
[02:09:02.827812]<idesperado>osimons: no...I want ask about some other things...about authentication
[02:09:24.994526]<osimons>ask and see then
[02:10:21.081820]<evil_twin>t.e.o: TracDev/Proposals/EvenFinerGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/EvenFinerGrainedPermissions?version=4> - cboos
[02:11:33.581482]<backslash7>osimons: Do you know how to disable "/trac/admin/accounts/config"? I can't seem to find the corresponding component name... It's in the admin panel under "Accounts -> Configuration"
[02:12:07.359568]<backslash7>I tried trac.admin.web_ui.ConfigurationAdminPanel but it's still there
[02:12:50.383337]<osimons>accounts no doubt belong to a third party plugin - full name should be under another namespace. see Plugins admin page where each component is listed
[02:13:00.303026]<idesperado>usually we put usernames and passwords in databases, and when a user logs in, trac's LoginModule(or AccountManager's LoginModule)checks the username-password pair, but now I want to do this auth from a web interface...that's a url that I can visit provided with the username and password, and the url returns me True or False to indicate that the user is legal or not
[02:13:27.454532]<osimons>backslash7: ^^ "Accounts" is non-standard, and it will not be present in the "trac.*" source / namespace
[02:13:27.960609]<backslash7>osimons: Okay thanks a lot!
[02:13:43.444679]<backslash7>osimons: I see that now, makes sense ;)
[02:14:50.243382]<idesperado>osimons: how could I to acchieve this?
[02:15:22.594456]<evil_twin>t.e.o: TracDev/Proposals/EvenFinerGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/EvenFinerGrainedPermissions?version=5> - cboos
[02:15:41.551940]<idesperado>osimons: I know that AccountManagerPlugin has a HttpAuthStore way...but I don't how to do it
[02:16:07.135332]<osimons>idesperado: default trac does not authenticate - it has no idea about users and password. the common configuration is that webserver (like apache) does this by basic auth, digest auth, ldap or whatever you want at frontend
[02:16:56.888213]<osimons>if you want form auth, then account-manager is the way to go. which i don't know much about...
[02:18:42.373563]<idesperado>osimons: trac.web.auth.loginmodule is about users login
[02:19:03.336352]<backslash7>osimons: So I found the component name, but it's linked to two menu-entries at once and I'd like to hide one and show the other. Does that require some source-code hacking then? Or can I somehow tell the Template-Engine to not render that link and catch it with a rewrite-rule? Both hacky...
[02:20:19.193464]<osimons>backslash7: hiding the menu != serving requests. you give the illusion of it being disable, but anyone that hits the url directly will be served the page. it is a very shallow form of security if that is what you want.
[02:21:19.914591]<backslash7>osimons: That's why I said apache rewrite-rule as well. Or won't that be enough either?
[02:21:43.621040]<backslash7>osimons: I'd just redirect requests to that component-thingy to the trac admin index page or something
[02:21:43.811785]<osimons>idesperado: yes. and no. it is about logging in on the trac side wrt sessions and so on. but the user is already authenticated by web server, so that req.authname is populated. account manager overrides the trac code to also put up a form if user is anonymous
[02:22:23.264163]<osimons>backslash7: sure. that would work i suppose. case-insensitive and just drop/redirect the request
[02:23:19.518921]<osimons>backslash7: the long term solution is bugging the plugin author to disentangle the two separate features into separate components...
[02:23:31.995477]*osimons hopes the plugin is not his... :-)
[02:23:43.722908]<backslash7>osimons: Okay. I'll check out their source first to see why they don't supply -
[02:23:51.280129]<backslash7>osimons: haha yeah I was just about to say the same thing
[02:24:24.174174]<backslash7>osimons: It's AccountManager - seems to be pretty widely-used so I don't understand how I'm the first one to complain about this...
[02:24:53.683476]<osimons>checked open tickets for the plugin?
[02:25:08.384807]<backslash7>osimons: I'm on it
[02:28:04.558229]<backslash7>osimons: Well I see the problem in the source, he simly shows both links if permission TRAC_ADMIN is set.
[02:28:33.389811]<backslash7>osimons: Would it be a big deal to just add my own permission ACCTMGR_LINK1 and ACCTMGR_LINK2 and check them one-by-one?
[02:28:47.592502]<backslash7>osimons: Sorry I'm really new to Trac
[02:29:38.436713]<osimons>backslash7: alternative 2 is to make your own plugin that subclasses the acct-mgr one, and just overwrites the match_request() as you would like it, disable the acct_mgr version and enable your own...
[02:32:33.786337]<backslash7>osimons: mhm okay, I think I'll just do a quick hack for now and might write a simple plugin using the AccountManager plugin later.
[02:32:45.910067]<backslash7>osimons: Thanks a lot for your help!
[02:43:38.717919]<backslash7>osimons: Oh well I just found a ticket requesting the same feature as I did with a patch doing the same thing I was about to do. Oh well I'll go with the patch then :P It's just 3 lines but still
[03:11:38.414052]<chrisw>hi all, what actual python package do I need to get installed to haev subversion and trac talk to each other?
[03:13:29.568767]<osimons>@wiki TracSubversion
[03:13:29.577294]<evil_twin>http://trac.edgewall.org/wiki/TracSubversion
[03:13:36.772483]<osimons>chrisw: ^^ for you
[03:14:23.925079]<backslash7>osimons: Sorry to bug you once again but I found a patch using IPermissionRequestor to add ACCTMGR_{USERS,CONFIG}_ADMIN but how do I add those permissions to a user now? trac-admin $ENV permission add admin ACCTMGR_USERS_ADMIN says 'TracError: ACCTMGR_USERS_ADMIN is not a valid action.'
[03:15:04.684402]<chrisw>osimons: yeah, read it, it doesnt' appear to actualyl say *what library* is required
[03:15:21.695101]<osimons>chrisw: "python-subversion" is the usual name
[03:15:28.713909]<chrisw>is that its name on pypi?
[03:15:55.243241]<chrisw>apparently not :-/
[03:16:02.991266]<chrisw>so, where is this mythical package?
[03:16:19.729414]<osimons>chrisw: what os?
[03:16:30.512771]<chrisw>why does it matter?
[03:16:40.391328]<chrisw>it's a python package name, right?
[03:16:53.766961]<osimons>chrisw: becuase the bindings is an addon to subversion itself, and you usually get it from same location
[03:16:56.648129]<chrisw>the answer is "windows, ubuntu or mac os"
[03:16:59.826417]<osimons>- download and/or package manager
[03:17:02.603241]<chrisw>oh, right
[03:17:03.642697]<chrisw>:-/
[03:17:35.511125]<moreati>chrisw: on debian the .deb is called python-subversion
[03:17:51.417591]<chrisw>what if I haev a source install of python, on debian?
[03:18:01.945078]<chrisw>installing python-subversion ain't goign to help since i'm nto using the syetm python
[03:18:04.820360]<moreati>wait on Ubuntu it's called that, they might have fiddled
[03:18:42.996518]<tasslehoff>Hi. I'm gonna do the initial setup of trac on an Ubuntu 10.04 server with an svn repository. Any reason not to use the internal webserver?
[03:18:47.491226]<moreati>chrisw: then you want svn itself, and probably an option --with-python=/your/python for ./configure
[03:18:56.949858]<chrisw>god
[03:18:59.972482]<chrisw>what a nightmare
[03:19:22.469811]<moreati>chrisw: of course if you use the provided python, all that is done for you
[03:20:38.852031]<chrisw>yeah, and the provided python is too old
[03:20:48.743033]<chrisw>still, I guess I can use the system python just for svn ;-)
[03:21:17.510822]<moreati>chrisw: then upgrade the os, otherwise afaik tough
[03:21:23.452425]<osimons>tasslehoff: if you are going to configure apache to serve subversion, you may as well configure it to serve trac using mod_wsgi - easier management usually (depending on what you have and know of course)
[03:21:50.990484]<mintsauce>Trying to modify tickets via TicketImporter - but I'm getting a "IntegrityError: columns type, name are not unique" error. Preview looks fine (preview always lies!)
[03:21:57.182772]<osimons>chrisw: no you can't. python-subversion bindings need to be compiled for same version that you use.
[03:22:23.734886]<chrisw>osimons: sorry, meant use the system python just for trac
[03:22:31.226178]<mintsauce>In fact, ticket importer lies about a lot of things.
[03:22:44.255278]*mintsauce slaps TicketImporter about a bit
[03:23:38.864334]<osimons>chrisw: ah. no probs then. using apache, your custom python will of course also extend to any mod_wsgi/mod_python you install there
[03:24:35.171543]<chrisw>yeah, will sue system ones there too :-P
[03:24:56.549962]<osimons>- using system provided packages just makes things easier. depending on distro of course...
[03:25:01.344322]<chrisw>so, I hope it's just the first time I access trac one I've set up svn that it's painfully slow?
[03:27:00.420942]<tasslehoff>osimons: and by apache serving subversion, you mean getting http access to svn?
[03:27:23.674248]<osimons>tasslehoff: yes.
[03:27:29.126731]<osimons>chrisw: as they say, that all depends...
[03:28:11.329674]<chrisw>seems to be
[03:28:20.957121]<chrisw>I take it there's some caching going on there?
[03:28:45.545353]<chrisw>hmm, strang that there's no "getting started" guide
[03:28:52.898893]<Marquel>morning.... it seems i've lost attachments in the wiki with 0.12 - where can i find them?
[03:28:59.355445]<chrisw>I now have it up and runnign but I'm left wodnerign how to set up a user I can log in with?
[03:29:07.849568]<Marquel>(and where is the attach-button?)
[03:29:46.045149]<chrisw>(or, better yet, how I can set up trac via wod_wsgi to use Apache's remote users to allow loging)
[03:29:56.096781]<chrisw>sicne we use likewise open for authentication
[03:30:08.632697]<chrisw>then I guess I need to learn how I can set up who can do what and where?
[03:30:18.548379]<tasslehoff>osimons: ok. we don't need that. does trac talk to the svn-repo using the svn protocol?
[03:30:48.603719]<osimons>tasslehoff: no, via python-subversion bindings. ask chrisw :-)
[03:32:13.936666]<tasslehoff>chrisw: ^^
[03:33:03.583422]<tasslehoff>I guess what I really wonder is what kind of permissions + protocols I need to support to let trac index my svnrepo
[03:33:35.257666]<osimons>tasslehoff: none. the bindings read the repos straight from disk. remote repos (via protocols) is not supported.
[03:34:03.264827]<osimons>@wiki TracSubversion
[03:34:03.274926]<evil_twin>http://trac.edgewall.org/wiki/TracSubversion
[03:36:07.056948]<tasslehoff>osimons: ah. good.
[04:09:49.826677]<osimons>backslash7: dunno. i don't know the acct_mgr plugin - don't use it, don't know the code, or any of its patches.
[04:34:17.977655]<backslash7>osimons: My question was not acct_mgr specific, I asked how I could assign custom permissions aka. actions to a user...
[04:34:36.125261]<osimons>@TracPermissions
[04:34:43.532483]<osimons>@wiki TracPermissions
[04:34:43.540693]<evil_twin>http://trac.edgewall.org/wiki/TracPermissions
[04:34:51.420276]<osimons>@TracFineGrainedPermissions
[04:36:44.173275]<osimons>backslash7: also, http://trac.edgewall.org/browser/trunk/sample-plugins/permissions/vulnerability_tickets.py is a sample plugin that defines a new permission + a policy that checks access for the action: http://trac.edgewall.org/browser/trunk/sample-plugins/permissions/vulnerability_tickets.py
[05:36:15.849638]<EdwardIII>hey
[05:37:07.696967]<EdwardIII>how can i get trac to use mod_rewrite friendly internal urls? at the moment it's going to /cgi-bin/trac.fcgi/
[05:37:16.293554]<EdwardIII>but i want it to be /rt/
[05:37:27.455410]<EdwardIII>scoured hte .ini but no luck
[05:45:19.712240]<EdwardIII>i've set use_base_url_for_redirect = true, but that doesn't seem to change anything either
[05:45:23.525618]<EdwardIII>i'm using the fcgi dispatcher
[05:46:22.699362]<EdwardIII>i've specified base_url and url in trac.ini
[05:54:18.181190]<osimons>EdwardIII: have a look at this: https://coderanger.net/~coderanger/tracdoc/install/fastcgi.html
[05:54:49.786695]<osimons>and perhaps some more details in here: http://trac.edgewall.org/wiki/TracFastCgi
[05:56:20.558702]<EdwardIII>osimons, thanks! i've checked those out, but the problem i'm having is that i want to get rid of the 'trac.cfgi' bit in the url, i want it to be just /rt/
[05:56:33.179846]<EdwardIII>however trac creates full, absolute urls which stops this from working?
[05:57:05.430080]<osimons>it takes what it gets most likely - do you use a scriptalias?
[05:57:11.652698]<EdwardIII>yes
[05:57:16.365310]<EdwardIII>so maybe this might just work? ScriptAlias /trac /path/to/www/trac/cgi-bin/trac.fcgi/
[05:57:50.248483]<osimons>yes
[05:58:47.789121]<EdwardIII>i didn't realise trac worked out it's path automatically from the script alias
[06:00:12.165237]<EdwardIII>oh wicked!
[06:02:37.558874]<osimons>EdwardIII: and remove your trac.ini settings - better to trust the default received by trac and only use custom settings if defaults aren't correct
[06:02:37.750183]<EdwardIII>now i can go ahead and serve the static content outside of fcgi and we're cooking
[06:02:46.520781]<EdwardIII>thanks very much osimons
[06:02:53.183688]<EdwardIII>osimons++
[06:06:02.129541]<evil_twin>t.e.o: Ticket #9632 (Testing the CCG parser fails) created - <http://trac.edgewall.org/ticket/9632> - anonymous
[06:09:24.945344]<WiK>morning
[06:18:26.322782]<EdwardIII>'lo WiK
[06:19:02.080874]<WiK>how goes it EdwardIII ?
[06:19:59.935902]<EdwardIII>not bad
[06:20:12.543387]<WiK>im tring to troubleshoot a track plugin that tosses an error when i try and do a trac-admnin . upgrade
[06:20:44.468646]<WiK>telling me "AttributeError: 'TracAssetsPlugin' object has no attribute 'requires'
[06:20:47.897482]<WiK>kinda weird
[06:21:10.107970]<EdwardIII>if i'm using mod_rewrite plus that ScriptAlias how would i go about adding rewrite rules to serve up static files? this seems to get captured because of the ScriptAlias for rt/: RewriteRule ^rt/chrome/common(.*)$ /home/edward/public_html/htdocs$1 [L]
[06:22:33.059538]<WiK>not sure, sounds like a question for #apache
[06:23:28.743585]<EdwardIII>WiK, i thought that paticular setup might be common among trac users, wik?
[06:23:55.266575]<WiK>I don't use that kind of setup, i dont use any rewrite rules in my trac setup
[06:24:16.443301]<WiK>doesnt mean im doing it the "right" way either tho :)
[06:24:27.594031]<EdwardIII>WiK, mmmrm - you use cgi/fastcgi?
[06:25:21.653257]<WiK>no
[06:25:39.605139]<WiK>nomy virtualhost is rather simple
[06:31:06.022310]<evil_twin>t.e.o: Ticket #9632 (Testing the CCG parser fails) closed - <http://trac.edgewall.org/ticket/9632#comment:1> - cboos
[06:44:01.157653]<osimons>EdwardIII: you just want to rewrite the trac resources, not from plugins? and if you only have one site, rewriting site htdocs is also possible
[06:44:46.158485]<EdwardIII>osimons, that static ones liek images, yes
[06:45:01.565303]<osimons>you want to put resources in your documentroot outside /rt path, so that when you rewrite it does not get caught
[06:47:29.549334]<osimons>EdwardIII: 1) trac-admin /path/to/env deploy /deploy/here, 2) move chrome content to apache documentroot as /trac-chrome or similar, 3, use a rewrite like this: RewriteRule ^/pt/chrome/([^/]+)/(.*) /trac-chrome/$1/$2 [PT] before your handler
[07:01:06.530577]<backslash7>Hi there. I have been trying to figure this out for hours, so any help is appreciated! I am running SVN and Apache with Trac and the AccountManager plugin and applied this patch: 'http://trac-hacks.org/attachment/ticket/7700/accountmanagerplugin-trunk-r8942-add_config_and_users_admin_perm.patch' to have more detailed permissions for the plugin. But when I do a 'trac-admin $ENV permission add admin ACCTMGR_USER_ADMIN' all I get is this erro
[07:03:05.543263]<backslash7>The patch makes use of the IPermissionRequestor class which I couldn't really find proper documentation for and I really don't know what might be wrong here....
[07:21:15.785741]<evil_twin>t.e.o: Ticket #5488 (Translation of Trac to Turkish/Türkçe [tr_TR]) updated - <http://trac.edgewall.org/ticket/5488#comment:28> - samet
[07:21:20.786192]<evil_twin>t.e.o: Ticket #5488 (Translation of Trac to Turkish/Türkçe [tr_TR]) updated - <http://trac.edgewall.org/ticket/5488#comment:29> - cboos
[07:28:27.880171]<WiK>everyone have exp deveoping trac plugins? I've writen one using trachours as an example (after reading all of the tuts and documentation) and everything seems to work fine until I added the sections that add new database tables
[07:28:58.940287]<WiK>after adding the plugin i get the normal "this needs upgraded run trac-admin . upgrade"
[07:29:34.046932]<WiK>but once that command is run it crashes with "AttributeError: 'tracassetsplugin' object has no attribute 'requires'
[07:29:51.262053]<WiK>i can't seem to track down any info in the logs or on the wiki
[07:31:05.926299]<Uresu>Hi all, my Trac install is *very* slow. I have used strace to see what it's waiting for, but it's not waiting for anything, it's flying through files! It works, but it seems very odd that it be so 'busy'. And ideas?!
[07:33:31.166597]<Uresu>WiK: That sounds more like a python cosing error that something trac specific
[07:33:37.330147]<Uresu>coding *
[07:34:36.120428]<Uresu>Pastebin the class where you define tracassetsplugin
[07:34:44.909538]<WiK>k, one sec
[07:36:50.554177]<WiK>http://nopaste.dk/p2450
[07:40:07.680516]<schnatta>hey
[07:40:42.037164]<WiK>Uresu: i think i found it
[07:40:58.005533]<schnatta>just one little question. im gettin a request for a user-dropdownlist in the ticketscreen. can someone tell me which permission this is?
[07:40:59.586603]<WiK>im missing a def requires(self): in this file
[07:42:51.359190]<Uresu>try it
[07:43:51.358791]<WiK>i did and now got different errors, so im on the right track, and these errors i know where they are and how to fix them
[07:43:58.577476]<Uresu>cool
[07:44:15.003811]<WiK>thanks for looking at my class, its greatly appricated
[07:44:40.399471]<Uresu>schnatta: You mean the "re-assign to" box?
[07:44:52.351897]<schnatta>yes or the assign to box
[07:45:15.751429]<schnatta>im just setting it up. i never used trac before
[07:46:46.366516]<Uresu>schnatta: http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList
[07:48:15.080109]<el_cubano>I am trying to get trac up and running on my Mac OS X machine and I am getting the 'Unsupported version control system "svn"' error
[07:48:27.559432]<el_cubano>I followed the checklist here: http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs
[07:48:35.050021]<schnatta>thanks!
[07:48:36.969103]<el_cubano>Everything seems to be in order, but trac still gives the error
[07:49:15.051281]<el_cubano>I am using subversion, python26, and subversion-python26bindings from macports
[07:49:27.155815]<el_cubano>and I am running tracd from the command line
[07:49:35.242448]<el_cubano>Can anyone suggest what might be wrong?
[08:11:24.571908]<evil_twin>t.e.o: TracBackup edited - <http://trac.edgewall.org/wiki/TracBackup?version=25> - Bethany Taylor
[08:16:25.540257]<evil_twin>t.e.o: TracUpgrade edited - <http://trac.edgewall.org/wiki/TracUpgrade?version=81> - John Edwards
[08:16:30.539132]<evil_twin>t.e.o: TracInstall edited - <http://trac.edgewall.org/wiki/TracInstall?version=318> - Web philosopher
[08:34:05.284948]<moreati>el_cubano: el_cubanofrom the sam working directory, and with the same interpreter that tracd is using; can you import svn.core and what does svn.core.SVN_VER_MAJOR return
[09:24:04.240054]<shesek>Can I link to changeset range with a different anchor, something like [100:200/foo/bar some anchor here]?
[09:54:54.924424]<hackeron>hey, how do I delete all the documentation trac adds to the wiki? - every time I search for something, I get a bunch of how to use trac pages which I can get from the trac website...
[10:50:47.451174]<lvk>hi. i have a problem wiith accountmanager plugin. after registering a new user it says that it sent a verification email - but it doesnt even try to contact smtp server. and there is nothing in logs
[10:52:35.814266]<doki_pen>lvk: do you happen to be using announcerplugin?
[10:52:49.667412]<lvk>doki_pen: yes
[10:53:06.096996]<doki_pen>lvk: I have experimental support in trunk
[10:53:19.099635]<doki_pen>lvk: are you using trunk of announcerplugin?
[10:53:36.248784]<lvk>both plugins and trac are quite old
[10:53:49.015491]<doki_pen>lvk: the problem is, accountmanager uses the build in trac notificaitons to do it's work
[10:53:56.487659]<doki_pen>lvk: so it won't work with notifications disabled
[10:54:27.107674]<doki_pen>lvk: there may be a way to enable notifications, but set everything to false so it doesn't actually send notifications
[10:54:33.604836]<lvk>doki_pen: actually, i have to fix it for just one user. maybe i should just do something with sqlite manually?
[10:54:50.749803]<doki_pen>lvk: perhaps
[10:55:13.079345]<lvk>doki_pen: any ideas, what should i look at?
[10:55:17.524142]<thijstriemstra>i have a wiki macro and want to figure out the url of the page the wiki macro is embedded in, eg. http://localhost:8080/wiki/WikiStart. How can I get a reference to the absolute url in a macro?
[10:55:41.064286]<thijstriemstra>I'm currently using "href = self.env.project_url + get_resource_url(self.env, formatter.resource, formatter.href)" but it seems a little longwinded, isn't there a faster way?
[10:56:02.032104]<doki_pen>lvk: looks like it uses session_attributes table
[10:56:35.305048]<doki_pen>lvk: select * from session_attribute where sid = 'username'
[10:57:53.883848]<doki_pen>thijstriemstra: abs_href
[10:58:13.448978]<thijstriemstra>doki_pen: is that in self.env?
[10:58:37.606328]<thijstriemstra>let me check, thanks btw :)
[10:58:38.364318]<doki_pen>thijstriemstra: yes
[10:58:40.845839]<thijstriemstra>cheer
[10:58:41.456128]<thijstriemstra>s
[11:02:40.970009]<lvk>doki_pen: yep. select value from session_attribute where sid='USERNAME' and name='email_verification_token';
[11:02:47.214000]<lvk>doki_pen: thanks!
[11:13:03.925417]<thijstriemstra>self.env.abs_href returns a Href instance, which contains a base property that has the 'http://localhost:8080' url but not the 'wiki/WikiStart' part
[11:14:00.377101]<thijstriemstra>href = self.env.abs_href.base + get_resource_url(self.env, formatter.resource, formatter.href) # gives the right url
[11:14:02.272131]<thijstriemstra>oh well
[11:21:56.025297]<evil_twin>t.e.o: Ticket #9626 (Reproducible svn assertion that crashes server (Apache/standalone tracd)) updated - <http://trac.edgewall.org/ticket/9626#comment:2> - dfraser
[12:02:37.150791]<overlordofmu>At work we are running Trac on a windows machine. I run linux on my desktop and use firefox to connect.
[12:03:21.070174]<overlordofmu>ONLY on Linux there is a delay between each page being served. About 10 seconds each time I click a link.
[12:04:41.461403]<overlordofmu>Capturing the network data and analizing with wireshark (or whatever it is called these days) reveals that the delay is a timeout for the windows hostname query to my host machine.
[12:05:04.814710]<overlordofmu>Which of course does not respond to the NetBIOS hostname query as it is not a windows box.
[12:05:42.292974]<overlordofmu>Anyone know how to change this behavior so Trac does ask for the NetBIOS hostname and work so slowly?
[12:05:50.194603]<overlordofmu>does not*
[12:06:46.219437]<overlordofmu>Trac wants my windows hostname (and I don't have one) and waits for a timeout before continue on EVERY page. Is there a fix?
[12:10:30.404814]<overlordofmu>http://trac.edgewall.org/ticket/3481
[12:10:50.245913]<overlordofmu>I think that is the start of the bread crumb trail. Looking into this further.
[12:12:05.743543]<evil_twin>t.e.o: Ticket #9626 (Reproducible svn assertion that crashes server (Apache/standalone tracd)) updated - <http://trac.edgewall.org/ticket/9626#comment:3> - cboos
[12:42:49.351028]<osimons>thijstriemstra: no formatter.abs_href or even formatter.req.abs_href perhaps?
[13:03:50.707764]<doki_pen>thijstriemstra: hi, did you try this?
[13:04:01.094446]<doki_pen>thijstriemstra: self.env.abs_href.wiki('WikiStart')
[13:04:06.436138]<doki_pen>thijstriemstra: I think that is how it works
[13:04:08.949915]<thijstriemstra>hey guys, let me try
[13:04:31.850171]<thijstriemstra>i cant use a wiki() cause it also needs to work on tickets, etc
[13:04:43.151355]<thijstriemstra>but i see what you mean
[13:05:08.336947]<doki_pen>thijstriemstra: what about self.env.abs_href('wiki', 'WikiStart')
[13:14:05.557581]<thijstriemstra>osimons: 'Formatter' object has no attribute 'abs_href', and formatter.req.abs_href returns:
[13:14:11.010243]<thijstriemstra>http://127.0.0.1:8080/__unicode__
[13:14:26.933105]<thijstriemstra>forgot about that one, seems a bug that __unicode__
[13:14:30.050406]<thijstriemstra>?
[13:14:50.207306]<thijstriemstra>its a fairly old trac (0.11.5) but still
[13:15:16.312758]<thijstriemstra>guess ill try to reproduce it with 0.12
[13:16:05.928439]<osimons>thijstriemstra: passing in formatter.req.abs_href as your href for getting the url should work, i believe.
[13:16:50.805261]<osimons>get_resource_url(self.env, formatter.resource, formatter.req.abs_href)
[13:17:11.988689]<thijstriemstra>sweet! osimons that worked, thx
[13:18:08.368346]<thijstriemstra>[[LikeButton]] # adds a facebook like button for the current trac resource ;)
[13:18:43.465332]<el_cubano>moreati: http://paste.debian.net/90648/
[13:42:23.264114]<evil_twin>t.e.o: Ticket #9626 (Reproducible svn assertion that crashes server (Apache/standalone tracd)) updated - <http://trac.edgewall.org/ticket/9626#comment:4> - rblank
[13:51:43.070457]<moreati>el_cubano: what does which python2.6 say, and what is the first line of the tracd you're running?
[13:56:36.302540]<el_cubano>moreati: /opt/local/bin/python2.6
[13:56:55.389618]<el_cubano>moreati: #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
[13:57:16.038840]<el_cubano>I installed using easy_install-2.6 (also in /opt/local/bin
[14:19:51.861437]<moreati>el_cubano: well run the python interpreter under Frameworks and try the sv import
[14:20:19.948930]<moreati>*svn
[14:21:54.925176]<el_cubano>moreati: /opt/local/bin/python2.6 is a symlink to the Frameworks
[14:22:04.144356]<el_cubano>However, I ran it again just to be sure, and the result is the same
[14:22:16.166213]<el_cubano>The import works and the version number returned is identical
[14:22:51.048946]<moreati>el_cubano: Then I'm afraid I'm stumped
[14:26:30.873386]<el_cubano>moreati: Me too. That is why I was asking for help here :-/
[23:19:06.285774]<evil_twin>t.e.o: RedMine edited - <http://trac.edgewall.org/wiki/RedMine?version=3> - not-a-spammer