Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (193 - 195 of 332)

Ticket Resolution Summary Owner Reporter
#444 worksforme having problem in installing email2trac on Ubuntu 14.04.6 LTS bas vinod27
Description

I was trying to install email2trac on my Ubuntu 14.04.6 LTS os but i am unable to complete documentations to setup and work with it.

#220 fixed Having Issue in the installation procedure for fetchmail bas velappanv@…
Description

Hi bas,

I have been installed this plugin in /usr/local/bin, also modified the email2trac.conf with required values.

When I tested the with email2trac --project projectname > msg.txt.

Its getting hanged.

I have enclosed the conf file and .fecthmail.rc for your reference.

Please let me know Where I am going wrong here.

emai2trac.conf

[DEFAULT]

project: /opt/tracprojects/projectname

debug: 0

umask: 022

spam_level: 2

reply_all : 0

mailto_link: 0

umask: 022

email_header: 0

trac_version: 0.11

enable_syslog : 1

alternate_notify_template :

alternate_notify_template_update :

drop_spam : 0

verbatim_format: 1

strip_signature: 0

email_quote: >

strip_quotes: 0

ignore_trac_user_settings: 0

black_list: MAILER-DAEMON@

drop_alternative_html_version: 1

ticket_update:0

ticket_update_by_subject:0

ticket_update_by_subject_lookback:30

tmpdir: /tmp

Fetchmail:

  ''' '''server mail.server.com''''''
    proto POP3
    user trac@mailserve.com
    pass password
    mda "/usr/bin/email2trac --project Projectname

Thanks for your reply in advance.

Thanks

Vela.Velappan

#34 fixed Have newer seen such a good work before! bas anonymous
Description

Source of this problem is in TicketEmailParser::notify().

Here it tries to set hrefs:

self.env.abs_href = Href(self.get_config('project', 'url'))
self.env.href = Href(self.get_config('project', 'url'))

Unfortunately as of Trac version 0.11 abs_href and href are properties that don't have function for setting value (see http://trac.edgewall.org/browser/trunk/trac/env.py):

href = property(_get_href, 'The application root path')
abs_href = property(_get_abs_href, 'The application URL')

So when trying to set hrefs you get str object is not callable exception. As a workaround I added set functions to above properties. See attached diff.

Note: See TracQuery for help on using queries.