I like learning about new technologies.
Skills: PYTHON / DATA SCIENCE / JS / HTML / CSS / C++ / SQL / Jupyter / AWS / Linux
🌱 I’m currently working as Lead Software Engineer at HERE Technologies.
A RaspberryPi based, Flask powered photovoltaic monitor
License: BSD 3-Clause "New" or "Revised" License
hi, i get error in line 6 of manage.py that means a syntax error. do have any idea to solve this?
The old README.rst documenation included the text:
First, set your app's secret key as an environment variable. For example, example add the following to ``.bashrc`` or ``.bash_profile``.
.. code-block:: bash
export SOLARPI_SECRET = 'something-really-secret'
The newer Markdown version doesn't, and it is causing issues with people trying out this project; they get a traceback that is not necessarily understandable to non-Python, non-Flask developers:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
from solarpi.app import create_app
File "/home/amani/Desktop/new/solarpi/solarpi/app.py", line 10, in <module>
from solarpi.settings import ProdConfig
File "/home/amani/Desktop/new/solarpi/solarpi/settings.py", line 7, in <module>
class Config(object):
File "/home/amani/Desktop/new/solarpi/solarpi/settings.py", line 9, in Config
SECRET_KEY = os_env['SOLARPI_SECRET']
File "/home/amani/Desktop/new/.venv/lib/python2.7/UserDict.py", line 40, in __getitem__
raise KeyError(key)
KeyError: 'SOLARPI_SECRET'
Please update the new README to include the env var instructions.
Hallo Tafkas,
ich habe es leider nicht geschaft die Anwendung auf meinem Raspberry zu starten.
Anscheinend reicht es nicht im Apache die mod_python zu installieren/konfigurieren?!
bitte beschreibe doch kurz wie man Deine Anwendung startet, ich würde diese liebend gerne benutzen!
Grüße
Jürgen
If i access the site than i get following Message
AttributeError: 'NoneType' object has no attribute 'meter_180'
can you discribe what's cause this?
File "manage.py", line 9, in
from solarpi.app import create_app
File "/home/amani/Desktop/myproject/solarpi/solarpi/app.py", line 7, in
from solarpi import public, weather, charts, statistics, tables
File "/home/amani/Desktop/myproject/solarpi/solarpi/public/init.py", line 4, in
from . import views
File "/home/amani/Desktop/myproject/solarpi/solarpi/public/views.py", line 11, in
from solarpi.public.helper import get_operating_days
File "/home/amani/Desktop/myproject/solarpi/solarpi/public/helper.py", line 4, in
from pysolar.util import get_sunrise_sunset
File "/home/amani/Desktop/myproject/.venv/local/lib/python2.7/site-packages/pysolar/init.py", line 1, in
from . import
File "/home/amani/Desktop/myproject/.venv/local/lib/python2.7/site-packages/pysolar/radiation.py", line 21, in
from . import numeric as math
File "/home/amani/Desktop/myproject/.venv/local/lib/python2.7/site-packages/pysolar/numeric.py", line 140, in
except ModuleNotFoundError:
NameError: name 'ModuleNotFoundError' is not defined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.