[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-31 Thread Launchpad Bug Tracker
This bug was fixed in the package system-config-printer - 1.3.1+20110222-0ubuntu12 --- system-config-printer (1.3.1+20110222-0ubuntu12) natty; urgency=low * debian/patches/50_avoid-traceback-when-cancelling-new-printer-dialog-after-failure.patch: Avoid traceback when cancelling

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Till Kamppeter
** Changed in: system-config-printer (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title: system-config-printer.py crashed with UnboundLoc

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Till Kamppeter
Thanks, I got it now. ** Changed in: system-config-printer (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title: system-config-printer.py crashed w

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Tim Waugh
It's in 1.2.x, just hadn't been merged yet. I've done that now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title: system-config-printer.py crashed with UnboundLocalError in fetch_jobs()

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Till Kamppeter
Tim, I cannot find the commit which you referenced in the "master" branch. Can you attach the patch? Thanks. Or did you forget to "git push"? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Tim Waugh
The only way this could happen is if we don't enter this loop: for jobid in xrange (self.fetch_first_job_id, last_jobid + 1): and the only way I can see of that happening is that last_jobid < self.fetch_first_job_id. But the only way I can see that happening is if CUPS returned a job wit

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-26 Thread Pascal De Vuyst
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referen