Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (181 - 183 of 332)

Ticket Resolution Summary Owner Reporter
#251 fixed NameError prevents script from running bas kofal002@…
Description

With the latest version of Email2Trac on Windows Server 2008 r2 and Python 2.7.1 (with Windows Extensions installed), I get this error:

Traceback (most recent call last):
  File "C:/.../Email2Trac/email2trac.py", line 2382, in <module>
    logger = setup_log(settings, os.path.basename(settings.project), debug_interactive)
  File "C:/.../Email2Trac/email2trac.py", line 2281, in setup_log
    log_handler = logging.handlers.NTEventLogHandler(logid, logtype='Application')
NameError: global name 'logid' is not defined

The phrase "logid" appears nowhere else in the script. I tried just changing "logid" to 1 and got a different error:

Traceback (most recent call last):
  File "C:/.../Email2Trac/email2trac.py", line 2382, in <module>
    logger = setup_log(settings, os.path.basename(settings.project), debug_interactive)
  File "C:/.../Email2Trac/email2trac.py", line 2281, in setup_log
    log_handler = logging.handlers.NTEventLogHandler(1, logtype='Application')
  File "C:\Python27\lib\logging\handlers.py", line 917, in __init__
    self._welu.AddSourceToRegistry(appname, dllname, logtype)
  File "C:\Python27\lib\site-packages\win32\lib\win32evtlogutil.py", line 35, in AddSourceToRegistry
    "SYSTEM\\CurrentControlSet\\Services\\EventLog\\%s\\%s" % (eventLogType, appName))
pywintypes.error: (5, 'RegCreateKey', 'Access is denied.')

Changing this to a different log type prevents this from happening. Instead of ending on a fatal error, perhaps if Windows logging does not work, default to a local log file instead?

#158 fixed Need Help:Struggling to get Email2Trac working on Debian bas roshan_shankar@…
Description
Hi,
I have Debian with exim4 installed and I am trying to use Email2Trac
to email tickets into Trac.

I have confirmed that emails can be sent and received by the Debian
box - emails to root@mydebainbox.mycompany.com get to it and likewise
emails I send from there get to external email addresses.

I have two projects - a project called test whose email is
test@mydebianbox.mycompany.com and a project called "real" whose email
is real@mydebianbox.mycompany.com

The projects are all under /var/lib/trac - in test and real folder,
respectively.

A few issues I have are

1. I do not know how to configure Email2Trac.conf for multiple
projects. An example would help. I, for now, changed the project
entry's value on the [default] to point to my test project.

2. Per the MTA configuration page, I am not supposed to enter entries
in /etc/aliases but use the router and transport files to set up the
forward to email2trac. The problem is I do not understand router/
transport files well enough. I copied the example on the page and that
did not work.

So, I went ahead and created the aliases in /etc/aliases. And, tested
it from the box using  - mail test < msg.txt and that did create a
ticket on the test project.

Then, I tried to email to test@mydebianbox.mycompany.com and I get a
message after a few hours saying

This message was created automatically by mail delivery software.

A message that you sent has not yet been delivered to one or more of
its recipients after more than 24 hours on the queue on
stastepagl01.dillonkane.com.



The message identifier is:     1N3ui2-0001J3-LH

The date of the message is:    Fri, 30 Oct 2009 11:52:18 -0500

The subject of the message is: test



The address to which the message has not yet been delivered is:



  pipe to |"/usr/bin/email2trac --project=test --ticket_prefix=test"

    generated by test@mydebianbox.mycompany.com



No action is required on your part. Delivery attempts will continue
for some time, and this warning may be repeated at intervals if the
message remains undelivered. Eventually the mail delivery software
will give up, and when that happens, the message will be returned to
you.



Please help me to get the Email2Trac working either using
router/transport or using aliases.



TIA

Roshan
#82 fixed need to contact authors bas david@…
Description

Would like to contact the authors to arrange for a paid consulting job to setup email2trac for our environment.

Note: See TracQuery for help on using queries.