using nested ProgressTask
Michael Gliwinski
Michael.Gliwinski at henderson-group.com
Tue Feb 21 17:04:03 UTC 2012
Hello All,
Not sure what I'm doing wrong but when I create a nested progress bar
(ProgressTask) like:
...
def run(self, ...):
pb = ui.ui_factory.nested_progress_bar()
...
func(..., pb=pb)
def func(..., pb)
spb = pb.make_sub_task()
...
spb.finished()
I'm getting a "UserWarning ProgressTask(...) is not in active stack" on that
call to spb.finished()
AFAICS this is because ProgressTask.make_sub_task does not add the subtask to
UIFactory's _task_stack.
Is this a bug or am I not using it the way it was intended?
Thanks,
Michael
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**********************************************************************************************
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************
More information about the bazaar
mailing list