Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#154 closed defect (invalid)

Problem creating tickets.

Reported by: alex.cf@… Owned by: Bas van der Vlies
Priority: normal Component: EmailtoTracScript
Severity: normal Keywords: email2trac 532 Component ComponentManager
Cc: Trac Release:

Description (last modified by Alec Thomas)

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.

Attachments (0)

Change History (3)

comment:1 Changed 18 years ago by anonymous

Hi,

Upgraded to version 0.9.4 and it's working fine.

Thanks coderanger! :)

comment:2 Changed 18 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

comment:3 Changed 18 years ago by Alec Thomas

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Bas van der Vlies.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.