Menu

#2 Problems loading games from read-only files

Alpha
closed-accepted
Database (53)
5
2007-02-18
2006-07-27
Anonymous
No

Hi!

If file (in PGN format) has not writing laws the
chessx can't open it!

I have copied some old PGN files from cdrom to hard
disk. When i tried to open these files in chessx, it
started dumping errors.

(...)
QFile::atEnd: File is not open
QFile::readLine: File not open
QFile::atEnd: File is not open
QFile::readLine: File not open
QFile::atEnd: File is not open
QFile::readLine: File not open
QFile::atEnd: File is not open
QFile::readLine: File not open
(...)

I found where is error, i opened it in nano (text
editor) and after some changes when i was trying to
save changes it says "error writing" and "access
denied". Then i saved it under different name (without
any errors).

And i tried chessx on the new file, and it works!

"ls -l"
(...)
-rw-r--r-- 1 ryoshu ryoshu 14714 lip 27 09:29
MyGames2.pgn
-r-xr-xr-x 1 ryoshu ryoshu 15253 sie 7 2003
MyGames.pgn
(...)

I think chessx should (must) open files without
writing access.

Discussion

  • Michal Rudolf

    Michal Rudolf - 2007-02-03
    • labels: --> Database
    • assigned_to: nobody --> saidinwielder
    • status: open --> open-accepted
     
  • Michal Rudolf

    Michal Rudolf - 2007-02-03
    • milestone: --> Alpha
     
  • Michal Rudolf

    Michal Rudolf - 2007-02-14
    • summary: loading games --> Problems loading games from read-only files
     
  • Michal Rudolf

    Michal Rudolf - 2007-02-18

    Logged In: YES
    user_id=655405
    Originator: NO

    The bug has been fixed in CVS.

     
  • Michal Rudolf

    Michal Rudolf - 2007-02-18
    • status: open-accepted --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB