Opened 4 years ago

Closed 3 years ago

#10737 closed Bug Report - General (Fixed) not portable to OS X

Reported by: Craig Treleaven <ctreleaven@…> Owned by: wagnerrp
Priority: minor Milestone: 0.26
Component: Bindings - Python Version: 0.25-fixes
Severity: medium Keywords:
Cc: Ticket locked: no


select.poll()--used in not supported on the OS X, see following. <> One reference I found suggests to use select.kevent() instead. <>

$ python
Python 2.6.8 (unknown, Apr 14 2012, 04:15:37)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from MythTV import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/lib/python2.6/site-packages/MythTV/", line 36, in <module>
    from utility import *
  File "/opt/local/lib/python2.6/site-packages/MythTV/", line 8, in <module>
    from select import select, poll, POLLHUP, POLLIN, POLLOUT
ImportError: cannot import name poll

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by wagnerrp

  • Milestone changed from unknown to 0.26
  • Status changed from new to accepted


Add data poller loop for kqueue. This adds an alternate poller loop for systems that use kqueue rather than poll. Limited testing seems to work fine on FreeBSD, so it should work similarly on OSX.

comment:2 Changed 3 years ago by kenni

  • Milestone changed from 0.26 to 0.26.1

comment:3 Changed 3 years ago by wagnerrp

  • Milestone changed from 0.26.1 to 0.26
  • Resolution set to Fixed
  • Status changed from accepted to closed
  • Version changed from Unspecified to 0.25-fixes

I'm marking this one fixed, unless someone with an OSX machine tests it and finds it not working.

Add Comment

Modify Ticket

as closed The owner will remain wagnerrp.
The resolution will be deleted. Next status will be 'new'.

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

Note: See TracTickets for help on using tickets.