Modify ↓
#24 closed defect (fixed)
"ImportError: No module named syslog" on Windows
Reported by: | michael.th@… | Owned by: | bas |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | email2trac | Version: | |
Keywords: | Windows syslog import error | Cc: |
Description
Running email2trac.py under Windows causes the following error:
ImportError: No module named syslog
This happens for Python 2.4.4 as well as 2.5; according to my research the simple explanation is that there is no syslog-module for Python on Windows as there is no syslog...
Attached to this ticket you will find a patch to conditionally load the syslog-module in case it is available on the current platform and to skip it otherwise. This patch is against source:/trunk/email2trac.py.in@189.
Attachments (1)
Change History (3)
Changed 16 years ago by michael.th@…
comment:1 Changed 16 years ago by bas
- Status changed from new to assigned
Thanks i will apply it to the trunk version.
comment:2 Changed 16 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
Applied to the trunk version
Note: See
TracTickets for help on using
tickets.
Patch to skip syslog-module import in case it's not available.