4IceG / luci-app-sms-tool

Simple user interface to handle SMS / USSD / AT commands via sms_tool application. | OpenWrt =< 19.07
GNU General Public License v3.0
123 stars 38 forks source link

Display of sms text #3

Closed mattridrm closed 3 years ago

mattridrm commented 3 years ago

I am using openwrt snapshot. No text are displayed and error on page is Uncaught ReferenceError: refreshSMS is not defined onclick http://192.168.1.1/cgi-bin/luci/admin/modem/sms:1. Messages are displayed in array on page when inspecting page.

4IceG commented 3 years ago

Hi, what version are you using exactly, the bug is on the last snapshot? Did you install packages yourself or compiled? Do you have any error screen? strange because I still display messages ok, nothing with the error. Have you also tried different ports for communication?

mattridrm commented 3 years ago

Compiled my self from Saturdays Openwrt snapshot. I don't think it's the port as I can see that it lists the text messages in a javascript array when I view the source of the page in Firefox. I'm not to familiar with luci to debug but it seems like a javascript error? Any way thanks for your work. I'm using the atinout app and that is working well.

On Mon, Dec 21, 2020, 4:46 AM Rafał Wabik notifications@github.com wrote:

Hi, what version are you using exactly, the bug is on the last snapshot? Did you install packages yourself or compiled? Do you have any error screen? strange because I still display messages ok, nothing with the error. Have you also tried different ports for communication?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-748879238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG435V3UNQKLC25JOLRU3QLSV4KN5ANCNFSM4VD6RMMQ .

4IceG commented 3 years ago

The bug looks java but to make it more fun I am not able to recognize it. I did the update and I just compiled the image and packages, everything works. Try to compile again, download new sources, maybe check if it's the same after installing the .ipk package. I attach my sources and ipk packages.

Good luck, it has to work. Error.tar.gz

mattridrm commented 3 years ago

Thanks Rafal. I tried your attached ipkg and still had problems. Did some more troubleshooting and found the smtool output of the json wasn't escaping a string in one of the texts from the sim card. Deleted all texts and app is no working properly. Im not really sure what was causing the text message to not be escaped properly. Thanks for your work.

On Mon, Dec 21, 2020 at 9:57 AM Rafał Wabik notifications@github.com wrote:

The bug looks java but to make it more fun I am not able to recognize it. I did the update and I just compiled the image and packages, everything works. Try to compile again, download new sources, maybe check if it's the same after installing the .ipk package. I attach my sources and ipk packages.

Good luck, it has to work. Error.tar.gz https://github.com/4IceG/luci-app-sms-tool/files/5724962/Error.tar.gz

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749015290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG435VY4XGS4BG5I6LNRRALSV5O5ZANCNFSM4VD6RMMQ .

4IceG commented 3 years ago

Hi mattridrm if the sms-tool doesn't work you can always try smstools3 and gui for it.

https://github.com/koshev-msk/luci-app-smstools3 or https://eko.one.pl/forum/viewtopic.php?id=15382&p=2

2020-12-22 0:14 GMT+01:00, mattridrm notifications@github.com:

Thanks Rafal. I tried your attached ipkg and still had problems. Did some

more troubleshooting and found the smtool output of the json wasn't

escaping a string in one of the texts from the sim card. Deleted all texts

and app is no working properly. Im not really sure what was causing the

text message to not be escaped properly. Thanks for your work.

On Mon, Dec 21, 2020 at 9:57 AM Rafał Wabik notifications@github.com

wrote:

The bug looks java but to make it more fun I am not able to recognize it.

I did the update and I just compiled the image and packages, everything

works. Try to compile again, download new sources, maybe check if it's the

same after installing the .ipk package. I attach my sources and ipk

packages.

Good luck, it has to work.

Error.tar.gz

https://github.com/4IceG/luci-app-sms-tool/files/5724962/Error.tar.gz

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749015290,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AG435VY4XGS4BG5I6LNRRALSV5O5ZANCNFSM4VD6RMMQ

.

--

You are receiving this because you modified the open/close state.

Reply to this email directly or view it on GitHub:

https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749248118

mattridrm commented 3 years ago

