{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6443","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6443/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6443/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6443/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/6443","id":136011440,"number":6443,"title":"nosetests -v sklearn/ giving errors on master","user":{"login":"dsquareindia","id":9411999,"avatar_url":"https://avatars.githubusercontent.com/u/9411999?v=3","gravatar_id":"","url":"https://api.github.com/users/dsquareindia","html_url":"https://github.com/dsquareindia","followers_url":"https://api.github.com/users/dsquareindia/followers","following_url":"https://api.github.com/users/dsquareindia/following{/other_user}","gists_url":"https://api.github.com/users/dsquareindia/gists{/gist_id}","starred_url":"https://api.github.com/users/dsquareindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsquareindia/subscriptions","organizations_url":"https://api.github.com/users/dsquareindia/orgs","repos_url":"https://api.github.com/users/dsquareindia/repos","events_url":"https://api.github.com/users/dsquareindia/events{/privacy}","received_events_url":"https://api.github.com/users/dsquareindia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-24T09:57:38Z","updated_at":"2016-02-29T21:23:43Z","closed_at":null,"body":"Versions used:\r\n - Python 2.7.11\r\n - Sklearn 0.18.dev0\r\n - Scipy 0.16.1\r\n - Numpy 1.10.2\r\n\r\nJust to add, my master is up to date with upstream/master\r\n\r\nFollowing is the traceback:\r\n```\r\n======================================================================\r\nERROR: sklearn.neighbors.tests.test_dist_metrics.TestMetrics.test_pickle('wminkowski', {'p': 1, 'w': array([ 0.31179588,  0.69634349,  0.37775184,  0.17960368])})\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/devashish/miniconda/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/devashish/EXPERIMENTATION/scikit-learn/sklearn/neighbors/tests/test_dist_metrics.py\", line 128, in check_pickle\r\n    D2 = dm2.pairwise(self.X1)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 390, in sklearn.neighbors.dist_metrics.DistanceMetric.pairwise (sklearn/neighbors/dist_metrics.c:5395)\r\n    self.pdist(get_memview_DTYPE_2D(Xarr),\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 319, in sklearn.neighbors.dist_metrics.DistanceMetric.pdist (sklearn/neighbors/dist_metrics.c:4754)\r\n    D[i1, i2] = self.dist(&X[i1, 0], &X[i2, 0], X.shape[1])\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 612, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.dist (sklearn/neighbors/dist_metrics.c:7880)\r\n    return pow(self.rdist(x1, x2, size), 1. / self.p)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 602, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.rdist (sklearn/neighbors/dist_metrics.c:7744)\r\n    raise ValueError('WMinkowskiDistance dist: '\r\nValueError: WMinkowskiDistance dist: size of w does not match\r\n\r\n======================================================================\r\nERROR: sklearn.neighbors.tests.test_dist_metrics.TestMetrics.test_pickle('wminkowski', {'p': 1.5, 'w': array([ 0.31179588,  0.69634349,  0.37775184,  0.17960368])})\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/devashish/miniconda/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/devashish/EXPERIMENTATION/scikit-learn/sklearn/neighbors/tests/test_dist_metrics.py\", line 128, in check_pickle\r\n    D2 = dm2.pairwise(self.X1)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 390, in sklearn.neighbors.dist_metrics.DistanceMetric.pairwise (sklearn/neighbors/dist_metrics.c:5395)\r\n    self.pdist(get_memview_DTYPE_2D(Xarr),\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 319, in sklearn.neighbors.dist_metrics.DistanceMetric.pdist (sklearn/neighbors/dist_metrics.c:4754)\r\n    D[i1, i2] = self.dist(&X[i1, 0], &X[i2, 0], X.shape[1])\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 612, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.dist (sklearn/neighbors/dist_metrics.c:7880)\r\n    return pow(self.rdist(x1, x2, size), 1. / self.p)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 602, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.rdist (sklearn/neighbors/dist_metrics.c:7744)\r\n    raise ValueError('WMinkowskiDistance dist: '\r\nValueError: WMinkowskiDistance dist: size of w does not match\r\n\r\n======================================================================\r\nERROR: sklearn.neighbors.tests.test_dist_metrics.TestMetrics.test_pickle('wminkowski', {'p': 3, 'w': array([ 0.31179588,  0.69634349,  0.37775184,  0.17960368])})\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/devashish/miniconda/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/devashish/EXPERIMENTATION/scikit-learn/sklearn/neighbors/tests/test_dist_metrics.py\", line 128, in check_pickle\r\n    D2 = dm2.pairwise(self.X1)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 390, in sklearn.neighbors.dist_metrics.DistanceMetric.pairwise (sklearn/neighbors/dist_metrics.c:5395)\r\n    self.pdist(get_memview_DTYPE_2D(Xarr),\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 319, in sklearn.neighbors.dist_metrics.DistanceMetric.pdist (sklearn/neighbors/dist_metrics.c:4754)\r\n    D[i1, i2] = self.dist(&X[i1, 0], &X[i2, 0], X.shape[1])\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 612, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.dist (sklearn/neighbors/dist_metrics.c:7880)\r\n    return pow(self.rdist(x1, x2, size), 1. / self.p)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 602, in sklearn.neighbors.dist_metrics.WMinkowskiDistance.rdist (sklearn/neighbors/dist_metrics.c:7744)\r\n    raise ValueError('WMinkowskiDistance dist: '\r\nValueError: WMinkowskiDistance dist: size of w does not match\r\n\r\n======================================================================\r\nERROR: sklearn.neighbors.tests.test_dist_metrics.TestMetrics.test_pickle('seuclidean', {'V': array([ 0.22741463,  0.25435648,  0.05802916,  0.43441663])})\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/devashish/miniconda/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/devashish/EXPERIMENTATION/scikit-learn/sklearn/neighbors/tests/test_dist_metrics.py\", line 128, in check_pickle\r\n    D2 = dm2.pairwise(self.X1)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 390, in sklearn.neighbors.dist_metrics.DistanceMetric.pairwise (sklearn/neighbors/dist_metrics.c:5395)\r\n    self.pdist(get_memview_DTYPE_2D(Xarr),\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 319, in sklearn.neighbors.dist_metrics.DistanceMetric.pdist (sklearn/neighbors/dist_metrics.c:4754)\r\n    D[i1, i2] = self.dist(&X[i1, 0], &X[i2, 0], X.shape[1])\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 464, in sklearn.neighbors.dist_metrics.SEuclideanDistance.dist (sklearn/neighbors/dist_metrics.c:6384)\r\n    return sqrt(self.rdist(x1, x2, size))\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 454, in sklearn.neighbors.dist_metrics.SEuclideanDistance.rdist (sklearn/neighbors/dist_metrics.c:6239)\r\n    raise ValueError('SEuclidean dist: size of V does not match')\r\nValueError: SEuclidean dist: size of V does not match\r\n\r\n======================================================================\r\nERROR: sklearn.neighbors.tests.test_dist_metrics.TestMetrics.test_pickle('mahalanobis', {'VI': array([[ 0.80314541,  0.98494408,  0.59389881,  1.16113843],\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/devashish/miniconda/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/devashish/EXPERIMENTATION/scikit-learn/sklearn/neighbors/tests/test_dist_metrics.py\", line 128, in check_pickle\r\n    D2 = dm2.pairwise(self.X1)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 390, in sklearn.neighbors.dist_metrics.DistanceMetric.pairwise (sklearn/neighbors/dist_metrics.c:5395)\r\n    self.pdist(get_memview_DTYPE_2D(Xarr),\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 319, in sklearn.neighbors.dist_metrics.DistanceMetric.pdist (sklearn/neighbors/dist_metrics.c:4754)\r\n    D[i1, i2] = self.dist(&X[i1, 0], &X[i2, 0], X.shape[1])\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 682, in sklearn.neighbors.dist_metrics.MahalanobisDistance.dist (sklearn/neighbors/dist_metrics.c:8708)\r\n  File \"sklearn/neighbors/dist_metrics.pyx\", line 664, in sklearn.neighbors.dist_metrics.MahalanobisDistance.rdist (sklearn/neighbors/dist_metrics.c:8521)\r\n    ITYPE_t size) nogil except -1:\r\nValueError: Mahalanobis dist: size of V does not match\r\n\r\n----------------------------------------------------------------------\r\nRan 6811 tests in 216.465s\r\n\r\nFAILED (SKIP=14, errors=5)\r\n```"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/190402738","html_url":"https://github.com/scikit-learn/scikit-learn/issues/6443#issuecomment-190402738","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6443","id":190402738,"user":{"login":"dsquareindia","id":9411999,"avatar_url":"https://avatars.githubusercontent.com/u/9411999?v=3","gravatar_id":"","url":"https://api.github.com/users/dsquareindia","html_url":"https://github.com/dsquareindia","followers_url":"https://api.github.com/users/dsquareindia/followers","following_url":"https://api.github.com/users/dsquareindia/following{/other_user}","gists_url":"https://api.github.com/users/dsquareindia/gists{/gist_id}","starred_url":"https://api.github.com/users/dsquareindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsquareindia/subscriptions","organizations_url":"https://api.github.com/users/dsquareindia/orgs","repos_url":"https://api.github.com/users/dsquareindia/repos","events_url":"https://api.github.com/users/dsquareindia/events{/privacy}","received_events_url":"https://api.github.com/users/dsquareindia/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T21:23:43Z","updated_at":"2016-02-29T21:23:43Z","body":"Actually now I'm getting a different set of errors after pulling upstream. I'm using ubuntu 14.04. Now I'm getting 86 errors and 9 failures! Can't tell what's happening here..... It's just my system right?"}}