[Bug 1227291] Re: NameError: global name 'StringType' is not defined

Rodney Dawes 1227291 at bugs.launchpad.net
Thu Sep 19 17:12:56 UTC 2013


** Description changed:

- With paste 1.7.5.1, the conversion to support both Python 3.x and 2.x
+ 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, (
+   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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to paste in Ubuntu.
https://bugs.launchpad.net/bugs/1227291

Title:
  NameError: global name 'StringType' is not defined

Status in “paste” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/paste/+bug/1227291/+subscriptions



More information about the foundations-bugs mailing list