{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/449","labels_url":"https://api.github.com/repos/pychess/pychess/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/449/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/449/events","html_url":"https://github.com/pychess/pychess/issues/449","id":56206909,"number":449,"title":"Installing PyChess from subversion in Ubuntu 9.04 reports error","user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pychess/pychess/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/pychess/pychess/labels/Sho","name":"Sho","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-02T08:09:42Z","updated_at":"2015-02-02T08:10:24Z","closed_at":null,"body":"Original [issue 449](https://code.google.com/p/pychess/issues/detail?id=449) created by @pychess:\n\n**What steps will reproduce the problem?**\nHi,\ntoday I have installed fresh new Ubuntu 9.04. I have downloaded new version\nof PyChess (revision 1457) from subversion.\n\nExecuting command:\nPYTHONPATH=lib/ ./pychess\nand PyChess works fine.\n\nInstall PyChess:\nsudo python setup.py install\n\nInstalling went OK, no errors reported.\n\nTry running PyChess:\npychess\n\n====================\nException in thread Thread-2:\nTraceback (most recent call last):\n  File \"/usr/lib/python2.6/threading.py\", line 525, in \\_\\_bootstrap\\_inner\n    self.run()\n  File \"/usr/lib/python2.6/dist-packages/pychess/System/tsqlite.py\", line\n34, in run\n    con = sqlite.connect(self.path)\nOperationalError: unable to open database file\n\n/usr/lib/python2.6/dist-packages/pychess/Players/engineNest.py:3:\nDeprecationWarning: the md5 module is deprecated; use hashlib instead\n  import os, md5, imp\n\n(pychess:7611): libglade-WARNING **: could not find glade file\n'/usr/lib/python2.6/glade/tipoftheday.glade'\nTraceback (most recent call last):\n  File \"/usr/local/bin/pychess\", line 45, in <module>\n    import pychess.Main\n  File \"/usr/lib/python2.6/dist-packages/pychess/Main.py\", line 20, in <module>\n    from pychess.widgets import tipOfTheDay\n  File \"/usr/lib/python2.6/dist-packages/pychess/widgets/tipOfTheDay.py\",\nline 7, in <module>\n    widgets = GladeWidgets(\"tipoftheday.glade\")\n  File \"/usr/lib/python2.6/dist-packages/pychess/System/uistuff.py\", line\n198, in \\_\\_init\\_\\_\n    self.widgets = gtk.glade.XML(addDataPrefix(\"glade/%s\" % filename))\nRuntimeError: could not create GladeXML object\n\n====================\n\nAt this stage PyChess freezes.\n\n\n**What is the expected output? What do you see instead?**\nThe expected output is: PyChess should start-up.\n\n**Does it happen every time?**\nYes.\n\n**What version of the product are you using?**\nPyChess from subversion.\n\n**Did you use an installed version of PyChess or did you run in from a**\n**tarball/svn?**\nsvn\n\n**Please provide any additional information below.**\n\n\n**Please attach the latest pychess logfile. It's in a hidden folder, under**\nyour homedirectory, named \".pychess/\""},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72419578","html_url":"https://github.com/pychess/pychess/issues/449#issuecomment-72419578","issue_url":"https://api.github.com/repos/pychess/pychess/issues/449","id":72419578,"user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T08:10:24Z","updated_at":"2015-02-02T08:10:24Z","body":"Comment [9.](https://code.google.com/p/pychess/issues/detail?id=449#c9) originally posted by @thomasahle:\n\nSo we just change\n\nif \"site-packages\" in \\_\\_file\\_\\_:\n\nto\n\nif \"site-packages\" in \\_\\_file\\_\\_ or \"dist-packages\" in \\_\\_file\\_\\_:\n\nI still don't see a more proper way to make this test. Perhaps we should also release\na 0.8.3 with the fix."}}