Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-238

error after few million requests

    XMLWordPrintable

    Details

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

      Description

      after few million requests (all direct keys)
      the following error has occured (happend twice)

      /usr/local/lib/python2.6/site-packages/pymongo-1.9_-py2.6-linux-i686.egg/pymongo/message.py:128: DeprecationWarning: struct integer overflow masking is deprecated
      Traceback (most recent call last):
      File "check_user.py", line 99, in <module>
      e += check_user(line.strip())
      File "check_user.py", line 74, in check_user
      if mdb.phones.find_one(

      {PH_PHONE:num}

      ,

      {"_id":1}

      ) is not None:
      File "build/bdist.linux-i686/egg/pymongo/collection.py", line 469, in find_one
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 601, in next
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 564, in _refresh
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 521, in __send_message
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 790, in _send_message_with_response
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 771, in __send_and_receive
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 761, in __receive_message_on_socket
      AssertionError: ids don't match -2147483649L 2147483647

        Attachments

          Activity

            People

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

              Dates

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