Bill Salak | 1 Mar 01:38

[Trac] Re: No such file or directory.


I recently had this problem on an RHEL4 box and fixed it by running
ldconfig. 

-----Original Message-----
From: White, Joseph [mailto:jwhite@...] 
Sent: Wednesday, February 28, 2007 10:10 AM
To: trac-users@...
Subject: [Trac] Re: No such file or directory.

 Hello All,

WOW, in 9 years working with Linux I have never had problems
installing software on Linux like TRAC is giving me.

System RHEL4 Update 4 64-BIT

I have the following installed:

RHEL 4 / Apache 2.0.52 / subversion-1.2.1 / Kerberos Authentication
(This all works fine)

=======================
TRAC .11 from source
Genshi-0.3.6
python 2.4 from source  installed to /usr/local/bin
/usr/local/lib/python2.4
sqlite-3.1.2-2.99_2.el4.at.x86_64.rpm
python-sqlite-1.1.7-1.2.0.99_4.el4.at.x86_64.rpm

(Continue reading)

Axel Thimm | 1 Mar 06:12

[Trac] No authentication when using short URL in mod_python?

Hi,

I have a working trac 0.10.3/mod_python/ldap setup with a URL prefix
of /trac. But when I try to remove that prefix to have trac serve on
the root of the domain the /login gives the dreaded "Authentication
information not available." I'm following closely TracModPython,
e.g. I'm using a mixture of the ldap setup and the virtualhost example
there.

Here is the config (some hostnames etc XXX'd):

  <Location "/">
    Order allow,deny
    Allow from all
    SetHandler mod_python
    PythonPath "sys.path+['/opt/TWWfsw/trac010/lib/python242']"
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /ext/trac
    PythonOption TracUriRoot /
  </Location>

  <Location /trac-static>
    SetHandler None
  </Location>
  Alias /trac-static /opt/TWWfsw/trac010/share/htdocs

  <LocationMatch /login>
    AuthType Basic
    AuthName "Trac"
    AuthBasicProvider "ldap"
(Continue reading)

Emmanuel Blot | 1 Mar 12:26
Picon
Gravatar

[Trac] Re: RevTreePlugin and branch reg ex


> Is it possible to get a revision tree for that layout?

As long as you don't commit changes on different branches within the
same revision, it should be able to show something useful, yes.

> Does anyone
> have a suggestion on a regex that would seperate the branches?

I never try Revtree with such a repository layout, but it should work.
Which regex are you using for now?

As your repository is public, could you send me an archive of the
whole repository (svnadmin dump | bzip2 -c > archive.svn.bz2) attached
to a private message (not to the ML ;-))? That would be great to test
Revtree with such a repos layout.

> Trac: 0.10.3
> TracRevtreePlugin: 0.4.7dev
> Python: 2.3.5

BTW, note that several fixes have been fixed for Trac 0.11
(RevtreePlugin for 0.10.x is not maintained).

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

Emmanuel Blot | 1 Mar 12:53
Picon
Gravatar

[Trac] Re: How can I change the message of a changeset?


1. Change the log message w/ Subversion
    (for example from the command line: svn propedit --revprop -r 50 svn:log)
2. Force a resync of Trac cache
    trac-admin resync <project>

HTH,
Manu

On 2/28/07, silverburgh.meryl@...
<silverburgh.meryl@...> wrote:
>
> In the timeline, I have the following entry:
> But i made a mistake, how can i change the message of a changeset?
>
> 10:27 Changeset [50] by meryl
>     Fixes #3 my test trouble ticket
>
> Thank you.
>
>
> >
>

--

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

Bernhard D Rohrer | 1 Mar 14:01
Gravatar

[Trac] trac with apache and mod_python


Hi folks

I have a really bad newbie question ;)

I can't quite make heads or tails of the documentation as regards 
directories:

I am running apache 2 on ubuntu dapper and have parts of ubuntu in the 
following directories:

root <at> diskslave:/usr/share/trac# ls -al
total 24
drwxr-xr-x   7 root root   86 2007-02-15 01:09 .
drwxr-xr-x 150 root root 4096 2007-02-22 12:32 ..
drwxr-xr-x   2 root root   37 2007-02-15 01:09 cgi-bin
drwxr-xr-x   4 root root 4096 2007-02-15 01:09 htdocs
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 templates
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 wiki-default
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 wiki-macros

seems to be the general installation directory, but htdocs only contains:

root <at> diskslave:/usr/share/trac/htdocs# ls -al
total 120
drwxr-xr-x 4 root root 4096 2007-02-15 01:09 .
drwxr-xr-x 7 root root   86 2007-02-15 01:09 ..
-rw-r--r-- 1 root root  222 2005-08-27 16:55 asc.png
-rw-r--r-- 1 root root  294 2004-11-17 11:01 changeset.png
-rw-r--r-- 1 root root  297 2004-11-17 11:01 closedticket.png
(Continue reading)

Emmanuel Blot | 1 Mar 15:45
Picon
Gravatar

