Forums

SCID vs PC

Sort:
stevenaaus

> I have come across a problem where I am unable to delete game from scid file. After setting delete flag, the game reappears even after compacting. Is this a known bug?

> Edit: I found the problem. Program makes a temp file after compacting and then replaces original with temp but it isn't doing so. Temp file exists but it isn't replacing original ie both original and temp exists simultaneously.

I suppose you are using ScidvsPC ? I havent seen this before, but it is undoubtedly some sort of permission issue. Please examine the directory /database user read/wrote permissions and tell me how it is failing

> Edit 2: Also Shoot out/Finish game option (that completes the game using engines) doesn't seem to work [using stockfish 5] when viewing a game that is already over.

> Edit 3: Found workaround for second problem. Add a variation and then click on finish game.

 Yes - this is a little ugly. I will automatically create a variation now.

VaibhavSingh2
[COMMENT DELETED]
mozophe

I am using ScidvsPC. Its installed in C:\Games\ScidvsPC-4.12. I am logged in as admin and have tried running ScidvsPC as admin, no change. I tried giving full control in security options and still no change.

The database I am trying to compact is C:\Games\ScidvsPC-4.12\database\MyGames.si4

After compacting I can see two extra files in the folder [MyGamesTEMP.si4 and MyGamesTEMP.sg4]

PS: I tried compacting with Scid and it works fine. Its installed in C:\Games\Scid-4.5.2

I tried reinstalling ScidvsPC from scratch (unisntalled and removed directory) but the problem still persists. [Using ScidvsPC 64-bit]

Edit: Found the problem. It only happens with the database that is set to auto open using the trick found on http://www.edcollins.com/chess/scidvspc/helpful-tips.htm

"I'm always opening the same database immediately after I load Scid vs. PC.  Can I automate this process?"

When I removed it from auto opening and opened it manually, it worked fine.

stevenaaus

> Edit: Found the problem. It only happens with the database that is set to auto open using the trick found on http://www.edcollins.com/chess/scidvspc/helpful-tips.htm


I cant reproduce this bug.
Hmm - what is the contents of help->startup window when you start using Ed's tip.

mozophe

Just tried auto opening again and compacting still fails.

Here's the content-

Scid vs. PC 4.12 (Mar 25, 2014).

http://scidvspc.sourceforge.net

 

(C) 2008-2013 Steven Atkinson (stevenaaus@yahoo.com)

(C) 2006-2008 Pascal Georges

(C) 1999-2004 Shane Hudson

 

Command line is "C:\Games\Scid vs PC-4.12\bin\scid.gui {C:\Games\Scid vs PC-4.12\database\MyGames.si4}"

User directory is "C:/Games/Scid vs PC-4.12/bin"

TkImg found. Enabling png image support.

Loaded options from "C:\Games\Scid vs PC-4.12\bin\config\options.dat".

Using Tcl/Tk version: 8.5.14

Windows NT operating system, version 6.2

 

scidShareDir is C:/Games/Scid vs PC-4.12/bin

scidBasesDir is C:\Games\Scid vs PC-4.12\bin\bases

scidBooksDir is C:\Games\Scid vs PC-4.12\bin\books

True type fonts (PGN figurines) disabled.

User Pieces: reading C:\Games\Scid vs PC-4.12\bin\pieces

Loading file chesscube_font.txt failed

Loaded file fritzsws.txt

Loading file fritz_font.txt failed

Loaded file habsburg.txt

Loaded file uscf-chess-font.txt

User Textures: processing C:\Games\Scid vs PC-4.12\bin\textures

   Adding texture blue-solid-tex-01

   Adding texture brown-solid-tex-01

   Adding texture chess.com

   Adding texture diagram-01

   Adding texture green-solid-tex-01

   Adding texture wood-02

   Adding texture wood-03

   Adding texture wood-04

   Adding texture wood-05

   Adding texture wood-06

   10 user textures found (max).

