Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1577

python system path may be incorrect in test suite

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.5.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Running the test suite, I see this:

      Traceback (most recent call last):
        File "../test/suite/run.py", line 67, in <module>
          import wttest
        File "/Users/dda/wt/git/raw-cursor/test/suite/wttest.py", line 42, in <module>
          import wiredtiger
        File "/Library/Python/2.7/site-packages/wiredtiger/__init__.py", line 717, in <module>
          WT_STAT_CONN_CACHE_EVICTION_FORCE_DELETE = _wiredtiger.WT_STAT_CONN_CACHE_EVICTION_FORCE_DELETE
      AttributeError: 'module' object has no attribute 'WT_STAT_CONN_CACHE_EVICTION_FORCE_DELETE'
      

      The presence of /Library/Python/2.7/site-packages/wiredtiger/init.py in the error message seems incorrect – the packages in the wiredtiger source directory should be discovered first.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: