Issue #16 new

httplib.ResponseNotReady Exception was raised.

Zhiwen Sun
created an issue

No description provided.

Comments (7)

  1. Bors LTD

    Is it me or the OP didn't give any details?

    I'll give some context:

    $ pep381run data 
    Synchronizing iterator
    Copying /packages/source/i/iterator/
    Copying /packages/source/i/iterator/
    Traceback (most recent call last):
      File "/home/django/.virtualenvs/pypi/bin/pep381run", line 30, in <module>
      File "/home/django/.virtualenvs/pypi/lib/python2.7/site-packages/pep381client/", line 119, in synchronize
      File "/home/django/.virtualenvs/pypi/lib/python2.7/site-packages/pep381client/", line 159, in _synchronize
        self.maybe_copy_file(project, file)
      File "/home/django/.virtualenvs/pypi/lib/python2.7/site-packages/pep381client/", line 237, in maybe_copy_file
        r = h.getresponse()
      File "/usr/lib64/python2.7/", line 1018, in getresponse
        raise ResponseNotReady()
  2. Roman Sokolkov

    My rough workaround was

    --- /usr/local/lib/python2.7/dist-packages/pep381client/        2013-03-18 03:57:02.153153555 -0500
    +++ /usr/local/lib/python2.7/dist-packages/pep381client/     2013-03-18 03:55:35.006547662 -0500
    @@ -139,6 +139,8 @@
                 if not project:
                     # skip empty project names resulting from PyPI-wide changes
    +            if project.encode('utf-8') == 'iterator':
    +                continue
                 if not self.quiet:
                     print "Synchronizing", project.encode('utf-8')
                 data = self.copy_simple_page(project)
  3. jeremywohl

    Thanks. I ended up needing the following to make a full pass.

                if project.encode('utf-8') in ['iterator', 'nester_test_ling', 'nesterswe']:
  4. Log in to comment