Team Chat Logs

July 29, 2010

2010 6
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:02:59.566075]<gbot83>t.e.o: Ticket #9529 (UnicodeEncodeError: ('ascii', u'repo-\u200bsqliteconnector', 5, 6, ...) closed - <http://trac.edgewall.org/ticket/9529#comment:6> - cboos
[00:28:02.565555]<gbot83>t.e.o: Ticket #616 (escape character in the wiki) updated - <http://trac.edgewall.org/ticket/616#comment:17> - rblank
[01:53:27.276124]<DimmuR>Hello everyone. I've done rebase in my git repository and now trac can't synchronize (since there are few changesets that were deleted) - how can i correct it ("reset" changeset list?)
[01:57:31.318945]<DimmuR>ok resync worked fine
[02:14:25.391706]<hungnv>is there anyway to change user/password when I use trac with ldap?
[02:23:25.006649]<gbot83>t.e.o: TracFineGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracFineGrainedPermissions?version=19> - dpc@…
[02:38:27.901712]<gbot83>t.e.o: Ticket #9532 (Problem while compiling IPOPT: cannot find random generator) created - <http://trac.edgewall.org/ticket/9532> - brunem@…
[02:38:32.901361]<gbot83>t.e.o: config.log attached to Ticket #9532 - <http://trac.edgewall.org/attachment/ticket/9532/config.log> - brunem@…
[03:03:32.774550]<gbot83>t.e.o: Ticket #9532 (Problem while compiling IPOPT: cannot find random generator) closed - <http://trac.edgewall.org/ticket/9532#comment:1> - rblank
[03:03:37.773284]<gbot83>t.e.o: TracFineGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracFineGrainedPermissions?version=20> - dpc@…
[03:20:30.689271]<dth_ntb_>hi there, i try to find a posibility to view MS-Word Document's in TRAC, is there any solution?
[03:48:39.778441]<gbot83>t.e.o: TracFineGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracFineGrainedPermissions?version=21> - dpc@…
[04:06:23.195072]<brubelsabs>Hi, I want to hack a plugin, (WIKI-Formater called LatexMacro) and there is a expand_macro method in its python file returning: '<img ALIGN=ABSMIDDLE src="%s/%s.png"/></a>' % (images_url, filename). But the ALIGN attribute doesn't show up in the rendered code? also I miss </a>. I am using trac 0.12 on a ubuntu 10.04 machine.
[04:17:48.145828]<hasienda>brubelsabs: I recently changed WikiTicketCalendarMacro to use Genshi for HTML construction (see: http://genshi.edgewall.org/wiki/ApiDocs/genshi.builder)
[04:18:09.767741]<hasienda>brubelsabs: that worked for me, YMMV
[04:21:46.429658]<yehi>hello all. I have a problem on trac, maybe you can help me
[04:22:06.512027]<brubelsabs>hasienda: ok basically I should use tag.img(....) to return?
[04:23:07.808859]<yehi>I'm trying to browse SVN files throgh Trac but I cant see the Browse Source tab
[04:25:21.984509]<brubelsabs>yehi, check if you have the permission to browse the source via trac-admin and "permission list"
[04:25:46.019548]<brubelsabs>yehi, maybe you need to authenticate first...
[04:26:30.676572]<yehi>I added the permition "Browse View" in admin pannel
[04:27:28.452110]<yehi>but i still cant see this tab
[04:28:20.744784]<yehi>what do you mean: authenticate ?
[04:32:22.935106]<brubelsabs>yehi, to whom did you add this permission?
[04:33:06.863512]<brubelsabs>if you added this permission to foobar, but not logged in as foobar, this will not work unless it was added to anonymous.
[04:33:24.169209]<yehi>I created a user and i gave him permitions : tracAdmin, BrowseView
[04:34:24.105284]<yehi>and it also added auto to anonymous
[04:39:28.685261]<brubelsabs>yehi: check if you have TRAC_ADMIN and not tracAdmin as permission set.
[04:39:59.909376]<brubelsabs>same for BROWSER_VIEW
[04:41:11.234587]<brubelsabs>hasienda: how do I use genshi's tag instance to produe an alignment inside the tag? I tried: tag.img( ALIGN="ABSMIDDLE" ) but this will put '"' around ABSMIDDLE which is not what I want to..
[04:47:19.338498]<yehi>I'm sorry, I need to write things complete.. I'm installing Trac on my PC, but I dont know how to connect Trac to SVN
[04:49:59.922773]<yehi>I added users and gave everyone BROWSER_VIEW . I also added the repository properties on the ADMIN pannel: Repositories
[04:50:44.661348]<yehi>so I dont know ho to connect Trac to SVN for the first time
[04:53:43.483885]<brubelsabs>check this out: http://wiki.kartbuilding.net/index.php/Trac_and_SVN
[04:56:50.219269]<brubelsabs>hasienda: thanks, got it working :D
[04:57:05.160758]<brubelsabs>cu
[05:22:46.228372]<yehi>trublesabs, I'm working with windows and this site is Debian Linux but I'll try understand what to do.. thanks for your help!
[05:39:22.824957]<teemu>Hi. Does anyone here use GitPlugin?
[05:40:32.111470]<hasienda>teemu: not me, sorry
[05:40:44.453400]<slam>teemu: yes, i do
[05:41:32.458170]<teemu>Well just in case someone would know. I'm trying the 0.12 version of it but I'm getting errors when installing it. I've updated previous bug created about it http://trac-hacks.org/ticket/7268
[05:43:42.208561]<Pyretic>hi, does anyone have a nice webinterface to administrate a uhm multiple trac/svn instances ?
[05:44:19.958012]<Pyretic>sort of like a sourceforge type setup
[07:11:13.973584]<wotwot>Pyretic, http://www.kforgeproject.com/
[09:24:37.368859]<gbot83>t.e.o: Ticket #616 (escape character in the wiki) updated - <http://trac.edgewall.org/ticket/616#comment:18> - cboos
[09:29:38.333083]<gbot83>t.e.o: Ticket #9525 (AttributeError: 'NoneType' object has no attribute 'keys') updated - <http://trac.edgewall.org/ticket/9525#comment:2> - anonymous
[11:17:22.705771]<bonhoffer>i have 116 results for a report, but can only see 1-100, if i click on next i get: Report execution failed: Dynamic variable '$ASSIGNED' not defined.
[11:18:56.994550]<DanC>I want to load each line of a spreadsheet into trac as a ticket... let's see... no, trac-admin doesn't have a ticket_add thingy...
[11:19:48.634399]*DanC finds http://trac-hacks.org/wiki/XmlRpcPlugin ...
[11:23:00.726497]<bonhoffer>is there any way not to limit trac reports?
[11:23:06.774286]<bonhoffer>i want all 116 reports
[11:26:07.106991]<bonhoffer>is there a way to remove pagination
[11:45:01.756975]<gbot83>t.e.o: Ticket #9485 (repository_sync_per_request seems to be ignored with multiple hg ...) reopened - <http://trac.edgewall.org/ticket/9485#comment:2> - awagner@…
[11:52:11.435863]<hasienda>DanC: http://trac-hacks.org/wiki/TicketImportPlugin is what I sucessfully used for that
[11:52:33.807791]<DanC>oh... good... cuz I'm losing with xmlrpc...
[11:53:54.265250]<hasienda>bonhoffer: my [report] config section in trac.ini reads by default (unchanged values)
[11:54:09.140617]<hasienda>bonhoffer: items_per_page = 100
[11:54:38.421018]<hasienda>bonhoffer: guess, this is what you need to change, right?
[11:54:55.479556]<hasienda>bonhoffer: BTW, the same applies to [query]
[12:06:25.735114]<DanC>hasienda, I can't get TicketImportPlugin to show up in "About Trac". any clues?
[12:07:45.979204]<DanC>I put TicketImport-0.8-py2.6.egg in my plugins directory and added the line in [components]. is there something else I should do?
[12:08:54.209351]<hasienda>DanC: I think there is a special permission, did you log in as user with TRAC_ADMIN perms and grant that as needed?
[12:10:50.984536]<DanC>> trac-admin . permission add connolly IMPORT_EXECUTE
[12:10:51.160770]<DanC>TracError: IMPORT_EXECUTE is not a valid action.
[12:11:34.163069]<DanC>the special permission doesn't show up because the plugin isn't loading at all. is it really talm_importer.importer.* = enabled ?
[12:12:52.672063]<DanC>oh frap. my time is about up
[12:13:29.673994]<hasienda>DanC: just digging into an env, where I have it installed
[12:13:42.377039]<hasienda>DanC: 0.7c here, BTW
[12:15:00.299221]<hasienda>DanC: positiv: talm_importer.importer.* is dispayed here too, but at any rate, did you restart your server after install
[12:15:02.271344]<hasienda>?
[12:15:22.389154]<DanC>yes
[12:15:34.577731]<DanC>several times now
[12:15:50.696683]<hasienda>DanC: than you should enable logging ...
[12:15:53.686486]<hasienda>@logging
[12:15:53.705113]<gbot83>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.
[12:16:35.839981]<DanC>what log level... debug? info?
[12:16:58.777305]*hasienda ah, no evil_twin tonight, bad luck.
[12:17:56.092063]<hasienda>DanC: wait, the bot, who is meant to spit it out in demand, is apparently offline now, have find it myself
[12:18:13.785569]<bonhoffer>hasienda: i don't have a report section in trac.ini
[12:18:16.878239]<bonhoffer>should i just add it
[12:18:40.027115]<hasienda>hasienda: read here: http://trac.edgewall.org/wiki/TracLogging
[12:19:21.599969]<bonhoffer>hasienda: so do i need to restart things to get the ini to take?
[12:19:27.111172]<hasienda>bonhoffer: definitely yes, because, if it's not there, the default values are used internally anyway
[12:19:40.900436]<hasienda>bonhoffer: wait, restart NO
[12:20:09.738443]<hasienda>bonhoffer: trac can detect any config change and reload automagicly
[12:20:43.084307]<hasienda>bonhoffer: only need to restart after add/remove a plugin
[12:20:45.655023]<bonhoffer>got it -- it works!
[12:20:46.866597]<bonhoffer>thanks
[12:21:01.141604]<hasienda>bonhoffer: you're welcome
[12:21:45.032876]<hasienda>DanC: did wrong post) read here: http://trac.edgewall.org/wiki/TracLogging
[12:22:08.889134]*DanC tries 0.7c
[12:23:20.491393]*DanC wonders if something is up with my egg cache
[12:24:40.287452]<DanC>the plugin doesn't make it to the egg cache. hmm.
[12:30:08.879494]<gbot83>t.e.o: Ticket #9485 (repository_sync_per_request seems to be ignored with multiple hg ...) updated - <http://trac.edgewall.org/ticket/9485#comment:3> - cboos
[12:30:34.015416]*DanC is *extremely* confused
[12:32:16.532238]<DanC>ok. checked out from svn and installed system-wide. now I'm getting somewhere.
[12:35:08.908920]<gbot83>t.e.o: Ticket #9485 (repository_sync_per_request seems to be ignored with multiple hg ...) updated - <http://trac.edgewall.org/ticket/9485#comment:4> - rblank
[13:47:46.082135]<DanC>hmm... how do I wrap sys.stdout in something that can .write() unicode strings?
[13:49:31.894074]*DanC finds http://docs.python.org/library/codecs.html#codecs.StreamWriter
[13:51:21.321015]<DanC>grumble.
[13:51:34.176230]<DanC> out.writerow(Ticket(component, summary, description, comment))
[13:51:34.349283]<DanC>UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 105: ordinal not in range(128)
[13:51:43.529344]<DanC>that's after:
[13:51:45.342434]<DanC> out8 = codecs.lookup('utf-8').streamwriter(sys.stdout)
[13:51:45.589969]<DanC> out = csv.writer(out8
[13:53:38.655558]<cmc>I hate that error
[13:54:08.467664]<cmc>happens a lot when sending emails; let me see if I can find the fix
[13:55:23.527005]<gbot83>t.e.o: Ticket #9533 (AttributeError: 'NoneType' object has no attribute 'chrome' in ...) created - <http://trac.edgewall.org/ticket/9533> - erne.castro@…
[13:56:34.934095]<cmc>ah, try:
[13:56:50.558169]<cmc>str = u'My unicode string'
[13:57:08.326209]<cmc>a = str.encode('ascii', 'ignore')
[13:57:22.797193]<cmc>that'll just jump over all of the non ascii letters
[13:58:01.675248]<DanC>codecs.getwriter('utf8')(sys.stdout) , says stack overflow
[13:58:28.098630]<DanC>still doesn't work. :-/
[13:59:46.994048]<DanC>there's something goofy in the csv module
[14:00:23.958065]<DanC>oh crap. "some builtin modules are incompatible * csv"
[14:00:33.025316]<DanC>says http://farmdev.com/talks/unicode/
[14:00:40.625827]<cmc>boo
[14:02:12.030282]<DanC>ok, so I utf-8 encoded what I sent to the cvs module.
[14:04:46.975910]<DanC>hmm... gnumeric doesn't like newlines inside fields.
[14:04:56.750524]<DanC>I hope the trac importer does.
[14:07:32.281512]<DanC>whimper. trac doesn't grok the utf8 stuff either
[14:09:30.509648]<DanC>gedit groks
[14:15:03.754494]<DanC>oh that's right... "In general, it's better to use Excel than CSV, as CSV files have limitations (character sets, in particular). " -- http://trac-hacks.org/wiki/TicketImportPlugin
[14:15:06.765961]<DanC>fair enough.
[14:27:01.877303]<DanC>ah. much nicer.
[14:33:05.090481]<hasienda>DanC: :-)
[14:37:50.219300]<DanC>thanks for the pointer to TicketImportPlugin, hasienda ; it's quite nice... preview and everything.
[14:39:10.471741]<DanC>hmm... we're tracking work delivered to us by a vendor. (we're checking that our requirements are met). suggestions on how to represent "waiting for the vendor" tickets?
[14:39:42.318024]<hasienda>DanC: you're welcome, glad you got it to work, I found it has nice features too
[14:40:13.613440]<hasienda>DanC: actually some options for such a hint, I think of
[14:40:23.489099]<DanC>I was thinking of assigning them to a dummy account, but I'm using notifications, so I'd have to set up some dummy email address... but I'm using TracCAS, so the admin module doesn't list the users.
[14:40:52.277755]<DanC>maybe a "vendor_wait" state.
[14:40:57.856967]<hasienda>DanC: 1. TracTagsPlugin, tag it with 'wait_for_vendor'
[14:43:21.633543]<hasienda>DanC: 2. add custom field 'vendor_hint', could be a drop-down with list --empty--|wait_for_vendor
[14:44:16.199970]<DanC>neither of those seems to integrate well with existing trac foo, such as the roadmap
[14:45:02.420279]<DanC>I think a "waiting" state and a due date, with a cron job that reminds the owner around the due date.
[14:45:29.455976]<gbot83>t.e.o: Ticket #9533 (AttributeError: 'NoneType' object has no attribute 'chrome' in ...) updated - <http://trac.edgewall.org/ticket/9533#comment:1> - rblank
[14:47:03.217404]<DanC>i.e. when I want to hand a ticket back to the vendor, I add their contac to the cc and say "when can you fix this?" and move it to vendor_wait with a due date about 2 days in the future...
[14:47:25.824343]<DanC>then, they can put in their own ETA or mail it back for us to put it
[14:47:27.415491]<DanC>put in
[14:49:51.226072]<hasienda>DanC: up to you, as you mention custom workflow, there is http://trac-hacks.org/wiki/PendingTicketPlugin, which has a script I already reused for such actions
[14:51:00.280647]<DanC>hmm... something like that, but "will automatically be closed" is definitely *not* what we're after here.
[14:51:58.154396]<DanC>oh... cron job. that's handy.
[14:52:01.302800]<hasienda>DanC: just as a starting point, action could be modified at your likings
[14:52:54.908280]<hasienda>DanC: be aware, that there is no due_date for tickets in stock Trac installs
[14:53:31.626960]<hasienda>DanC: however, there are two options I'm aware of
[14:53:51.326330]<hasienda>DanC: http://trac-hacks.org/wiki/DateFieldPlugin
[14:54:40.430707]<hasienda>DanC: and http://trac.edgewall.org/wiki/TracDev/Proposals/TracTicketsCustomTimeFields
[14:55:20.567983]<hasienda>DanC: while the first has proven to help many people before
[14:56:05.952895]<hasienda>DanC: the second has more potential in the future, at least I think so - being the author and using it in production for ~ 8 weeks now
[14:56:31.395287]<DanC>ew... date fields aren't included in trac itself. :-/
[14:57:09.690693]<hasienda>DanC: all about storing date/time information in string vs. POSIX time stamp (as Trac does for it'ts own time fields)
[14:58:10.337219]<hasienda>DanC: right, hate to say this, but was considered not important enough to be done within the last 4 years (open ticket)
[15:00:13.439545]<hasienda>DanC: until I said, wait, I will try to do it now. I'm in contact with core developers to have this patch included into Trac sooner or later. Meanwhile I'll try to give support and develop on my own to finally get it included.
[15:01:39.989961]<hasienda>DanC: http://trac.edgewall.org/ticket/1942 tells the old story
[15:04:18.258955]<hasienda>DanC: I can't promise anything I've no power to decide on, but even the current state looks good to me, i.e. TracQuery support like shown in http://trac.edgewall.org/wiki/TracTicketsCustomTimeFields#Screenshot
[15:07:23.753278]<hasienda>DanC: look at both, decision is up to you. If you want it easy now, take the old road with DateField, if looking for a sane, more scalable solution in the future and ready to use a patched Trac, join with me. :-)
[15:16:36.802305]<DanC>for today, I'm just adding a 'delegate' action to move a ticket to 'waiting' state and clear the owner.
[15:16:45.572682]<DanC>in fact, I'm 15 minutes late leaving the office
[15:20:36.289502]<gbot83>t.e.o: Ticket #31 (Bug dependencies/relations feature) closed - <http://trac.edgewall.org/ticket/31#comment:141> - anonymous
[15:45:41.140589]<gbot83>t.e.o: Ticket #9485 (repository_sync_per_request seems to be ignored with multiple hg ...) updated - <http://trac.edgewall.org/ticket/9485#comment:5> - lkraav <leho@…>
[16:40:49.878099]<gbot83>t.e.o: Ticket #31 (Bug dependencies/relations feature) updated - <http://trac.edgewall.org/ticket/31#comment:142> - dilshod@…
[17:20:57.659743]<gbot83>t.e.o: Ticket #8954 (trac-admin hotcopy should export database dump for non-sqlite projects) updated - <http://trac.edgewall.org/ticket/8954#comment:5> - anonymous
[23:01:58.420491]<gbot83>t.e.o: Ticket #9534 (AttributeError: 'NoneType' object has no attribute 'get_node') created - <http://trac.edgewall.org/ticket/9534> - jerryli@…