Custom Query (330 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 330)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#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...

#23 fixed Configuration problem bas Marc Zahnlecker <m.zahnlecker@…>
Description
Hello email2trac team,

I installed email2trac without the packet manager on a Suse 10.0
installation.
MTA and Trac users were specified by configure.

The email2trac.conf file looks this way:

[DEFAULT]
project: /usr/share/trac/projects/v3cms
debug: 10
umask: 022
spam_level: 5
reply_all : 0
mailto_link: 0
umask: 022
email_comment: >
email_header: 0
trac_version: 0.5
enable_syslog : 0
alternate_notify_template :
drop_spam : 0
verbatim_format: 1
strip_signature: 0


[v3cms]
debug: 10
project: /usr/share/trac/projects/v3cms
spam_level: 5
-----------------------------------------

But when I use email2trac --project=v3cms < msg.txt
to test the configuration I'm getting the following error:

Traceback (most recent call last):
  File "/usr/local/bin/email2trac", line 1060, in ?
    env = Environment(settings['project'], create=0)
NameError: name 'Environment' is not defined

I don't have any idea what's the problem, so please help me to get
email2trac working.

Thank you for your help.
Best regards
M. Zahnlecker
#24 fixed "ImportError: No module named syslog" on Windows bas michael.th@…
Description

Running email2trac.py under Windows causes the following error:

ImportError: No module named syslog

This happens for Python 2.4.4 as well as 2.5; according to my research the simple explanation is that there is no syslog-module for Python on Windows as there is no syslog...

Attached to this ticket you will find a patch to conditionally load the syslog-module in case it is available on the current platform and to skip it otherwise. This patch is against source:/trunk/email2trac.py.in@189.

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