[Trac] Re: trac 0.11 / Genshi performance
On Monday 25 May 2009, Noah Kantrowitz wrote: On May 25, 2009, at 1:34 AM, Frank Mehnert wrote: Hi, currently we are using Trac version 0.10.3 with an SQlite backend on a Debian/Lenny/AMD64 host mainly as bugtracker, subversion repository browser and Wiki engine. With our current setup we experience some ''database is locked'' errors each day despite the fact that we have the fix for #4465 applied to the trac code. Our plan was to upgrade to Trac 0.11 and to switch to PostgreSQL as database backend. Recent tests with trac 0.11.1-2.1 of Debian/Lenny (using a SQLite backend) showed a performance degradation. Someone mentioned that the new Genshi engine could be responsible for such a performance degradation, especially for bigger pages. To me it looks like it takes at least twice as long or more to generate a web page. My question is if this still applies or if later versions of the stable 0.11 branch show an improved performance. Are there any experiences? The sort version is yes, Genshi is slower in pretty much every case than clearsilver. What kind of slowdown are you talking about? Seeing 50ms longer to render a page seems plausible, but not 5000ms. Right, 50ms longer would be ok. Unfortunately last time I didn't do any measurements but during the last experiment it took several seconds to render the timeline (10 days back) in the browser. After switching back to trac 0.10 this time was reduced to below 0.5 seconds. Not sure if my site.html template was properly optimized, it contains several 'match' statements and several 'select' statements. Kind regards, Frank -- Dr.-Ing. Frank MehnertSun Microsystems, Inc.www.sun.com signature.asc Description: This is a digitally signed message part.
[Trac] After login shows different user names
hi, i have used the following configurations trac 0.11 and apache 2.X, here i have used Ldap configuration, everything working fine [ login ], but main problem after login it will show different user names, we need to refresh at once for every tab at first time. after refreshing it will work fine. it will show different usernames and their records, if i supposed to update any record or any report or try to create any ticket it will give an error you dont have proper previllages . after refreshing it will work. can anybody suggest me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac 0.11 / Genshi performance
On 2009-05-26 08:39, Frank Mehnert wrote: On Monday 25 May 2009, Noah Kantrowitz wrote: The sort version is yes, Genshi is slower in pretty much every case than clearsilver. What kind of slowdown are you talking about? Seeing 50ms longer to render a page seems plausible, but not 5000ms. Right, 50ms longer would be ok. Unfortunately last time I didn't do any measurements but during the last experiment it took several seconds to render the timeline (10 days back) in the browser. After switching back to trac 0.10 this time was reduced to below 0.5 seconds. Just out of curiosity: Why has genshi been selected for trac and not e.g. cheetah, which seems to be much faster? Are there any ideas/plans to improve genshi performance? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac 0.11 / Genshi performance
W. Martin Borgert wrote: On 2009-05-26 08:39, Frank Mehnert wrote: On Monday 25 May 2009, Noah Kantrowitz wrote: The sort version is yes, Genshi is slower in pretty much every case than clearsilver. What kind of slowdown are you talking about? Seeing 50ms longer to render a page seems plausible, but not 5000ms. Right, 50ms longer would be ok. Unfortunately last time I didn't do any measurements but during the last experiment it took several seconds to render the timeline (10 days back) in the browser. After switching back to trac 0.10 this time was reduced to below 0.5 seconds. Just out of curiosity: Why has genshi been selected for trac and not e.g. cheetah, which seems to be much faster? See http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.11#Genshi for some background. Are there any ideas/plans to improve genshi performance? The recent Genshi trunk (0.6dev) had seen a few performance optimization, so you may want to try it out: http://genshi.edgewall.org/wiki/Download#LatestDevelopmentSourceCode The problem of Genshi performance is a real one for any potentially big pages like the timeline, long source files, big changesets ... And yes, in those cases the speed penalty is rather in seconds, not in ms. It might be a worthy long term project for someone wanting to contribute to Trac, to either improve drastically the Genshi performance or to allow the use of alternative template engines in Trac (at the cost of breaking some advanced uses of Genshi, like the themes stuff). An intermediate, shorter term approach, could be to pass more data as opaque to Genshi (in particular in the source browser and the changeset view). But Genshi is not the only thing to blame in performance degradations for Trac 0.11. In particular, there are a few tickets (http://trac.edgewall.org/ticket/7490, http://trac.edgewall.org/ticket/7785) that indicate there's something going really wrong in some setups, and understanding and fixing these problems is high priority for the next maintenance release (0.11.5). We also think about doing some profiling, at last, and that could reveal other bottlenecks ;-) -- Christian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: After login shows different user names
That sounds normal. If you have two tabs open and you login with one of them, you will need to refresh the other to have it show you are logged in. Not sure how else it would work. --Noah On May 26, 2009, at 1:22 AM, prabhakar wrote: hi, i have used the following configurations trac 0.11 and apache 2.X, here i have used Ldap configuration, everything working fine [ login ], but main problem after login it will show different user names, we need to refresh at once for every tab at first time. after refreshing it will work fine. it will show different usernames and their records, if i supposed to update any record or any report or try to create any ticket it will give an error you dont have proper previllages . after refreshing it will work. can anybody suggest me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Wiki Processors
I'm trying to get the sorttable.js processor working, and seem to be missing something... TRAC 0.11.4 I've tried. Created dir wiki-macros and placing sorttable.js there Placed sortable.js in site-packages/Trac-0.11.4-py2.5.egg/trac/mimeview ( and trac/wiki; and trac/web; and trac/htdocs/js) Placing file in trac/htdocs and setting 'sorttable_js_url = site/sorttable.js' in the [wiki] section of trac.ini So far, All I get is: Error: Failed to load processor sorttable No macro or processor named 'sorttable' found Any help appreciated. Thanks, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ...
On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote: I'm in the process of installing TracGraphViz plugin. Indeed I'm in the process of installing GraphViz in a Windows 2003 Server host. My Qs are : - Do I need to install GraphViz Py bindings (SWIG) in order to use the plugin ? for some reason I want to say no. I have it running on my windows server, and I am pretty sure it runs it via the command line. There was a little configuration messing around that needed to be done, such as the path to graphvis bin, dot, and the cached dir in my Apache htdocs, but as it turns out, I am pretty much an Apache nit wit, and I managed to get it working, so you should be fine. Just read the configuration of the .ini settings a few times, there are some little gotchas that I can't recall. It's pretty cool too, I use it somewhat show product roadmaps in rough timeliness across my team, then link to the individual projects, or calendar entries, etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Is there a way to have default page template in TRAC Wiki?
On Sun, May 24, 2009 at 12:55 PM, Christopher Barker chris.bar...@noaa.gov wrote: Christian Boos wrote: You've given a perfect specification for the http://trac.edgewall.org/wiki/PageTemplates feature, available in Trac since 0.11 ;-) Thanks, I really thought I'd looked for that! -Chris What would really be neat would be if there could be some template variable fields that need to be filled in when creating a page from a template. Some date fields come to mind, for example. I smell a plugin idea... (Although with such a feature available, users would have to carefully evaluate whether a wiki page is really what they want, and not a ticket). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Is there a way to have default page template in TRAC Wiki?
Erik Bray wrote: What would really be neat would be if there could be some template variable fields that need to be filled in when creating a page from a template. Some date fields come to mind, for example. I smell a plugin idea... (Although with such a feature available, users would have to carefully evaluate whether a wiki page is really what they want, and not a ticket). I think that could be very useful for things that really do belong in Wiki pages. I you write it, I'm likely to use it! ;-) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ...
First of all ... thnx for the reply On Tue, May 26, 2009 at 12:56 PM, yoheeb yoh...@gmail.com wrote: On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote: I'm in the process of installing TracGraphViz plugin. Indeed I'm in the process of installing GraphViz in a Windows 2003 Server host. My Qs are : - Do I need to install GraphViz Py bindings (SWIG) in order to use the plugin ? for some reason I want to say no. I have it running on my windows server, and I am pretty sure it runs it via the command line. Good to know ... But anyway, could u pls tell me how did you install GraphViz itself. The fact is that I've not been able to install it in a Windows 2003 Server host. Here you have the «roadmap»: - Firstly, I tried GraphViz windows installer and it reported a missing DLL error at the beginning of the install ... - Which disappeared after upgrading the Windows Installer package to the latest version but, another error showed up (this time at the end of the install) : «A program required for this install to complete could not be run» BTW ... is there another graphViz windows installer (i.e. not http://www.graphviz.org/Download_Windows.php) ? - So I decided to compile the source code (yes ... MinGW + Msys + gtk+ + ...) and after a long way I still cannot compile it. The last difficulty I experienced (yes, the short story ;) is that, on compiling it (once again using Msys + MinGW) using the following script {{{ #! /bin/sh export PYTHON=python export PYTHON25=python export INSTALLROOT=C:/GraphViz # Root install directory export GTKDIR=C:/gtk+# Root of GTK tree export FONTCONFIGINCLUDEDIR # Path of fontconfig include dir export FONTCONFIGLIBDIR # Path of fontconfig lib dir export FREETYPEINCLUDEDIR# Path of freetype2 include dir export FREETYPELIBDIR# Path of freetype2 lib dir export CFLAGS=-DGVDLL=1 export CPPFLAGS=-I$GTKDIR/include -I$GTKDIR/include/freetype2 export LDFLAGS=-L$GTKDIR/lib -no-undefined export FONTCONFIG_CFLAGS=-I$GTKDIR/include/ export FONTCONFIG_LIBS=-L$FONTCONFIGLIBDIR -lfontconfig export FREETYPE2_CFLAGS=-I$FREETYPEINCLUDEDIR export FREETYPE2_LIBS=-L$FREETYPELIBDIR export PKG_CONFIG=$GTKDIR/bin/pkg-config export PKG_CONFIG_PATH=$GTKDIR/lib/pkgconfig export PANGOFLAGS=--with-fontconfig --with-fontconfiglibdir$FONTCONFIGLIBDIR --with-fontconfigincludedir=$FONTCONFIGINCLUDEDIR --with-pangocairo ./configure -v -C --prefix=$INSTALLROOT --without-gdk-pixbuf --with-mylibgd --enable-python25=yes --enable-swig --without-x --disable-tcl --without-ipsepcola --with-codegens --enable-shared --disable-static --with-freetype=$GTKDIR/lib --enable-ltdl $PANGOFLAGS --without-gtk --without-gtkgl }}} I get the following message back in config.log {{{ [...] language extensions: gv_python: No (missing header) [...] gv_python25: No (missing header) [...] }}} There was a little configuration messing around that needed to be done, Yes, it's good to know, but that's not the problem right now . I cannot finish GraphViz install in Windows 2003 Server. Hopefully some day I'll can configure TracGraphViz plugin ... :-/ Oh my ! I never imagined that I'd loved this kind of lines that much : $ sudo apt-get install graphviz ;) PS: BTW it seems I'm gonna need GraphViz python bindings ... ;) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Sortable Tables
I'll try asking this a different way... I was looking at the Wiki Processors, but it appears they are deprecated since .10... So, is there a way to have sortable tables in the wiki? Thanks, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Sortable Tables
Someone just needs to port the old macro to the new system. --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Andrew Gehring Sent: Tuesday, May 26, 2009 12:01 PM To: Trac Users Subject: [Trac] Sortable Tables I'll try asking this a different way... I was looking at the Wiki Processors, but it appears they are deprecated since .10... So, is there a way to have sortable tables in the wiki? Thanks, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Sortable Tables
Is there any information on what it takes to do that? Thanks On Tue, May 26, 2009 at 1:16 PM, Noah Kantrowitz n...@coderanger.netwrote: Someone just needs to port the old macro to the new system. --Noah *From:* trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] *On Behalf Of *Andrew Gehring *Sent:* Tuesday, May 26, 2009 12:01 PM *To:* Trac Users *Subject:* [Trac] Sortable Tables I'll try asking this a different way... I was looking at the Wiki Processors, but it appears they are deprecated since .10... So, is there a way to have sortable tables in the wiki? Thanks, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Is there a way to have default page template in TRAC Wiki?
On Tue, May 26, 2009 at 2:24 PM, Christopher Barker chris.bar...@noaa.gov wrote: Erik Bray wrote: What would really be neat would be if there could be some template variable fields that need to be filled in when creating a page from a template. Some date fields come to mind, for example. I smell a plugin idea... (Although with such a feature available, users would have to carefully evaluate whether a wiki page is really what they want, and not a ticket). I think that could be very useful for things that really do belong in Wiki pages. I you write it, I'm likely to use it! ;-) -Chris I agree it would be useful. Just seems to open up a lot of potential for abuse. But hey, if it's what people want to do, why stop them? I'll consider working on such a thing when I have some time... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: The source: TracLink does not work.
Thanks a lot. Turns out it is really easy. Many thanks. On May 25, 4:19 pm, Olemis Lang ole...@gmail.com wrote: On Sat, May 23, 2009 at 12:15 PM, Mark Kharitonov mark.kharito...@gmail.com wrote: It could be it. What configuration settings do you mean? Because, I could not find any. BrowserModule should be enabled either using admin - plugins page {{{ trac.versioncontrol.web_ui.browser = enabled }}} I just tried it and - when it's disabledsourcelinks are rendered like you were saying - enabling it renders the link as expected ;o) -- Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ...
On May 26, 1:48 pm, Olemis Lang ole...@gmail.com wrote: First of all ... thnx for the reply On Tue, May 26, 2009 at 12:56 PM, yoheeb yoh...@gmail.com wrote: On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote: I'm in the process of installing TracGraphViz plugin. Indeed I'm in the process of installing GraphViz in a Windows 2003 Server host. My Qs are : - Do I need to install GraphViz Py bindings (SWIG) in order to use the plugin ? for some reason I want to say no. I have it running on my windows server, and I am pretty sure it runs it via the command line. Good to know ... But anyway, could u pls tell me how did you install GraphViz itself. The fact is that I've not been able to install it in a Windows 2003 Server host. Here you have the «roadmap»: well snap, the binary installers worked out of the box for me, so I'm not that much help. win2k3 service pack 2, installer I used was gviz-2.18.exe I don't recall installing anything else. I DO have the MasterTicket/ Depgrah plugins installed and working. But DepGraph doesn't require the python bindings either. Sorry, I can't help much, it just worked for me, aside from the configuration. I did install Graphviz well before the plugin, since I used it to generate a workflow map with the script out there that does it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ...
-Original Message- From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of yoheeb Sent: Tuesday, May 26, 2009 3:30 PM To: Trac Users Subject: [Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ... On May 26, 1:48 pm, Olemis Lang ole...@gmail.com wrote: First of all ... thnx for the reply On Tue, May 26, 2009 at 12:56 PM, yoheeb yoh...@gmail.com wrote: On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote: I'm in the process of installing TracGraphViz plugin. Indeed I'm in the process of installing GraphViz in a Windows 2003 Server host. My Qs are : - Do I need to install GraphViz Py bindings (SWIG) in order to use the plugin ? for some reason I want to say no. I have it running on my windows server, and I am pretty sure it runs it via the command line. Good to know ... But anyway, could u pls tell me how did you install GraphViz itself. The fact is that I've not been able to install it in a Windows 2003 Server host. Here you have the «roadmap»: well snap, the binary installers worked out of the box for me, so I'm not that much help. win2k3 service pack 2, installer I used was gviz-2.18.exe I don't recall installing anything else. I DO have the MasterTicket/ Depgrah plugins installed and working. But DepGraph doesn't require the python bindings either. Sorry, I can't help much, it just worked for me, aside from the configuration. I did install Graphviz well before the plugin, since I used it to generate a workflow map with the script out there that does it. I very much doubt anything is using the python bindings, they are not very fun to use. --Noah --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Is there a way to have default page template in TRAC Wiki?
On May 26, 4:03 pm, Erik Bray hyugaricd...@gmail.com wrote: On Tue, May 26, 2009 at 2:24 PM, Christopher Barker chris.bar...@noaa.gov wrote: Erik Bray wrote: What would really be neat would be if there could be some template variable fields that need to be filled in when creating a page from a template. Some date fields come to mind, for example. I smell a well, in theory, you could combine a ticket template, with the PageVariableMacro. Although, according to the hak PageVariableMacro hasn't been made to work with 0.11 yet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---