Giter Site home page Giter Site logo

Comments (5)

maddox avatar maddox commented on August 9, 2024

Did you set the IP address of your HDHomerun correctly in the config?
Is your HDHomerun one of the original Duals? That one is not supported.
Is your firmware up to date? You'll need up to date firmware to get your channel listings back.

from wallop.

dilorc avatar dilorc commented on August 9, 2024

Yes, the IP is correct. It's the CableCard HDHomerun, the CC3 I believe. Firmware is 20140604.

curl works fine: curl http://192.168.1.202:8888/channels returns all the channels. It only happens when I use the Python library.

from wallop.

maddox avatar maddox commented on August 9, 2024

Very weird.

Are there debug logs I can look at?

It logs at logs/wallop.log. But they're not showing much except that a 500 is happening :/

I'm seeing this too. This is very weird.

from wallop.

maddox avatar maddox commented on August 9, 2024

Ok, it looks like that urlopen doesn't send a default accept header in it's request. If you add one it should be fine.

import urllib2

req = urllib2.Request('http://localhost:8888/channels')
req.add_header('Accept', 'application/json')
print urllib2.urlopen(req).read()

from wallop.

dilorc avatar dilorc commented on August 9, 2024

Perfect! Thanks for the help and the quick turnaround!

Chris

On Fri, Oct 17, 2014 at 6:08 PM, Jon Maddox [email protected]
wrote:

Ok, it looks like that urlopen doesn't send a default accept header in
it's request. If you add one it should be fine.

import urllib2
req = urllib2.Request('http://localhost:8888/channels')req.add_header('Accept', 'application/json')print urllib2.urlopen(req).read()


Reply to this email directly or view it on GitHub
#37 (comment).

from wallop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.