shooogun
13th March 2008, 04:19
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
x=0
while x < len(fileList):
# do stuff
self.progressBar.setValue(x)
x+=1
any advise?
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
x=0
while x < len(fileList):
# do stuff
self.progressBar.setValue(x)
x+=1
any advise?