[Trac] Re: Insert the ticket owner in the subject of notification
On Wed, Feb 4, 2009 at 11:48 PM, Mihamina Rakotomandimby (R12y) miham...@lab.vectoris.fr wrote: Erik Bray wrote: Or you could just use flatfender's suggestion and use the ticket_subject_template option. This is exactly what it's for. No code modifications necessary. This is the best option ... ;) Erm... in my trac.ini, there is no such parameter. Should have I created it? Yes ... :) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ --~--~-~--~~~---~--~~ 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: Viewing Visio files in Trac
W. Martin Borgert wrote: On 2009-02-04 14:37, Chris Nelson wrote: I'd like to link to (or better, embed) Visio files in a Trac wiki page. Is there a way to do that? Try the DiaVisPlugin. (I've tested only with Dia files, but it seems to support Visio as well. On a side note: You really should give Dia a try - it is a great free software Visio replacement for Linux and Windows.) Do you mean http://trac-hacks.org/wiki/DiaViewPlugin ? There's no mention of Visio there. --~--~-~--~~~---~--~~ 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: Viewing Visio files in Trac
W. Martin Borgert wrote: On 2009-02-04 14:37, Chris Nelson wrote: I'd like to link to (or better, embed) Visio files in a Trac wiki page. Is there a way to do that? Try the DiaVisPlugin. (I've tested only with Dia files, but it seems to support Visio as well. On a side note: You really should give Dia a try - it is a great free software Visio replacement for Linux and Windows.) Do you mean http://trac-hacks.org/wiki/DiaViewPlugin ? There's no mention of Visio there. At the bottom of the page you list there is a link to the DiaVisViewPlugin which is separate from the DiaView and claims to support Visio. Peter --~--~-~--~~~---~--~~ 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: Interception of notification workflow
On Wed, Feb 4, 2009 at 9:46 PM, Dave McCoy its...@gmail.com wrote: Thanks Erik. Should I write my code directly inside this api.py? Definitely not. That's the whole point of having interfaces ;) You can write a plugin with a component that implements that interface. See http://trac.edgewall.org/wiki/TracDev/PluginDevelopment and related pages for the basics. You can also look at lots of existing plugins to get the idea. Though the best place to look is the Trac source itself, since all the Trac components are based on the same architecture. On Feb 5, 7:27 am, Erik Bray hyugaricd...@gmail.com wrote: On Wed, Feb 4, 2009 at 4:40 AM, Dave McCoy its...@gmail.com wrote: Hi, I would like to do some additional actions on top of email notification for every creation/update of the ticket? How can I intercept the workflow in this case? For example, I want to trigger a program (not necessary python code). Please guide me. TIA, Dave ITicketChangeListener:http://trac.edgewall.org/browser/trunk/trac/ticket/api.py#L112 --~--~-~--~~~---~--~~ 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] Is there an easy way to get all changesets given a ticket in Python?
Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks --~--~-~--~~~---~--~~ 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: Interception of notification workflow
Thanks for the information! Dave On Feb 5, 11:18 pm, Erik Bray hyugaricd...@gmail.com wrote: On Wed, Feb 4, 2009 at 9:46 PM, Dave McCoy its...@gmail.com wrote: Thanks Erik. Should I write my code directly inside this api.py? Definitely not. That's the whole point of having interfaces ;) You can write a plugin with a component that implements that interface. Seehttp://trac.edgewall.org/wiki/TracDev/PluginDevelopmentand related pages for the basics. You can also look at lots of existing plugins to get the idea. Though the best place to look is the Trac source itself, since all the Trac components are based on the same architecture. On Feb 5, 7:27 am, Erik Bray hyugaricd...@gmail.com wrote: On Wed, Feb 4, 2009 at 4:40 AM, Dave McCoy its...@gmail.com wrote: Hi, I would like to do some additional actions on top of email notification for every creation/update of the ticket? How can I intercept the workflow in this case? For example, I want to trigger a program (not necessary python code). Please guide me. TIA, Dave ITicketChangeListener:http://trac.edgewall.org/browser/trunk/trac/ticket/api.py#L112- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
On Thu, Feb 5, 2009 at 11:23 AM, Stodge sto...@gmail.com wrote: Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks Though I'm not exactly clear on what your end goal is for doing this, might I suggest simply adding a database table mapping tickets to changesets? Then your post-commit script could instead just update that table instead of a field in the ticket, and your wiki macro could also display this history from that table. --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
My ultimate goal is to get a custom changeset history that is more readable for QA purposes, something more akin to that given in Clearquest, if you've ever used it. I want to show all file versions modified under that ticket with a URL to view the differences between the last version and the base. Do you have a link to a page explaining how add a mapping? Thanks On Feb 5, 11:51 am, Erik Bray hyugaricd...@gmail.com wrote: On Thu, Feb 5, 2009 at 11:23 AM, Stodge sto...@gmail.com wrote: Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks Though I'm not exactly clear on what your end goal is for doing this, might I suggest simply adding a database table mapping tickets to changesets? Then your post-commit script could instead just update that table instead of a field in the ticket, and your wiki macro could also display this history from that table. --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
Thanks but it doesn't run: Python Traceback Most recent call last: File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/main.py, line 432, in _dispatch_request File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/main.py, line 226, in dispatch File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/chrome.py, line 694, in render_template File /usr/lib64/python2.4/site-packages/Genshi-0.6dev_r0-py2.4-linux- x86_64.egg/genshi/core.py, line 132, in __or__ File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/chrome.py, line 781, in inner File build/bdist.linux-x86_64/egg/ticketmodifiedfiles/ ticketmodifiedfiles.py, line 81, in filter_stream File build/bdist.linux-x86_64/egg/ticketmodifiedfiles/ ticketmodifiedfiles.py, line 115, in __process_ticket_request File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/ util.py, line 51, in execute File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/ util.py, line 51, in execute File /usr/lib64/python2.4/site-packages/pyPgSQL/PgSQL.py, line 3111, in execute On Feb 5, 12:28 pm, gctrekker gctrek...@gmail.com wrote: I suggest you look athttp://trac-hacks.org/wiki/TicketModifiedFilesPlugin It probably gives you what you want and more without adding any custom fields to your Trac setup. It inserts a Change History block under the Attachments block when you view a ticket. In the Change History block it may display a Blue box saying, Warning: There are number tickets that are in conflict with this one! if there are other tickets that changed one or more files that were changed for this ticket. It also has a line added that reads Have a look at the list of modified files related to the ticket. If you click on list of modified files it will call /trac/modifiedfiles/number Which brings up a detailed window showing a list of all the Modified files related to the ticket. It shows you a list of the conflicting tickets with the #number, summary, status, and owner shown. It shows you a list of the modified files related to the ticket with a colored box to show (edited, added, removed) in front of each file name. Files that were changed by other tickets are listed in parens behind the filename and are selectable (includes # sign) and can be hovered over to see summary of the ticket. Following that there is a selectable Display the list of changesets relative to this ticket. Selecting this gives you a changeset listing in numeric order with selectable changeset ( [number] and name of submitter and date and time. The screen ends with Back to ticket #number On Feb 5, 11:01 am, Stodge sto...@gmail.com wrote: My ultimate goal is to get a custom changeset history that is more readable for QA purposes, something more akin to that given in Clearquest, if you've ever used it. I want to show all file versions modified under that ticket with a URL to view the differences between the last version and the base. Do you have a link to a page explaining how add a mapping? Thanks On Feb 5, 11:51 am, Erik Bray hyugaricd...@gmail.com wrote: On Thu, Feb 5, 2009 at 11:23 AM, Stodge sto...@gmail.com wrote: Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks Though I'm not exactly clear on what your end goal is for doing this, might I suggest simply adding a database table mapping tickets to changesets? Then your post-commit script could instead just update that table instead of a field in the ticket, and your wiki macro could also display this history from that table. --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
Here is the environment I have it running on. Trac: 0.11.2 Python: 2.5.1 (r251:54863, Sep 21 2007, 22:46:31) [GCC 4.2.1 (SUSE Linux)] setuptools: 0.6c8 MySQL: server: 5.0.67-community, client: 5.0.67, thread-safe: 0 MySQLdb:1.2.2 Genshi: 0.5.1 mod_python: 3.3.1 Subversion: 1.5.5 (r34862) jQuery: 1.2.6 You might want to open a ticket for the author at http://trac-hacks.org/wiki/TicketModifiedFilesPlugin On Feb 5, 11:35 am, Stodge sto...@gmail.com wrote: Thanks but it doesn't run: Python Traceback Most recent call last: File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/main.py, line 432, in _dispatch_request File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/main.py, line 226, in dispatch File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/chrome.py, line 694, in render_template File /usr/lib64/python2.4/site-packages/Genshi-0.6dev_r0-py2.4-linux- x86_64.egg/genshi/core.py, line 132, in __or__ File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ web/chrome.py, line 781, in inner File build/bdist.linux-x86_64/egg/ticketmodifiedfiles/ ticketmodifiedfiles.py, line 81, in filter_stream File build/bdist.linux-x86_64/egg/ticketmodifiedfiles/ ticketmodifiedfiles.py, line 115, in __process_ticket_request File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/ util.py, line 51, in execute File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/ util.py, line 51, in execute File /usr/lib64/python2.4/site-packages/pyPgSQL/PgSQL.py, line 3111, in execute On Feb 5, 12:28 pm, gctrekker gctrek...@gmail.com wrote: I suggest you look athttp://trac-hacks.org/wiki/TicketModifiedFilesPlugin It probably gives you what you want and more without adding any custom fields to your Trac setup. It inserts a Change History block under the Attachments block when you view a ticket. In the Change History block it may display a Blue box saying, Warning: There are number tickets that are in conflict with this one! if there are other tickets that changed one or more files that were changed for this ticket. It also has a line added that reads Have a look at the list of modified files related to the ticket. If you click on list of modified files it will call /trac/modifiedfiles/number Which brings up a detailed window showing a list of all the Modified files related to the ticket. It shows you a list of the conflicting tickets with the #number, summary, status, and owner shown. It shows you a list of the modified files related to the ticket with a colored box to show (edited, added, removed) in front of each file name. Files that were changed by other tickets are listed in parens behind the filename and are selectable (includes # sign) and can be hovered over to see summary of the ticket. Following that there is a selectable Display the list of changesets relative to this ticket. Selecting this gives you a changeset listing in numeric order with selectable changeset ( [number] and name of submitter and date and time. The screen ends with Back to ticket #number On Feb 5, 11:01 am, Stodge sto...@gmail.com wrote: My ultimate goal is to get a custom changeset history that is more readable for QA purposes, something more akin to that given in Clearquest, if you've ever used it. I want to show all file versions modified under that ticket with a URL to view the differences between the last version and the base. Do you have a link to a page explaining how add a mapping? Thanks On Feb 5, 11:51 am, Erik Bray hyugaricd...@gmail.com wrote: On Thu, Feb 5, 2009 at 11:23 AM, Stodge sto...@gmail.com wrote: Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks Though I'm not exactly clear on what your end goal is for doing this, might I suggest simply adding a database table mapping tickets to changesets? Then your post-commit script could instead just update that table instead of a field in the ticket, and your wiki macro could also display this
[Trac] Re: Attachments don't
On Nov 20 2008, 11:40 am, Charles Bailey bailey.char...@gmail.com wrote: Apologies if I'm missing an obvious issue; searching the group shows what appear to be related, but not identical, problems. Running Trac 0.11.1 under Linux (2.6.18), Apache 2.2.9 with mod_fastcgi 2.4.6. When a user attempts to add an attachment to a ticket or wiki page, clicking Add Attachment yields a blank attachments page; file is not attached. User is authenticated, authenticated group has TICKET_APPEND and TICKET_MODIFY; no joy if user has TRAC_ADMIN as well. Permissions config from trac.ini: permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store = DefaultPermissionStore No notations in Apache error log; access log appears to note successful request: For the archives, the problem appears to have arisen because I was running Python 2.6. I finally got a chance to switch to 2.5.4, and all's well. Thanks to the off-list correspondents who pointed out that this might be the issue (and for the addition of the Python version warning to TracInstall). Regards, Charles Bailey --~--~-~--~~~---~--~~ 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] Changing Trac User Password
Hi, I'm new to administering our trac wiki, and wanted to find out if there was a simple way for users to change their passwords. Right now, we just run a script and create the user ID and enter the password for each user. I'd like everyone to have their own. I can't seem to find any reference for this. Thanks! --~--~-~--~~~---~--~~ 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] Ticket_Clone Plug-in Error
Hi, I installed the ticket_clone.py file in my C:\Python25\Lib\site-packages\ticket_clone.py directory, restarted Apache Server, and no ticket_clone.pyc file were created. I proceeded to run the .py file from the IDLE and received the following error message: Traceback (most recent call last): File C:\Python25\Lib\site-packages\ticket_clone.py, line 5, in module from genshi.filters import Transformer ImportError: cannot import name Transformer I would appreciate any help. Thanks in advance, Alan --~--~-~--~~~---~--~~ 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] troubles with installing trac
Hello, I was not able to install trac how it is described here: http://trac.edgewall.org/wiki/TracOnWindows (I used the Python version 2.5). At first I installed the setuptools by using script ez_setup.py. After that I installed Genshi-0.5.1 from the zip package and checked out trac from http://svn.edgewall.org/repos/trac/trunk. But if I try to initialize a new trac enviroment (trac-admin.exe c:\trac\my-project initenv), I get the following error: Traceback (most recent call last): File G:\Uni\Python\Scripts\trac-admin-script.py, line 5, in module from pkg_resources import load_entry_point File G:\Uni\Python\lib\site-packages\pkg_resources.py, line 2566, in module ): File G:\Uni\Python\lib\site-packages\pkg_resources.py, line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: Genshi=0.6dev-r960 Maybe the genshi version 0.6dev-r960 is needed, but the last version I founded was the 0.5.1. Does anybody have any solution? --~--~-~--~~~---~--~~ 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: Viewing Visio files in Trac
* W. Martin Borgert trac-users@googlegroups.com: On 2009-02-04 14:37, Chris Nelson wrote: I'd like to link to (or better, embed) Visio files in a Trac wiki page. Is there a way to do that? Try the DiaVisPlugin. (I've tested only with Dia files, but it seems to support Visio as well. On a side note: You really should give Dia a try — it is a great free software Visio replacement for Linux and Windows.) Sorry for the interruption: I am interested in DiaVisPlugin, but I can't find a location where I could read more or even download it. Would you mind to share a link? Thanks, p...@rick -- state of mind Agentur für Kommunikation, Design und Softwareentwicklung Patrick KoetterTel: 089 45227227 Echinger Strasse 3 Fax: 089 45227226 85386 Eching Web: http://www.state-of-mind.de Amtsgericht MünchenPartnerschaftsregister PR 563 --~--~-~--~~~---~--~~ 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] user registration for SVN Trac using LDAP
Hi, I am trying to setup trac to be able to register new users and grant rw access to an svn repo. It looks like using LDAP would be the most obvious as both trac and svn can authenticate against a local server. With my currentl setup trac can view the svn repo and authenticate users with LDAPStore. However, the 'register' link doesn't appear when password_store is LDAPStore but works ok when using SessionStore. As it appears there are several plugins to use LDAP authentication with the Acount Manager plugin, I have tried 'TracLDAPAuth' and 'LdapAuthStore' and couldn't get either to work with the registration interface. Has anyone managed to get this kind of setup to work, or should i be trying a differnt approach? regards, nik --~--~-~--~~~---~--~~ 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] Trac 0.11.2.1, mod_wsgi, Basic Authentication - Authentication information not found
PLEASE DO NOT CLOSE THIS AS A DUPLICATE ISSUE. PLEASE HELP ME! ITS PROBABLY SOMETHING TOO SIMPLE, BUT STILL, I HAVEN'T BEEN ABLE TO TRACK IT DOWN, SO PLEASE BEAR WITH ME. I do understand there have been a lot of duplicates around this area, and I am sick and tired of browsing through the instructions time and again, looking through the issues again and again and haven't found a solution. Maybe, the instructions need to be re-written. I can definitely do that once I find some information on how to get it resolved. Here's my set up. Windows XP SP2, Apache 2.2.11, Trac 0.11.2.1, mod_wsgi, BASIC authentication. Folder layout: Root: D:/MyTrac TracProject: D:/MyTrac/TracProjects AccessLogs?: D:/MyTrac/TracLogs/AccessLogs ErrorLogs?: D:/MyTrac/ TracLogs/ErrorLogs WSGIScripts: D:/MyTrac/TracWSGIScripts PasswordDigests?: D:/MyTrac/TracBasicAuth When I try to log into my trac installation, I get the most (in)famous error: Trac Error Authentication information not available. Please refer to the installation documentation. Please, please help me root out this problem. I've hit my head on this one for the last 4 days, with no result at all. My virtual server configuration and the .wsgi that I use are mentioned below. My Virtual Server configuration: VirtualHost *:80 ServerName localhost ServerAlias localhost DocumentRoot D:/MyTrac/TracProjects CustomLog D:/MyTrac/TracLogs/AccessLogs/MyTracAccessLog.log common ErrorLog D:/MyTrac/TracLogs/ErrorLogs/MyTracErrorLog.log #WSGIDaemonProcess localhost processes=2 threads=15 display-name=% {GROUP} #WSGIProcessGroup localhost Directory D:/MyTrac/TracProjects Order allow,deny Allow from all /Directory Directory D:/MyTrac/TracWSGIScripts Order allow,deny Allow from all /Directory Directory D:/MyTrac/TracBasicAuth Order allow,deny Allow from all /Directory # Link to list out all Trac Projects WSGIScriptAlias /TracProjects D:/MyTrac/TracWSGIScripts/ AllProjects.wsgi # Settings for MySandbox Location /TracProjects/Sandbox1 AuthType Basic AuthName MySandboxAuth AuthUserFile D:\MyTrac\TracProjects\MySandbox\MySandbox.htpasswd Require valid-user /Location WSGIScriptAlias /TracProjects/MySandbox D:/MyTrac/TracBasicAuth/ MySandbox.wsgi /VirtualHost MySandbox.wsgi: import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV_PARENT_DIR'] = 'D:/MyTrac/TracProjects' os.environ['TRAC_ENV'] = 'D:/Trac/TracProjects/MySandbox' os.environ['PYTHON_EGG_CACHE'] = 'D:/MyTrac/TracEggCache/MySandbox' import trac.web.main application = trac.web.main.dispatch_request Regards, Radha. --~--~-~--~~~---~--~~ 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: troubles with installing trac
Maybe the genshi version 0.6dev-r960 is needed, but the last version I founded was the 0.5.1. Does anybody have any solution? Check out Genshi from the trunk rather than from a stable branch: 0.6 has not been released yet (0.6dev is 0.6.0) You don't need Genshi 0.6* if you download and install a stable release of Trac (that would be 0.11.2) HTH, Manu --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
A macro might work; that way it would be usable elsewhere, e.g.: [[SCM(ticket:9)]] On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks --~--~-~--~~~---~--~~ 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: Viewing Visio files in Trac
Quoting Patrick Ben Koetter p...@state-of-mind.de: * W. Martin Borgert trac-users@googlegroups.com: Try the DiaVisPlugin. (I've tested only with Dia files, but it seems to support Visio as well. On a side note: You really should give Dia a try — it is a great free software Visio replacement for Linux and Windows.) Sorry for the interruption: I am interested in DiaVisPlugin, but I can't find a location where I could read more or even download it. Would you mind to share a link? My error! I got the name wrong. Correct is: http://trac-hacks.org/wiki/DiaVisViewPlugin Have fun! --~--~-~--~~~---~--~~ 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: Changing Trac User Password
Hi. I'm new to administering our trac wiki, and wanted to find out if there was a simple way for users to change their passwords. http://trac-hacks.org/wiki/AccountManagerPlugin might help. Bye, Mike --~--~-~--~~~---~--~~ 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: Ticket_Clone Plug-in Error
On Wed, Feb 4, 2009 at 4:40 PM, Benson bens...@gmail.com wrote: Hi, I installed the ticket_clone.py file in my C:\Python25\Lib\site-packages\ticket_clone.py directory, restarted Apache Server, and no ticket_clone.pyc file were created. I proceeded to run the .py file from the IDLE and received the following error message: Traceback (most recent call last): File C:\Python25\Lib\site-packages\ticket_clone.py, line 5, in module from genshi.filters import Transformer ImportError: cannot import name Transformer I would appreciate any help. Thanks in advance, Alan You need to update to the latest version of Genshi. --~--~-~--~~~---~--~~ 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 an easy way to get all changesets given a ticket in Python?
On Feb 5, 5:28 pm, gctrekker gctrek...@gmail.com wrote: I suggest you look athttp://trac-hacks.org/wiki/TicketModifiedFilesPlugin It probably gives you what you want and more without adding any custom fields to your Trac setup. It inserts a Change History block under the Attachments block when you view a ticket. In the Change History block it may display a Blue box saying, Warning: There are number tickets that are in conflict with this one! if there are other tickets that changed one or more files that were changed for this ticket. It also has a line added that reads Have a look at the list of modified files related to the ticket. If you click on list of modified files it will call /trac/modifiedfiles/number Which brings up a detailed window showing a list of all the Modified files related to the ticket. It shows you a list of the conflicting tickets with the #number, summary, status, and owner shown. It shows you a list of the modified files related to the ticket with a colored box to show (edited, added, removed) in front of each file name. Files that were changed by other tickets are listed in parens behind the filename and are selectable (includes # sign) and can be hovered over to see summary of the ticket. Following that there is a selectable Display the list of changesets relative to this ticket. Selecting this gives you a changeset listing in numeric order with selectable changeset ( [number] and name of submitter and date and time. The screen ends with Back to ticket #number On Feb 5, 11:01 am, Stodge sto...@gmail.com wrote: My ultimate goal is to get a custom changeset history that is more readable for QA purposes, something more akin to that given in Clearquest, if you've ever used it. I want to show all file versions modified under that ticket with a URL to view the differences between the last version and the base. Do you have a link to a page explaining how add a mapping? Thanks On Feb 5, 11:51 am, Erik Bray hyugaricd...@gmail.com wrote: On Thu, Feb 5, 2009 at 11:23 AM, Stodge sto...@gmail.com wrote: Let me clarify this. Currently when a commit occurs, my custom post- commit script adds the changeset number to a list in a custom field. I'm using a custom wiki processor to format a custom history when the ticket is viewed. However, a comment is added to the ticket when I modify the custom field, which I don't want. If I could get all changeset for a ticket, then I wouldn't need to update the custom field after a commit. Thanks On Feb 5, 11:09 am, Stodge sto...@gmail.com wrote: Is there an easy way to get all changesets given a ticket in Python? I want to change the post-commit hook so it doesn't add a comment when a changeset is created that references a ticket. Subsequently I want access to all changes for the ticket so I can generate some a custom history for the ticket. Thanks Though I'm not exactly clear on what your end goal is for doing this, might I suggest simply adding a database table mapping tickets to changesets? Then your post-commit script could instead just update that table instead of a field in the ticket, and your wiki macro could also display this history from that table. I am not even able to easy_install it, get the dreaded unexpected html page (I tried the /0.11) directory as well. I know Hacks just got migrated to a new server, did the svn repo's get ported over properly yet? Guess I'll bake an egg and see what happens. --~--~-~--~~~---~--~~ 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: troubles with installing trac
On Feb 5, 6:36 pm, Emmanuel Blot manu.b...@gmail.com wrote: Maybe the genshi version 0.6dev-r960 is needed, but the last version I founded was the 0.5.1. Does anybody have any solution? Check out Genshi from the trunk rather than from a stable branch: 0.6 has not been released yet (0.6dev is 0.6.0) You don't need Genshi 0.6* if you download and install a stable release of Trac (that would be 0.11.2) HTH, Manu I think you need to install setup_tools from the windows installer, and not the script. --~--~-~--~~~---~--~~ 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.2.1, mod_wsgi, Basic Authentication - Authentication information not found
On Thu, Feb 5, 2009 at 11:33 AM, Radha srimanthula.radhakris...@gmail.com wrote: PLEASE DO NOT CLOSE THIS AS A DUPLICATE ISSUE. PLEASE HELP ME! ITS PROBABLY SOMETHING TOO SIMPLE, BUT STILL, I HAVEN'T BEEN ABLE TO TRACK IT DOWN, SO PLEASE BEAR WITH ME. I do understand there have been a lot of duplicates around this area, and I am sick and tired of browsing through the instructions time and again, looking through the issues again and again and haven't found a solution. Maybe, the instructions need to be re-written. I can definitely do that once I find some information on how to get it resolved. Here's my set up. Windows XP SP2, Apache 2.2.11, Trac 0.11.2.1, mod_wsgi, BASIC authentication. Folder layout: Root: D:/MyTrac TracProject: D:/MyTrac/TracProjects AccessLogs?: D:/MyTrac/TracLogs/AccessLogs ErrorLogs?: D:/MyTrac/ TracLogs/ErrorLogs WSGIScripts: D:/MyTrac/TracWSGIScripts PasswordDigests?: D:/MyTrac/TracBasicAuth When I try to log into my trac installation, I get the most (in)famous error: Trac Error Authentication information not available. Please refer to the installation documentation. Please, please help me root out this problem. I've hit my head on this one for the last 4 days, with no result at all. My virtual server configuration and the .wsgi that I use are mentioned below. My Virtual Server configuration: VirtualHost *:80 ServerName localhost ServerAlias localhost DocumentRoot D:/MyTrac/TracProjects CustomLog D:/MyTrac/TracLogs/AccessLogs/MyTracAccessLog.log common ErrorLog D:/MyTrac/TracLogs/ErrorLogs/MyTracErrorLog.log #WSGIDaemonProcess localhost processes=2 threads=15 display-name=% {GROUP} #WSGIProcessGroup localhost Directory D:/MyTrac/TracProjects Order allow,deny Allow from all /Directory Directory D:/MyTrac/TracWSGIScripts Order allow,deny Allow from all /Directory Directory D:/MyTrac/TracBasicAuth Order allow,deny Allow from all /Directory # Link to list out all Trac Projects WSGIScriptAlias /TracProjects D:/MyTrac/TracWSGIScripts/ AllProjects.wsgi # Settings for MySandbox Location /TracProjects/Sandbox1 AuthType Basic AuthName MySandboxAuth AuthUserFile D:\MyTrac\TracProjects\MySandbox\MySandbox.htpasswd Require valid-user /Location WSGIScriptAlias /TracProjects/MySandbox D:/MyTrac/TracBasicAuth/ MySandbox.wsgi /VirtualHost MySandbox.wsgi: import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV_PARENT_DIR'] = 'D:/MyTrac/TracProjects' os.environ['TRAC_ENV'] = 'D:/Trac/TracProjects/MySandbox' os.environ['PYTHON_EGG_CACHE'] = 'D:/MyTrac/TracEggCache/MySandbox' import trac.web.main application = trac.web.main.dispatch_request Regards, Radha. Hi, I have a lot of comments but not enough time, so I'll make it short for now. The first comment is that you need to be clear on whether you're trying to host a single Trac environment, or multiple environments. You're mixing the methods for doing those, leading to a lot of confusion. You should only a need a single wsgi script. So if you're trying to do multiple projects, just have something like: trac.wsgi import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV_PARENT_DIR'] = 'D:/MyTrac/TracProjects' os.environ['PYTHON_EGG_CACHE'] = 'D:/MyTrac/TracEggCache' import trac.web.main application = trac.web.main.dispatch_request And in the Apache config have: WSGIScriptAlias /TracProjects /path/to/trac.wsgi Get rid of that existing Location directive and instead put in LocationMatch ^/TracProjects/[^/]+/login /LocationMatch Put all your authentication-configuration in there. Honestly, the first step I would take would be to wipe out what you already have and start fresh --~--~-~--~~~---~--~~ 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: troubles with installing trac
On Feb 5, 10:58 pm, yoh...@gmail.com wrote: On Feb 5, 6:36 pm, Emmanuel Blot manu.b...@gmail.com wrote: Maybe the genshi version 0.6dev-r960 is needed, but the last version I founded was the 0.5.1. Does anybody have any solution? Check out Genshi from the trunk rather than from a stable branch: 0.6 has not been released yet (0.6dev is 0.6.0) You don't need Genshi 0.6* if you download and install a stable release of Trac (that would be 0.11.2) HTH, Manu I think you need to install setup_tools from the windows installer, and not the script. Oh yes, you might also need to patch setup_tools to handler subversion 1.5+ repo's as well. There is a link somewhere to that in this forum somewhere: http://www.jaraco.com/ASP/eggs/setuptools-0.6c8_svn15fix.egg for version 0.6c8. I can't find if 0.6c9 incorporated this fix already, I thought it did, but a quick search came up inconclusive for 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] An Extension to download in other format for tickets
I am looking for a way to add a custom export of tickets. similiar to the download in other format link at the bottom of any ticket page. I saw few plugins to export wikis to pdfs, If I have to implement a plugin to do it what Interafaces would i have to extend to dispaly the button there ? thanks --~--~-~--~~~---~--~~ 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] use different display name instead of login name
how to use different display name instead of login name I want to use login name only for login and use display name for displaying, in timeline or ticket assignment --~--~-~--~~~---~--~~ 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: Ticket_Clone Plug-in Error
Erik, I installed the latest version of Genshi and the plug-in works. Thank you for your help, Alan On Feb 5, 2:43 pm, Erik Bray hyugaricd...@gmail.com wrote: On Wed, Feb 4, 2009 at 4:40 PM, Benson bens...@gmail.com wrote: Hi, I installed the ticket_clone.py file in my C:\Python25\Lib\site-packages\ticket_clone.py directory, restarted Apache Server, and no ticket_clone.pyc file were created. I proceeded to run the .py file from the IDLE and received the following error message: Traceback (most recent call last): File C:\Python25\Lib\site-packages\ticket_clone.py, line 5, in module from genshi.filters import Transformer ImportError: cannot import name Transformer I would appreciate any help. Thanks in advance, Alan You need to update to the latest version of Genshi.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---