Error Messages in log: Critical: Cannot read file

67 views
Skip to first unread message

Frank nKansas

unread,
May 5, 2025, 7:24:23 AM5/5/25
to golden-cheetah-users
Does anyone know why these two errors would have occurred?  They show up in the 'goldencheetah.log'?

Critical: Cannot read file "C:/Users/Frank/AppData/Local/GoldenCheetah/Frank/config/seasons.xml" - "The system cannot find the file specified."

Critical: Cannot open file "C:/Users/Frank/AppData/Local/GoldenCheetah/workoutfilters.xml" for reading - "The system cannot find the file specified."

ZajtiM

unread,
May 5, 2025, 7:48:35 AM5/5/25
to golden-cheetah-users
Here is answer how to "fix" workoutfilters error. Can't help you with season.xml, because i'm at work (don't have access to my PC) and can't check what is in season.xml. But by creating empty season.xml file might "fix" it.

Create a file workoutfilters.xml which contains next lines. Cretae it in directory that is in error message. So in your case "C:/Users/Frank/AppData/Local/GoldenCheetah/workoutfilters.xml

<?xml version="1.0" encoding="UTF-8"?>
<workoutFilters>
</workoutFilters>

ZajtiM

unread,
May 5, 2025, 7:57:23 AM5/5/25
to golden-cheetah-users
On Monday, 5 May 2025 at 13:48:35 UTC+2 ZajtiM wrote:
Here is answer how to "fix" workoutfilters error. Can't help you with season.xml, because i'm at work (don't have access to my PC) and can't check what is in season.xml. But by creating empty season.xml file might "fix" it.

Create a file workoutfilters.xml which contains next lines. Cretae it in directory that is in error message. So in your case "C:/Users/Frank/AppData/Local/GoldenCheetah/workoutfilters.xml

<?xml version="1.0" encoding="UTF-8"?>
<workoutFilters>
</workoutFilters>


Btw, workoutfilters.xml error is actually not critical. Goldencheetah should still work without it.
Here is also reply from some other thread in regards to this error.



On Saturday, 5 April 2025 at 07:43:21 UTC+2 ZajtiM wrote:

    On Saturday, 5 April 2025 at 07:30:25 UTC+2 Joachim Kohlhammer wrote:

        Ups, this one is on me. The message should not be critical, it means that you don't have any persisted workout-filters. The structure looks like:


        <?xml version="1.0" encoding="UTF-8"?>
        <workoutFilters>
            <workoutFilter>
                <name>Good rating, not completed for more than 30 days</name>
                <filter>rating 4.., lastrun 30d..</filter>
            </workoutFilter>
            <workoutFilter>
                <name>Sweetspot 1h+</name>
                <filter>duration 1:00..1:30, dominantzone z3..z4, variability 1.01..1.04</filter>
            </workoutFilter>
        </workoutFilters>

     
    Thanks for info Joachim.

    I thought it will "fix" it if i add empty file workoutfilters.xml
    But then it says:
    Critical: Can't parse "/home/USER/.goldencheetah/workoutfilters.xml" - "Premature end of document." in line 1 column 0

    So i added these three lines and now it doesn't return anything regarding workoutfilters.xml.
Reply all
Reply to author
Forward
0 new messages