Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (118 - 120 of 332)

Ticket Resolution Summary Owner Reporter
#316 fixed error: option --project not recognized bas Vagelis Antoniadis <vanton@…>
Description

Hi,

I am trying to use email2trac using your instructions for postfix from here: https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracMta

The problem is that email2trac returns "error: option --project not recognized" and the ticket is not created. In addition, email fails and returns back to the sender with the output of email2trac.

I use the latest version and python 2.7.3

Any ideas?

#173 fixed Extend email_quote to accept regexes bas samuel@…
Description

Several email clients (importantly, including gmail) prefixes reply quotes with the line:

"On <date> <somebody> wrote:"

Email2trac is currently unable to strip this from messages using email_quote. However, this could easily be done by allowing email_quote to accept regular expressions.

The only modification necessary to make this work is to change line 1067 in email2trac.py.in:

  • if line.startswith(self.EMAIL_QUOTE):

+ if re.match(self.EMAIL_QUOTE, line):

#20 fixed fails with request for r/w permissions when user possesses them already anonymous rercola@…
Description

I have a Trac 0.10.3 install on this machine, and I grabbed email2trac 0.10, configured it using dpkg-buildpackage, and installed it as a deb.

I edited the config to point to my trac install, and then edited postfix to point appropriately and run run_email2trac.

It silently failed a number of times before I thought to turn on syslog, and it now prints the following error:

Aug 9 06:30:07 einstein email2trac: Traceback (most recent call last): Aug 9 06:30:07 einstein email2trac: File "/usr/bin/email2trac", line 1062, in ? tktparser.parse(sys.stdin) Aug 9 06:30:07 einstein email2trac: File "/usr/bin/email2trac", line 647, in parse self.db = self.env.get_db_cnx() Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/env.py", line 182, in get_db_cnx return DatabaseManager?(self).get_connection() Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/api.py", line 75, in get_connection return self._cnx_pool.get_cnx(self.timeout or None) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/pool.py", line 101, in get_cnx cnx = self._connector.get_connection(self._kwargs) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 113, in get_connection return SQLiteConnection(path, params) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 150, in init raise TracError?('The user %s requires read _and_ write ' \ Aug 9 06:30:07 einstein email2trac: TracError?: The user trac requires read _and_ write permission to the database file /var/acmtrac/trac-project/db/trac.db and the directory it is located in.

However, if we check the permissions... # ls -al /var/acmtrac/trac-project/db total 6352 drwxr-xr-x 2 trac trac 4096 Aug 9 06:22 . drwxr-xr-x 10 trac root 4096 Aug 9 06:10 .. -rw-r--r-- 1 trac root 2149376 Aug 9 06:22 trac.db

I'm rather at a loss. Trac functions fine, for what it's worth, so whatever it is, it's not breaking trac itself, just email2trac...

Note: See TracQuery for help on using queries.