Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10737: Poll.select() not portable to OS X

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

May 18, 2012, 4:43 AM

Post #1 of 4 (140 views)
Permalink
Ticket #10737: Poll.select() not portable to OS X

#10737: Poll.select() not portable to OS X
------------------------------------------------+-------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: wagnerrp
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
------------------------------------------------+-------------------------
select.poll()--used in utility.py--is not supported on the OS X, see
following. <http://bugs.python.org/issue5154> One reference I found
suggests to use select.kevent() instead.
<https://github.com/mxcl/homebrew/issues/9531>

{{{
$ 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/__init__.py", line
36, in <module>
from utility import *
File "/opt/local/lib/python2.6/site-packages/MythTV/utility.py", line 8,
in <module>
from select import select, poll, POLLHUP, POLLIN, POLLOUT
ImportError: cannot import name poll
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10737>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 20, 2012, 11:55 PM

Post #2 of 4 (125 views)
Permalink
Re: Ticket #10737: Poll.select() not portable to OS X [In reply to]

#10737: Poll.select() not portable to OS X
--------------------------------------------+-----------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: wagnerrp
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 0.26
Component: Bindings - Python | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+-----------------------------
Changes (by wagnerrp):

* status: new => accepted
* milestone: unknown => 0.26


Comment:

fff02e698418de20a918480694ac74661ce666db

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.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10737#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Oct 6, 2012, 1:37 AM

Post #3 of 4 (73 views)
Permalink
Re: Ticket #10737: Poll.select() not portable to OS X [In reply to]

#10737: Poll.select() not portable to OS X
--------------------------------------------+-----------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: wagnerrp
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 0.26.1
Component: Bindings - Python | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+-----------------------------
Changes (by kenni):

* milestone: 0.26 => 0.26.1


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10737#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Oct 6, 2012, 3:17 AM

Post #4 of 4 (74 views)
Permalink
Re: Ticket #10737: Poll.select() not portable to OS X [In reply to]

#10737: Poll.select() not portable to OS X
--------------------------------------------+----------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: wagnerrp
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 0.26
Component: Bindings - Python | Version: 0.25-fixes
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
--------------------------------------------+----------------------------
Changes (by wagnerrp):

* status: accepted => closed
* version: Unspecified => 0.25-fixes
* resolution: => Fixed
* milestone: 0.26.1 => 0.26


Comment:

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

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10737#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.