Forum Discussion

Vampy's avatar
Vampy
Freshman
8 years ago

Usage meter javascript error

A javascript error occured in the main process.  Uncaught exception:

Error: Error parsing your configuration file:  [C:\Users\Vampy\AppData\Roaming\HughesNet Usage Meter\status-meter.config]: Unexpected Token

 

I tried uninstalling and reininstalling and got the same thing.  Any suggestions ?  Thanks in advance for any help.

  • GabeU's avatar
    GabeU
    7 years ago

    inthewoodsworki

     

    The following fix for the Javascript error won't cripple your computer.  Just don't delete anything other than what's described in the instructions.  Regarding Windows, you'll probably have to change your folder options to be able to view Hidden Items to see the AppData folder and its contents described in the directions.  To do so, click "View", then check the box for "Hidden Items", as you see in the red boxes in the picture below.  When you're finished with the procedure, uncheck "Hidden Items" so they are hidden again, as they are hidden by default for a reason.  If you have a Mac, I'm not sure if you have to unhide anything. 

     

     

     

    The instructions for the JavaScript error.  Credit goes to MarkJFine

     

     In the event that this happens:
    1. Fully quit the Usage Meter from it's own menu by clicking on the donut in the menubar and clicking "Quit".
    2. Look for the following directory
       Windows: C:\Users\[your User name]\AppData\Roaming\
       Mac: /Users/[your User name]/Library/Application Support/
    3. Carefully delete just the "HughesNet Usage Meter" folder under that and empty the trash.
    4. Restart the Usage Meter. This will regenerate all the underlying information as if it were run for the first time, thus correcting the error.

  • This solution worked beautifully for me.   thank you for the assist!

    • GabeU's avatar
      GabeU
      Distinguished Professor IV

      Rafela wrote:

      This solution worked beautifully for me.   thank you for the assist!


      You're very welcome.  I'm glad you found the solution and it worked for you.  :)  

  • Reinstallation and Java update did not work for me. Here is how I solved it. I first closed the Usage Meter in Task Manager. Then I deleted the file: "C:\Users\Chip\AppData\Roaming\HughesNet Usage Meter\status-meter.conf." That file was recreated in a properly functioning form when I restarted the Usage Meter.

    • GabeU's avatar
      GabeU
      Distinguished Professor IV

      Chipster96

       

      The "Accepted Solution" on the first page contains incorrect information.  Java and Javascript are two different things, and updating or deleting and reinstalling Java has no effect on the JavaScript issue.  

       

      The correct instructions have been posted throughout this thread, but people first see the "Accepted Solution" and assume, and rightfully so, that it is the actual solution, while in reality it isn't.  

       

      Only the person who started the thread can accept, or un-accept, a given solution, which ironically, in this case, was also written by the person who started the thread.  The OP hasn't been on here in over a year, so unless a moderator intervenes and un-accepts the post as the solution, people will continue to see it as the fix, when it actually isn't.  :(  

      • Vampy's avatar
        Vampy
        Freshman

        While you say my fix doesn't work I've had to do it at least 10 times and it's always worked for me.  I haven't been back to this thread since I started it and see there are 13 pages of the meter problem since I left.  I am still having problems with it but not as often now.  I used to have to do this weekly and now it's every few weeks.  I'm looking through the fixes to see what you all have found.  If this meter is somehow fixed no one will be looking through this thread.  Now they know there's a problem with it.

  • I solved this by uninstalling the program, deleating the folder in the error message, and then reinstalling the program. Installing and uninstalling Java did nothing.

    • GabeU's avatar
      GabeU
      Distinguished Professor IV

      FredB wrote:

      I solved this by uninstalling the program, deleating the folder in the error message, and then reinstalling the program. Installing and uninstalling Java did nothing.


      Unfortunately, the reply that should really be marked as the solution (Corrosive's) isn't the one that is marked as such.  Java itself is unrelated to the issue.

       

      Uninstalling meter, deleting the folder in question, and reinstalling the meter, like you did, is all that is needed.  

       

      It's an odd little error that seems to pop up without rhyme or reason.   

      • GabeU's avatar
        GabeU
        Distinguished Professor IV

        Had this pop up on me again today.  Had to perform a hard shutdown due to my desktop freezing.  When I started it back up, sure enough, it was there, staring at me with its ugly little message.  :(  

         

        Closed the meter down (had to do it through the task manager), uninstalled it, deleted the info in the offending folder, reinstalled the meter and now it's working fine.  :)

         

        Edit:  For those who experience this for the first time on a Windows based computer, you'll most likely have to enable the viewing of hidden items to see the AppData folder and its contents.  

         

            

  • Fwiw I had the same problem and this was my experience …

     

    1. Uninstalled & reinstalled usage meter.  Problem remained.
    2. Uninstalled usage meter.  Uninstalled & reinstalled JRE. Reinstalled Usage Meter.  Problem remained.
    3. Cleared the contents of C:\Users\YourUserName\AppData\Roaming\HughesNet Usage Meter\ and then: Uninstalled usage meter.  Uninstalled & reinstalled JRE. Reinstalled Usage Meter.  Problem fixed. 

     

    I hope that helps somebody with similar problems.

    • motobojo's avatar
      motobojo
      Junior

      This problem cropped up again today.  The good news is that the steps identified above still fix the problem.  Is there something Hughesnet can do to avoid the problem cropping up?  Is there something I can do to avoid having this problem crop up over and over?

    • RG's avatar
      RG
      Sophomore

      Your fix worked for me! Thanks for the information , Need to look at community first before calling tech support!

        RG

    • MarkJFine's avatar
      MarkJFine
      Professor

      Curious... would have thought just clearing the js cache might be enough and then restarting. Good info.

  • Updating java and deleting the hughes net meter folder from (C:\Users\Usernamehere\AppData\Roaming) your appdata folder worked for me.

    • BirdDog's avatar
      BirdDog
      Assistant Professor

      eric30110 wrote:

      Updating java and deleting the hughes net meter folder from (C:\Users\Usernamehere\AppData\Roaming) your appdata folder worked for me.


      Good info, I had to do this recently myself but didn't post it here. Good that you did.

  • C0RR0SIVE's avatar
    C0RR0SIVE
    Associate Professor

    Vampy,

    Try uninstalling the status meter and usage meter from your system, then navigate to C:\Users\Vampy\AppData\Roaming\HughesNet Usage Meter\, and delete anything that desides in that folder.  Also navigate to c:\program files\hughesnet-usage-meter and delete anything that may reside in that folder.  Then download and install the latest version (Should be 6.6) and see what happens.

    • secondopinion's avatar
      secondopinion
      New Poster

      After going through the hoops of deleting and reinstalling Hughes Usage Meter and JavaScript, removing the folder "\Users\<username>\AppData\Roaming\HughesNet Usage Meter" is what ultimately fixed my issue.

       

      Did upgading to the Gen5 modems cause this issue?

      • RG's avatar
        RG
        Sophomore

        Upgrading to Gen5 is not the problem. The problem lies with Hughes as when the "NEW" status meter was upgraded ,the status meter will crash when you have a power loss and computer on. This problem has and will always be there until Hughes writes a new code that is    not prone to crashing!

    • jimmie_evlyn's avatar
      jimmie_evlyn
      Sophomore

      Is this still considered to be THE BEST way tto deal with this problem?

      C0RR0SIVE
        
      Assistant Professor
       
      "Re: Usage meter javascript error

      Vampy,

      Try uninstalling the status meter and usage meter from your system, then navigate to C:\Users\Vampy\AppData\Roaming\HughesNet Usage Meter\, and delete anything that desides in that folder.  Also navigate to c:\program files\hughesnet-usage-meter and delete anything that may reside in that folder.  Then download and install the latest version (Should be 6.6) and see what happens."

       

      I reported mine so long ago I have just about learned to get along without this very useful tool.  There were so many answers and so much confusion, I just decided to leave it alone because I was afraid I would cause more problems.  If this problem has a real fix, could someone please give me detailed instructions on what to do, how to do it and how to get there?  I sure would like to have that tool back.

      • RG's avatar
        RG
        Sophomore
        Downloaded today ,it crashed so deleted both old and "new" Hughes please FIX it!
    • bonnienelsonwa's avatar
      bonnienelsonwa
      New Poster

      The combination of the info from Vampy and the instruction from Corrosive FINALLY WORKED!!  I've been working on this for months because I like to solve things.  I've uninstalled/reinstalled Java and the Usage Meter many times and tried dozens of suggestions.  But this is the one that worked.  I did install jre-8u121-windows-x64.  And then I uninstalled the Usage Meter plus added Corrosive's instructions to do these deletions--not done before--before the re-installation of the meter--as follows:

       

      "Try uninstalling the status meter and usage meter from your system, then navigate to C:\Users\[your User name]\AppData\Roaming\HughesNet Usage Meter\, and delete anything that desides in that folder.  Also navigate to c:\program files\hughesnet-usage-meter and delete anything that may reside in that folder.  Then download and install the latest version (Should be 6.6) and see what happens."  See Corrosive in earlier suggestions.

       

      It turned out that in the HughesNet Usage Meter subfiles there were lots of hidden files.  That finally worked! 

      I then used the new  jre-8u121-windows-x64 installer for Java (this time I had not uninstalled Java, I just ran this installer which reinstalled the Java I already have).  Then, of course, reboot.  Imagine my shock when the Usage Meter finally worked.  Can't believe it.  But it's really important to have this so I'm glad this worked.  Question to HughesNet:  Really?  Can't you fix this for people so that your Usage Meter finally works without all the problems?

      By the way, I am running Windows 10 on a five-month-old laptop. 

      Great thanks to Corrosive and Vampy.  Good job!!  This may not work for everyone, but I sure hope it will.

       

      • MarkJFine's avatar
        MarkJFine
        Professor

        bonnienelsonwa

         

        bonnienelsonwa wrote:

        "Try uninstalling the status meter and usage meter from your system, then navigate to C:\Users\[your User name]\AppData\Roaming\HughesNet Usage Meter\, and delete anything that desides in that folder.  Also


        Guarantee that's the only thing you needed to do. Everything else was ancillary, especially the Java part. The Usage Meter runs on JavaScript which is loosely based on the same language, but has nothing to do with the version of Java you installed.