Menu

#100 Can't connect to Rachota Analytics Server

2.2
open
5
2023-01-08
2008-07-14
Anonymous
No

I have been having a problem using Rachota for a little while now. The clock doesn't start, Idle time doesn't increase, and any time that does show up is usually lost after restarting the program. I finally ran it from the command line and was able to retrieve the following error. Any help would be greatly appreciated.

Thanks. I can be reached at idahogray[at]gmail.com.

D:\Time>java -jar rachota_22.jar
--------------------------------------------------------------------------------
--
?? Rachota 2.2 ?? (build #080412) - Program for precise tracking of work.
http://rachota.sourceforge.net
Session: Windows XP, JDK 1.6.0_06, July 14, 2008 8:06:13 AM MDT
Localization: Dictionary_en_US.properties
Diary folder: D:\Time
Error: Can't connect to Rachota Analytics server.
Exception in thread "Thread-3" java.lang.NumberFormatException: For input string
: "null"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.cesilko.rachota.gui.MainWindow.tick(MainWindow.java:682)
at org.cesilko.rachota.core.Clock.run(Clock.java:95)

D:\Time>

Discussion

  • Jiri Kovalsky

    Jiri Kovalsky - 2008-07-23

    Logged In: YES
    user_id=1320671
    Originator: NO

    It looks like Rachota couldn't report your weekly time usage data to Rachota Analytics data and so the reported week was set to "null". Although I looked into the code and this shouldn't happen, it somehow occurred. :-( My advice is to exit Rachota, delete your settings.cfg file or at least the line "rachota.reported.week = null" and start Rachota again. If this does not help, I would appreciate more details on the behavior and also if you could share with me your settings.cfg, regular_tasks.xml and last diary file with some data.

    Thanks for your feedback!
    -Jirka

     
  • Jiri Kovalsky

    Jiri Kovalsky - 2008-07-23
    • labels: --> Main window
    • milestone: --> 2.2
    • assigned_to: nobody --> cesilko
     
  • Nobody/Anonymous

    Logged In: NO

    I moved settings.cfg and restarted the program. I still get the same error. I have included the error from cmd and my new and old settings.cfg. Thanks for the help.

    D:\Time>java -jar rachota_22.jar
    --------------------------------------------------------------------------------
    --
    ?? Rachota 2.2 ?? (build #080412) - Program for precise tracking of work.
    http://rachota.sourceforge.net
    Session: Windows XP, JDK 1.6.0_06, July 30, 2008 1:09:37 AM MDT
    Localization: Dictionary_en_US.properties
    Diary folder: D:\Time
    Error: Can't connect to Rachota Analytics server.
    Error: Can't load sorting of regular tasks. Using default values.

    NEW SETTINGS.CFG:
    history.highlight = false
    fontName = Arial
    day.sortedColumn = 0-
    location = [385,175]
    history.group = true
    showTime = both
    rachota.reported.week = -1
    runningTask = null
    moveUnfinished = true
    history.range = [0,0]
    history.rule = -1
    warnHoursNotReached = true
    reportActivity = true
    history.content =
    checkPriority = true
    backupAge = 10
    history.chart = time
    archiveNotStarted = false
    proxyHost =
    warnHoursExceeded = false
    history.filters = 0
    history.columns = [290][85][60]
    displayFinishedTasks = false
    systemEncoding = UTF-8
    savingPeriod = 30
    proxyPort =
    dictionary = Dictionary_en_US.properties
    history.filter = 0
    startTask = false
    fontSize = 12
    countPrivateTasks = false
    size = [511,646]
    history.period = 1
    regularTasks.sorting.order = true
    dayWorkHours = 8.0
    history.sortedColumn = 1+
    automaticStart = true
    regularTasks.sorting.column = 2
    day.columns = [0,67][1,208][2,67][3,88]

    OLD SETTINGS.CFG
    history.highlight = false
    fontName = Arial
    day.sortedColumn = 1+
    location = [575,182]
    history.group = true
    showTime = both
    rachota.reported.week = null
    runningTask = null
    moveUnfinished = true
    history.range = [0,0]
    history.rule = -1
    warnHoursNotReached = true
    reportActivity = true
    history.content =
    checkPriority = true
    backupAge = 10
    history.chart = time
    archiveNotStarted = false
    proxyHost =
    warnHoursExceeded = false
    history.filters = 0
    history.columns = [297][91][67]
    displayFinishedTasks = true
    systemEncoding = UTF-8
    savingPeriod = 30
    proxyPort =
    dictionary = Dictionary_en_US.properties
    history.filter = 0
    startTask = false
    fontSize = 12
    countPrivateTasks = false
    size = [531,658]
    history.period = 0
    regularTasks.sorting.order = true
    dayWorkHours = 8.0
    history.sortedColumn = 1+
    automaticStart = true
    regularTasks.sorting.column = 1
    day.columns = [0,68][1,258][2,62][3,62]

     
  • Nobody/Anonymous

    Same problem here.
    However, I don't get the Exception.

    I've tried to remove the line you suggested (btw., the value here was "-1", not null, remove the whole file and restarted it - all to no avail.

    OS: Windows XP (5.1.2600)
    Java: 1.6.0_06-b02

    Cheers

    Gregor

     
  • Nobody/Anonymous

    Problem's solved:

    In the "System"-menue, I had to specify a proxy-server.

    I'm just wondering - to what server is Rachota talking to, anyways....?

    Cheers

    Gregor

     
  • tilo03

    tilo03 - 2023-01-08

    If you are not interested in the weekly report and you want to remove the error "Can't connect to Rachota Analytics Server", just go to the upper part of Rachota window, select "System/Configuration" and then in "Network" tab disable "Report Weekly activity".

     

Log in to post a comment.