Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (247 - 249 of 332)

Ticket Resolution Summary Owner Reporter
#345 fixed trac installation detection exception false positive bas quinn@…
Description
On a new installation of email2trac 2.8.4, I got this error:

{{{
{q@oak/0 ~} echo hello | sudo -u apache /usr/bin/email2trac --project=asdf
Can not find a a valid trac installation, solutions could be:
        set PYTHONPATH
        use the --virtualenv <dir> option
}}}

However Trac is installed in the default location, and python is able to
find it with the default configuration:

{{{
{q@oak/0 ~} python -c 'from trac import __version__ as trac_version; print
trac_version'
0.12.5
}}}

So I discovered the problem is not that email2trac cannot find Trac, but
that there was a missing dependancy. I modified /usr/bin/email2trac to
display the detail of the exception:

{{{
--- /usr/bin/email2trac.orig    2014-11-17 09:25:11.000000000 -0600
+++ /usr/bin/email2trac 2014-11-17 09:25:16.000000000 -0600
@@ -2755,6 +2755,7 @@
         from trac import config as trac_config

     except ImportError, detail:
+        print detail
         print "Can not find a a valid trac installation, solutions could
be:"
         print "\tset PYTHONPATH"
         print "\tuse the --virtualenv <dir> option"
}}}

And it displayed this:

{{{
{q@oak/0 ~} echo hello | sudo -u apache /usr/bin/email2trac --project=ex
No module named genshi.builder
Can not find a a valid trac installation, solutions could be:
        set PYTHONPATH
        use the --virtualenv <dir> option
}}}

Installing package `python-genshi` solved the problem. However, while
installing the `python-genshi` package (version 0.5.1-7.1.el6) fixed the
problem, allowing email2trac to run correctly, it broke Trac exactly in the
way described by this user:
<https://oss.trac.surfsara.nl/email2trac/ticket/298>. When I have only the
package `python-genshi06` installed with Trac 0.12.5 it works fine, but not
email2trac.

In reference to this problem, setting `PYTHONPATH` didn't help. instead I
found the solution was to create a symlink:
{{{
sudo ln -s /usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi
/usr/lib/python2.6/site-packages/genshi
}}}

This is probably only a problem for CentOS/RHEL users who have Trac
installed form the EPEL repository.

Quinn
#288 fixed whilte_list enhancements bas randy@…
Description

white_list from wiki users' list

it would be nice if email2trac can check the email address against the registered users and if there is a match accept the ticket. as people sometimes post from different addresses than their registered ones, maybe also a file of added white_addrs would be cool.

#289 duplicate email2trac white_list from registered users bas randy@…
Description
it would be nice if email2trac could check the email address against the
registered users and if there is a match accept the ticket.  also, as
people sometimes post from different addresses than their registered
ones, maybe also a file of added white_addrs would be cool.
Note: See TracQuery for help on using queries.