![]() |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
got this message in the application manager if i try to install ussd widget...
"Installation of Ussd-Widget not possible... why? |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
now the installation of the widget worked... but if i want to add it to my desktop nothing happens
any idea why the ussd pad crashes when i try to start it? |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
ok:
have also some probs with widget and pad: *135# ist working, the rest gives me error massages any ideas for german n900 users? |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
The rest what? Other codes? What exactly are they and what should they do? What error message do they give?
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
For debugging run widget from X-terminal
python /usr/lib/hildon-desktop/ussd-widget.py It echoes all errors there. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
hey guys thanks for the widget i however i have not been able to use it successfully. i used the command above and got a syntax error:
$ python /usr/lib/hildon-desktop/ussd-widget.py Translation file for your language not found Sintax error in USSD number. does this work with tmo usa i was using #646# for my minutes, any ideas |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
yea i see them now. but the widget still isnt working for me, is there a diagnostic that i could run to copy here?
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
i am not a developer of ussd widget but to my understanding if its trying to open connection widget is on the right track i would highly recommend reinstalling pexpect, ussd-common, ussd-widget. Configure widget, only puy ussd number plus also put max. width to abt 25. Just to make sure some sort of response is calibrated within widget box. This might be causing error now that i think abt it. also ussd code has nothing to do with which country or service u r using, its only submitting and recieving messages, as long as your service provider provides this functionality. most of asia and european countries use ussd codes to check balance eg. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
DO NOT run is as a root. dbus connection error is an error and means, that it will not work. This problen newer happens from normal user.
Sintax error on first launsh is normal! You don't have number entered yet. Configure widget, click on it, look what happens and look to the output. By the way, do not vhange language from unspecified if you are not shure. Unspecified should work always, other languages only if they are supported by operator. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
P.S. People asked for bigger area for replyes with word wrap. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
1 Attachment(s)
Hi KiberGus,
Up to a few days ago I had this working, using Marshall Banana's hack of ussdquery.py : http://talk.maemo.org/showpost.php?p...&postcount=101 Since the last couple of updates it has stopped working. I suspect this is again due to the non-ascii character in the reply, as testig from the command line outputs this : Attachment 6890 Should I patch ussdquery.py again, or is this supposed to be working in the latest version ?... TIA, fpp |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
2 Fpp. I missed that Marshall Banana's comment. I dislike patching, so fixing the problem is a more preferred way. But sujjected fix would break all other encodings, so we need to understand:
1) Is this reply standard complient 2) Does it work with other phones 3) How they understand, what encoding is used 4) How to include this fix without breaking everything. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
hi KiberGus/Niqbal
just a ques. i hav only installed ussd widget..and reading from one of the posts abv do i also need to install pexpect and ussd-common as well? if yes, are they both available in extras-devel? currently i hv only ussd widget installed and whenever i run it i get an error |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
it wasnt working earlier when i had installed the package |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
To find out, why it doesn't work, start if from X-terminal, as it was described above many times. Quote:
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
I'm sure about 2), as I've done it on a Nokia E71 with no problems. *144# is the balance check for a well-known French provider, so it's widely used. How can I give you information about 3), so you can think about 4) ?... :-) |
Re: Howto install ussd-pad and ussd-widget
Quote:
I installed the widget #674# works #225# works. But #646# for minutes gives me error. And also dialing pad when I launch it nothing happens it gets closed by itself any ideas? |
Re: Howto install ussd-pad and ussd-widget
Quote:
P.S. Would users be happy, it diagnostics would be printed to to console, where they can look for it when they need, but on widget itself, making widget grow for a desktop or two? P.P.S. All posts like "I've got error" without description of error would be ignored. |
Re: Howto install ussd-pad and ussd-widget
Quote:
|
Re: Howto install ussd-pad and ussd-widget
Quote:
what would I need to fill there? 646 is for minutes 225 for t mobile balance 674 for txt messages used |
Re: Howto install ussd-pad and ussd-widget
Quote:
btw just for the heck of it, use terminal modem for this code rather than widget and see if u get an error. need rootsh for this $ sudo gainroot $ pnatd at+cusd=1,"#646#",15 ------------------------- if u still get an error, blame tmobile. if u get an expected response, right away use widget and see if it works. btw to reach % use Sym key (top left). blue arrow key plus ctrl key |
Re: Howto install ussd-pad and ussd-widget
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
I didn't understood how decoding should be done correctly and where did we made mistakes, but now I know how to check, if user has left ussd menu. Update: According to documentation cp850 can not be used in ussd reply (at least with dsc field 15). On the other hand, our implementation shouldn't work at all, because we expect (and we get!) 8 bit encoding, while we should get 7 bit encoding. I would appreciate, if you try running these commands in pnatd: at+cmgf=1 at+cscs="IRA" at+cusd=1,"<your USSD number>",15 They should produce a lot of digits instead of human readable reply. |
Re: Howto install ussd-pad and ussd-widget
Quote:
|
Re: Howto install ussd-pad and ussd-widget
Quote:
ARE THESE LETTERS BIG ENOUGH TO BE SEEN? |
Re: Howto install ussd-pad and ussd-widget
Quote:
so cut some slack to newbies. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Howto install ussd-pad and ussd-widget
Quote:
So I know, that running widget from command line would give needed information with quite high level of possibility and making manual queries would probably give nothing. And I know, that I've written dozen of times, what to do, if widget shows "Error". And the last thing: it is 1:35 here and I'm not in a good mood. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
1 Attachment(s)
Quote:
Quote:
Attachment 6902 The missing character between "Remise" and "jour" is the "à" that causes the error. |
Re: Howto install ussd-pad and ussd-widget
Quote:
Quote:
|
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
Quote:
at+cmgf=1 at+cscs="IRA" at+cusd=1,"*100#",15 gives the same output like: at at+cusd=1,"*100#",15 +CUSD: 0,"Ihr Guthaben f\x81r die Nr.491234567890 betr\x84gt 13.53 Euro",15 Btw. i don't know if it is really cp850 encoded, that was just my guess. Possible solution for the problem: Before using gsmdecode on the reply remove all non-ascii characters from the reply: Code:
strip_unicode = re.compile("([^-_a-zA-Z0-9!@#%&=,/'\";:~`\$\^\*\(\)\+\[\]\.\{\}\|\?\<\>\\]+|[^\s]+)")Ihr Guthaben fr die Nr.491234567890 betrgt 13.53 Euro Second problem with ussdquery.py: If the decoding of gsmdecode.py produces non ascii characters (Is this possible? i didn't look at gsmdecode.py) ussdquery.py will fail when writing the decoded reply to stdout as it trys to encode it to ascii. This (python trying to encode the reply to ascii) will only happen if ussdquery.py is called by ussd-widget or ussd-pad. If you execute ussdquery.py directly in the terminal python will encode the output to the standard encoding of your terminal and the problem will probably not show. Possible solution: Open stdout as binary file. Code:
sys.stdout=file("/dev/stdout", "wb") |
Re: Howto install ussd-pad and ussd-widget
First of all I must say, that yesterday I was tired and wanted to sleep, so I was inadequate.
Quote:
By default CP437 is used, not CP850. I don't think it is a good choice, because it doesn't contain greek characters, so not all characters present in GSM encoding can be coded in CP437. But we can switch terminal equipment to GSm encoding with at+cscs="GSM" command. Then our code for decoding would work correctly. I'll make special version us ussdquery.py which does this trick and ask you to test it. Quote:
Quote:
occurred. I tried to say this many times. |
Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
1 Attachment(s)
2 Marshall Banana and fpp
Try this script. |
| All times are GMT. The time now is 02:17. |
vBulletin® Version 3.8.8