Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-124

"AutoReconnect: no primary is available" error due to import deadlock on Python 2 and Tornado 3

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: None
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      true

      Description

      A Motor 0.7 beta tester has run his test suite and reports an error only in the first of his 750 tests.

      i'm just running a single host inside the replica (locally).

      python 2.7.11
      pymongo 2.9.4
      motor 0.7b0

      that script does work for me. it's odd it's only the first class that runs that has problems. other test classes work fine. this is a suite of ~750 tests. all of them read/write to mongo, so it works sometimes.

      i'm using nose as my runner, for what that's worth. i don't explicitly pass an ioloop, but i do override the `get_new_ioloop` from tornado's AsyncTestCase to just return "IOLoop.instance()"

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 7 weeks, 2 days ago
                Date of 1st Reply: