oh, again I forgot to change field To, sorry
2009/1/10 Pascal Georges <[email protected]>
>
>
> 2009/1/9 Mikhail Kalenkov <[email protected]>
>
> Does somebody see a player photos with recent scid-3.7beta3? Scid reported
>> that spf file are loaded. I checked with FIDE.spf and simplest PGN file
>>
>> [White "Kasparov, Garry"]
>> [Black "Karpov, Anatoly"]
>> [Result "1/2-1/2"]
>>
>> 1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Nxd4 Nf6 5.Nxc6 bxc6 6.e5 Qe7 7.Qe2 Nd5 8.c4
>> Ba6 9.b3 O-O-O 10.g3 Re8 11.Bb2 f6 12.Bg2 fxe5 13.O-O h5 14.Qd2 Nf6 15.Qa5
>> Bb7 16.Ba3 Qe6 17.Bxf8 Rhxf8 18.Qxa7 Qg4 19.Na3 h4 20.Nc2 h3 21.Bh1 Ne4
>> 22.a4 Nc3 23.Rae1 Ne2+ 24.Rxe2 Qxe2 25.Nb4 d5 26.cxd5 cxd5 27.Bxd5 Bxd5
>> 28.Nxd5 Qc2 29.Qa6+ Kd7 30.Ne3 Qe4 31.Rc1 Rb8 32.Qf1 Rxb3 33.Qxh3+ Kd8 34.
>> Qh5 Kc8 35.Qd1 Rxe3 36.fxe3 Qxe3+ 37.Kh1 Qe4+ 38.Kg1 Qe3+ 39.Kh1 Qe4+ 40.
>> Kg1 Rd8 1/2-1/2
>>
>> I don't see any photos. What I do wrong? Could somebody confirm or
>> disprove this bug?
>>
>> PS Of course I checked "Show Photos" option.
>
>
> It works for me.
>
> Pascal
>
I found a dirty hack that solved my problem. I edited updatePlayerPhotos
function just in scid script
==============================--- /usr/bin/scid 2009-01-09
10:08:59.000000000 +0300
+++ /usr/bin/scid.new1 2009-01-10 10:41:08.000000000 +0300
@@ -78246,8 +78246,24 @@
#get photo from player
set white [sc_game info white]
set black [sc_game info black]
- catch { set white [trimEngineName $white] }
- catch { set black [trimEngineName $black] }
+# catch { set white [trimEngineName $white] }
+# catch { set black [trimEngineName $black] }
+ set player $white
+ set player [string tolower $player]
+ set strindex [string first "\ " $player]
+ set player [string replace $player $strindex $strindex]
+ set strindex [string first "\ " $player]
+ set player [string replace $player $strindex $strindex]
+ set white $player
+
+ set player $black
+ set player [string tolower $player]
+ set strindex [string first "\ " $player]
+ set player [string replace $player $strindex $strindex]
+ set strindex [string first "\ " $player]
+ set player [string replace $player $strindex $strindex]
+ set black $player
+
if {$black != $photo(oldBlack)} {
set photo(oldBlack) $black
place forget .main.photoB
==============================
After this modifications I see the photos. Unfortunately I don't fully
understand what I did because I it was my first experience in tcl
programming.
Mikhail Kalenkov.
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users