Ich komme einfach nicht weiter.
Nachdem der Raspi installiert war habe ich mich als Anfänger an Anleitung zum Einbinden der Ertragsdaten auf Seite 1 gehalten-
Nachdem ich die Prognose.py gestartet habe kommt folgender Fehler.
Ich habe keinen Plan???? Was ist falsch gelaufen ?
Brauche dringend Hilfe.
pi@solaranzeige:/var/www/html $ sudo ./prognose.php
Unhandled exception in thread started by <bound method Thread._bootstrap of <dwdforecast(Thread-1, started 3006985312)>>
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/var/www/html/prognose.py", line 154, in run
AttributeError: 'dwdforecast' object has no attribute 'mydownloadfiles'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.7/threading.py", line 927, in _bootstrap_inner
(self.name, _format_exc()), file=_sys.stderr)
File "/usr/lib/python3.7/traceback.py", line 167, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
File "/usr/lib/python3.7/traceback.py", line 121, in format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.7/traceback.py", line 508, in __init__
capture_locals=capture_locals)
File "/usr/lib/python3.7/traceback.py", line 363, in extract
f.line
File "/usr/lib/python3.7/traceback.py", line 285, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib/python3.7/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib/python3.7/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib/python3.7/linecache.py", line 137, in updatecache
lines = fp.readlines()
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 2193: invalid start byte
[/code]