Comments (7)
Hi Alex -- thanks for the report.
Support for the next/develop
version of the core is in branch next-core
.
Our current installations are all in environments that use the stable version of datacube (and the conda install instructions install a stable datacube), so it's the default target at the moment.
Tell me if you run into problems, as it hasn't been tested as thoroughly. I've been rebasing/force-pushing to keep it up to date as a clean set of patches, but changes to core develop
could break it again.
from datacube-explorer.
Ah, ok @jeremyh. I'll try with that branch.
from datacube-explorer.
Got another issue this time:
(Ignore all the dashboard_1 bits)
This may be an issue with out product definition?
dashboard_1 | [2018-04-04 04:38:15 +0000] [1] [INFO] Starting gunicorn 19.7.1
dashboard_1 | [2018-04-04 04:38:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:80 (1)
dashboard_1 | [2018-04-04 04:38:15 +0000] [1] [INFO] Using worker: sync
dashboard_1 | [2018-04-04 04:38:15 +0000] [9] [INFO] Booting worker with pid: 9
dashboard_1 | [2018-04-04 04:38:15 +0000] [10] [INFO] Booting worker with pid: 10
dashboard_1 | [2018-04-04 04:38:15 +0000] [12] [INFO] Booting worker with pid: 12
dashboard_1 | [2018-04-04 04:38:15 +0000] [21] [INFO] Booting worker with pid: 21
dashboard_1 | [2018-04-04 04:38:15 +0000] [22] [INFO] Booting worker with pid: 22
dashboard_1 | [2018-04-04 04:38:16 +0000] [9] [ERROR] invalid syntax (_utils.py, line 125)
dashboard_1 | Traceback (most recent call last):
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/base.py", line 135, in load_wsgi
dashboard_1 | self.wsgi = self.app.wsgi()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/base.py", line 67, in wsgi
dashboard_1 | self.callable = self.load()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
dashboard_1 | return self.load_wsgiapp()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
dashboard_1 | return util.import_app(self.app_uri)
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/util.py", line 352, in import_app
dashboard_1 | __import__(module)
dashboard_1 | File "/code/cubedash/__init__.py", line 3, in <module>
dashboard_1 | from . _pages import app
dashboard_1 | File "/code/cubedash/_pages.py", line 12, in <module>
dashboard_1 | from cubedash import _utils as utils
dashboard_1 | File "/code/cubedash/_utils.py", line 125
dashboard_1 | field: Field = product.metadata_type.dataset_fields.get(field_name)
dashboard_1 | ^
dashboard_1 | SyntaxError: invalid syntax
dashboard_1 | [2018-04-04 04:38:16 +0000] [9] [ERROR] Exception in worker process
dashboard_1 | Traceback (most recent call last):
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/base.py", line 135, in load_wsgi
dashboard_1 | self.wsgi = self.app.wsgi()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/base.py", line 67, in wsgi
dashboard_1 | self.callable = self.load()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
dashboard_1 | return self.load_wsgiapp()
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
dashboard_1 | return util.import_app(self.app_uri)
dashboard_1 | File "/usr/local/lib/python3.5/dist-packages/gunicorn/util.py", line 352, in import_app
dashboard_1 | __import__(module)
dashboard_1 | File "/code/cubedash/__init__.py", line 3, in <module>
dashboard_1 | from . _pages import app
dashboard_1 | File "/code/cubedash/_pages.py", line 12, in <module>
dashboard_1 | from cubedash import _utils as utils
dashboard_1 | File "/code/cubedash/_utils.py", line 125
dashboard_1 | field: Field = product.metadata_type.dataset_fields.get(field_name)
dashboard_1 | ^
dashboard_1 | SyntaxError: invalid syntax
from datacube-explorer.
That type definition is Python 3.6 syntax. Our Conda installs (and Travis) are all using Python 3.6.
I assume the Python 3.5 you're using is the default on Ubuntu? The difference is quite minor so we could support 3.5 if needed.
from datacube-explorer.
I just found that.
Datacube supports version 3.5+, so I standardised on that. Never seen the type hints in Python before! Not sure what I think yet ;-)
I think supporting 3.5 would be better.
from datacube-explorer.
Ok, got it working. I needed to use Python 3.6 and the next-core
branch, and also needed to change the generate command to say python3
, but it seems happy.
You might like to update the readme in the root to say nohup python3 -m cubedash.generate --all &>> summary-gen.log &
from datacube-explorer.
Closing. Datacube 1.6 is now released, and we've merged support for it into develop
.
from datacube-explorer.
Related Issues (20)
- NCI local filesystem indexed thumbnails are inaccessible from web HOT 1
- Keep Away Well-behaved robots HOT 5
- Fixup Github container CVE Scanner workflow
- Fixup eo3 document validation assertions HOT 1
- Ignore or address Flake8 gripes
- URL Escaping Breaking Redirection Test
- STAC API returning error when a specific field has no value
- Change in gdal source in Dockerfile
- Improve tests and behaviour in Summaries for anti-meridian crossing datasets
- Pluggable JWT validator for protecting endpoints HOT 2
- Fix JSON schema validation issues in tests
- Update to flask > 2.2.5
- Missing STAC projection properties in STAC item search HOT 1
- Explorer STAC API search issue: only returning max of 20 items HOT 1
- STAC search pagination is applied before query filtering HOT 6
- Out of Sync Explorer Tables + Crashes HOT 13
- Unexpected Database Load running cubedash-gen HOT 1
- Result list for region overview is sometimes empty, sometimes correct HOT 2
- Excessive Logging, Unable to Configure - Default Docker EXEC doesn't configure or allow logging customisation
- Invalid date strings in search queries are not being caught gracefully and crash the pod
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datacube-explorer.