[Trac] Re: On Windows, Apache crashes when I attempt to access trac

2009-09-23 Thread Cooke, Mark

Hello,

> I cannot seem to get TRAC to work under Apache.
> 
> First of all, I can access subversion through apache w/o any problems.
> 
> Other discussion that I found seen to indicate that I may have a
> version mismatch been the Apache and Python.
> 
> I have installed the following:
> -- python 2.5 installed with  "python-2.5.msi"
> -- apache with "apache_2.2.13-win32-x86-openssl-0.9.8k.msi"
> -- mod_python with "mod_python-3.3.1.win32-py2.5-Apache2.2.exe"
> 
Graham Dumpleton has been trying to persuade everyone on the mod_python
list to move to mod_wsgi for ages, it is generally faster and most
importantly actively developed (mod_python seems pretty dead now).  So I
used mod_wsgi to run trac (before I was asked not to use apache) with no
problems.  Here's what I had in my httpd.conf:

LoadModule wsgi_module modules/mod_wsgi.so

...and...

#

=== #
# ==
Trac === #
#

=== #
#
# Trac is accessed using WSGI...
#
WSGIScriptAlias /trac D:/TRAC/apache/trac.wsgi


  WSGIApplicationGroup %{GLOBAL}
  Order deny,allow
  Allow from all


...and trac.wsgi (nice and simple but stripped of comments)...

import sys
sys.stdout = sys.stderr

import os
os.environ['TRAC_ENV_PARENT_DIR'] = 'd:/TRAC/sites'
os.environ['PYTHON_EGG_CACHE'] = 'd:/TRAC/eggs'

import trac.web.main
application = trac.web.main.dispatch_request

...to serve all trac environments stored under 'd:/TRAC/sites'.  Hope
this helps.

~ Mark C

--~--~-~--~~~---~--~~
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] On Windows, Apache crashes when I attempt to access trac

2009-09-23 Thread Timothy Heintz

Hi,

I cannot seem to get TRAC to work under Apache.

First of all, I can access subversion through apache w/o any problems.

Other discussion that I found seen to indicate that I may have a
version mismatch been the Apache and Python.

I have installed the following:
-- python 2.5 installed with  "python-2.5.msi"
-- apache with "apache_2.2.13-win32-x86-openssl-0.9.8k.msi"
-- mod_python with "mod_python-3.3.1.win32-py2.5-Apache2.2.exe"

My apache config for my project "/trac" is

   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /trac
#   PythonOption TracUriRoot /trac


--~--~-~--~~~---~--~~
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: allow anonymous to view Timeline-RSS?

2009-09-23 Thread Jeff Hammel

On Wed, Sep 23, 2009 at 07:21:29AM +0200, Jens Schwarz wrote:
> 
> Hi,
> 
> I have a trac environment that is only accessible to authorized users. What I 
> want is to make an exception so that anonymous users can view the 
> Timelins-RSS (or in other words: so that registered users can view this RSS 
> without having to login first). So I setup my trac to allow the subject 
> "anonymous" to perform the action "TIMELINE_VIEW".
> The result: Now unauthorized users can access the timeline but it remains 
> empty (in comparison to an authorized user). I expected that at least the the 
> items of the timeline are displayed.
> 
> Any hints on how to accomplish this?
> 
> Thanks
> 
> Jens

The problem is, the items on the timeline take their permissions from 
TICKET_VIEW, BROWSER_VIEW, WIKI_VIEW, etc.  I'm not sure of a trivial 
work-around here, except ugly hacks.  

I guess the quickest workaround I can think of is making a "new" timeline view 
that makes a subrequest as an authorized user and returns the result (or, well, 
minus the navbar and all of that.  But the problem itself really goes against 
the grain of the permission system (and common sense) so, personally, I 
wouldn't want to do this and wouldn't do this unless my boss told me to.

Maybe someone else can come up with a better workaround?  Again, though, I 
wouldn't want to solve this problem.

Jeff

--~--~-~--~~~---~--~~
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: Forcing reporter as an owner in workflow

2009-09-23 Thread Filip Gruszczyński

OK, it seems I need to restart wsgi for trac. Now it started working :-)

W dniu 23 września 2009 11:41 użytkownik Filip Gruszczyński
 napisał:
