Opened 18 years ago
Last modified 18 years ago
#154 closed defect
Problem creating tickets. — at Initial Version
Reported by: | Owned by: | Bas van der Vlies | |
---|---|---|---|
Priority: | normal | Component: | EmailtoTracScript |
Severity: | normal | Keywords: | email2trac 532 Component ComponentManager |
Cc: | Trac Release: |
Description
Hi,
I've just setup email2trac, and can't seem to get the processing working. I get the following error when emails are sent. (I've replicated it on command line for ease of reading).
./email2trac -p project -f /www/trac/email2trac/etc/email2trac.conf -c component1 < ~/dev.trac/email2trac-0.4.4/test7.eml Traceback (most recent call last):
File "./email2trac", line 532, in ?
from trac import attachment, config, env, ticket
File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 28, in ?
from trac.env import IEnvironmentSetupParticipant
File "/usr/lib/python2.4/site-packages/trac/env.py", line 23, in ?
from trac.core import Component, ComponentManager, implements, Interface, \
ImportError: cannot import name Component
The component does exist:
Trac www/trac> component list
Name Owner
component1 alex
Any idea what the problem could be? I've tried fiddling with various bits. My email2tac.conf is the following:
[project] project: /www/trac debug: 2 umask: 022 spam_level: 4 reply_address: 1 mailto_link: 1 umask: 022 email_comment: > email_header: 1 trac_version: 0.9
Thanks very much in advance!
Alex.