Comments (25)
Then it will look like this ?
...
except:
pass
OGC_SERVER['default']['LOCATION'] = 'http://localhost:8080/geoserver/'
OGC_SERVER['default']['PUBLIC_LOCATION'] = 'http://localhost/geoserver/'
#OGC_SERVER['default']['LOG_FILE'] = os.path.join(BASE_DIR, "geoserver.log")
if 'datastore' in DATABASES:
...
from cartoview.
Can someone please help me?
from cartoview.
please can you provide me with error message @acerborealis
from cartoview.
For add data in the application, I click on Data and after Upload layer on top menu.
I click on Choose Files and I Choose all files I want to add and I click on open.
I click on Upload files and I assume that the data has been uploaded (is it normal the pale yellow box that appeared?)
After I click on Data and layers on top menu for access to the data page. Nothing appears in the list.
But when I connect to Geoserver, I can see the data that was added.
What is the problem, please ? Nothing appears in Cartoview.
from cartoview.
-
Normally I should have this after uploading the data
What do I have to do to make it work, please? -
In geoserver, the layer is in shapefile form.
Is it possible to host layers in PostGIS and not in shapefile?
What is the best? I think is to use PostGIS.
from cartoview.
@acerborealis you need to configure geoserver
from cartoview.
I checked everything that is marked in the GeoServer Security Backend paragraph. So, I did not configure anything because everything is correct as explained in the document.
If Geoserver is configured correctly, where does the problem come from?
from cartoview.
Can someone please help me with a great idea ?
from cartoview.
it seems geoserver is not running please check if geoserver is running and check the following variables in settings.py
GC_SERVER['default']['PUBLIC_LOCATION'] = "<geoserver_public_url>"
OGC_SERVER['default']['LOCATION'] ="<geoserver_local_url>"
from cartoview.
When I use http://localhost/geoserver/web/, I can connect me to geoserver.
Where can I find the file settings.py?
Thx
from cartoview.
in your project folder you will find a folder with the same name contains settings.py
from cartoview.
except:
pass
#OGC_SERVER['default']['LOCATION'] = GEOSERVER_LOCATION
#OGC_SERVER['default']['PUBLIC_LOCATION'] = GEOSERVER_PUBLIC_LOCATION
#OGC_SERVER['default']['LOG_FILE'] = os.path.join(BASE_DIR, "geoserver.log")
from cartoview.
add the following line in you settings.py after replacing <your_geoserver_local_url>
and <YOUR_GEOSERVER_PUBLIC_LOCATION>
with the proper url
OGC_SERVER['default']['LOCATION'] = '<your_geoserver_local_url>'
OGC_SERVER['default']['PUBLIC_LOCATION'] = '<YOUR_GEOSERVER_PUBLIC_LOCATION>'
from cartoview.
<your_geoserver_local_url>
should be something like this http://localhost:8080/geoserver/
and <YOUR_GEOSERVER_PUBLIC_LOCATION>
something like this http://localhost/geoserver/
from cartoview.
It doesn't work, always the same. Too I have nothing that appears in geoserver in the layers section.
I still have the same problem.
from cartoview.
please follow steps in docs don't skip step or section
from cartoview.
I don't understand where the problem is? I have reinstalled several times ubuntu 16.04LTS + cartoview, I read and reread the document online (https://cartologic.github.io/installation_docker/), but every time I still have the same problem: I can not upload data as explained above. Can you help me please, because I don't know what to do to make everything work correctly? Please
from cartoview.
Here are the commands that I execute from a new installation of Ubuntu 16.04LTS in vitualbox (not in root mode):
sudo apt-get upgrade
sudo apt-get update
I restart the computer
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo docker run hello-world
sudo groupadd docker
sudo usermod -aG docker $USER
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.15.0/run.sh -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
django-admin startproject --template=https://github.com/cartologic/cartoview-project-template/archive/master.zip --name django.env,uwsgi.ini,.bowerrc,server.py geocarto
I restart the computer
cd geocarto/
make run
I restart the computer
I check everything that is marked in the GeoServer Security Backend paragraph, but always, everything is correct as explained in the document.
When finished, I open firefox and I use : http://localhost for open the website, after I try to upload data as explained above, but I have always the same problem and I can't appreciate cartoview
from cartoview.
Can someone please help me?
from cartoview.
Can anyone tell me if I made a mistake in my ubuntu installation, docker installation, cartoview installation, ...
I keep looking on the web, reinstall the applications as stated above, but I can not find the solution.
Can someone please help me with a great idea for help me, please ?
from cartoview.
hello @acerborealis
sorry for being late , can you open terminal in ubuntu and go to portal folder and execute the following command
docker-compose logs --follow --tail=100 cartoview
then try to upload layer and send me output in terminal
thanks
from cartoview.
Thank you for your answer. I hope you will find the problem. Here is the output in terminal :
Attaching to geocarto_cartoview_1
cartoview_1 | [17/Sep/2017:12:57:12] ENGINE Bus STARTING
cartoview_1 | [17/Sep/2017:12:57:12] ENGINE Started monitor thread 'Autoreloader'.
cartoview_1 | [17/Sep/2017:12:57:12] ENGINE Started monitor thread '_TimeoutMonitor'.
cartoview_1 | [17/Sep/2017:12:57:12] ENGINE Serving on http://0.0.0.0:8000
cartoview_1 | [17/Sep/2017:12:57:12] ENGINE Bus STARTED
cartoview_1 | [17/Sep/2017:13:02:36] ENGINE Bus STARTING
cartoview_1 | [17/Sep/2017:13:02:36] ENGINE Started monitor thread 'Autoreloader'.
cartoview_1 | [17/Sep/2017:13:02:36] ENGINE Started monitor thread '_TimeoutMonitor'.
cartoview_1 | [17/Sep/2017:13:02:36] ENGINE Serving on http://0.0.0.0:8000
cartoview_1 | [17/Sep/2017:13:02:36] ENGINE Bus STARTED
cartoview_1 |
cartoview_1 | Traceback (most recent call last):
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py", line 168, in layer_upload
cartoview_1 | metadata_uploaded_preserve=form.cleaned_data["metadata_uploaded_preserve"]
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/layers/utils.py", line 499, in file_upload
cartoview_1 | defaults=defaults
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 127, in manager_method
cartoview_1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py", line 389, in get_or_create
cartoview_1 | return super(MultilingualQuerySet, self).get_or_create(**kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 407, in get_or_create
cartoview_1 | return self._create_object_from_params(lookup, params)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 439, in _create_object_from_params
cartoview_1 | obj = self.create(**params)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py", line 381, in create
cartoview_1 | return super(MultilingualQuerySet, self).create(**kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 348, in create
cartoview_1 | obj.save(force_insert=True, using=self.db)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/polymorphic/models.py", line 74, in save
cartoview_1 | return super(PolymorphicModel, self).save(*args, **kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 734, in save
cartoview_1 | force_update=force_update, update_fields=update_fields)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 758, in save_base
cartoview_1 | update_fields=update_fields)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 189, in send
cartoview_1 | response = receiver(signal=self, sender=sender, **named)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/signals.py", line 93, in geoserver_pre_save
cartoview_1 | charset=instance.charset)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 1197, in geoserver_upload
cartoview_1 | sld = get_sld_for(cat, publishing)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 190, in get_sld_for
cartoview_1 | if layer.default_style is None:
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 127, in _get_default_style
cartoview_1 | return self._resolve_style(element) if element is not None else None
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 135, in _resolve_style
cartoview_1 | return self.catalog.get_style_by_url(style_workspace_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line 797, in get_style_by_url
cartoview_1 | dom = self.get_xml(style_workspace_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line 211, in get_xml
cartoview_1 | response, content = self.http.request(rest_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1659, in request
cartoview_1 | (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1399, in _request
cartoview_1 | (response, content) = self._conn_request(conn, request_uri, method, body, headers)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1355, in _conn_request
cartoview_1 | response = conn.getresponse()
cartoview_1 | File "/usr/lib/python2.7/httplib.py", line 1123, in getresponse
cartoview_1 | raise ResponseNotReady()
cartoview_1 | ResponseNotReady
cartoview_1 |
cartoview_1 | Traceback (most recent call last):
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py", line 168, in layer_upload
cartoview_1 | metadata_uploaded_preserve=form.cleaned_data["metadata_uploaded_preserve"]
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/layers/utils.py", line 499, in file_upload
cartoview_1 | defaults=defaults
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 127, in manager_method
cartoview_1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py", line 389, in get_or_create
cartoview_1 | return super(MultilingualQuerySet, self).get_or_create(**kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 407, in get_or_create
cartoview_1 | return self._create_object_from_params(lookup, params)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 439, in _create_object_from_params
cartoview_1 | obj = self.create(**params)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py", line 381, in create
cartoview_1 | return super(MultilingualQuerySet, self).create(**kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 348, in create
cartoview_1 | obj.save(force_insert=True, using=self.db)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/polymorphic/models.py", line 74, in save
cartoview_1 | return super(PolymorphicModel, self).save(*args, **kwargs)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 734, in save
cartoview_1 | force_update=force_update, update_fields=update_fields)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 758, in save_base
cartoview_1 | update_fields=update_fields)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 189, in send
cartoview_1 | response = receiver(signal=self, sender=sender, **named)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/signals.py", line 93, in geoserver_pre_save
cartoview_1 | charset=instance.charset)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 1197, in geoserver_upload
cartoview_1 | sld = get_sld_for(cat, publishing)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 190, in get_sld_for
cartoview_1 | if layer.default_style is None:
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 127, in _get_default_style
cartoview_1 | return self._resolve_style(element) if element is not None else None
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 135, in _resolve_style
cartoview_1 | return self.catalog.get_style_by_url(style_workspace_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line 797, in get_style_by_url
cartoview_1 | dom = self.get_xml(style_workspace_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line 211, in get_xml
cartoview_1 | response, content = self.http.request(rest_url)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1659, in request
cartoview_1 | (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1399, in _request
cartoview_1 | (response, content) = self._conn_request(conn, request_uri, method, body, headers)
cartoview_1 | File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1355, in _conn_request
cartoview_1 | response = conn.getresponse()
cartoview_1 | File "/usr/lib/python2.7/httplib.py", line 1123, in getresponse
cartoview_1 | raise ResponseNotReady()
cartoview_1 | ResponseNotReady
from cartoview.
Hello @hishamkaram thank you for your help.
I wanted to know if you found anything after sending the code output in terminal.
Do I have to send you more informations?
I'm really looking forward to debugging the installation to use cartoview
from cartoview.
Hi,
I can not find the solution.
Can someone please help me with a great idea for help me, please ?
from cartoview.
hello @acerborealis
please recreate the project, this issue already fixed
from cartoview.
Related Issues (20)
- Uninstall apps from admin panel HOT 1
- Fail to add a base map in CartoView HOT 3
- uninstall apps keeps app instance available HOT 1
- install apps at bulk
- Apps database
- speperate use of GeoNode in Windows HOT 5
- can't connect to postgresql issue with port 4042 installing on Windows 10 Python 2.7.14 64Bit
- create app in cartoview1.8.1 HOT 1
- cartoview not working with elastic search HOT 1
- Cartoview settings don't work in local_settings.py HOT 1
- Error to Install Cartoview Docker #makemigration HOT 1
- Cannot select category and group while filling in metadata after document upload HOT 2
- 1.8.1 Windows Installer HOT 12
- Fails to update layers via manage.py command
- Manage Apps restart server shows done while server still restarting
- Can't access to geoserver, 404 error page
- oauth2_provider_idtoken already exists HOT 2
- docker installation fails after line C:\docker\cartoview> docker-compose build --no-cache HOT 3
- I can't see the layer attribute table
- Enable INSPIRE Metadata
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 cartoview.