> I have installed the plugin and followed the steps from the wiki, but
> nothing has changed in our trac (except for the fact, that now owner
> cannot be set). Can I somehow diagnose what is wrong?
>
> W dniu 23 września 2009 10:56 użytkownik Filip Gruszczyński
>  napisał:
>> Thanks :-)
>>
>> 2009/9/22 Eric Hoch :
>>> Hello,
>>>
>>>    Take a look at http://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin.
>>> It has a set_owner_to_reporter operation that should suit your needs.
>>>
>>> -Eric
>>>
>>> On Tue, Sep 22, 2009 at 4:18 AM, gruszczy  wrote:

 Hello everyone!

 I am trying to tailor Trac to the needs of company that I work in.
 It's nearly done, but there is one little thing that needs to be done.
 When someone believes a ticket he is working on is done, he should set
 the state as 'claim fixed'. At this point I would like to force user
 to set owner to the reporter of the ticket, as he/she is the only one
 allowed to close it. Is it possible to specify this in trac conf file?


>>>
>>>
>>> >>>
>>>
>>
>>
>>
>> --
>> Filip Gruszczyński
>>
>
>
>
> --
> Filip Gruszczyński
>



-- 
Filip Gruszczyński

--~--~-~--~~~---~--~~
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 and SVN

2009-09-23 Thread RobinP

Trac also has a hotcopy command:  http://trac.edgewall.org/wiki/TracBackup


On 2 sep, 10:50, "Cooke, Mark"  wrote:
> > Hello everyone
>
> Hello
>
> > I am new to Trac and I have a basic question.
> > I have Trac and SVN installed and run on linux. My question is "how
> > can I have the files related to Trac (such as tickets,wikipages and
> > etc) be backed up by SVN automatically"?
>
> I think the simple answer is "you can't".  How have you got Trac
> configured?  A modern install of svn uses its own "file system" under a
> root directory.  This is completely separate from the Trac files that
> are stored in their own environment directories, backed up by a database
> (are you using PostgreSQL or SQLite?).
>
> I am running on windows and I have a scheduled batch file run
> automatically.  This in turn runs the svn hotbackup.py script on my
> various repositories.  Then it stops the tracd and postgresql services,
> zips the trees and saves them, then restarts postgresql and tracd (I'm
> not allowed to run apache atm).  I am sure you could set up something
> similar (and probably better) on linux...
>
> Unless of course someone else here knows better?  I'm only a recent
> admin, upgraded from user by my new company!
>
> ~ Mark C
--~--~-~--~~~---~--~~
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: Forcing reporter as an owner in workflow

2009-09-23 Thread Filip Gruszczyński

I have installed the plugin and followed the steps from the wiki, but
nothing has changed in our trac (except for the fact, that now owner
cannot be set). Can I somehow diagnose what is wrong?

W dniu 23 września 2009 10:56 użytkownik Filip Gruszczyński
 napisał:
> Thanks :-)
>
> 2009/9/22 Eric Hoch :
>> Hello,
>>
>>    Take a look at http://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin.
>> It has a set_owner_to_reporter operation that should suit your needs.
>>
>> -Eric
>>
>> On Tue, Sep 22, 2009 at 4:18 AM, gruszczy  wrote:
>>>
>>> Hello everyone!
>>>
>>> I am trying to tailor Trac to the needs of company that I work in.
>>> It's nearly done, but there is one little thing that needs to be done.
>>> When someone believes a ticket he is working on is done, he should set
>>> the state as 'claim fixed'. At this point I would like to force user
>>> to set owner to the reporter of the ticket, as he/she is the only one
>>> allowed to close it. Is it possible to specify this in trac conf file?
>>>
>>>
>>
>>
>> >>
>>
>
>
>
> --
> Filip Gruszczyński
>



-- 
Filip Gruszczyński

--~--~-~--~~~---~--~~
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: Forcing reporter as an owner in workflow

2009-09-23 Thread Filip Gruszczyński

Thanks :-)

2009/9/22 Eric Hoch :
> Hello,
>
>    Take a look at http://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin.
> It has a set_owner_to_reporter operation that should suit your needs.
>
> -Eric
>
> On Tue, Sep 22, 2009 at 4:18 AM, gruszczy  wrote:
>>
>> Hello everyone!
>>
>> I am trying to tailor Trac to the needs of company that I work in.
>> It's nearly done, but there is one little thing that needs to be done.
>> When someone believes a ticket he is working on is done, he should set
>> the state as 'claim fixed'. At this point I would like to force user
>> to set owner to the reporter of the ticket, as he/she is the only one
>> allowed to close it. Is it possible to specify this in trac conf file?
>>
>>
>
>
> >
>



-- 
Filip Gruszczyński

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---