![]() Quote from: AnalogueMan on August 01, 2017, 02:48:26 PM "Normal troubleshooting is to tell something about what you experience. It will be removed in a future versionįile "/usr/lib64/python2.7/locale.py", line 579, in setlocale (pychess:10226): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. (pychess:10226): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. (pychess:10226): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. (pychess:10226): Gtk-WARNING **: Locale not supported by C library. Now the result when I start the program in the command ~]$ pychess Īt first when I start the program via Launcher then the icon appears for a short time in the panel, then disappears. You are absolute right, I should have given more details. what happens if you in a commandline type the command: pychess When you say refuses to start, what does that mean?Ī good starting point is to start a commandline and start the program from there, observe the output and post it as part of the troubleshoot, i.e. Here is the tutorial to schedule the stopping of an EC2 instance that I used."Normal troubleshooting is to tell something about what you experience. I set up an AWS Lambda function that automatically shuts down the instance every night at midnight, just to be safe. Since you pay by the minute, if you forget to shut it down you will continue to pay for the running server. One risk with this approach is forgetting to stop the instance when you are done with it. Now getting the instance running and SSHEngine configured only takes a few seconds, less time than it takes for Chessbase to startup. The script is written in python and can be found here: Run a script to update the configuration file. ![]() Since this is doing the same thing every time, I figured I would just write a script to do it for me. Log into the AWS Console again (if I was logged out).Previously, when I wanted to use the remote chess engine, I would do this: Sounds complex? Not when I just wrote a script that does it for me… The Old and Slow Way of Setup # But one of my goals was to keep costs down, so I just update the configuration file every time. I need to update the configuration file every time before I try to connect.įor an additional cost in AWS, you could set up an Elastic IP that reserves an IP address for you. Because I am starting the remote server only when I need it, and stopping it when I am done, the IP address of the host changes every time. The need for this SSHEngine setup is now more clear. This lets Chessbase use the SSHEngine.exe file as the engine, but behind the scenes that program is looking at a configuration file and connecting to the remote engine over SSH. I wrote a chess engine proxy called SSHEngine. I’ll be using Chessbase as an example, but I think most of them will work the same way. The first thing you will need is a way to connect to the remote server from your chess database. In this post I’ll talk about how to actually connect and use that engine. In my previous post about setting up an on-demand cloud-based chess engine, I gave my ideas about how to get this remote server up and running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |