Custom Query (330 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 330)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#262 fixed TypeError: iterable argument required bas glenn
Description

email2trac option ticket_permission_system: trac is not working.

Aug 5 04:56:23 monitor-vm Trac[env] INFO: -------------------------------- environment startup [Trac 0.12.2] -------------------------------- Aug 5 04:56:23 monitor-vm email2trac sinonet: subject: test Aug 5 04:56:24 monitor-vm email2trac sinonet: Traceback (most recent call last): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 2467, in ? tktparser.parse(sys.stdin) Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 1660, in parse self.new_ticket(m, subject, spam_msg) Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 1069, in new_ticket if not self.check_permission(tkt, 'TICKET_CREATE'): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 693, in check_permission if perm.check_permission(action, self.author): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "build/bdist.linux-i686/egg/trac/perm.py", line 454, in check_permission Aug 5 04:56:24 monitor-vm email2trac sinonet: File "build/bdist.linux-i686/egg/privatetickets/policy.py", line 32, in check_permission Aug 5 04:56:24 monitor-vm email2trac sinonet: TypeError?: iterable argument required

#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
#201 fixed [Trac] - email2trac for trac 0.12 bas mark_kids@…
Description

Hi Sara,

I've tried installing the latest version of email2trac. But unfortunately,
it failed on testing.

My trac version is currently 0.12dev. I've ran this and I got a message
thats says it's not supported.

# email2trac --project=affinity < /usr/local/src/email2trac-1.4.2/msg.txt

TRAC version 0.12dev is not supported

Thanks and regards,

Mark
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.