NameError: global name 'StringType' is not defined

Bug #1227291 reported by dobey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
paste (Ubuntu)
Fix Released
Critical
Dimitri John Ledkov

Bug Description

With paste 1.7.5.1-5, the conversion to support both Python 3.x and 2.x seems incomplete, and results in the following error, when attempting to run the unit tests for the u1db package:

  File "/usr/lib/python2.7/dist-packages/paste/lint.py", line 158, in start_response_wrapper
    check_status(status)
  File "/usr/lib/python2.7/dist-packages/paste/lint.py", line 361, in check_status
    assert type(status) is StringType, (
NameError: global name 'StringType' is not defined

dobey (dobey)
Changed in paste (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Robie Basak (racb) wrote :
Changed in paste (Ubuntu):
status: New → Confirmed
dobey (dobey)
description: updated
dobey (dobey)
Changed in paste (Ubuntu):
assignee: nobody → Dmitrijs Ledkovs (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

paste (1.7.5.1-6ubuntu1) saucy; urgency=low

  * Merge with Debian; remaining changes:
    - debian/control: Demote libjs-mochikit back to suggests because dh_python2
      doesn't have the same symlink problem as python-support.

paste (1.7.5.1-6) unstable; urgency=low

  * Team upload.
  * Fix one more python2/3 incompatibility in the lint.py.
 -- Dmitrijs Ledkovs <email address hidden> Fri, 20 Sep 2013 03:12:08 +0100

Changed in paste (Ubuntu):
status: Confirmed → 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.