question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

First run problems

See original GitHub issue

I just created a fresh virtualenv and did pip install pychromecast. I followed it up with pip install pychromecast --upgrade to update all of the dependencies to the latest versions, but no mater what I do, I seem to ALWAYS get this error. I realize that it is a zerconf error, but I figured you guys might have an idea of what is causing it.

Exception in thread zeroconf-Engine:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/Users/tscrip/Development/Python/venv/lib/python2.7/site-packages/zeroconf.py", line 946, in run
    rr, wr, er = select.select(rs, [], [], self.timeout)
error: (9, 'Bad file descriptor')

I am using the very basic code that is posted on the home page:

from __future__ import print_function
import time
import pychromecast

pychromecast.get_chromecasts_as_dict().keys()

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
1337sup3rh4x0rcommented, Jan 16, 2017

I can confirm that manually applying the changes from https://github.com/jstasiak/python-zeroconf/pull/88/commits/4475cbc723ec146bb5afb1d4931f8fb1c503b398 solves this issue for me

0reactions
jstasiakcommented, Feb 3, 2017

FYI python-zeroconf 0.18.0 with the relevant patch has just been released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

11 Common Running Mistakes to Avoid - Verywell Fit
The problem: One of the most common injury-causing running form mistakes is overstriding, or landing heel first with your foot well ahead of ......
Read more >
Getting Started With Running: The 4 Most Common Mistakes
Research has shown weak hips are the primary cause of IT band pain, patella tendonitis (runner's knee), piriformis issues, sciatica, and a myriad...
Read more >
Running Tips for Beginners: 25 Mistakes to Avoid - Greatist
1. Using running as your only workout · 2. Skipping the cooldown · 3. Eating new foods before a run · 4. Getting...
Read more >
4 Common Running Problems and How to Fix Them
From poor posture to running too slow, these issues can hold you back from success. ; 1) Heel striking. Running coach ; 2)...
Read more >
How to Start Running: A Beginners Guide | REI Co-op
Try running for 1 minute, walking for 2 minutes and repeating. As you become more comfortable running, lengthen the time you do it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found