×

Discussion Board

Results 1 to 9 of 9

Thread: WSERV: 6 error

  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Question WSERV: 6 error

    hi,

    i am trying to play a video in a label,
    to do that i did the following:

    Phonon::VideoPlayer *phononVideoPlayer= new Phonon::VideoPlayer(ui->label);
    phononVideoPlayer->setGeometry(0,0,widthTwo.toInt(),heightTwo.toInt()/2);
    phononVideoPlayer->play(Phonon::MediaSource(QUrl::fromLocalFile("C:\\DATA\\test.3gp")));
    this worked on N97 and E75 handset ..when i tried to play on c5 the app didnt started giving me the error WSERV: 6..this was for the windows handling error which is due to the following:
    new Phonon::VideoPlayer(ui->label);

    when i change it to this..the app started but the video is not on the label and the geometry was too bad...how to make the video run on the label!! what should i fix on my code to accomplish that?
    Regards
    Rondo

  2. #2
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    Re: WSERV: 6 error

    If this working on N97 and E75 then I belive some OS dependency may be there, though i am not very sure, so lets wait for an Expert reply.

  3. #3
    Registered User
    Join Date
    Apr 2011
    Location
    Ahmedabad, India
    Posts
    37

    Re: WSERV: 6 error

    Hello Rondo23,

    That's because the engine to play video (3gp file) doesn't delete player in destructor.
    So, try to fix that problem.
    - AbhisheKhetani

  4. #4
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: WSERV: 6 error

    hi abhishek..
    i already added in destructor the following:
    delete phononVideoPlayer;
    but that didnt solve it..hope that i did understand u right

    also there is a small prob which is a small white widget that appears on the screen when i create the phonon..how can i hide it?

    Thank you for any help
    Rondo

  5. #5
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: WSERV: 6 error

    Does all the three devices have same Qt version and you are trying the same build on all devices.

  6. #6
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: WSERV: 6 error

    Quote Originally Posted by kamalakshan View Post
    Does all the three devices have same Qt version and you are trying the same build on all devices.
    yes it is the same sis with the smart installer...the weird thing that when i change
    Phonon::VideoPlayer *phononVideoPlayer= new Phonon::VideoPlayer(ui->label);
    to
    Phonon::VideoPlayer *phononVideoPlayer= new Phonon::VideoPlayer(this);
    the application is launched on c5
    i also tried the sis on N8 and E7 and worked too..i guess maybe it is some phone error :S
    and note that on N8 and E7 the small rectangle white widget is not appearing on the screen..why this white widget is appearing when adding the phonon video player and how to hide it?
    Last edited by Rondo23; 2011-04-29 at 18:17.

  7. #7
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: WSERV: 6 error

    Quote Originally Posted by Rondo23 View Post
    yes it is the same sis with the smart installer...the weird thing that when i change
    Phonon::VideoPlayer *phononVideoPlayer= new Phonon::VideoPlayer(ui->label);
    to
    Phonon::VideoPlayer *phononVideoPlayer= new Phonon::VideoPlayer(this);
    the application is launched on c5
    i also tried the sis on N8 and E7 and worked too..i guess maybe it is some phone error :S
    and note that on N8 and E7 the small rectangle white widget is not appearing on the screen..why this white widget is appearing when adding the phonon video player and how to hide it?
    If its the same sis file and all have same Qt version (Qt 4.6.3) on device then it seems to be a device specific issue then.

  8. #8
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: WSERV: 6 error

    Quote Originally Posted by kamalakshan View Post
    If its the same sis file and all have same Qt version (Qt 4.6.3) on device then it seems to be a device specific issue then.
    yes that was true:S i have made a format for my c5 and the problem was solved!!!..the application worked without error
    still facing that widget which i cant know from where should i hide it !!! it is created with the phonon..when i remove the phonon , it disappear
    anyone has this problem before?
    thank you again
    Regards
    Rondo

  9. #9
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: WSERV: 6 error

    Any expert help?

Similar Threads

  1. Main WSERV 8 error
    By schrecklichkeit in forum Symbian
    Replies: 10
    Last Post: 2009-09-10, 08:38
  2. Error: Panic WSERV 7
    By Daaku in forum Symbian User Interface
    Replies: 9
    Last Post: 2009-07-08, 14:56
  3. Startup WSERV 7 Error
    By Joe_Joechler in forum Symbian
    Replies: 4
    Last Post: 2007-01-10, 09:14
  4. WSERV 9 error in CeikEdwin
    By kaiser_20 in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-12-01, 07:14
  5. Wserv 7 error
    By ars_firoozian in forum Symbian
    Replies: 4
    Last Post: 2003-11-18, 13:56

Posting Permissions

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