Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#24 closed defect (fixed)

"ImportError: No module named syslog" on Windows

Reported by:… Owned by: bas
Priority: minor Milestone:
Component: email2trac Version:
Keywords: Windows syslog import error Cc:


Running 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/

Attachments (1)

no_syslog_for_windows.diff (676 bytes) - added by… 16 years ago.
Patch to skip syslog-module import in case it's not available.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by…

Patch to skip syslog-module import in case it's not available.

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

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.