Giter Club home page Giter Club logo

Comments (11)

betterengineering avatar betterengineering commented on July 19, 2024 1

This has been launched! Thanks again @samandmoore and so sorry for the back and forth.

from community.

rohansingh avatar rohansingh commented on July 19, 2024

Hi Sam. Unfortunately the app doesn't seem to be rendering for any of the stops that I tried when testing:

Screenshot_20220304-211701

from community.

samandmoore avatar samandmoore commented on July 19, 2024

That's odd! Let me investigate. It's weird because I have been running it locally for a month. Though not with the schema layer on top.

Does it log anything when it doesn't render? I'd expect that the API must be erroring or it's failing to decrypt the secret?

from community.

rohansingh avatar rohansingh commented on July 19, 2024

The secret definitely decrypts and works fine since we're able to see the list of stops and pick stops. Here's the error log:

Screenshot_20220305-065259

from community.

rohansingh avatar rohansingh commented on July 19, 2024

I see the same things with all the stops I've tried around our office at 544 Park Ave in Brooklyn.

from community.

samandmoore avatar samandmoore commented on July 19, 2024

weird! I'm running it locally right now with that stop and it's working 😬

image

from community.

samandmoore avatar samandmoore commented on July 19, 2024

lemme look closer at the bus API responses to see if there's some reason that key might be missing.

from community.

rohansingh avatar rohansingh commented on July 19, 2024

OK, head scratcher for sure. There must be something with our server environment that's different. I'll have to try it on my dev server and report back.

from community.

rohansingh avatar rohansingh commented on July 19, 2024

The preview with example stop code works so there might be some issue in how we're propagating the config.

Screenshot_20220305-070108

from community.

rohansingh avatar rohansingh commented on July 19, 2024

OK, I see the issue. Please check out the last bit in the documentation for LocationBased that shows what to expect from config.get:
https://github.com/tidbyt/pixlet/blob/main/docs/schema/schema.md#locationbased

Here's an example of how this is handled in the LIRR app:

station_id = json.decode(station_id)["value"]

from community.

samandmoore avatar samandmoore commented on July 19, 2024

ah crap! that's my bad. missed that in the docs. will fix that up right now.

from community.

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.