colonelnugget / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

PyChess does not start #892

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I downloaded the source from the source browser, and tried to run it.
It shows the following:
ERROR: Could not import modules.
Please try to run pychess as stated in the INSTALL file

This also occurs when I use the latest source from the download page.

First installing with setup.py does not solve it, but adding the lib directory 
to $PYTHONPATH before running does.

Looking at lines 50-52 in pychess:

if os.path.isdir(os.path.join(this_dir, ".hg")) and \
        os.path.join(this_dir, "lib") not in sys.path:
    sys.path = [os.path.join(this_dir, "lib")] + sys.path

No ".hg" dir exists and so the "lib" directory is not added to the path.

Original issue reported on code.google.com by brentd...@gmail.com on 22 Jun 2014 at 7:59

GoogleCodeExporter commented 9 years ago
Thx for reporting this.

Original comment by gbtami on 23 Jun 2014 at 3:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9d0f7f127be7.

Original comment by gbtami on 23 Jun 2014 at 7:30