[requestsync] UnboundLocalError: local variable 'ubuntutools' referenced before assignment

Bug #723630 reported by Laurent Bigonville
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
High
Stefano Rivera

Bug Description

Binary package hint: ubuntu-dev-tools

Looks like requestsync is not working anymore

$ requestsync -d experimental gnome-themes-standard natty
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 328, in <module>
    main()
  File "/usr/bin/requestsync", line 93, in main
    ubuntutools.misc.require_utf8()
UnboundLocalError: local variable 'ubuntutools' referenced before assignment

Revision history for this message
Stefano Rivera (stefanor) wrote :

Whoops, that was my mistake, although I don't fully understand what's going on here. It's an import later in the function that's causing this.

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → High
status: New → In Progress
Changed in ubuntu-dev-tools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.118

---------------
ubuntu-dev-tools (0.118) unstable; urgency=low

  * requestsync: Use from...import require_utf8() to work around unexpected
    scoping from a later import (LP: #723630)
  * Add myself to Uploaders.
 -- Stefano Rivera <email address hidden> Wed, 23 Feb 2011 15:21:32 +0200

Changed in ubuntu-dev-tools (Ubuntu):
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.