Closed GoogleCodeExporter closed 8 years ago
I had this error on my system yesterday. It was caused when I set the system
date into the past and I forgot to reset it before starting PVBC. PVBC stores a
date in the database that represents the date from which downloads need to
occur to bring PVBC up to date. If this date is later than the curresnt
computer date, a negative time offset is calculated producing this error.
Your system datre seems to be correct but PVBC is trying to start downloads
from 1/9/2011:
21/08/2011 12:07:00 PM :T7 SunnyExplorerInverterManager :FindCompleteDays:
limit day: 1/09/2011
12:00:00 AM 21/08/2011 12:07:00 PM :T7 SunnyExplorerInverterManager
:FindCompleteDays: SQLite adjusted limit day: 31/08/2011
12:00:00 AM 21/08/2011 12:07:00 PM :T7 SunnyExplorerInverterManager :Sunny
Explorer: ExtractYield - status: before RunExtracts - exception: RunExtracts:
FindIncompleteDays: error : Non-negative number required. Parameter name:
capacity
I do not know how you got a future date recorded in the database, however I
suggest:
On the Inverter Managers tab,
click on Sunny Explorer
Ensure First Full Day is set to a date in the past and after inverter
installation
Check "Reset First Full Day"
Save Settings
Restart The PVBC Service
I expect that this will use an alternate calculation that causes the date in
the database to be reset to a value in the past.
Dennis M-F
Original comment by DennisMackayFisher
on 21 Aug 2011 at 9:07
Thanks Dennis, I have reset the first full day.
That error does not appear in the log any more, and the log actually looks good.
Still no results being uploaded though. ( i have attached the latest log file. )
Not sure what to do now?
Original comment by speedyda...@gmail.com
on 22 Aug 2011 at 2:04
It just threw an error !
System.Xml.XmlException in SMA.SunnyExplorer.Document.Open(string path)
Root element is missing
?????
Original comment by speedyda...@gmail.com
on 22 Aug 2011 at 2:09
Now seems to be working ??
I set permissions and firewall settings etc
now all seems okay ??
Not really sure what was the "silver bullet" , but so far, so good :)
Original comment by speedyda...@gmail.com
on 22 Aug 2011 at 3:15
I am pleased it is working. Closing this now
Dennis M-F
Original comment by DennisMackayFisher
on 4 Sep 2011 at 12:08
Hi. I am experiencing the same problem as that listed above in that no data is
being uploaded and getting the same error "System.Xml.XmlException in
SMA.SunnyExplorer.Document.Open(string path)
Root element is missing"
I am trying to connect to the inverter directly via sunny explorer but can't do
that either. Sunny Explorer is coming up with an error saying "Root element is
missing". Any ideas what may have gone wrondg?
Original comment by markkett...@gmail.com
on 10 Apr 2012 at 1:56
Did you manage to get it fixed? I have the same message now and cannot get it
working
Original comment by em...@miskeljin.com
on 24 May 2012 at 11:07
Original issue reported on code.google.com by
speedyda...@gmail.com
on 21 Aug 2011 at 4:42