Ticket #2123 (closed defect: invalid)

Opened 9 years ago

Last modified 2 months ago

SMS doesn't work in framworkd

Reported by: think-free Owned by: openmoko-kernel
Priority: normal Milestone:
Component: unknown Version:
Severity: blocker Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

I'm running debian ...

I can't send or receive sms with frameworkd ( phone calls are ok ) i'm not getting a dbus response ( tested with : http://lindi.iki.fi/lindi/openmoko/dump-sms )
Will running frameworkd from a terminal i got :


ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd ERROR unhandled exception in response callback: string index out of range
Traceback (most recent call last):

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/channel.py", line 379, in handleResponseToRequest

ok_cb( reqstring.strip(), response )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/decor.py", line 45, in logIt

result = fn( *args, kwargs )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/modems/abstract/mediator.py", line 685, in responseFromChannel

sms = ogsmd.gsm.sms.decodeSMS( line, dir)

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/sms.py", line 97, in decodeSMS

parse_userdata( sms, ud_len, bytes[offset:] )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/sms.py", line 127, in parse_userdata

sms.ud = unpack_sevenbit(bytes[offset:], padding_size)

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/convert.py", line 169, in unpack_sevenbit

return "".join( gsmtotext(chars) )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/convert.py", line 141, in gsmtotext

text += GSMALPHABET[byte]

IndexError?: string index out of range
odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to SUSPEND


So i've put print(repr(byte)) to line 141 of /var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/convert.py

and it gave me :


ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd WARNING textToUnicode called with unicode string, ignoring.
ogsmd ERROR unhandled exception in response callback: string index out of range
Traceback (most recent call last):

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/channel.py", line 379, in handleResponseToRequest

ok_cb( reqstring.strip(), response )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/decor.py", line 45, in logIt

result = fn( *args, kwargs )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/modems/abstract/mediator.py", line 685, in responseFromChannel

sms = ogsmd.gsm.sms.decodeSMS( line, dir)

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/sms.py", line 97, in decodeSMS

parse_userdata( sms, ud_len, bytes[offset:] )

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/sms.py", line 127, in parse_userdata

sms.ud = unpack_sevenbit(bytes[offset:], padding_size)

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/convert.py", line 169, in unpack_sevenbit

asbinary = asbinary[:-7]

File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/convert.py", line 141, in gsmtotext

print(repr(byte))

IndexError?: string index out of range


Change History

comment:1 Changed 9 years ago by marek

  • Status changed from new to closed
  • Priority changed from highest to normal
  • Component changed from System Software to unknown
  • Resolution set to invalid

Please read
https://docs.openmoko.org/trac/wiki/NewTicket
and
http://wiki.openmoko.org/wiki/Bug_Filing_Policy
carefully before opening a new ticket next time !

Don't fiddle with the component, priority, etc unless you are SURE what you do.

This sounds like a problem with FSO and/or debian. Please consult the respective bug trackers.

comment:2 Changed 9 years ago by alphaone

Please file your bug at http://trac.freesmartphone.org, assign to daniel and use frameworkd/ogsmd as component. Please also list the git hash of frameworkd you are using.

comment:3 Changed 2 months ago by Chassmetly

Viagra GСЂС–РІВ©nСЂС–РІВ©rique QuСЂС–РІВ©bec <a href=http://cial1.xyz/cialis-free-trial.php>Cialis Free Trial</a> Propecia Apotheke Preis Using Rogaine With Propecia <a href=http://kama1.xyz/order-cheap-kamagra.php>Order Cheap Kamagra</a> Cytotec Order Zithromax Urethritis <a href=http://kama1.xyz/kamagra-price.php>Kamagra Price</a> Does Lasix Do Comprar Levitra Con Seguridad <a href=http://zol1.xyz/implicane-generic.php>Implicane Generic</a> Buy Prednisone No Prescription Paypal Cialis Pills Online <a href=http://lasix.ccrpdc.com/lasix-to-buy.php>Lasix To Buy</a> Buy Olanzapine Uk Purchase Dutasteride <a href=http://zol1.xyz/buy-zoloft-on-line.php>Buy Zoloft On Line</a> Priligy Time Precio Cialis Caja <a href=http://cial1.xyz/buy-cheap-cialis-site.php>Buy Cheap Cialis Site</a> Algondones Pharmacies 40mg Cialis <a href=http://cial1.xyz/order-cialis-online-usa.php>Order Cialis Online Usa</a> Acquistare Kamagra Grenoble Come Acquistare Cialis In Farmacia <a href=http://cial5mg.xyz/online-cialis.php>Online Cialis</a> Diflucan Online No Prescription Baisse Prix Cialis Soft Maroc <a href=http://zol1.xyz/buy-implicane.php>Buy Implicane</a> Achat De Pilule Cialis Rhine Inc India Complaints <a href=http://cial1.xyz/cialis-free-offer.php>Cialis Free Offer</a> Isotretinoin Direct Lioresal En Ligne 25mg <a href=http://cial5mg.xyz/cialis-viagra.php>Cialis Viagra</a> Zithromax Pfizer Suspension Cialis Viagra Ou Levitra <a href=http://cial1.xyz/tadalafil-online.php>Tadalafil Online</a> Cialis Forum Erfahrungen In House Pharmacy Australia <a href=http://viagra.ccrpdc.com/viagra-prices.php>Viagra Prices</a> How Safe Is Kamagra Fake Birth Control Pills For Sale <a href=http://cial1.xyz/cheapest-cialis.php>Cheapest Cialis</a> Doxycycline Claravis Carmarthenshire Acquisto Cialis Generico Online <a href=http://viag1.xyz/price-of-viagra.php>Price Of Viagra</a> Infections Treated By Keflex Acheter Propecia 1mg <a href=http://clomid.ccrpdc.com/clomid-buy-online.php>Clomid Buy Online</a> Cialis E Dolori Muscolari Cialis Generika Usa <a href=http://cial5mg.xyz/generic-cialis-online.php>Generic Cialis Online</a> Cephalexin Tanning Bed Risk Cialis Generique Belgique <a href=http://zoloft.ccrpdc.com/buy-online-zoloft.php>Buy Online Zoloft</a> Over The Counter Gabapentin Achetez Cialis <a href=http://cial1.xyz/get-cheap-cialis-online.php>Get Cheap Cialis Online</a> Mifepristone Acheter Propecia Comprar Sin Receta <a href=http://cial5mg.xyz/cialis-buy-online.php>Cialis Buy Online</a> Cipro Mail Order Keflex And Sore Throat <a href=http://zol1.xyz/buy-cheap-generic-zoloft.php>Buy Cheap Generic Zoloft</a> Cephalexin 500mg Excessive Sweating Mexico Pharmices To Order Meticorton <a href=http://viag1.xyz/internet-order-viagra.php>Internet Order Viagra</a> Zithromax Shelf Life Kamagra Paypal Uk <a href=http://kama1.xyz/kamagra-gel-oral.php>Kamagra Gel Oral</a> Cephalexin Generation Cephalosporin Cephalexin And Drug Interactions <a href=http://cial1.xyz/cialis-online-no.php>Cialis Online No</a> Keflex Cure Stomach Pain Duracion Levitra <a href=http://kama1.xyz/buy-kamagra-online-cheap.php>Buy Kamagra Online Cheap</a> Viagra Y Popper Amoxicillin Absorption <a href=http://viag1.xyz/viagra-cost.php>Viagra Cost</a> Side Effects To Cephalexin Farmaco Levitra <a href=http://zol1.xyz/zoloft-fast-delivery.php>Zoloft Fast Delivery</a> Amoxicillin Protocols Kamagra Generico 25 Mg <a href=http://zol1.xyz/buy-implicane.php>Buy Implicane</a> Where To Purchase Generic Stendra Erectile Dysfunction Tablets Comment Commander Du Viagra <a href=http://cial5mg.xyz/how-to-buy-cialis.php>How To Buy Cialis</a> Awc Canadian Pharmacies Cialis Belgique Pharmacie <a href=http://kama1.xyz/online-pharmacy-kamagra.php>Online Pharmacy Kamagra</a> Hot Flashes And Keflex

Note: See TracTickets for help on using tickets.