[Trac] Re: RevTreePlugin and branch reg ex


> Ive tried the default (ie, didnt enter anything in trac.ini) and the
> branch_re = ^(?P<branch>branches/[^/]+|trunk|data)(?:/(?P<path>.*))?$

You'll need a custom RE for this kind of layout for sure.

> Ok, but I think I will wait for 0.11 to be released as I use debian to
> reduce the hassle of software installs :)

So do I (Debian servers), except for Trac: it evolves too quickly for
Debian to catch up, and official versions are released on a quite
(too) long basis - and for Genshi.
With SVN + setuptools, it is almost as simple as doing "svn update"
than "aptitude upgrade" ;-).

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

Steve Lianoglou | 1 Mar 15:43

[Trac] Re: Help installing WebAdmin


Sorry, typos :-)

> Just make sure to edit your /path/to/trac/environment/conf/trac.ini
> file, in the [components] section, make sure you have:
>
> webadmin.* = enabled
> webadmin.basics.* = enabled
> webadmin.web_ui.* = enabled
> webadmin.ticket.* = enabled
> webadmin.plugin.* = enabled
> webadmin.perm.* = enabled
> webadmin.logging.* = enabled

On second thought, I think the one "webadmin.* = enabled" is  
sufficient, but I had all of those in my trac.ini file -- perhaps  
form my early days at trying to get it working, dunno.

> If you don't have root/admin access, you can just copy the *.egg file
> to your /path/to/trac/environment/plugins directory. This will only
> give *that one trac instance* access to the plugin. You should have
> access to this folder `pulgins` folder if you are the same user who
> created the trac environment with the initenv command:
>
> trac-admin /path/to/trac/environment/plugins initenv

That command is rather:

trac-admin /path/to/trac/environment initenv

(Continue reading)

redsolo | 1 Mar 15:40
Picon
Gravatar

[Trac] Re: RevTreePlugin and branch reg ex


> As long as you don't commit changes on different branches within the
> same revision, it should be able to show something useful, yes.

Ok, and commits will (probably) not span "product" branches.

> > Does anyone
> > have a suggestion on a regex that would seperate the branches?
>
> I never try Revtree with such a repository layout, but it should work.
> Which regex are you using for now?

Ive tried the default (ie, didnt enter anything in trac.ini) and the
branch_re = ^(?P<branch>branches/[^/]+|trunk|data)(?:/(?P<path>.*))?$

None of them would show me a nice branch, but Im a little unsure that
I really
got the branches going.

> As your repository is public, could you send me an archive of the
> whole repository (svnadmin dump | bzip2 -c > archive.svn.bz2) attached
> to a private message (not to the ML ;-))? That would be great to test
> Revtree with such a repos layout.

Yes, I will in a few mins. Thanks for helping out!

> BTW, note that several fixes have been fixed for Trac 0.11
> (RevtreePlugin for 0.10.x is not maintained).

Ok, but I think I will wait for 0.11 to be released as I use debian to
(Continue reading)

Steve Lianoglou | 1 Mar 15:39

[Trac] Re: Help installing WebAdmin


Hi,

> I tried to download the egg and install it. However since i did not
> have easy install it would not run.

I believe if you just drop the egg in your /path/to/trac/environment/ 
plugins directory, it should work. There shouldn't really be a need  
for easy_install.

Just make sure to edit your /path/to/trac/environment/conf/trac.ini  
file, in the [components] section, make sure you have:

webadmin.* = enabled
webadmin.basics.* = enabled
webadmin.web_ui.* = enabled
webadmin.ticket.* = enabled
webadmin.plugin.* = enabled
webadmin.perm.* = enabled
webadmin.logging.* = enabled

> error: can't create or remove files in install directory
>
> The following error occurred while trying to add or remove files in
> the
> installation directory:
>
>     [Errno 13] Permission denied: '/usr/local/lib/python2.4/site-
> packages/test-easy-install-2192.write-test'
>
(Continue reading)

Emmanuel Blot | 1 Mar 14:27
Picon
Gravatar

[Trac] Re: trac with apache and mod_python


> <Location /projects/myproject>
>     SetHandler mod_python
>     PythonHandler trac.web.modpython_frontend
>     PythonOption TracEnv /var/trac/myproject
>     PythonOption TracUriRoot /projects/myproject
> </Location>
>
> I assume /projects/myproject correlates to /var/lib/trac/shop
>
> but I have no idea where to point TracEnv?

 * TracEnv is the Trac project, on your installation it is /var/lib/trac/shop
 * You also need a rule to serve the static documents (images, css,
javascript) such as
  Alias /tracstatic "/usr/share/trac/htdocs"
  <Directory "/usr/share/trac/htdocs">
    # change this to match your own server security policy if required
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
 * and you need to tell Trac which URL it should emit for the static
documents, in trac.ini
   [trac]
   htdocs_location = /tracstatic/

Obviously, you can replace 'tracstatic' as you like, as long as you
update both Apache conf and Trac conf.

(Continue reading)


Gmane