×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    1

    Getting error: KerrNotSupported while playing a .wav file on pys60

    Hi there,

    I'm new to pys60 programming..so please excuse any silly queries o mine.

    I was just trying to play a .wav file on my N82 using the following commands
    on the interactive console.

    >>import audio
    >>s=audio.Sound.open("c:\\welcome.wav")
    >>s.play()


    I got the error:
    SymbianError:[Error -5] Error playing file:KerrNotSupported

    I'm using Python 1.4.2 final version.Please help.

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2007
    Posts
    131

    Re: Getting error: KerrNotSupported while playing a .wav file on pys60

    Can you try with another file? Just to rule out the issue is with the file.

    Try if this works.

    Code:
    s = audio.Sound.open(u"E:\\TEST.WAV")
    s.record()
    time.sleep(5)
    s.stop()
    s.play() # plays last 5 seconds of environmental noise

    NOTE: The latest PyS60 version in the 1.4.x series is 1.4.5. Please upgrade to that.

Similar Threads

  1. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. Replies: 0
    Last Post: 2002-06-10, 12: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
  •  
×