Flash Error in Local App

Started by Resthome, June 04, 2015, 07:38:13 PM

Previous topic - Next topic

Resthome

Now here is a new one that just occurred. Okay, Andrew any clues.

John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Westbranch

RH   Google this:  json parse error [syntax error].

It appears JSON is a tool to check for bad code  see: http://jsonlint.com/

so the syntax error shows it (JSON)  is working...
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Resthome

Quote from: Westbranch on June 04, 2015, 08:26:34 PM
RH   Google this:  json parse error [syntax error].

It appears JSON is a tool to check for bad code  see: http://jsonlint.com/

so the syntax error shows it (JSON)  is working...

Thanks Westbranch

it appears to be corrupt data files that the LA stores on the PC in %appsdata%. There were a few files that were 0 bytes. Not sure why that is happening. I guess I will run some disk diagnostics to see if maybe there are some bad spots on the HD. Fairly new laptop but who knows. Since these database file are not readable it hard to tell what is suppose to be in them or the logic behind the file names.
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

atop8918

That error is coming from the 3rd party charting library that the app uses. It usually indicates that the data file is missing or corrupt. The files in the Local Store directory are database files. They are not human readable and were not intended to be. That is why there is an export function in the app: to convert the files into a human-readable format. The logic behind the files is as follows:
- the numbered directories are the decimal equivalents of the Hexadecimal Device ID for all units detected by the Local App. Simply put the number into your favorite calculator program in "programmer" mode and switch it to hex and you should now be able to see which device each directory refers to.
- within each directory there is a .man manifest file which contains arrays of manifests which comprise date and time information, registers polled, polling frequency, and a pointer into the data files which contain the actual data
- the data files have a .xxxx extension where xxxx refers to the modbus register polled. They contain arrays of data values in binary form.
All files are EMCA-based objects and contain EMCA types and coded values.

atop8918

JSON is a human-readable data format that is widely used on the web and for exchanging certain types of data to disk. It stands for JavaScript Object Notation.

http://json.org/

It is an EMCA-recognized and now officiated standard.

dgd

#5
or...
Quote
JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.

..sort or ironic the 'readable' part when the LA's data and its format stored on the users computer are certainly not 'readable' by any stretch of it's meaning

sorry, couldn't resist  ;)

dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand

atop8918

Not really that ironic as no computer program has any "human readable" parts while operating, unless you are good at reading machine code?

I could store it as human-readable text but if you guys think the local app has poor performance now...

The export button is there to convert from the binary format the computer uses to "human-readable". If you want human readable, hit the export button. Would you also ask Microsoft for their interim data files to be stored in human readable text? Have you ever opened a .doc file without a word processor? Man, tough crowd...

Westbranch

Hey, It's FRIDAY.... also grouch day!  >:( :( :o

;)
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

atop8918

Sorry! I should have saved that one for "hump day"

Casual sarcasm doesn't transmit well over modern written media. I apologize for sounding harsh where I meant to be tongue-in cheek. My cheek, so don't get any ideas.

Westbranch

No problem, I got the poke and had to poke back ;) ;) ... too easy a target... ::) :o

This issue is minor to my dealings with my Netbook this week, it has locked up and I finally stumble onto RAMDISK program and now it is back to an acceptable  workable state, but something fill ed up my HD, but I did a backup that was supposed to be on a different partition, now to figure out what it is really...

cheers
Eric
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

atop8918

I got my first taste of computers around age 6, my first home computer at 8. I've been tinkering and programming them for over 30 years since then. After all that time the only thing I have to say is: "I hate computers"

Resthome

Quote from: Westbranch on June 07, 2015, 03:35:54 PM
No problem, I got the poke and had to poke back ;) ;) ... too easy a target... ::) :o

This issue is minor to my dealings with my Netbook this week, it has locked up and I finally stumble onto RAMDISK program and now it is back to an acceptable  workable state, but something fill ed up my HD, but I did a backup that was supposed to be on a different partition, now to figure out what it is really...

cheers
Eric

Eric

A different partition is still on the same HD. So it will fill up a single HD on a notebook. So you are still limited to the size of the HD. Randisk uses you computer main memory thus the name RAM.

John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Westbranch

Hi John,  the 2 drives are shown separately when I use Disk-defrag. C and D, and C filled up to almost 50% from about 1/2 that, even though it listed the target as D, which is 95% empty. So the back up really did go to the C partition?? I have been loading new versions of  aftermarket programs and sending them to D.... D also ahs a hidden file for an F9 re-install as this Netbook does not have a CD reader.

AS to the Ram Disk program, I have it pointed to drive F a 32Gb SD card, and did it ever speed things up..

KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Resthome

Each partition has a different drive letter but still the same physical HD.
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Westbranch

right, problem was why did it use some of the C partition when it said D ??? I usually use an external Terabyte drive for that use but it was not handy.... duh...

I am going to re load W7 when I get home and have my list of all PWs etc handy
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come