Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2009

    wlantools occasionaly crash on S603rdFP1

    I need some help with the following problem.
    I'm using wlantools in a loop. At start it is working fine scanning wlans. However, after few minutes, while walking with the phone around (so wlans are changing) the script crashes within wlantools.scan() without any exception and Python exit.
    I narrowed it down to the following simple script which scans in a loop:

    import e32
    import wlantools

    def my_scan():
    w = wlantools.scan()
    return w

    while True:
    w = my_scan()
    if (w == None):
    for i in w:
    print(' %s'%(i['SSID']))

    I must say it doesn't crash while i'm sitting in one place. only when wlans are changing.

    I'm running:
    Nokia N95 8gb, S60 3rd FP1
    Python 1.4.5
    wlantools: wlantools-PyS60_1_4_5_3rdEdFP1.sis (which I signed with Symbian Online sign. and gave it all capabilities)
    Both Python and wlantools are installed on the memory of the phone.
    Any idea what could it be? maybe some dependency on bad library?? I ran out of ideas!?

    a lot

  2. #2
    Registered User
    Join Date
    Mar 2009

    Re: wlantools occasionaly crash on S603rdFP1

    Apparently if I use:
    wlantools.scan(False) # instead of wlantools.scan()
    it doesn't crash. So I'm OK with that now.

  3. #3
    Regular Contributor
    Join Date
    Apr 2009

    Re: wlantools occasionaly crash on S603rdFP1

    Code without the CODE tags is untestable. Next time you post code, make sure to use code tags


  4. #4
    Registered User
    Join Date
    Aug 2009

    Re: wlantools occasionaly crash on S603rdFP1


    I experienced the same Bug....every N95 even the old ones no matter which firmware no matter which python u use crash. The false thing also worked for me...I'm only intereseted in the RX Level. What does the (false) do ? U get less information, thats it ? You don't get the information that makes it crash for sure !

    Please tell me about your experience !

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    London, UK

    Re: wlantools occasionaly crash on S603rdFP1

    had a very quick look...lots of NOT operators which always confuse me, but scan(False) seems to fix a bug related to InformationElements in wlanscaninfointerface.h
    PyS60 1.9.7 on E71

Similar Threads

  1. Trouble with wlantools on N95 8GB
    By thoronnim in forum Symbian
    Replies: 3
    Last Post: 2009-04-21, 09:08
  2. Crash log retriever - phone reboot
    By martinpeterzon in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2009-02-26, 10:20
  3. M3G, out of memory, CRASH!
    By sblantipodi in forum Mobile Java Games
    Replies: 6
    Last Post: 2008-08-18, 23:58
  4. Bluetooth causing crash on S40
    By somatik in forum Mobile Java General
    Replies: 7
    Last Post: 2008-07-21, 21:18
  5. N90 - sever crash issue
    By dittostudios in forum Mobile Java General
    Replies: 12
    Last Post: 2006-06-07, 16:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts