Resimde görüleceği üzere kurulu hiçbir satranç motoru yok uyarısı var. Daha önceleri bilgisayara karşı veya çevrimiçi oynayabiliyordum. Ayar kısmında bir şey bulamadım. Yardımcı olursanız sevinirim.
phalanx motorunu kurduktan sonra "Kurulu hiçbir satranç motoru yok." uyarısı almazsınız, bilgisayara karşı oynayabilirsiniz
yaourt -S phalanx --noconfirm
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!
Teşekkür ederim. stockfish de sadece bilgisayara karşı oynamak için kullanılabiliyor. Çevrimiçi oyunlar pychess ile oynanabiliyor fakat bende bir türlü açılmadı. çıktısı şöyle:
[kemal@kemal-pc ~]$ pychess
TypeError
Python 3.6.0: /usr/bin/python
Wed Mar 29 11:57:28 2017
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/bin/pychess in <module>()
179 # Let's rumble!
180
181 import pychess.Main
182 pychess.Main.run(no_debug, idle_add_debug, thread_debug, log_viewer,
183 purge_recent, chess_file, ics_host, ics_port)
purge_recent = False
chess_file = None
ics_host = None
ics_port = None
/usr/lib/python3.6/site-packages/pychess/Main.py in run(no_debug=False, idle_add_debug=False, thread_debug=False, log_viewer=False, purge_recent=False, chess_file=None, ics_host=None, ics_port=None)
529 atexit.register(cleanup)
530
531 pychess = PyChess(log_viewer, chess_file)
532 idle_add.debug = idle_add_debug
533
pychess undefined
global PyChess = <class 'pychess.Main.PyChess'>
log_viewer = False
chess_file = None
/usr/lib/python3.6/site-packages/pychess/Main.py in __init__(self=<pychess.Main.PyChess object>, log_viewer=False, chess_file=None)
331 self.git_rev = ""
332
333 self.initGlade(log_viewer)
334 self.handleArgs(chess_file)
335 checkversion()
self = <pychess.Main.PyChess object>
self.initGlade = <bound method PyChess.initGlade of <pychess.Main.PyChess object>>
log_viewer = False
/usr/lib/python3.6/site-packages/pychess/Main.py in initGlade(self=<pychess.Main.PyChess object>, log_viewer=False)
372
373 new_game_tasker, internet_game_tasker = NewGameTasker(
374 ), InternetGameTasker()
375 tasker.packTaskers(new_game_tasker, internet_game_tasker)
376 widgets["Background"].add(tasker)
global InternetGameTasker = <class 'pychess.widgets.TaskerManager.InternetGameTasker'>
/usr/lib/python3.6/site-packages/pychess/widgets/TaskerManager.py in __init__(self=<TaskerManager.InternetGameTasker object at 0x7f...s+TaskerManager+InternetGameTasker at 0x1ee5140)>)
268 uistuff.keep(self.widgets["usernameEntry"], "usernameEntry",
269 user_name_get_value, user_name_set_value)
270 uistuff.keep(self.widgets["passwordEntry"], "passwordEntry")
271
272 self.widgets["connectButton"].connect("clicked", self.connectClicked)
global uistuff = <module 'pychess.System.uistuff' from '/usr/lib/python3.6/site-packages/pychess/System/uistuff.py'>
uistuff.keep = <function keep>
self = <TaskerManager.InternetGameTasker object at 0x7f...s+TaskerManager+InternetGameTasker at 0x1ee5140)>
self.widgets = <pychess.System.uistuff.GladeWidgets object>
/usr/lib/python3.6/site-packages/pychess/System/uistuff.py in keep(widget=<Gtk.Entry object at 0x7fafb8a00240 (GtkEntry at 0x1fb08a0)>, key='passwordEntry', get_value_=None, set_value_=None, first_value=None)
190
191 if conf.hasKey(key):
192 setFromConf()
193 elif first_value is not None:
194 conf.set(key, first_value)
setFromConf = <function keep.<locals>.setFromConf>
/usr/lib/python3.6/site-packages/pychess/System/uistuff.py in setFromConf()
180 conf.set(key, get_value())
181 else:
182 set_value(v)
183
184 def callback(*args):
set_value = gi.FunctionInfo(set_text)
v = 235711
TypeError: Must be string, not int
__cause__ = None
__class__ = <class 'TypeError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of TypeError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of TypeError object>
__doc__ = 'Inappropriate argument type.'
__eq__ = <method-wrapper '__eq__' of TypeError object>
__format__ = <built-in method __format__ of TypeError object>
__ge__ = <method-wrapper '__ge__' of TypeError object>
__getattribute__ = <method-wrapper '__getattribute__' of TypeError object>
__gt__ = <method-wrapper '__gt__' of TypeError object>
__hash__ = <method-wrapper '__hash__' of TypeError object>
__init__ = <method-wrapper '__init__' of TypeError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of TypeError object>
__lt__ = <method-wrapper '__lt__' of TypeError object>
__ne__ = <method-wrapper '__ne__' of TypeError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of TypeError object>
__reduce_ex__ = <built-in method __reduce_ex__ of TypeError object>
__repr__ = <method-wrapper '__repr__' of TypeError object>
__setattr__ = <method-wrapper '__setattr__' of TypeError object>
__setstate__ = <built-in method __setstate__ of TypeError object>
__sizeof__ = <built-in method __sizeof__ of TypeError object>
__str__ = <method-wrapper '__str__' of TypeError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('Must be string, not int',)
with_traceback = <built-in method with_traceback of TypeError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/pychess", line 183, in <module>
purge_recent, chess_file, ics_host, ics_port)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 531, in run
pychess = PyChess(log_viewer, chess_file)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 333, in __init__
self.initGlade(log_viewer)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 374, in initGlade
), InternetGameTasker()
File "/usr/lib/python3.6/site-packages/pychess/widgets/TaskerManager.py", line 270, in __init__
uistuff.keep(self.widgets["passwordEntry"], "passwordEntry")
File "/usr/lib/python3.6/site-packages/pychess/System/uistuff.py", line 192, in keep
setFromConf()
File "/usr/lib/python3.6/site-packages/pychess/System/uistuff.py", line 182, in setFromConf
set_value(v)
TypeError: Must be string, not int
gtksourceview3 paketini kurup tekrar deneyin
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!
gtksourceview3 zaten kuruluymuş. Kaldırıp tekrar kurdum farketmedi. Fakat terminalden "sudo pychess" ile oyunu açabiliyorum.
Sorun Gnome-chess mi, yoksa Pychess mi? Veya hangisi üzerine devam edilecek.
Bu taraf çözülmüş gerçi ama Gnome-chess için gnuchess paketi de var. Bağımlılık listesinde gösterilmiş.
Pychess de ki sorunu tam anlamadım. Sudo ile normal açılıyor mu? Eğer bu şekilde ihtiyacı karşılıyorsa sadece sudo istemesinde ki sebebe bakalım.
Bu arada dağıtım ve masaüstü ortamı nedir? Ortama göre varsayılan listesinde bulunan bir pakete bağımlılığı olabilir.
1) Gnome-chess te hiç bir sorun yok. Sorun pychess te. Uygulamalardan açmaya çalıştığımda açılmıyor fakat uçbirimde sudo pychess deyip giriş yaptığımda program açılıyor. Normaldede açılması için ne yapabilirim.
2) Dağıtım Manjaro 17, xfce masaüstü.
[kemal@kemal-pc ~]$ pychess
TypeError
Python 3.6.0: /usr/bin/python
Thu Mar 30 16:00:57 2017
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/bin/pychess in <module>()
179 # Let's rumble!
180
181 import pychess.Main
182 pychess.Main.run(no_debug, idle_add_debug, thread_debug, log_viewer,
183 purge_recent, chess_file, ics_host, ics_port)
purge_recent = False
chess_file = None
ics_host = None
ics_port = None
/usr/lib/python3.6/site-packages/pychess/Main.py in run(no_debug=False, idle_add_debug=False, thread_debug=False, log_viewer=False, purge_recent=False, chess_file=None, ics_host=None, ics_port=None)
529 atexit.register(cleanup)
530
531 pychess = PyChess(log_viewer, chess_file)
532 idle_add.debug = idle_add_debug
533
pychess undefined
global PyChess = <class 'pychess.Main.PyChess'>
log_viewer = False
chess_file = None
/usr/lib/python3.6/site-packages/pychess/Main.py in __init__(self=<pychess.Main.PyChess object>, log_viewer=False, chess_file=None)
331 self.git_rev = ""
332
333 self.initGlade(log_viewer)
334 self.handleArgs(chess_file)
335 checkversion()
self = <pychess.Main.PyChess object>
self.initGlade = <bound method PyChess.initGlade of <pychess.Main.PyChess object>>
log_viewer = False
/usr/lib/python3.6/site-packages/pychess/Main.py in initGlade(self=<pychess.Main.PyChess object>, log_viewer=False)
372
373 new_game_tasker, internet_game_tasker = NewGameTasker(
374 ), InternetGameTasker()
375 tasker.packTaskers(new_game_tasker, internet_game_tasker)
376 widgets["Background"].add(tasker)
global InternetGameTasker = <class 'pychess.widgets.TaskerManager.InternetGameTasker'>
/usr/lib/python3.6/site-packages/pychess/widgets/TaskerManager.py in __init__(self=<TaskerManager.InternetGameTasker object at 0x7f...s+TaskerManager+InternetGameTasker at 0x1e23140)>)
268 uistuff.keep(self.widgets["usernameEntry"], "usernameEntry",
269 user_name_get_value, user_name_set_value)
270 uistuff.keep(self.widgets["passwordEntry"], "passwordEntry")
271
272 self.widgets["connectButton"].connect("clicked", self.connectClicked)
global uistuff = <module 'pychess.System.uistuff' from '/usr/lib/python3.6/site-packages/pychess/System/uistuff.py'>
uistuff.keep = <function keep>
self = <TaskerManager.InternetGameTasker object at 0x7f...s+TaskerManager+InternetGameTasker at 0x1e23140)>
self.widgets = <pychess.System.uistuff.GladeWidgets object>
/usr/lib/python3.6/site-packages/pychess/System/uistuff.py in keep(widget=<Gtk.Entry object at 0x7ffbc9ae4048 (GtkEntry at 0x1eee8a0)>, key='passwordEntry', get_value_=None, set_value_=None, first_value=None)
190
191 if conf.hasKey(key):
192 setFromConf()
193 elif first_value is not None:
194 conf.set(key, first_value)
setFromConf = <function keep.<locals>.setFromConf>
/usr/lib/python3.6/site-packages/pychess/System/uistuff.py in setFromConf()
180 conf.set(key, get_value())
181 else:
182 set_value(v)
183
184 def callback(*args):
set_value = gi.FunctionInfo(set_text)
v = 235711
TypeError: Must be string, not int
__cause__ = None
__class__ = <class 'TypeError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of TypeError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of TypeError object>
__doc__ = 'Inappropriate argument type.'
__eq__ = <method-wrapper '__eq__' of TypeError object>
__format__ = <built-in method __format__ of TypeError object>
__ge__ = <method-wrapper '__ge__' of TypeError object>
__getattribute__ = <method-wrapper '__getattribute__' of TypeError object>
__gt__ = <method-wrapper '__gt__' of TypeError object>
__hash__ = <method-wrapper '__hash__' of TypeError object>
__init__ = <method-wrapper '__init__' of TypeError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of TypeError object>
__lt__ = <method-wrapper '__lt__' of TypeError object>
__ne__ = <method-wrapper '__ne__' of TypeError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of TypeError object>
__reduce_ex__ = <built-in method __reduce_ex__ of TypeError object>
__repr__ = <method-wrapper '__repr__' of TypeError object>
__setattr__ = <method-wrapper '__setattr__' of TypeError object>
__setstate__ = <built-in method __setstate__ of TypeError object>
__sizeof__ = <built-in method __sizeof__ of TypeError object>
__str__ = <method-wrapper '__str__' of TypeError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('Must be string, not int',)
with_traceback = <built-in method with_traceback of TypeError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/pychess", line 183, in <module>
purge_recent, chess_file, ics_host, ics_port)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 531, in run
pychess = PyChess(log_viewer, chess_file)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 333, in __init__
self.initGlade(log_viewer)
File "/usr/lib/python3.6/site-packages/pychess/Main.py", line 374, in initGlade
), InternetGameTasker()
File "/usr/lib/python3.6/site-packages/pychess/widgets/TaskerManager.py", line 270, in __init__
uistuff.keep(self.widgets["passwordEntry"], "passwordEntry")
File "/usr/lib/python3.6/site-packages/pychess/System/uistuff.py", line 192, in keep
setFromConf()
File "/usr/lib/python3.6/site-packages/pychess/System/uistuff.py", line 182, in setFromConf
set_value(v)
TypeError: Must be string, not int
Paketi kaldırın ve gtksourceview3 bağımlılığını da kaldırın ve ardından yeniden kurun. (kurulumda doğrudan root olmayın sudo kullanın)
Şunları da kurun (varsa yeniden kurun):
sudo pacman -S python-cairo gtksourceview3 gst-plugins-base
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!