Results 1 to 5 of 5

Thread: progress bar issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default progress bar issues

    Hi all,

    I'm trying to update a progress bar, but whenever I run setValue it crashes my program. The error I get looks like this:

    X Error: BadRequest (invalid request code or no such operation) 1
    Extension: 183 (Uknown extension)
    Minor opcode: 0 (Unknown request)
    Resource id: 0x36020ba
    It doesn't happen on each iteration, only some initially, but then toward the end of the iteration, each setValue command fails, and then the program crashes.

    X Error: BadRequest (invalid request code or no such operation) 1
    Major opcode: 0 ()
    Resource id: 0x36020ba
    my code looks like this

    Qt Code:
    1. x=0
    2. while x < len(fileList):
    3. # do stuff
    4. self.progressBar.setValue(x)
    5. x+=1
    To copy to clipboard, switch view to plain text mode 

    any advise?
    Last edited by jpn; 13th March 2008 at 06:32. Reason: missing tags

Similar Threads

  1. busy progress bar without thread ?
    By npc in forum Newbie
    Replies: 34
    Last Post: 23rd July 2009, 09:29
  2. Replies: 4
    Last Post: 11th March 2008, 11:44
  3. how to create sliding progress bar ?
    By npc in forum Newbie
    Replies: 2
    Last Post: 26th March 2007, 17:40
  4. How To Incorporate Progress Bar In Program
    By deekayt in forum Qt Programming
    Replies: 8
    Last Post: 20th December 2006, 14:40
  5. Progress Bar to be shown!!!
    By Kapil in forum Qt Programming
    Replies: 7
    Last Post: 23rd May 2006, 09:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.