Custom Query (332 matches)
Results (280 - 282 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#265 | wontfix | Crash | bas | support@… |
Description |
Hello email2trac. I observed a crash with email2trac, which I think happens when no Subject-header is given, although I'm only speculating 2011-08-03T08:02:08.975852+02:00 trac.sikkerhed.org email2trac: Traceback (most recent call last): 2011-08-03T08:02:08.979852+02:00 trac.sikkerhed.org email2trac: File "/usr/bin/email2trac", line 1642, in <module> tktparser.parse(sys.stdin) 2011-08-03T08:02:08.979852+02:00 trac.sikkerhed.org email2trac: File "/usr/bin/email2trac", line 961, in parse m.replace_header('Subject', m['Subject'].replace('\r', '').replace('\n', '')) 2011-08-03T08:02:08.979852+02:00 trac.sikkerhed.org email2trac: AttributeError: 'NoneType' object has no attribute 'replace' This is the standard package from Debian lenny. Not sure which version number that is. |
|||
#335 | wontfix | Couple config questions for email2trac | bas | adrya.stembridge@… |
Description |
Hi, I have postfix and dovetail installed and working. I can send a message from a remote system to the mail server, and I receive the message as expected. My trac installation is at /www/virtualhosts/trac. I installed email2trac using the Install guide (made an RPM and used yum https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracInstallation). No errors on install - everything looks clean. My config file is included at the bottom of this message. *First question.* The example *project* option in email2trac.conf shows "/data/trac/jouvin". If I put "/www/virtualhosts/trac" I get an error when testing email2trac: [tmp]# email2trac --project trac < msg.txt Not a valid project name: trac, valid names are: [] or set parentdir in the [DEFAULT] section What should I have for *project*? *Second question.* I'm a little unclear on setting up Postfix to work with email2trac. In the mail server documentation there is this hint under Postfix: "Please note that postfix seemingly runs commands from the alias definition file as user "nobody", even if the rest of it is running as user "postfix". *So please assure that the MTA_USER is set to nobody, not to postfix!*" In the Install documentation, I see this: "*Pay attention to the MTA_USER and TRAC_USER, they are not something you can ignore! The default are for MTA (postfix) and TRAC_USER (apache2)*" And that's how I set up configure.in prior to building/installing. *What should MTA_USER be, if not postfix *(my mail server)*? * *Third question* Do you have a working postfix/email2trac install, and if so could you copy one of your trac alias lines? I'm not sure what user should go here. tracproj: "|/usr/bin/email2trac <see command line options> /etc/email2trac.conf [DEFAULT] project: /www/virtualhosts/trac debug: 0 black_list: MAILER-DAEMON@ drop_spam : 1 drop_alternative_html_version: 1 email_quote: > html2text_cmd: ignore_trac_user_settings: 0 inline_properties: 1 reply_all : 0 spam_level: 5 strip_quotes: 0 strip_signature: 0 ticket_update: 1 ticket_update_by_subject: 1 umask: 022 verbatim_format: 1 reply_all: 1 |
|||
#101 | fixed | Correctly set custom field default values when creating a ticket | bas | ben@… |
Description |
Currently, all ticket custom fields are set to None instead of their proper default values when a ticket is created by email2trac. The patch below fixes the problem --- email2trac.py.in.txt (saved version) +++ (current document) @@ -682,7 +682,13 @@ # default trac value # - value = self.get_config('ticket', 'default_%s' %(name) ) + if not field.get('custom'): + value = self.get_config('ticket', 'default_%s' %(name) ) + else: + value = field.get('value') + options = field.get('options') + if value and options and value not in options: + value = options[int(value)] if self.DEBUG > 10: print 'trac.ini name %s = %s' %(name, value) |
Note: See TracQuery
for help on using queries.