[Trac] Connect psycopg2 with selfcompiled Python version
Hello, I had to install/compile my own Pythonversion, since the version of my hoster was too old. After that I also installed psycopg2. (I could not do the system wide installation, since I am not root.) But after that I was not able to find any documentation on how to tell Python that it is supposed to use psycopg2. This is probably a very basic question, but I did not find information on this on the psycopg2-website. Does somebody know what I have to do? (Right now the when I want to create a new project, trac complains that i cannot connect to the database...) thanks, 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Patching Problems
Erik you're a star! I've got both patches applied. Thanks for the help. On 2 Nov, 17:05, Erik Bray [EMAIL PROTECTED] wrote: Aha! Of course. Your patch program just isn't converting the newlines from LF to CRLF and thus is getting confused. Use a program like unix2dos to convert the patch files. Or if you have perl installed you can perl -pi -e 's/\n/\r\n/g' trac-0.10.3-report-plugin.patch On 11/2/07, Andrew [EMAIL PROTECTED] wrote: Hi, To install Trac I use method 3 on this page;http://trac.edgewall.org/wiki/TracOnWindows. I don't install Subversion and I download the Trac installer (trac-0.10.3.win32.exe) fromhttp://ftp.edgewall.com/pub/trac/, the link on the page points to version 0.10. I hope that answers your question about where I get the source code from. Here's the report.py.rej file: *** *** 32,37 from trac.web.chrome import add_link, add_stylesheet, INavigationContributor from trac.wiki import wiki_to_html, IWikiSyntaxProvider, Formatter class ReportModule(Component): implements(INavigationContributor, IPermissionRequestor, IRequestHandler, --- 32,57 from trac.web.chrome import add_link, add_stylesheet, INavigationContributor from trac.wiki import wiki_to_html, IWikiSyntaxProvider, Formatter + class ITicketReportRenderer(Interface): + Extension point interface for components that implement new report + writing formats. + + def get_report_format(): + Called to get the id for a report format, for example: .xls + + def get_report_mimetype(): + Called to get the mimetype string for a report format + + def get_report_linkname(): + Called to get the report link name that will appear on the UI + + def get_report_linkclass(): + Called to get the class of the link that will appear on the UI + + def render(req, cols, rows): + Render the report, takes the request, columns and rows + + class ReportModule(Component): implements(INavigationContributor, IPermissionRequestor, IRequestHandler, *** *** 111,116 add_stylesheet(req, 'common/css/report.css') return 'report.cs', None # Internal methods def _do_create(self, req, db): --- 131,138 add_stylesheet(req, 'common/css/report.css') return 'report.cs', None + renderers = ExtensionPoint(ITicketReportRenderer) + # Internal methods def _do_create(self, req, db): *** *** 364,370 elif format == 'tab': self._render_csv(req, cols, rows, '\t') return None - return 'report.cs', None def add_alternate_links(self, req, args): --- 386,397 elif format == 'tab': self._render_csv(req, cols, rows, '\t') return None + else: + for renderer in self.renderers: + if renderer.get_report_format()==format: + renderer.render(req,cols,rows) + return None + return 'report.cs', None def add_alternate_links(self, req, args): *** *** 385,390 if req.perm.has_permission('REPORT_SQL_VIEW'): add_link(req, 'alternate', '?format=sql', 'SQL Query', 'text/plain') def execute_report(self, req, db, id, sql, args): sql, args = self.sql_sub_vars(req, sql, args, db) --- 412,430 if req.perm.has_permission('REPORT_SQL_VIEW'): add_link(req, 'alternate', '?format=sql', 'SQL Query', 'text/plain') + + # add link for every loaded component + # that implements ITicketReportRenderer + + for renderer in self.renderers: + format = renderer.get_report_format() + mimetype = renderer.get_report_mimetype() + linkname = renderer.get_report_linkname() + linkclass = renderer.get_report_linkclass() + + add_link(req,'alternate','?format='+format+href, +linkname,mimetype,linkclass) + def execute_report(self, req, db, id, sql, args): sql, args = self.sql_sub_vars(req, sql, args, db) I've installed Cygwin to see if I would be able to apply the patches using that, but I get the same error message. On 2 Nov, 13:47, Erik Bray [EMAIL PROTECTED] wrote: Hrm. Could you post the rejects file that gets generated at trac/ticket/report.py.rej ? Also, where are you obtaining the source code from? Directly from t.e.o or some other source? The commands you ran look correct, so I'm not sure what you could be
[Trac] http://trac-hacks dead?
hi, could it be that http://trac-hacks is dead? rupert. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
let's hope, the holidays are shorter this time ;-) Am 06.11.2007 um 14:31 schrieb Lars Stavholm: could it be that http://trac-hacks is dead? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
rupert thurner wrote: hi, could it be that http://trac-hacks is dead? Yup, all I get is Waiting for trac-hacks.org... What's the best way of mirroring the trac-hacks.org site? Any ideas appreciated. /Lars --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
using a distributed version control (like git, mercurial, dards) instead of svn would at least make mirroring the plugins easy :) On Nov 6, 2:31 pm, Lars Stavholm [EMAIL PROTECTED] wrote: rupert thurner wrote: hi, could it be thathttp://trac-hacksis dead? Yup, all I get is Waiting for trac-hacks.org... What's the best way of mirroring the trac-hacks.org site? Any ideas appreciated. /Lars --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
using a distributed version control (like git, mercurial, dards) instead of svn would at least make mirroring the plugins easy :) Using SVN 1.4 on trac-hacks.org (and on t.e.o. BTW) would be a good start: svnmirror could be used. SVN is widely used and has great, user-friendly GUI apps (such as TortoiseSVN)... Cheers, 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
On Tue, Nov 06, 2007 at 03:48:06PM +0100, Emmanuel Blot wrote: using a distributed version control (like git, mercurial, dards) instead of svn would at least make mirroring the plugins easy :) Using SVN 1.4 on trac-hacks.org (and on t.e.o. BTW) would be a good start: svnmirror could be used. Rupert was kidding, I guess. BTW: svn 1.5 is on the way, so if someone plans to migrate from pre-1.4 to a recent version, it might be a good idea to wait for a couple of weeks. Rainer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Rainer Sokoll wrote: On Tue, Nov 06, 2007 at 03:48:06PM +0100, Emmanuel Blot wrote: using a distributed version control (like git, mercurial, dards) instead of svn would at least make mirroring the plugins easy :) Using SVN 1.4 on trac-hacks.org (and on t.e.o. BTW) would be a good start: svnmirror could be used. SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Chris --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
On Nov 6, 2007 10:53 AM, Emmanuel Blot [EMAIL PROTECTED] wrote: SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Sure but this means TH needs to push information - therefore an operation is required on TH when a new mirror appears or needs to be removed. For mirrors, what about creating a daily copy of the repo using 'svnadmin dump', then posting the file for public download. Sites that wanted to mirror could then fetch a copy on an interval and load it using 'svnadmin load'. To ensure service, it could be worked out that in the event of a failure at trac-hacks, a repository could be designated as a backup working site. The backup site could be kept up to date using svnsync using a post-commit hook. Changes on this site could be loaded to trac-hacks when service is restored. Axton Grams --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Choosing path
Hi, I'm in a tight spot in regards to versions. My server is running FC4 which is using sqlite3.1.2. According to the install notes it's preferable to use 3.5.x. The server has an unusual setup which allows me to run four IDE drives on fully separate channels which is then soft-raided. Getting it to work was a bit tricky and quite time consuming as many distro's simply did not work properly. RPM is of course using sqlite and there are no updates for sqlite to get it into range with the recommendations. I also see that mysql is still experimental, narrowing my options. At this point I'm too new to trac to be able to tell which might be the best path here. Upgrading the server is way too time consuming at this point. Any feelers or experience which can aid me in choosing which path to take here? -- Bobby --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Axton wrote: On Nov 6, 2007 10:53 AM, Emmanuel Blot [EMAIL PROTECTED] wrote: SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Sure but this means TH needs to push information - therefore an operation is required on TH when a new mirror appears or needs to be removed. For mirrors, what about creating a daily copy of the repo using 'svnadmin dump', then posting the file for public download. Sites that wanted to mirror could then fetch a copy on an interval and load it using 'svnadmin load'. To ensure service, it could be worked out that in the event of a failure at trac-hacks, a repository could be designated as a backup working site. The backup site could be kept up to date using svnsync using a post-commit hook. Changes on this site could be loaded to trac-hacks when service is restored. That's all good ideas. How about mirroring the Trac site itself? /L --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
How about we just wait the 2 hours for an admin to notice and kick apache in the head? I think this is being seriously over-thought. If people need the code for plugins, it should all be available on PyPI as a mirror (assuming the author was wise enough to push copies there). --Noah Axton wrote: On Nov 6, 2007 11:13 AM, Lars Stavholm [EMAIL PROTECTED] wrote: Axton wrote: On Nov 6, 2007 10:53 AM, Emmanuel Blot [EMAIL PROTECTED] wrote: SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Sure but this means TH needs to push information - therefore an operation is required on TH when a new mirror appears or needs to be removed. For mirrors, what about creating a daily copy of the repo using 'svnadmin dump', then posting the file for public download. Sites that wanted to mirror could then fetch a copy on an interval and load it using 'svnadmin load'. To ensure service, it could be worked out that in the event of a failure at trac-hacks, a repository could be designated as a backup working site. The backup site could be kept up to date using svnsync using a post-commit hook. Changes on this site could be loaded to trac-hacks when service is restored. That's all good ideas. How about mirroring the Trac site itself? /L How about the same arrangement so far as the schedule; just tgz the resulting directory structure from trac-admin hotcopy. I have a hosted machine I can offer as a mirror if the owner of TH will work with me to make some type of arrangement. Host has 500gb monthly transfer, runs Trac 0.10.3.1, svn 1.4.2, apache 2.2.4, python 2.4, sqlite 3.3.10, linux x86. The authentication will be a little tricky, as my site may not be configured like the TH site. I use digest auth via TracAccountManager 0.1.3dev-r1844. The same set of htdigest credentials are used to manage svn commit access. Axton Grams --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~--- signature.asc Description: OpenPGP digital signature
[Trac] Re: http://trac-hacks dead?
While we're all going overboard, we can kindly ask the admin to make DNS entries for mirror1.trac-hacks.org, mirror2.t-h.org etc. If everybody offering has the bandwidth to spare, he can even round-robin downloads.trac-hacks.org and reduce the bill. - Aaron --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Noah Kantrowitz wrote: How about we just wait the 2 hours for an admin to notice and kick apache in the head? 2 hours long gone. I think this is being seriously over-thought. If people need the code for plugins, it should all be available on PyPI as a mirror (assuming What's PyPI? /L the author was wise enough to push copies there). --Noah Axton wrote: On Nov 6, 2007 11:13 AM, Lars Stavholm [EMAIL PROTECTED] wrote: Axton wrote: On Nov 6, 2007 10:53 AM, Emmanuel Blot [EMAIL PROTECTED] wrote: SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Sure but this means TH needs to push information - therefore an operation is required on TH when a new mirror appears or needs to be removed. For mirrors, what about creating a daily copy of the repo using 'svnadmin dump', then posting the file for public download. Sites that wanted to mirror could then fetch a copy on an interval and load it using 'svnadmin load'. To ensure service, it could be worked out that in the event of a failure at trac-hacks, a repository could be designated as a backup working site. The backup site could be kept up to date using svnsync using a post-commit hook. Changes on this site could be loaded to trac-hacks when service is restored. That's all good ideas. How about mirroring the Trac site itself? /L How about the same arrangement so far as the schedule; just tgz the resulting directory structure from trac-admin hotcopy. I have a hosted machine I can offer as a mirror if the owner of TH will work with me to make some type of arrangement. Host has 500gb monthly transfer, runs Trac 0.10.3.1, svn 1.4.2, apache 2.2.4, python 2.4, sqlite 3.3.10, linux x86. The authentication will be a little tricky, as my site may not be configured like the TH site. I use digest auth via TracAccountManager 0.1.3dev-r1844. The same set of htdigest credentials are used to manage svn commit access. Axton Grams --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Christian Boos wrote: Lars Stavholm wrote: Axton wrote: On Nov 6, 2007 10:53 AM, Emmanuel Blot [EMAIL PROTECTED] wrote: SVN 1.4+ has svnsync available which is also an option. It can be set up to run as a commit hook and push out/sync changesets to a list of mirror repositories or just be scheduled for periodic sync. Sure but this means TH needs to push information - therefore an operation is required on TH when a new mirror appears or needs to be removed. For mirrors, what about creating a daily copy of the repo using 'svnadmin dump', then posting the file for public download. Sites that wanted to mirror could then fetch a copy on an interval and load it using 'svnadmin load'. To ensure service, it could be worked out that in the event of a failure at trac-hacks, a repository could be designated as a backup working site. The backup site could be kept up to date using svnsync using a post-commit hook. Changes on this site could be loaded to trac-hacks when service is restored. That's all good ideas. How about mirroring the Trac site itself? /L http://trac.edgewall.org/ticket/5715#comment:7 I meant the trac-hacks.org contents. /L --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Connect psycopg2 with selfcompiled Python version
petschni wrote: Hello, I had to install/compile my own Pythonversion, since the version of my hoster was too old. After that I also installed psycopg2. (I could not do the system wide installation, since I am not root.) But after that I was not able to find any documentation on how to tell Python that it is supposed to use psycopg2. This is probably a very basic question, but I did not find information on this on the psycopg2-website. Does somebody know what I have to do? (Right now the when I want to create a new project, trac complains that i cannot connect to the database...) It sounds like you perhaps used the old python version that came with the system instead of the new one when you installed psycopg2. That would explain why setup.py install failed and why your python version can't seem to find the psycopg2 module. You should probably run something like this to install psycopg2: $ cd psycopg2-2.0.x/ $ /somewhere/bin/python setup.py install Cheers, Jonas --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
On 11/6/07, Noah Kantrowitz [EMAIL PROTECTED] wrote: How about we just wait the 2 hours for an admin to notice and kick apache in the head? I think this is being seriously over-thought. If people need the code for plugins, it should all be available on PyPI as a mirror (assuming the author was wise enough to push copies there). Over thought? Today makes 2 out of the 3 times I've tried to 'show-off' trac hacks and it's been down. All three have been to separate groups where I was advocating the use of Trac. Extensibility through plugins are a life-line. We need a solution that doesn't keep putting kinks in that line. All I care about are the plugins themselves and especially the directions on installing and setting up each plugin. What the owner of trac-hacks is doing for the community is fantastic - we just need to have a good solution in place to help support the existing effort. -Rich --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Richard Lyman wrote: On 11/6/07, Noah Kantrowitz [EMAIL PROTECTED] wrote: How about we just wait the 2 hours for an admin to notice and kick apache in the head? I think this is being seriously over-thought. If people need the code for plugins, it should all be available on PyPI as a mirror (assuming the author was wise enough to push copies there). Over thought? Today makes 2 out of the 3 times I've tried to 'show-off' trac hacks and it's been down. All three have been to separate groups where I was advocating the use of Trac. Extensibility through plugins are a life-line. We need a solution that doesn't keep putting kinks in that line. All I care about are the plugins themselves and especially the directions on installing and setting up each plugin. What the owner of trac-hacks is doing for the community is fantastic - we just need to have a good solution in place to help support the existing effort. Agreed, the plugins on trac-hacks are super important to the usefulness of trac for many people, no doubt. A well-known/linked mirror or even better an easily changeable DNS record would be ideal so that plugins can always be downloaded (or the downloads can be fixed quickly) regardless of the status of the primary trac-hacks server. On the other hand, I understand that trac-hacks has undergone some changes recently (moved to a new machine I believe?) and therefore understand how this downtime can happen and am grateful for those maintaining the service. Best, Chris --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
On 11/6/07, Richard Lyman [EMAIL PROTECTED] wrote: Over thought? Today makes 2 out of the 3 times I've tried to 'show-off' trac hacks and it's been down. All three have been to separate groups where I was advocating the use of Trac. Extensibility through plugins are a life-line. We need a solution that doesn't keep putting kinks in that line. This has been a particularly bad time for Trac-Hacks, through a series of unfortunate events. First the half month outage because I was on holiday, then since the that Apache has been hanging fairly frequently. I haven't had time to investigate this, but I'll have time when I return home next week. All I care about are the plugins themselves and especially the directions on installing and setting up each plugin. What the owner of trac-hacks is doing for the community is fantastic - we just need to have a good solution in place to help support the existing effort. Is there something that Noah's read-only mirror of TH doesn't provide? -- Evolution: Taking care of those too stupid to take care of themselves. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks dead?
Alec Thomas wrote: On 11/6/07, Richard Lyman [EMAIL PROTECTED] wrote: Over thought? Today makes 2 out of the 3 times I've tried to 'show-off' trac hacks and it's been down. All three have been to [stuff deleted] First of all, thanks very much for getting t-h back up in October and the further work on moving it to the new server and working with apache. existing effort. Is there something that Noah's read-only mirror of TH doesn't provide A prominent link from trac.edgewall.org, a url like mirror.trac-hacks.org, or the ability to easily be pointed to as www.trac-hacks.org when the main server goes down. Best, Chris --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Choosing path
Hi, OK, I reinstalled with yum, created a pwfile with htdigest and dropped the users.htdigest file into /var/www/trac/conf and later into /var/www/svn/repo/test/conf Having setup access I then ran trac-admin and added bobby which shows up as TRAC_ADMIN with 'permission list'. The first time I browsed trac it asked for my pw. Then displayed the web gui. All fine so far. This is where it gets interesting, which I don't know if it is related to version issues. Login does not work without --auth so I ran: tracd --auth test, /var/www/trac/conf/users.htdigest, test.com \ /var/www/trac Every tab works except for Login. It fails with an authentication info not available error. But /var/www/trac is not where my svn project is. (And this part is not clear) So if I run the same but point to where the project is: /var/www/svn/repos/test It says Environment not found and does not display anything else. Since trac.ini has this reference: repository_dir = /var/www/svn/repos/test I'm guessing that maybe that's how it finds it. But wait how do you specify different projects if that's the case? does not add up. The web log gives an error 500 when trying to login using the first tracd example. Which I think is permission error. I gave anonymous TRAC_ADMIN to see if that made a difference and it does not. That makes it look like a authentication error. But the odd part is that that part worked. It asked for a login. Which probably show my confusion. -- Bobby --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Start tracd with more than one user to authenticate
Hi, I am starting the tracd Server with: tracd -p 8080 --auth *,/./users,Peter /.../afser/ Authenticating for Peter works fine. But I also want to enable authenticating for the other users in the users-file. I looked in the documentation for it but it is only mentioning on how to manage that for more than one project but not for more than one user ;( Am I missing something? thanks, 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Start tracd with more than one user to authenticate
Hi, tracd -p 8080 --auth *,/./users,Peter /.../afser/ Authenticating for Peter works fine. But I also want to enable authenticating for the other users in the users-file. I looked in the documentation for it but it is only mentioning on how to manage that for more than one project but not for more than one user ;( Am I missing something? I simply start tracd with tracd -p8000 path/to/project and use the AccountManagerPlugin ( http://trac-hacks.org/wiki/AccountManagerPlugin ) with HtDigestStore ( http://trac-hacks.org/wiki/AccountManagerPlugin#HtDigestStore ). Works wonderful here. BR Simon --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---