Extension Installer Syntax Error

18 views
Skip to first unread message

Joe Percival

unread,
Jan 13, 2018, 6:12:58 PM1/13/18
to weewx-user
Though this section is almost an exact duplicate of the mem extension install.py file, I am getting a syntax error on the last section of the file.

  File "/var/tmp/weewx_snow/install.py", line 48
    files=[('bin/user', ['bin/user/snow.py']),
         ^
SyntaxError: invalid syntax


here is the exact text in that section of my install.py:

            files=[('bin/user', ['bin/user/snow.py']),
                      ('skins/snow', ['skins/snow/skin.conf',
                                             'skins/snow/index.html.tmpl',
                                             'skins/snow/weewx.css'])]


Joe Percival

unread,
Jan 13, 2018, 6:24:55 PM1/13/18
to weewx...@googlegroups.com
I think I found the problem here also… I found one section in the earlier configuration section where I had not used a closing brace.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/hqwdXDu55eM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Percival

unread,
Jan 13, 2018, 6:27:42 PM1/13/18
to weewx...@googlegroups.com
Yay!
"Finished installing extension '/home/pi/Downloads/weewx_snow.zip’"
Reply all
Reply to author
Forward
0 new messages