Closed hjkoster400d closed 5 years ago
Heb je nog een tweede keer ./deploy.sh geprobeerd?
Je zou dit ook nog even kunnen proberen:
sudo su - dsmr
pip install urllib3 --force-reinstall
./deploy.sh
Dat herinstalleert de betreffende package urllib3
als het goed is.
Hi
Urllib3 opnieuw geïnstalleerd, en de betreffende error is verdwenen. Heb er wel een nieuwe voor terug😅
File "/home/dsmr/dsmr-reader/dsmr_stats/services.py", line 7, in
Heb ik iets bijzonders gemist tijdens de upgrade dat ik deze meldingen krijg?
In ieder geval heel erg bedankt voor je hulp 👍
Hier ook foutmeldingen. En kan de website ook niet meer bereiken.
Ik heb een mail gestuurd met alle meldingen die ik kreeg tijdens de update. wellicht helpt dat.
Hierbij de meldingen die ik krijg tijdens de update
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Jan 5 08:32:10 2019 from 192.168.2.1 pi@raspberrypi:~ $ sudo su - dsmr (dsmrreader)dsmr@raspberrypi:~/dsmr-reader $ ./deploy.sh
--- You are currently running version: 1.28
Please make sure you've read EACH release note BEFORE deploying, since some changes might not always be backwards compatible or depend on your database!
>>> https://github.com/dennissiemensma/dsmr-reader/releases <<<
y
--- Pulling remote repository for new commits...
remote: Enumerating objects: 214, done.
remote: Counting objects: 100% (214/214), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 300 (delta 180), reused 197 (delta 163), pack-reused 86
Receiving objects: 100% (300/300), 204.39 KiB | 0 bytes/s, done.
Resolving deltas: 100% (203/203), completed with 64 local objects.
From https://github.com/dennissiemensma/dsmr-reader
02deb78..9daf68c master -> origin/master
* [new branch] 562-live-gas-api -> origin/562-live-gas-api
* [new branch] 574-telegram -> origin/574-telegram
* [new branch] 588-dropbox-sync-issues -> origin/588-dropbox-sync-issues
3f477b8..5958819 development -> origin/development
* [new tag] v2.0.2 -> v2.0.2
* [new tag] v2.0.0 -> v2.0.0
* [new tag] v2.0.1 -> v2.0.1
--- Merging/updating checkout.
Updating 02deb78..9daf68c
Fast-forward
.github/ISSUE_TEMPLATE.md | 2 +-
.travis.yml | 4 +-
docs/api.rst | 108 +++
docs/changelog.rst | 47 +-
docs/credits.rst | 2 +
docs/locale/nl/LC_MESSAGES/api.mo | Bin 19590 -> 21282 bytes
docs/locale/nl/LC_MESSAGES/api.po | 160 ++--
docs/locale/nl/LC_MESSAGES/changelog.mo | Bin 79598 -> 81268 bytes
docs/locale/nl/LC_MESSAGES/changelog.po | 841 +++++++++++----------
docs/locale/nl/LC_MESSAGES/credits.mo | Bin 11670 -> 11969 bytes
docs/locale/nl/LC_MESSAGES/credits.po | 121 +--
dsmr_api/tests/v2/test_generic.py | 3 +
dsmr_consumption/services.py | 3 +-
dsmr_frontend/migrations/0016_v200_release.py | 37 +
dsmr_frontend/migrations/0017_v201_release.py | 37 +
dsmr_frontend/migrations/0018_v202_release.py | 37 +
.../regression/test_renamed_docs_reverse_url.py | 3 +
dsmr_frontend/tests/webinterface/test_dashboard.py | 3 +-
.../test_next_sync_setting_retroactive.py | 3 +
dsmrreader/__init__.py | 3 +-
dsmrreader/locales/nl/LC_MESSAGES/django.mo | Bin 73656 -> 74319 bytes
dsmrreader/locales/nl/LC_MESSAGES/django.po | 13 +-
dsmrreader/provisioning/requirements/base.txt | 12 +-
dsmrreader/provisioning/requirements/dev.txt | 4 +-
dsmrreader/provisioning/requirements/mysql.txt | 2 +-
.../provisioning/requirements/postgresql.txt | 4 +-
dsmrreader/provisioning/requirements/test.txt | 8 +-
dsmrreader/provisioning/requirements/travis.txt | 2 +-
28 files changed, 938 insertions(+), 521 deletions(-)
create mode 100644 dsmr_frontend/migrations/0016_v200_release.py
create mode 100644 dsmr_frontend/migrations/0017_v201_release.py
create mode 100644 dsmr_frontend/migrations/0018_v202_release.py
>>> Running post-deployment script. <<<
--- Checking whether VirtualEnv is activated.
--- Checking & synchronizing base requirements for changes.
Requirement already satisfied (use --upgrade to upgrade): crcmod==1.7 in /home/d smr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader/prov isioning/requirements/base.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): coreapi==2.3.3 in /hom e/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader/p rovisioning/requirements/base.txt (line 2))
Downloading/unpacking django==2.2 (from -r dsmrreader/provisioning/requirements/ base.txt (line 3))
Downloading Django-2.2-py3-none-any.whl (7.4MB): 7.4MB downloaded
Requirement already satisfied (use --upgrade to upgrade): django-colorfield==0.1 .15 in /home/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r d smrreader/provisioning/requirements/base.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): django-debug-toolbar== 1.11 in /home/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader/provisioning/requirements/base.txt (line 5))
Downloading/unpacking django-filter==2.1.0 (from -r dsmrreader/provisioning/requ irements/base.txt (line 6))
Downloading django_filter-2.1.0-py3-none-any.whl (69kB): 69kB downloaded
Downloading/unpacking djangorestframework==3.9.2 (from -r dsmrreader/provisionin g/requirements/base.txt (line 7))
Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 0% 4.1k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 0% 8.2k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 1% 12kB Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 11% 102k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 11% 106k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 12% 110k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 12% 114k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 13% 118k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 13% 122k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 13% 126k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 14% 131k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 14% 135k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 15% 139k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 15% 143k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 16% 147k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 16% 151k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 17% 155k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 17% 159k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 17% 163k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 18% 167k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 18% 172k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 19% 176k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 19% 180k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 20% 184k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 20% 188k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 21% 192k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 21% 196k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 22% 200k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 22% 204k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 22% 208k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 23% 212k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 23% 217k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 24% 221k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 24% 225k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 25% 229k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 25% 233k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 26% 237k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 26% 241k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 26% 245k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 27% 249k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 27% 253k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 28% 258k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 28% 262k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 29% 266k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 29% 270k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 30% 274k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 30% 278k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 30% 282k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 31% 286k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 31% 290k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 32% 294k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 32% 299k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 33% 303k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 33% 307k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 34% 311k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 34% 315k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 35% 319k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 35% 323k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 35% 327k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 36% 331k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 36% 335k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 37% 339k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 37% 344k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 38% 348k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 38% 352k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 39% 356k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 39% 360k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 39% 364k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 40% 368k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 40% 372k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 41% 376k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 41% 380k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 42% 385k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 42% 389k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 43% 393k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 43% 397k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 44% 401k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 44% 405k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 44% 409k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 45% 413k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 45% 417k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 46% 421k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 46% 425k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 47% 430k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 47% 434k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 48% 438k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 48% 442k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 48% 446k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 49% 450k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 49% 454k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 50% 458k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 50% 462k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 51% 466k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 51% 471k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 52% 475k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 52% 479k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 52% 483k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 53% 487k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 53% 491k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 54% 495k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 54% 499k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 55% 503k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 55% 507k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 56% 512k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 56% 516k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 57% 520k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 57% 524k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 57% 528k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 58% 532k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 58% 536k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 59% 540k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 59% 544k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 60% 548k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 60% 552k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 61% 557k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 61% 561k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 61% 565k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 62% 569k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 62% 573k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 63% 577k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 63% 581k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 64% 585k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 64% 589k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 65% 593k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 65% 598k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 66% 602k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 66% 606k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 66% 610k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 67% 614k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 67% 618k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 68% 622k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 68% 626k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 69% 630k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 69% 634k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 70% 638k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 70% 643k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 70% 647k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 71% 651k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 71% 655k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 72% 659k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 72% 663k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 73% 667k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 73% 671k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 74% 675k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 74% 679k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 75% 684k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 75% 688k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 75% 692k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 76% 696k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 76% 700k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 77% 704k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 77% 708k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 78% 712k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 78% 716k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 79% 720k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 79% 724k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 79% 729k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 80% 733k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 80% 737k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 81% 741k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 81% 745k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 82% 749k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 82% 753k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 83% 757k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 83% 761k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 83% 765k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 84% 770k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 84% 774k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 85% 778k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 85% 782k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 86% 786k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 86% 790k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 87% 794k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 87% 798k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 88% 802k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 88% 806k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 88% 811k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 89% 815k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 89% 819k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 90% 823k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 90% 827k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 91% 831k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 91% 835k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 92% 839k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 92% 843k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 92% 847k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 93% 851k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 93% 856k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 94% 860k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 94% 864k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 95% 868k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 95% 872k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 96% 876k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 96% 880k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 97% 884k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 97% 888k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 97% 892k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 98% 897k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 98% 901k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 99% 905k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 99% 909k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 100% 911k Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): Downloading djangorestframework-3.9.2-py2.py3-none-any.whl (911kB): 911kB down loaded
Requirement already satisfied (use --upgrade to upgrade): django-solo==1.1.3 in /home/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrread er/provisioning/requirements/base.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): dropbox==9.3.0 in /hom e/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader/p rovisioning/requirements/base.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): gunicorn==19.9.0 in /h ome/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader /provisioning/requirements/base.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): paho-mqtt==1.3.1 in /h ome/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader /provisioning/requirements/base.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): pyserial==3.4 in /home /dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader/pr ovisioning/requirements/base.txt (line 12))
Downloading/unpacking python-dateutil==2.8.0 (from -r dsmrreader/provisioning/re quirements/base.txt (line 13))
Downloading python_dateutil-2.8.0-py2.py3-none-any.whl (226kB): 226kB download ed
Downloading/unpacking pytz==2019.1 (from -r dsmrreader/provisioning/requirements /base.txt (line 14))
Downloading pytz-2019.1-py2.py3-none-any.whl (510kB): 510kB downloaded
Requirement already satisfied (use --upgrade to upgrade): requests==2.21.0 in /h ome/dsmr/.virtualenvs/dsmrreader/lib/python3.4/site-packages (from -r dsmrreader /provisioning/requirements/base.txt (line 15))
Downloading/unpacking urllib3==1.24.2 (from -r dsmrreader/provisioning/requireme nts/base.txt (line 16))
Downloading urllib3-1.24.2-py2.py3-none-any.whl (131kB): 131kB downloaded
Requirement already satisfied (use --upgrade to upgrade): sqlparse in /home/dsmr /.virtualenvs/dsmrreader/lib/python3.4/site-packages (from django==2.2->-r dsmrr eader/provisioning/requirements/base.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in /home/dsmr /.virtualenvs/dsmrreader/lib/python3.4/site-packages (from python-dateutil==2.8. 0->-r dsmrreader/provisioning/requirements/base.txt (line 13))
Installing collected packages: django, django-filter, djangorestframework, pytho n-dateutil, pytz, urllib3
Found existing installation: Django 2.0.9
Uninstalling Django:
Successfully uninstalled Django
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/conf/__init__.py'...
File "/tmp/pip-build-irh1zhlc/django/django/conf/__init__.py", line 239
s for s in [*self.__dict__, *dir(self.default_settings)]
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/actions .py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/actions.py", line 55
**modeladmin.admin_site.each_context(request),
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/checks. py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/checks.py", line 131
*self._check_autocomplete_fields(admin_obj),
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/forms.p y'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/forms.py", line 11
**AuthenticationForm.error_messages,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/options .py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/options.py", line 15 2
kwargs = {**self.formfield_overrides[db_field.__class__], **kwargs}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/sites.p y'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/sites.py", line 316
'extra_context': {**self.each_context(request), **(extra_context or {})},
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/templat etags/admin_list.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/templatetags/admin_l ist.py", line 71
*range(0, ON_ENDS), DOT,
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admin/widgets .py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admin/widgets.py", line 61
attrs = {'class': 'vDateField', 'size': '10', **(attrs or {})}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/admindocs/vie ws.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/admindocs/views.py", line 46
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/auth/admin.py '...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/auth/admin.py", line 179
**self.admin_site.each_context(request),
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/auth/backends .py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/auth/backends.py", line 83
*self.get_user_permissions(user_obj),
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/auth/forms.py '...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/auth/forms.py", line 291
**(extra_email_context or {}),
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/auth/manageme nt/__init__.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/auth/management/__init__.p y", line 18
return [*_get_builtin_permissions(opts), *opts.permissions]
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/auth/views.py '...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/auth/views.py", line 35
return {self.request.get_host(), *self.success_url_allowed_hosts}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/ admin.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/admin.py", li ne 115
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/ fields.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/fields.py", l ine 76
*self._check_field_name(),
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/ forms.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/contenttypes/forms.py", li ne 72
exclude = [*(exclude or []), ct_field.name, fk_field.name]
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/backen ds/spatialite/introspection.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/backends/spatialite /introspection.py", line 13
**FlexibleFieldLookupDict.base_data_types_reverse,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models /fields.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models/fields.py", line 263
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models /functions.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models/functions.py ", line 436
*(self._handle_param(arg, '', NUMERIC_TYPES) for arg in args[2:]),
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models /lookups.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/db/models/lookups.py", line 81
template_params = {'lhs': lhs_sql, 'rhs': rhs_sql, 'value': '%s', **self.tem plate_params}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/forms/wid gets.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/forms/widgets.py", lin e 71
**(attrs or {}),
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/muta ble_list.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/mutable_list.py", line 112
return self.__class__([*self, *other])
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/poly gon.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/polygon.py", line 46
polygon = self._create_polygon(n_holes + 1, [ext_ring, *init_holes])
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/prot otypes/coordseq.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/prototypes/coords eq.py", line 52
super().__init__(*args, **{**kwargs, 'errcheck': errcheck, 'argtypes': argty pes})
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/prot otypes/threadsafe.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/geos/prototypes/thread safe.py", line 57
self.cfunc.argtypes = [CONTEXT_PTR, *argtypes]
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/gis/serialize rs/geojson.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/gis/serializers/geojson.py ", line 16
self.selected_fields = [*self.selected_fields, self.geometry_field]
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/messages/util s.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/messages/utils.py", line 1 0
**constants.DEFAULT_TAGS,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fiel ds/array.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fields/array.py", line 192
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fiel ds/hstore.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fields/hstore.py" , line 52
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fiel ds/jsonb.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/fields/jsonb.py", line 82
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/form s/array.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/forms/array.py", line 148
final_attrs = {**final_attrs, 'id': '%s_%s' % (id_, i)}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/util s.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/utils.py", line 2 5
params={**error_params, **params},
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/vali dators.py'...
File "/tmp/pip-build-irh1zhlc/django/django/contrib/postgres/validators.py", l ine 38
self.messages = {**self.messages, **messages}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/core/cache/__init__.p y'...
File "/tmp/pip-build-irh1zhlc/django/django/core/cache/__init__.py", line 47
params = {**conf, **kwargs}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/core/handlers/excepti on.py'...
File "/tmp/pip-build-irh1zhlc/django/django/core/handlers/exception.py", line 108
response = callback(request, **{**param_dict, 'exception': exception})
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/core/handlers/wsgi.py '...
File "/tmp/pip-build-irh1zhlc/django/django/core/handlers/wsgi.py", line 147
*response.items(),
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/core/management/__ini t__.py'...
File "/tmp/pip-build-irh1zhlc/django/django/core/management/__init__.py", line 260
subcommands = [*get_commands(), 'help']
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/core/management/templ ates.py'...
File "/tmp/pip-build-irh1zhlc/django/django/core/management/templates.py", lin e 100
**options,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/base/base .py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/base/base.py", line 60 8
return self.__class__({**self.settings_dict, 'NAME': None}, alias=NO_DB_ALIA S)
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/base/crea tion.py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/base/creation.py", lin e 226
return {**orig_settings_dict, 'NAME': '{}_{}'.format(orig_settings_dict['NAM E'], suffix)}
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/base/sche ma.py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/base/schema.py", line 300
"definition": ", ".join(constraint for constraint in (*column_sqls, *constra ints) if constraint),
^
SyntaxError: can use starred expression only as assignment target
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/bas e.py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/base.py", line 4 3
**conversions,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/int rospection.py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/introspection.py ", line 98
))
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/ope rations.py'...
File "/tmp/pip-build-irh1zhlc/django/django/db/backends/mysql/operations.py", line 14
**BaseDatabaseOperations.integer_field_ranges,
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-irh1zhlc/dj
@Helloitsme je draait nog Python 3.4
. Als je DSMR-reader v2.x
wilt gebruiken, zul je Python moeten upgraden. Tot die tijd kun je het beste teruggaan naar v1.x
.
sudo su - dsmr
git checkout tags/v1.28.0
./post-deploy.sh
@hjkoster400d wil je eens kijken of het herinstalleren van alle dependencies het oplost?
sudo su - dsmr
pip3 install -r dsmrreader/provisioning/requirements/base.txt --force-reinstall
./post-deploy.sh
Ah, je hebt ook Python 3.4, we zullen moeten upgraden :-) Zie ook het stappenplan in #624
Dank je.
Enige probleem dat ik nu heb is dat sudo su – dsmr ineens om een wachtwoord vraagt (deed het nooit en ik weet het eerlijk gezegd ook niet)
@Helloitsme zit je wel onder de juiste root/pi-user? Wellicht zit je al onder de dsmr
user?
@Helloitsme zit je wel onder de juiste root/pi-user? Wellicht zit je al onder de
dsmr
user?
waarschijnlijk :-) post deploy loopt nu
post deploy heeft gedraait. echter website nog niet toegangkelijk. zie op het eind dit staan. Reloading process: dsmr_webinterface (Gunicorn) [FAILED] PID file does not exist! (yet?)
Ik denk dat de processen gecrasht zijn en dus niet herstarten. Je kunt ze geforceerd (her)starten.
Je moet dan even terug naar de root/pi-user (CTRL + D) en dan:
sudo supervisorctl restart all
sudo supervisorctl restart all
:-) 👍
ben blij dat hij weer draait. Later maar even nadenken over wat er dan moet gebeuren om naar versie 2 te gaan.
Ik splits dit topic even af, want uiteindelijk is een oude Python-versie een ander issue dan wat @hjkoster400d heeft.
@Helloitsme je kunt wellicht beter even naar #624 gaan.
Heb raspbian geupgrade naar 9 #624 en de geforceerde herinstallatie gedaan van de dependencies. Alles werkt weer als vanouds!
Super bedankt weer voor je hulp!
Aah top, de upgrade gaat je sowieso wat werk schelen wanneer de volgende Python-versie EOL is. Bedankt voor je terugkoppeling!
omgeving
v2.0.2
RaspberryPi 3
v4
Bug na upgrade
Na de upgrade van 1.x.x naar 2.0.2 krijg ik Internal Server Error. Tijdens de upgrade duurde de clearing cache stap erg lang, en gaf uiteindeljk een foutmelding, zie hieronder:
File "/home/dsmr/.virtualenvs/dsmrreader/lib/python3.5/site-packages/requests/exceptions.py", line 9, in
from urllib3.exceptions import HTTPError as BaseHTTPError
ImportError: cannot import name 'HTTPError'
Een herstart van de raspberry heeft niet geholpen, heb je enig idee waar dit zou kunnen zitten?
Alvast bedankt!
p.s: ik ben nog steeds erg blij met de DSMR reader! Bedankt voor alle tijd die je erin stopt!