Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SofarSolar addon not working #14

Open
bd-casemod opened this issue Jan 12, 2021 · 15 comments
Open

SofarSolar addon not working #14

bd-casemod opened this issue Jan 12, 2021 · 15 comments

Comments

@bd-casemod
Copy link

The sofarsolar addon is not working here, i'm receiving the following error:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/inverter/main.py", line 1, in
import Inverter
File "/inverter/Inverter.py", line 10, in
import anyconfig
File "/usr/local/lib/python2.7/site-packages/anyconfig/init.py", line 24, in
from .api import (
File "/usr/local/lib/python2.7/site-packages/anyconfig/api.py", line 91, in
import anyconfig.dicts
File "/usr/local/lib/python2.7/site-packages/anyconfig/dicts.py", line 280
raise ValueError("Wrong merge strategy: %r" % strategy) from exc
^
SyntaxError: invalid syntax

@sztof
Copy link

sztof commented Jan 14, 2021

Same here, after update from 1.0 to 1.1 the addon doesn't work anymore

@craigmcewen
Copy link

Same again, the update breaks the component. Can you please re-anable v1.0 as the current to get the component working again at all?

@chopperpl
Copy link

Same problem with initial install. The add-on won't start. I hope this can be fixed soon.
Dziękuje ;)

@Roberttar
Copy link

the same for me. V1.1 dosen't work

@TomaszCwik
Copy link

Same here

@cmsteinBR
Copy link

cmsteinBR commented Feb 4, 2021

Same here, after update to V1.1 the addon doesn't work anymore.
Thank you very much for your work.

@tompython-ncg
Copy link

Same here, after update to V1.1 the addon doesn't work anymore.

@chopperpl
Copy link

It seems the code has been abandoned, so I suggest you remove it and look for an alternative solution.

@cmsteinBR
Copy link

@chopperpl
Copy link

The owner has not responded on github or HA with a single post for some time now, so to me it is abandoned.

@dr-azbest
Copy link

Same here!

@HeartandHana
Copy link

same here! Please advise me. I found the error msg below.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/inverter/main.py", line 1, in
import Inverter
File "/inverter/Inverter.py", line 10, in
import anyconfig
File "/usr/local/lib/python2.7/site-packages/anyconfig/init.py", line 23, in
from .api import (
File "/usr/local/lib/python2.7/site-packages/anyconfig/api/init.py", line 86, in
from .datatypes import MaybeDataT
File "/usr/local/lib/python2.7/site-packages/anyconfig/api/datatypes.py", line 10, in
from ..backend import base
File "/usr/local/lib/python2.7/site-packages/anyconfig/backend/init.py", line 25
PARSERS: ParserClssT = [
^
SyntaxError: invalid syntax

@loki29pl
Copy link

Same issue here on the newest HomeAssistant. Any chances to fix?

@adq82
Copy link

adq82 commented Oct 15, 2021

Również mam problem opisany przez HeartandHana. Czy jest szansa na poprawienie?

@kmalmur
Copy link

kmalmur commented Jun 11, 2022

I found a solution for this. The addon is using anyconfig python module, which now only works with Python 3.X. This addon is working with python 2.7. So I just fixed Dokerfile to use the specific "old" version of anyconfig

I fixed this issue in my fork as the author doesn't seem to maintain this repository. Here is the link: https://github.com/kmalmur/hassio-addons

To install the addon from my fork, you need to add address to my repository in Home Automation instead of this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests