python collect_kostal.py
Traceback (most recent call last):
File "collect_kostal.py", line 93, in <module>
main()
File "collect_kostal.py", line 89, in main
save_data_to_db(data)
File "collect_kostal.py", line 71, in save_data_to_db
cur.execute(query, tuple([datetime.datetime.now().isoformat ...
Die Suche ergab 15 Treffer
- Samstag 2. Juli 2016, 13:02
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
- Donnerstag 30. Juni 2016, 23:00
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Das war jetzt bei einem neuen System.
Hat jemand eine Idee ?
Hat jemand eine Idee ?
- Donnerstag 30. Juni 2016, 22:59
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading Flask-SQLAlchemy-2.1.tar.gz (95kB)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ 100% |████████████████████████████████| 102kB 1.1MB/s
-bash: ████████████████████████████████: Kommando nicht ...
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ 100% |████████████████████████████████| 102kB 1.1MB/s
-bash: ████████████████████████████████: Kommando nicht ...
- Donnerstag 30. Juni 2016, 22:59
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
pi@raspberrypi:~/solarpi_venv $ sudo pip install virtualenvwrapper
Downloading/unpacking virtualenvwrapper
Downloading virtualenvwrapper-4.7.1-py2.py3-none-any.whl
Downloading/unpacking stevedore (from virtualenvwrapper)
Downloading stevedore-1.15.0-py2.py3-none-any.whl
Downloading/unpacking ...
- Montag 27. Juni 2016, 00:29
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Ach es sind weitere Abhängigkeiten.
Ich glaub ich werde alles nochmal neu installiern.
Ich glaub ich werde alles nochmal neu installiern.
- Sonntag 26. Juni 2016, 23:41
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
(solarpi_venv) admin@linux-7rmh:~/solarpi_venv/solarpi> sudo SOLARPI_SECRET='test' python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 6, in <module>
from flask.ext.script import Manager, Shell, Server
ImportError: No module named flask.ext.script
Die Zeile ist ...
Traceback (most recent call last):
File "manage.py", line 6, in <module>
from flask.ext.script import Manager, Shell, Server
ImportError: No module named flask.ext.script
Die Zeile ist ...
- Sonntag 26. Juni 2016, 23:10
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
pip install --upgrade pip alembic
Fehlte.
Es war zwar installiert aber funktionierte nicht.
Ob jetzt dann das programm funktioniert muss ich noch testen.
Fehlte.
Es war zwar installiert aber funktionierte nicht.
Ob jetzt dann das programm funktioniert muss ich noch testen.
- Sonntag 26. Juni 2016, 20:59
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Doch lib/python2.7/ gibt es aber das alembic in site-packages fehlt.
Wo bekommt man das her ?
Python 2.7.9 ist installiert.
Oder ist das ein Fehler und ich sollte mal den Pi neu installiern ?
Wo bekommt man das her ?
Python 2.7.9 ist installiert.
Oder ist das ein Fehler und ich sollte mal den Pi neu installiern ?
- Sonntag 26. Juni 2016, 20:28
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Danke für die Hilfe.
Leider komme ich schon bei virtualenv2 . nicht weiter.
Es kommt :
-bash: virtualenv2: Kommando nicht gefunden.
virtualenv . scheint zu gehen.
cp lib/python2.7/site-packages/alembic/templates/generic/env.py solarpi/migrations/
den Ordner alembic gibt es nicht.
Leider komme ich schon bei virtualenv2 . nicht weiter.
Es kommt :
-bash: virtualenv2: Kommando nicht gefunden.
virtualenv . scheint zu gehen.
cp lib/python2.7/site-packages/alembic/templates/generic/env.py solarpi/migrations/
den Ordner alembic gibt es nicht.
- Freitag 24. Juni 2016, 12:28
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Könnte einer von euch mir vieleicht genauer sagen wie ich die Umgebungsvariable setzen muss.
Oder gar wie genau so eine Installation zu erledigen ist.
Ich komme da nicht weiter.
Diese Anleitungen wie man flesk startet und eine Hello World Datei erstellt gibt es genug.
Und nur so weit komme ich.
Oder gar wie genau so eine Installation zu erledigen ist.
Ich komme da nicht weiter.
Diese Anleitungen wie man flesk startet und eine Hello World Datei erstellt gibt es genug.
Und nur so weit komme ich.
- Mittwoch 1. Juni 2016, 21:36
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Ok danke das hilft schon mal sehr weiter.
- Mittwoch 25. Mai 2016, 21:02
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Das andere Problem konnte ich schon lösen.
Jetzt habe ich mal manage.py db upgrade gemacht und erhalte:
pi@raspberrypi:~/Downloads/solarpi-master $ python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 9, in <module>
from solarpi.app import create_app
File "/home/pi ...
Jetzt habe ich mal manage.py db upgrade gemacht und erhalte:
pi@raspberrypi:~/Downloads/solarpi-master $ python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 9, in <module>
from solarpi.app import create_app
File "/home/pi ...
- Sonntag 22. Mai 2016, 02:40
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Bei :
https://gist.github.com/Tafkas/673a56d8f836820f6138dd8d535c88c8
Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback ...
https://gist.github.com/Tafkas/673a56d8f836820f6138dd8d535c88c8
Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback ...
- Sonntag 22. Mai 2016, 01:34
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Re: Installation von solarpi
Ich habe ja die gleiche Hardware.
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-iDDD1X/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file __).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-wywsj2-record/install-record ...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-iDDD1X/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file __).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-wywsj2-record/install-record ...
- Samstag 21. Mai 2016, 19:58
- Forum: Allgemeine Fragen
- Thema: Installation von solarpi
- Antworten: 30
- Zugriffe: 6565
Installation von solarpi
Hallo
ich möchte das Projekt solarpi einrichten.
(Auf einem Raspberry Pi)
https://github.com/Tafkas/solarpi
http://blog.tafkas.net/2014/11/19/solarpi-a-flask-powered-photovoltaic-monitor/
Da ich keine Anleitung finden konnte frage ich mal hier um Hilfe, da alles in python zum großen Teil ...
ich möchte das Projekt solarpi einrichten.
(Auf einem Raspberry Pi)
https://github.com/Tafkas/solarpi
http://blog.tafkas.net/2014/11/19/solarpi-a-flask-powered-photovoltaic-monitor/
Da ich keine Anleitung finden konnte frage ich mal hier um Hilfe, da alles in python zum großen Teil ...