logging fails on quickly run

Bug #680721 reported by Tony Byrne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Fix Released
Undecided
Unassigned

Bug Description

triggering the bug
$ quickly run

select menu help preferences
edit the value "I remember stuff"

Traceback (most recent call last):
  File "bin/vanilla-application", line 50, in on_preferences_changed
    logging.debug('main window received preferences changed')
NameError: global name 'logging' is not defined

It looks like the bug was caused by refactoring code into helpers.parse_options() so that logging is no longer set up in bin/project_name

Related branches

Revision history for this message
Tony Byrne (tony-badwolf) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

Thanks!

Changed in quickly:
status: New → Fix Committed
Revision history for this message
Tony Byrne (tony-badwolf) wrote : Re: [Bug 680721] Re: logging fails on quickly run

Hi Michael
 Thinking about how this happened, it might be wise to import logging
into every module just in case.

On 11/29/10, Launchpad Bug Tracker <email address hidden> wrote:
> ** Branch linked: lp:quickly
>
> --
> logging fails on quickly run
> https://bugs.launchpad.net/bugs/680721
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Quickly: Fix Committed
>
> Bug description:
> triggering the bug
> $ quickly run
>
> select menu help preferences
> edit the value "I remember stuff"
>
> Traceback (most recent call last):
> File "bin/vanilla-application", line 50, in on_preferences_changed
> logging.debug('main window received preferences changed')
> NameError: global name 'logging' is not defined
>
> It looks like the bug was caused by refactoring code into
> helpers.parse_options() so that logging is no longer set up in
> bin/project_name
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/quickly/+bug/680721/+subscribe
>

Michael Terry (mterry)
Changed in quickly:
milestone: none → 11.03.0
Michael Terry (mterry)
Changed in quickly:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.