Modify ↓
#300 closed defect (fixed)
E-Mails with attachment doesn't work
Reported by: | anonymous | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | email2trac release 2.6.0 |
Component: | email2trac | Version: | 2.5.0 |
Keywords: | Cc: |
Description
Creating tickets via email works but when an attachment is attached to the mail it will fail with following Tracebacks:
Traceback(most recent call last): File "C:/src4trac/email2trac/email2trac.py", line 2689, in <module> tktparser.save_email_for_debug(m, settings.project_name, True) File "C:/src4trac/email2trac/email2trac.py", line 566, in save_email_for_debug message_parts = self.get_message_parts(message) File "C:/src4trac/email2trac/email2trac.py", line 2062, in get_message_parts filename = self.check_filename_length(filename) File "C:/src4trac/email2trac/email2trac.py", line 716, in check_filename_lengt h filemax_length = os.pathconf('/', os.pathconf_names['PC_NAME_MAX']) AttributeError: 'module' object has no attribute 'pathconf' fetchmail: MDA returned nonzero status 1 not flushed
We use python 2.7 and trac 0.12.3 on a windows server 2k8. Can you tell me what I did wrong.
Attachments (0)
Change History (4)
comment:1 Changed 12 years ago by bas
- Status changed from new to assigned
comment:2 Changed 12 years ago by anonymous
I get the following Traceback
Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'pathconf'
Thank you for your help.
comment:3 Changed 12 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
comment:4 Changed 12 years ago by bas
- Milestone set to email2trac release X.X.X
Note: See
TracTickets for help on using
tickets.
I used code that is only available on Unix. Are you experience with python? If yes can you start python:
What is the result of the above code?