Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclosed bracket in state json #318

Closed
trifle opened this issue Mar 6, 2024 · 5 comments
Closed

Unclosed bracket in state json #318

trifle opened this issue Mar 6, 2024 · 5 comments

Comments

@trifle
Copy link

trifle commented Mar 6, 2024

Hi,
I just noticed that we get some json decoding errors on monitor/state.json.
The culprit is a missing opening square bracket in the clients list.
Here is a snippet containing that region:

		{
			 "number": 1535,
			 "type": "PCR",
			 "language": "---"
			 }
		],
	"clients": 		] #THIS IS INVALID
	},

	{
	"number": 7,

This machine is running MuMuDVB Version 2.1.0_20181020_mumudvb2 which I built from git-master using the default config IIRC.

The error currently shows on two out of multiple tuners but was absent in some previous tests.
Perhaps there was a related bugfix earlier that we missed, in that case sorry for the noise here.
If I can do anything to help with debugging I'm happy to help.

Regards and thanks for making mumudvb,
Pascal

[edit] The version we're running is built from current up-to-date master from git.

@braice
Copy link
Owner

braice commented Mar 8, 2024 via email

@trifle
Copy link
Author

trifle commented Mar 8, 2024

You mean older versions of the JSON response? I do have a historical archive of those, so I can go back and search for valid examples if it helps. Will report back.

@braice
Copy link
Owner

braice commented Mar 8, 2024 via email

@braice
Copy link
Owner

braice commented Mar 23, 2024 via email

@trifle
Copy link
Author

trifle commented May 28, 2024

Hi braice, sorry for taking quite some time. The error disappeared after some time, and hasn't come up again. In the absence of a good testing condition, I would simply chalk this up to some station sending non-compliant data (which they surprisingly do quite often).

If I run across the error I can re-open again. Sorry for the noise and thanks for your work!

@trifle trifle closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants