{"action":"closed","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/989","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/989/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/989/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/989/events","html_url":"https://github.com/spyder-ide/spyder/issues/989","id":57870775,"number":989,"title":"Spyder 2.1.9 crashes at startup with error: TypeError: _isdir() takes exactly 1 argument (0 given)","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/6%E2%80%9310%20stars","name":"6–10 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Miscelleneous","name":"Miscelleneous","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/verified","name":"verified","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Windows","name":"Windows","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/15","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/15/labels","id":982169,"number":15,"title":"v2.1","description":null,"creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2015-02-17T00:48:03Z","updated_at":"2015-02-17T01:01:09Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-02-17T01:01:03Z","updated_at":"2015-02-17T01:01:09Z","closed_at":"2015-02-17T01:01:09Z","body":"_From [dev.to...@gmail.com](https://code.google.com/u/104562894473287603910/) on 2012-04-12T13:30:38Z_\n\n\n\nWhat steps will reproduce the problem?\n\n 1. Install Python 2.7.3 under Windows XP\r\n2. Install spyder: pip install spyder\r\n3. Start the IDE via spyder.bat\r\n4. Observe an error What is the expected output? What do you see instead? Instead of starting Spyder IDE, the following error occurs:\r\nC:\\Python27\\Scripts>spyder\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\Scripts\\spyder\", line 2, in \\<module>\r\n    from spyderlib import spyder\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\spyder.py\", line 96, in \\<module>\r\n    from spyderlib.plugins.editor import Editor\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\plugins\\editor.py\", line 35, in \\<module>\r\n    from spyderlib.widgets.editor import (ReadWriteStatus, EncodingStatus,\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\widgets\\editor.py\", line 32, in \\<module>\r\n    from spyderlib.utils.module_completion import moduleCompletion\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\utils\\module_completion.py\", line 31, in \\<module>\r\n    db = PickleShareDB(MODULES_PATH)\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\utils\\external\\pickleshare.py\", line 53, in __init__\r\n    if not self.root.isdir():\r\nTypeError: _isdir() takes exactly 1 argument (0 given) What version of the product are you using? On what operating system? Spyder: 2.1.9\r\nPython: 2.7.3\r\nOS: Windows XP \n\nPlease provide any additional information below\n\n. The issue is likely caused due to old version of the bundled path.py library (version 2.2) In this version the os.path functions are not bounded thus causing the exception. See this commit for more details: https://github.com/dottedmag/path.py/commit/bee13d0de4d44599d397b603e1c83dce1ce9818d Replacing path.py in C:\\Python27\\Lib\\site-packages\\spyderlib\\utils\\external\\path.py with the latest version of from Github (located at https://github.com/dottedmag/path.py/blob/master/path.py ) resolves the problem.\r\n\r\nThe same issue affects IPython (version 0.10.2) and the resolution is the same - swap the bundled version of path.py (located at C:\\Python27\\Lib\\site-packages\\IPython\\external\\path.py) with the latest from Github.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=989_"}}