mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #40] EP06-E json issue #29
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#29
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 @GektorUA on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/40
@4IceG commented on GitHub (Feb 20, 2023):
Hi @GektorUA , thanks for reporting. Extract and replace this file in a folder
/usr/share/3ginfo-lite/3ginfo-addon/It should be ok now.
2c7c0306.zip
@GektorUA commented on GitHub (Feb 20, 2023):
No, same error.
@4IceG commented on GitHub (Feb 21, 2023):
I checked the scripts on the EM160R-GL and it was ok, so the modem must be returning something unusual.
@GektorUA show the result of the command
sh -x /usr/share/3ginfo-lite/3ginfo.sh@GektorUA commented on GitHub (Feb 21, 2023):
Send to you by email
@4IceG commented on GitHub (Feb 21, 2023):
You sent me the result without errors (you can see it at the end of the file). I changed the way of reading the modem name and temperature (these data were missing).
It is possible that an error occurs when reading aggregation data.
2c7c0306.zip
@GektorUA commented on GitHub (Feb 21, 2023):
@GektorUA commented on GitHub (Feb 21, 2023):
There is Operator name unusual:
"lifecell\0D"
Maybe it' a point?
@4IceG commented on GitHub (Feb 22, 2023):
It's possible this is causing the error. Probably the modem is roaming and the commands return unusual data.
@GektorUA commented on GitHub (Feb 22, 2023):
Provider name in normal data, but Quectel represents it incorrectly.
Can it be fixed?
@4IceG commented on GitHub (Feb 22, 2023):
It's hard for me to say now, it could probably be fixed.
We need the result of the scripts at the time of the error.
A terribly problematic modem, constantly need to fix something in the scripts.
The package is simple, it sends at commands to the modem and cuts the necessary data giving the result in the form of json. It is enough that the modem returns something that is not described and the json structure is damaged = errors in LuCI.
@GektorUA commented on GitHub (Feb 22, 2023):
Modem is very stable, it one of the best modems for industrial segment.
It's just unusual operator name, i have same issues with this, just cut special characters from name and it's resolve my issues.
@GektorUA commented on GitHub (Feb 22, 2023):
One more thing - on older version of package (luci-app-3ginfo-lite 1.0.31-20221121) it's works.
@4IceG commented on GitHub (Feb 22, 2023):
I didn't write that the modem is bad. I meant it just requires more patience 😉.
Ok, so I'll go back to the version you provided.