Giter Site home page Giter Site logo

Comments (7)

maddox avatar maddox commented on August 9, 2024

Ahh, its probably a bug in toml. That's kinda tricky. Try quoting the key "5.1" and see if that works.

from wallop.

computmaxer avatar computmaxer commented on August 9, 2024

Hmm, nope. Same kind of error.

Failed to match sequence (ALL_SPACE (KEY_GROUP / KEY_VALUE / COMMENT_LINE){0, } ALL_SPACE) at line 10 char 1.
`- Don't know what to do with "\"5.1\" = \"a" at line 10 char 1.

That's too bad for toml. I may alter wallop a bit to read in channel image definitions from a different file type for my use, since all of my channels have decimal points at the moment.

from wallop.

maddox avatar maddox commented on August 9, 2024

Sorry about this. This is very unfortunate. We can work on just using a new format inside the toml.

Feel free to submit a change.

On Sep 23, 2013, at 1:45 PM, Max Peterson [email protected] wrote:

Hmm, nope. Same kind of error.

Failed to match sequence (ALL_SPACE (KEY_GROUP / KEY_VALUE / COMMENT_LINE){0, } ALL_SPACE) at line 10 char 1.
`- Don't know what to do with ""5.1" = "a" at line 10 char 1.
That's too bad for toml. I may alter wallop a bit to read in channel image definitions from a different file type for my use, since all of my channels have decimal points at the moment.


Reply to this email directly or view it on GitHub.

from wallop.

computmaxer avatar computmaxer commented on August 9, 2024

Here is a potential fix: computmaxer@940574a

I defined the channel logos like this:

5_1 = "abc.png"
8_1 = "cbs.png"
13_1 = "nbc.png"
17_1 = "fox.png"

and then simply used a string substitution before checking the config for the channel number.

I'm not in love with this solution but it is easy and it works. If you think it is okay I'll make a pull request!

from wallop.

maddox avatar maddox commented on August 9, 2024

wow, gross, hahah. Sit on it for a while, at least you have it working for yourself. that's not very clear in my opinion. I'll see if i can come up with something.

from wallop.

computmaxer avatar computmaxer commented on August 9, 2024

Yeah I definitely agree. I'll also try to think of other solutions. I tried starting each line with a letter, like channel_5.1 but it still chokes on the decimal point.

from wallop.

JerseyDevil6 avatar JerseyDevil6 commented on August 9, 2024

Any real solution for this one yet? All of my channels have decimal points too.

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.