Custom Query (332 matches)
Results (175 - 177 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#329 | fixed | initial import of threaded mbox to ticket, and subsequent upgrades | bas | pinto@… |
Description |
Hi there, I'm in the initial stages of educating myself on what can be expected from email2trac. I'd like to do a bulk import of the whole support mailbox, and have the tickets threads recognized and build from the threads in the mailbox, using this syntax: email2trac < ~/mail/support However the whole mailbox is being imported as a single new ticket, including the raw attachments. Subsequently I'd like to run the same above command every couple of minutes (via a crontab), and have the utility update trac only with the new emails or replies. However the whole mailbox is being imported as a single new ticket again. Reflecting back, the suggested installation exercise kept creating a new ticket every time I ran it again, and that was completely unexpected. email2trac < msg.txt Am I expecting too much? Thanks Jaime |
|||
#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 |
|||
#314 | fixed | Import error when email2trac is run | bas | anonymous |
Description |
I have following error when email2trac is run on test email msg.txt: /usr/share/python2.6/site-packages/trac/__init__.py:17: UserWarning: Module trac was already imported from /usr/share/python2.6/site-packages/trac/__init__.pyc, but /usr/share/python2.6/site-packages/Trac-1.0.1-py2.6.egg is being added to sys.path __version__ = get_distribution('Trac').version 2013-02-13 16:31:55,337 email2trac maintenance: Found trac version: 1.0 2013-02-13 16:31:55,481 email2trac maintenance: Traceback (most recent call last): 2013-02-13 16:31:55,481 email2trac maintenance: File "/usr/local/bin/email2trac", line 2671, in <module> from trac.test import Mock, MockPerm 2013-02-13 16:31:55,481 email2trac maintenance: File "/usr/share/python2.6/site-packages/trac/test.py", line 22, in <module> import doctest 2013-02-13 16:31:55,482 email2trac maintenance: File "/usr/share/python2.6/doctest.py", line 99, in <module> 2013-02-13 16:31:55,482 email2trac maintenance: ImportError: No module named pdb |