Initializing Sound...

   Snack sound package found: Move speech enabled.

   Available output devices are: {Wave Mapper} {Speakers (Realtek High Definiti (Win multimedia)} {Primary Sound Driver (DirectSound)} {Speakers (Realtek High Definition Audio) (DirectSound)}

   Succesfully set Snack output device to Wave Mapper

   Found 0 of 31 sound files in 

Docking mode enabled.

http package 2.7.11 found

tDOM package 0.8.3 found

Checking for endgame tablebase files.

    No tablebases were found.

ECO file "C:\Games\Scid vs PC-4.12\bin\data\scid.eco"  loaded: 10360 positions.

Spellcheck file "C:/Games/Scid vs PC-4.12/bin/data/spelling.ssp" loaded:

    185479 players, 11 events, 804 sites, 20 rounds.

Opening database: C:\Games\Scid vs PC-4.12\database\MyGames.si4 ...

Translating "\" filename separators for C:\Games\Scid vs PC-4.12\database\MyGames

   Database "C:\Games\Scid vs PC-4.12\database\MyGames.si4" opened: 36 games.

[Using Scid vs PC 4.12 64 bit on Windows 8]

stevenaaus

> Command line is "C:\Games\Scid vs PC-4.12\bin\scid.gui {C:\Games\Scid vs PC-4.12\database\MyGames.si4}"

[After setting delete flag, the game reappears even after compacting. Is this a known bug?

Found the problem. It only happens with the database that is set to auto open using the trick found on http://www.edcollins.com/chess/scidvspc/helpful-tips.htm]

Hmmm - i can't reproduce this on windows 7 and windows xp, or see where the bug is :(

mozophe

Np. Thanks for helping. I don't normally delete games but sometimes I enter duplicates and thats when I need to delete them. I can add games to the file just fine. It only happens when I try to compact after deleting a game but as I have found a workaround so its not a problem anymore. Thanks for this awesome program.

stevenaaus

This may be the problem.

Open scid.gui and add the bottom four lines (remove the plus signs)

  # remove any "file://"
  if {[string match {file://*} $arg]} {
    set arg [string range $arg 7 end]
  }

+  if {$::windowsOS && [string range $name 1 2] == ":\\"} {
+    ::splash::add "Translating \"\\\" filename separators for $name"
+    set name [string map {\\ /} $name]
+   }

mozophe

Unable to auto load after adding above lines.

Error-

Error in startup script

can't read "name":no such variable

    while executing

"string range $name 1 2"

    ("while” body line 9)

invoked from within

"while {$argc > 0} {

set arg [lindex $argv 0]

 

# remove any "file://"

if {[string match {file://*} $arg]} {

 set arg [string range $arg 7 end]..."

(file "C:\Games\Scid vs PC-4.12\bin\scid.gui" line 157083)

 
stevenaaus

Ok. Replace the four instances of "name" with "arg"

mozophe
stevenaaus wrote:

Ok. Replace the four instances of "name" with "arg"

Done. File opens fine but problem still persists.

nuke9

Hi all,

Has anyone run into this startup problem with Scid vs PC 4.12  on win7 x64? (see pic below) Much appreciated if anyone knows how to fix it and make it to run,.

p.s. I have also downloaded the 4.11, same problem at start up,I have looked at the gui code but couldn't figure it out...

stevenaaus

Please email me. I'd like to debug this properly. My address is at the homepage.

nihilarian

I've been trying to install scid vs pc to no success.

I'm using ubuntu 14.04, i downloaded scid_vs_pc-4.12 and followed these instructions for how to install

 The problem occurs @  'tar -xzf scid_vs_pc-4.xx.tgz ' . When i type it in the terminal i get: 

tar (child): scid_vs_pc-4.12.tgz: Cannot open: No such file or directory

and a few other lines. Any help would be appreciated. 

bufferunderrun

nihilarian, it means the file isn't there. You probably forgot to switch to downloads folder where your file is.

cd ~/Downloads

pwd   <-- will tell you where you are
ls   <-- lists files, similar to "dir" on Windows,
"ls -la" will list all the files, including the hidden ones, plus show their permissions, etc.

RuizBR

Does anyone have the the code line of the color scheme that looks like fritz? It was posted in the first pages of the topic but the link is broken.

Thanks.

TheAdvocate

This forum seems more targeted toward code errors, but perhaps someone could answer a more basic question. Does anyone know how to get an engine to score +/- on single moves in a variation? I'm working out some kinks in my CKD and would like to see scores on the moves I'm considering. All I can seem to do is get Toga to evaluate replies to the current move rather than score the current move itself. Going a move back doesn't work because sometimes the engine isn't considering the move I'd like it to evaluate.

EricFleet

If I am understanding you correctly, then by definition, the evaluation for the current move is the same as what your opponent's best reply would be.

 

So, if I just made a move for White and the  engine says black's best reply has a score of -0.5, then my move has White down half a pawn. If I am misunderstanding, I apologize.

stevenaaus

Is this what you want ?

Right Click on the "+" Icon. Score will be added instead of move.

To remove engine name, change "Add Name" in Tools->AnalysisEngines

manichessrookie

my Quick heal antivirus reported a virus in scid vs pc 4.12.

Does any one experienced the same?