JMonteiro_RAS | 1 Oct 2007 02:24
Picon

[Trac] Can't see the wiki!


Hello,
After a very hard struggle to put Trac working with the tracd
miniserver, i installed apache2 and all the things i need like
mod_python.
The thing is that mabe i'm missing some of the basis.. I have created
a /var/www/rac initenv with trac-admin, configured the httpd.conf like
this:

<VirtualHost * >
    DocumentRoot /var/www/rac/
    ServerName trac.mycompany.com
    SetEnv HTTPS 1
    Alias /trac /usr/share/trac/htdocs
    <Location /racbot-rt2>
        SetHandler mod_python
        PythonInterpreter main_interpreter
	PythonPath "sys.path + ['/usr/lib/python2.5/site-packages']"
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /var/www/rac/
        PythonOption TracUriRoot /racbot-rt2
    </Location>
    <Location /login>
        AuthType Basic
        AuthName "MyCompany Trac Server"
        AuthUserFile /Projects/trac.htpasswd
        Require valid-user
    </Location>
</VirtualHost>

(Continue reading)

JMonteiro_RAS | 1 Oct 2007 03:50
Picon

[Trac] Re: Can't see the wiki!


Ok i managed to understand that i need to http://server_IP/location_definition
but it gives me server internal error. Mabe mod_python problems..? I
tried to install mod_python 3.3.1, but when i go to http://server_IP
it presents me the DocumentRoot folder list and in the bottom of the
page says mod_python 3.2.10 (the old version).. How can i actualize
mod_python if it's indeed my problem?

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Paresh | 1 Oct 2007 12:31
Picon
Favicon

[Trac] Getting plugins to work


Hi

I have installed trac 0.10.4 with Apache2 and python 2.5 on Ubuntu 7.4

I have got the basic trac system working but it doesn't seem to
recognise any plugins that I install in the '/var/lib/trac/project/
plugins' directory.

I have edited the trac.ini to enable the correct components, but I
still only get the basic trac without the plugins

Can anyone help?

Paresh

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

[Trac] Re: Getting plugins to work


Have you tried restarting the webserver?

- Andreas

On Oct 1, 11:31 am, Paresh <Paresh.Sola...@...>
wrote:
> Hi
>
> I have installed trac 0.10.4 with Apache2 and python 2.5 on Ubuntu 7.4
>
> I have got the basic trac system working but it doesn't seem to
> recognise any plugins that I install in the '/var/lib/trac/project/
> plugins' directory.
>
> I have edited the trac.ini to enable the correct components, but I
> still only get the basic trac without the plugins
>
> Can anyone help?
>
> Paresh

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

(Continue reading)

[Trac] Re: Getting plugins to work


Have you tried restarting the webserver?

- Andreas

On Oct 1, 11:31 am, Paresh <Paresh.Sola...@...>
wrote:
> Hi
>
> I have installed trac 0.10.4 with Apache2 and python 2.5 on Ubuntu 7.4
>
> I have got the basic trac system working but it doesn't seem to
> recognise any plugins that I install in the '/var/lib/trac/project/
> plugins' directory.
>
> I have edited the trac.ini to enable the correct components, but I
> still only get the basic trac without the plugins
>
> Can anyone help?
>
> Paresh

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

(Continue reading)

Paresh | 1 Oct 2007 12:55
Picon
Favicon

[Trac] Re: Getting plugins to work


Yes, I have also checked permissions on the files and directories.

On Oct 1, 11:43 am, "andreas.r.r.gustafs...@..."
<andreas.r.r.gustafs...@...> wrote:
> Have you tried restarting the webserver?
>
> - Andreas
>
> On Oct 1, 11:31 am, Paresh <Paresh.Sola...@...>
> wrote:
>
> > Hi
>
> > I have installed trac 0.10.4 with Apache2 and python 2.5 on Ubuntu 7.4
>
> > I have got the basic trac system working but it doesn't seem to
> > recognise any plugins that I install in the '/var/lib/trac/project/
> > plugins' directory.
>
> > I have edited the trac.ini to enable the correct components, but I
> > still only get the basic trac without the plugins
>
> > Can anyone help?
>
> > Paresh

--~--~---------~--~----~------------~-------~--~----~
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@...
(Continue reading)

JMonteiro_RAS | 1 Oct 2007 14:16
Picon

[Trac] Re: Can't see the wiki!


Watching the apache error.log i get the following:

[error] make_obcallback: could not import mod_python.apache.\n

Here's my httpd.conf simple setup:

<Location /rac>
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonPath "sys.path+['/usr/lib/python2.4/site-packages']
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /Projects/racbot-rt
   PythonOption TracUriRoot /rac
</Location>

Python path is good right? So what's the prob? I've installed
mod_python with ./configure --with-apsx... What could be wrong?

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Emmanuel Blot | 1 Oct 2007 14:19
Picon
Gravatar

[Trac] Re: Can't see the wiki!


>     DocumentRoot /var/www/rac/
>     PythonOption TracEnv /var/www/rac/

Trac environment should not be placed below the DocumentRoot.

>     <Location /racbot-rt2>
>     <Location /login>

second directive should be /racbot-rt2/login

> When i connect to the server IP with another computer this simply
shows me the folders of the defined root folder /var/www/rac

the URL you should use, given your config file, should be https://IP/racbot-rt2

Once you've changed a module (such as mod_python), you want to restart Apache.

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@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

JMonteiro_RAS | 1 Oct 2007 15:30
Picon

[Trac] Re: Can't see the wiki!


Hello Emmanuel,
Thanx for your repply but can you see the problem on my last post?

Regards

On 1 out, 13:19, "Emmanuel Blot" <manu.b...@...> wrote:
> >     DocumentRoot /var/www/rac/
> >     PythonOption TracEnv /var/www/rac/
>
> Trac environment should not be placed below the DocumentRoot.
>
> >     <Location /racbot-rt2>
> >     <Location /login>
>
> second directive should be /racbot-rt2/login
>
> > When i connect to the server IP with another computer this simply
>
> shows me the folders of the defined root folder /var/www/rac
>
> the URL you should use, given your config file, should behttps://IP/racbot-rt2
>
> Once you've changed a module (such as mod_python), you want to restart Apache.
>
> Cheers,
> Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
(Continue reading)

Gunnar Thielebein | 1 Oct 2007 17:16
Picon

[Trac] setup.py 0.11 don't copy folders to /usr/share


Hi,

I would like to use the 0.11 for testing compatibility with some 0.10.4
plugins.

As the INSTALL file from svn co states:

> Installing Trac
> ---------------
> The command:
>
>   $ python ./setup.py install
>
> will byte-compile the python source code and install it in the
> site-packages directory of your python installation. The directories
> cgi-bin,
> templates, htdocs and wiki-default are all copied to
> ``$prefix/share/trac/``.

But on my gentoo no folders are copied to /usr/share.
Before I have used the distro specific package but removed it now.
Is this behaviour intentional in a way that I first have to install
0.10.4 and 0.11 on top of that?
These folders don't change between both versions, do they?

Regards, Gunnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
(Continue reading)


Gmane