Upload deamon erro

Topics: 5. Support
Oct 7, 2015 at 9:44 PM
Edited Oct 8, 2015 at 7:12 AM
HI,

I installed SMAspot on my pi to monitor my solarpanels.
Every thing went ok, but i get an erro with the upload deamon tool:

pi@raspberrypi ~/smadata/logs $ /usr/local/bin/sbfspot.3/SBFspotUploadDaemon Configuration Error: Syntax error on line 23 [/usr/local/bin/sbfspot.3/SBFspotUpload.cfg]
#######################################################################
# SBFspotUpload.cfg - Configuration file for SBFspotUploadService/Daemon
#  (c)2012-2014, SBF (https://sbfspot.codeplex.com)
#
#  DISCLAIMER:
#  A user of SBFspotUploadService/Daemon software acknowledges that he or she i$
#  receiving this software on an "as is" basis and the user is not relying on
#  the accuracy or functionality of the software for any purpose. The user
#  further acknowledges that any use of this software will be at his own risk
#  and the copyright owner accepts no responsibility whatsoever arising from
#  the use or application of the software.
#
###############################################################################$


################################
### Log Settings             ###
################################
# Windows: C:\Users\Public\SMAdata\Logs
# Linux  : /home/pi/smadata/logs
# LogDir=C:\Users\Public\SMAdata\Logs
LogDir=/home/pi/smadata/logs

################################
### PVoutput Upload Settings ###
################################
#PVoutput_SID
#Map inverters to PVoutput System ID's
#PVoutput_SID=SerialNmbrInverter_1:SID_1,SerialNmbrInverter_2:SID_2
#e.g. PVoutput_SID=200212345:4321
PVoutput_SID=2130214846:20808

#PVoutput_Key
#Sets PVoutput API Key
PVoutput_Key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

################################
### SQL DB Settings          ###
################################
# SQL_Database (Fullpath to SQLite DB)
# Windows: C:\Users\Public\SMAdata\SBFspot.db
# Linux  : /home/pi/smadata/SBFspot.db
#SQL_Database=C:\Users\Public\SMAdata\SBFspot.db
SQL_Database=/home/pi/smadata/SBFspot.db

# Reserved for MySQL #SQL_Database=SBFspot
#SQL_Hostname=<Network Name> or <IP-address>
#SQL_Username=SBFspotUser
#SQL_Password=SBFspotPassword
I hope someone can help!!
Coordinator
Oct 8, 2015 at 10:18 AM
Line 23 is the one right after "LogDir=/home/pi/smadata/logs"
Most probably there are 1 or more spaces. I tried it on my config and I have the same error.
Delete the spaces and it should work.
It is confirmed as a bug.
Marked as answer by SBF on 10/8/2015 at 2:28 AM
Coordinator
Oct 8, 2015 at 10:23 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Oct 8, 2015 at 10:27 AM
Hi, Thanx that worked!!

2015-10-08 11:23 GMT+02:00 SBF <[email removed]>:

From: SBF

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

Read the full discussion online.

To add a post to this discussion, reply to this email ([email removed])

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com