Menu

#48 Graphics not showing: Message: no valid data points

v1.0_(example)
closed
nobody
None
1
2017-07-01
2016-08-17
Sathors
No

Hi,

I am using the arc gtk theme on archlinux, with klavaro 3.02.
It is a dark theme. I use the same theme with qt, telling qt to use the gtk theme.

When looking at my progress, the window is empty, and the Y and X fields are empty as well. Well they seem to have values (when given the focus, the cursor is in the middle), but nothing shows, and I can't select the text.

Thanks for the great software though!

Discussion

  • Sathors

    Sathors - 2016-12-26

    It seems it has nothing to do with the theme.
    Actually when run from the terminal, when looking at the stats, I have the following in the terminal:
    ** Message **: no valid data to plot.

    I tried to change the GTK3 theme using the GTK_THEME variable to confirm it had nothing to do with my current theme.

     
  • Sathors

    Sathors - 2016-12-26
    • summary: Graphics not showing using gtk-arc-theme --> Graphics not showing: Message: no valid data points
     
  • Sathors

    Sathors - 2016-12-26

    I have tried deleting my ~/.local/share/klavaro directory, along with my ~/.config/klavaro directory.
    When doing a fluidness exercise, the stat_fluid.txt file does not get created.

     

    Last edit: Sathors 2016-12-26
  • Felipe Castro

    Felipe Castro - 2017-06-25
    • status: open --> pending
     
  • Felipe Castro

    Felipe Castro - 2017-06-25

    So the problem is the creation of logs for fluidness. I guess you could be using text with language different from the default one, and that is not acceptable by the program for logging purposes. Could you launch it from the terminal and show the messages there when finishing the practicing?

     
  • Sathors

    Sathors - 2017-06-25

    Hi Felipe. I did a practice, then clicked on "Progress".

    +✘1 ~$ klavaro
    ** Message: loading text file: en_GB.paragraphs
    Paragraphs:
    0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20
    Text file loaded!

    ** Message: writing further fluidness results at:
    /home/sathors/.local/share/klavaro/deviation_fluid.txt
    Corpus file: /usr/share/klavaro/en_GB.paragraphs
    Deviation: 0.066. OK, it is less than 0.195.
    ** Message: no valid data to plot.
    ** Message: no valid data to plot.
    ** Message: no valid data to plot.

     

    Last edit: Sathors 2017-06-25
  • Felipe Castro

    Felipe Castro - 2017-06-27

    Does the problem happen only with fluidity? Have you tested also with velocity, for example? And can you verify that you have normal write access to the folder /home/sathors/.local/share/klavaro/ ?

     

    Last edit: Felipe Castro 2017-06-27
  • Sathors

    Sathors - 2017-06-27

    For the velocity, I had not used it so far, but the same seems to be happening:

    ** Message: no data yet, no statistic file:         
    /home/sathors/.local/share/klavaro/stat_velo.txt    
    ** Message: no data yet, no statistic file:         
    /home/sathors/.local/share/klavaro/stat_velo.txt    
    ** Message: no data yet, no statistic file:         
    /home/sathors/.local/share/klavaro/stat_velo.txt    
    ** Message: Espeak not installed, so we'll say nothing:                                                  
     espeak -ven -k1 --punct 'Delivered'                
    ** Message: no valid data to plot.                  
    

    The permissions are alright (my user is sathors):

    + ~$ ll .local/share/klavaro/stat_fluid.txt 
    -rw-r--r-- 1 sathors sathors 594 Jun 25 12:07 .local/share/klavaro/stat_fluid.txt
    

    Here is the content:

    + ~$ cat .local/share/klavaro/stat_fluid.txt 
    Accuracy        Velocity        Fluidness       Date    Hour    Lesson  Language
    98.14   64.80   78.78   2016-06-28      21:49   Default English UK
    98.28   66.32   80.36   2016-06-30      10:34   Default English UK
    98.25   65.50   81.27   2016-08-17      09:55   Default English UK
    99.02   69.26   79.26   2016-08-31      22:18   Default English UK
    98.87   66.36   80.16   2016-09-01      08:51   Default English UK
    96.42   59.92   80.44   2016-09-10      10:10   Default English UK
    98.09   69.30   80.47   2016-09-13      21:27   Default English UK
    98.33   68.67   80.64   2016-12-26      13:48   Default English UK
    98.48   71.33   78.46   2016-12-26      14:03   Default English UK
    98.23   74.91   76.76   2017-06-25      12:07   Default English UK
    

    So it seems that the data points do exist and get written. It is the reading that must have a problem. The structure of the file seems to be ok, with tabs between each column.

     
  • Felipe Castro

    Felipe Castro - 2017-06-30

    It seems a problem related to the locale. As you use en_UK, the program is not recognizing it as a separate locale, mixing with the generic C English.

    For now, if you want to see your plots, switch to C language (US), and change the "English UK" tag in the fluid file to only "English" (just a work around). You can load the specific en_UK.paragraphs to practice or any other text from the "Other" button.

    I'll see how to fix that in next release, ok?

     
  • Felipe Castro

    Felipe Castro - 2017-07-01
    • status: pending --> closed
     
  • Felipe Castro

    Felipe Castro - 2017-07-01

    Fix commited to SVN.

     
  • Sathors

    Sathors - 2017-07-01

    Yep, you were right, the workaround works. Thanks for the fix!

     

Log in to post a comment.

Monday.com Logo