mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #57] JSON error on information page #177
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo-lite#177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xhikarishii on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/57
Hi, I have been trying to have the package work on my Quectel RG500Q-EA, I can see that RG502Q is supported and your other packages seem to work smoothly with the modem, but whenever I visit the information page I am greeted with this error

3ginfo.sh also seems to work fine
The page seems to work fine on 4G only settings, but whenever I am on 5G it doesn't work for me.
@4IceG commented on GitHub (Jan 9, 2024):
Hi @robreyes ,
You have error because 3ginfo-lite does not support results for 5G SA (so far we only had results for 5G NSA).
Show result of the command
sh -x /usr/share/3ginfo-lite/3ginfo.sh@xhikarishii commented on GitHub (Jan 9, 2024):
Here
@4IceG commented on GitHub (Jan 9, 2024):
@robreyes Copy extracted file 2c7c0800.zip to > /usr/share/3ginfo-lite/modem and check if it shows data.
@xhikarishii commented on GitHub (Jan 9, 2024):
Alrighty, will try then. Thanks :)
@xhikarishii commented on GitHub (Jan 10, 2024):
Hi again, still getting the same result after uploading the file.
@4IceG commented on GitHub (Jan 10, 2024):
Hi @robreyes ,
Did you clear the browser cache after copying extracted file?
If there is still an error, show the command result again:
sh -x /usr/share/3ginfo-lite/3ginfo.sh@xhikarishii commented on GitHub (Jan 10, 2024):
Hi @4IceG
Yep, tried on incognito and other devices as well. Will try again later after work and send the command results when I'm back home. Thanks
@xhikarishii commented on GitHub (Jan 10, 2024):
Hi @4IceG
I noticed that the error is now on different lines:
here's the output of 3ginfo.sh
@4IceG commented on GitHub (Jan 10, 2024):
@robreyes I check your data by testing it myself and I don't have any errors. I have no idea where the problem is.
I don't know, maybe you have some unusual packages configuration.
I compiled a new package, but I don't know if it will eliminate error 🤔 .
luci-app-3ginfo-lite_1.0.62-20240110_all.zip
@xhikarishii commented on GitHub (Jan 11, 2024):
Hi @4IceG
Sadly, even with the ipk package it still shows the error. I'll deep further regarding the issue, and see where it is.
Still thanks for looking into it. Cheers!
@xhikarishii commented on GitHub (Jan 11, 2024):
Oh yeah, just to add, I have tested the package with the vanilla openwrt with just the 3ginfo, sms, and modem band, the other packages seems to work fine.
@4IceG commented on GitHub (Jan 11, 2024):
@robreyes If my package doesn't work, you can try another one, e.g. luci-app-modeminfo.
@xhikarishii commented on GitHub (Jan 11, 2024):
@4IceG thanks! will look into those. I'll close this ticket now :)
@xhikarishii commented on GitHub (Jan 12, 2024):
Hi @4IceG
Reopening this ticket since you might find this interesting, the JSON error was caused by a line break in the output of 3ginfo.sh when opening the dashboard:
Removing the PCI values worked:
@4IceG commented on GitHub (Jan 12, 2024):
@robreyes I know where the script returned error, but I couldn't repeat it myself. This is what your data looks like running on my router.
Edit: I made some changes to the script and you can test if it's better.
luci-app-3ginfo-lite_1.0.62-20240112_last.zip
@xhikarishii commented on GitHub (Jan 19, 2024):
Hi @4IceG
Sorry for the late response, was busy with work. I have tested it out and worked great! PCI and signal properties are now displayed as well :)