Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (118 - 120 of 332)

Ticket Resolution Summary Owner Reporter
#225 fixed Attribute Error(s) bas anonymous
Description

I am receiving the following after running python email2trac.py < C:\Inetpub\mailroot\Drop\msg.eml from the command prompt:

Traceback (most recent call last):

File "email2trac.py", line 2223, in <module>

logger = setup_log(settings, os.path.basename(settings.project), debug_inter

active)

File "email2trac.py", line 2128, in setup_log

log_handler = logging.handlers.SysLogHandler?('/dev/log')

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 594, in ini

t

self._connect_unixsocket(address)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 602, in _conn

ect_unixsocket

self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)

AttributeError?: 'module' object has no attribute 'AF_UNIX' Error in atexit._run_exitfuncs: Traceback (most recent call last):

File "C:\Program Files\BitNami? Trac Stack\python\lib\atexit.py", line 24, in _

run_exitfuncs

func(*targs, kargs)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\init.py", line 1355, in shut

down

h.close()

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 635, in close

self.socket.close()

AttributeError?: SysLogHandler? instance has no attribute 'socket' Error in sys.exitfunc: Traceback (most recent call last):

File "C:\Program Files\BitNami? Trac Stack\python\lib\atexit.py", line 24, in _

run_exitfuncs

func(*targs, kargs)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\init.py", line 1355, in shut

down

h.close()

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 635, in close

self.socket.close()

AttributeError?: SysLogHandler? instance has no attribute 'socket'

Here's my environment: Trac running on Windows Server 2003, SP 2, x86 That server is not running Exchange, so I installed the built-in SMTP server. I followed the directions at https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation/Windows (downloaded the three files, renamed them, put them in C:\Program Files\BitNami? Trac Stack\python\, and changed #configfile = '@email2trac_conf@' to configfile = 'email2trac.conf')

My overall goal is to be able to send emails to an email address, and have those emails generate a ticket within Trac. I am able to see that my email made it to C:\Inetpub\mailroot\Drop\, but it looks like the email is not being processed. My guess is that there is an issue with the configuration of a few files, but I'm at a loss as to a fix, as I am a complete noob.

Does anyone have any thoughts?

#224 fixed Email2trac keeps sending updates bas chawkins@…
Description

I am testing an automated email that comes from Salesforce when certain trigger happens and it creates a ticket in trac via Email2trac.

However, the ticket won't stop updating the comments and I can't delete the ticket because it's in use.. What can i do? Is this a Salesforce or Email2trac bug?

It literally updates it every couple of seconds...

#223 fixed Incorrectly sets the number of comments bas stas.agarkov@…
Description

email2trac incorrectly sets the number of comments, because it is based on a number of changes to the table ticket_change. trac uses the TicketModule?.grouped_changelog_entries, which returns a list of changes, in which simultaneous changes are grouped into one that is as it appears in the trac. Your code:

## How many changes has this ticket
#
cnum = len(tkt.get_changelog())

Right code:

# How many changes has this ticket
from trac.ticket.web_ui import TicketModule
grouped = TicketModule(self.env).grouped_changelog_entries(tkt, self.db)
cnum = sum(1 for e in grouped) + 1
Note: See TracQuery for help on using queries.