Thanks Rafal. I did get it to work. I had to delete all of the existing texts with sms-tool from the modem. Don't know what was hanging up in the modem and log to cause it. The funny thing is I installed it on another board with a different Sierra Wireless modem and the luci-app-sms-tool had the same problem. Wouldn't display texts and the webpage would take forever to load. A quick sms-tool delete all messages and the app worked properly. Thanks again for the app.

On Thu, Dec 31, 2020, 10:17 AM Rafał Wabik notifications@github.com wrote:

Hi mattridrm if the sms-tool doesn't work you can always try smstools3 and gui for it.

https://github.com/koshev-msk/luci-app-smstools3 or https://eko.one.pl/forum/viewtopic.php?id=15382&p=2

2020-12-22 0:14 GMT+01:00, mattridrm notifications@github.com:

Thanks Rafal. I tried your attached ipkg and still had problems. Did some

more troubleshooting and found the smtool output of the json wasn't

escaping a string in one of the texts from the sim card. Deleted all texts

and app is no working properly. Im not really sure what was causing the

text message to not be escaped properly. Thanks for your work.

On Mon, Dec 21, 2020 at 9:57 AM Rafał Wabik notifications@github.com

wrote:

The bug looks java but to make it more fun I am not able to recognize it.

I did the update and I just compiled the image and packages, everything

works. Try to compile again, download new sources, maybe check if it's the

same after installing the .ipk package. I attach my sources and ipk

packages.

Good luck, it has to work.

Error.tar.gz

https://github.com/4IceG/luci-app-sms-tool/files/5724962/Error.tar.gz

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

< https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749015290 ,

or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AG435VY4XGS4BG5I6LNRRALSV5O5ZANCNFSM4VD6RMMQ

.

--

You are receiving this because you modified the open/close state.

Reply to this email directly or view it on GitHub:

https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749248118

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-752986093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG435VZJH45MLEMMLV7B73DSXSIZFANCNFSM4VD6RMMQ .

4IceG commented 3 years ago

Ok, if it works fine, enjoy it. Greetings Rafał.

czw., 31 gru 2020, 17:21 użytkownik mattridrm notifications@github.com napisał:

Thanks Rafal. I did get it to work. I had to delete all of the existing texts with sms-tool from the modem. Don't know what was hanging up in the modem and log to cause it. The funny thing is I installed it on another board with a different Sierra Wireless modem and the luci-app-sms-tool had the same problem. Wouldn't display texts and the webpage would take forever to load. A quick sms-tool delete all messages and the app worked properly. Thanks again for the app.

On Thu, Dec 31, 2020, 10:17 AM Rafał Wabik notifications@github.com wrote:

Hi mattridrm if the sms-tool doesn't work you can always try smstools3 and gui for it.

https://github.com/koshev-msk/luci-app-smstools3 or https://eko.one.pl/forum/viewtopic.php?id=15382&p=2

2020-12-22 0:14 GMT+01:00, mattridrm notifications@github.com:

Thanks Rafal. I tried your attached ipkg and still had problems. Did some

more troubleshooting and found the smtool output of the json wasn't

escaping a string in one of the texts from the sim card. Deleted all texts

and app is no working properly. Im not really sure what was causing the

text message to not be escaped properly. Thanks for your work.

On Mon, Dec 21, 2020 at 9:57 AM Rafał Wabik notifications@github.com

wrote:

The bug looks java but to make it more fun I am not able to recognize it.

I did the update and I just compiled the image and packages, everything

works. Try to compile again, download new sources, maybe check if it's the

same after installing the .ipk package. I attach my sources and ipk

packages.

Good luck, it has to work.

Error.tar.gz

< https://github.com/4IceG/luci-app-sms-tool/files/5724962/Error.tar.gz>

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

<

https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749015290

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AG435VY4XGS4BG5I6LNRRALSV5O5ZANCNFSM4VD6RMMQ

.

--

You are receiving this because you modified the open/close state.

Reply to this email directly or view it on GitHub:

https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-749248118

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-752986093 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AG435VZJH45MLEMMLV7B73DSXSIZFANCNFSM4VD6RMMQ

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/4IceG/luci-app-sms-tool/issues/3#issuecomment-752998499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOIOFSNLXWXXDB6KG7N6AITSXSQJ7ANCNFSM4VD6RMMQ .