Git Product home page Git Product logo

cartoview_arcgis_feature_server's People

Contributors

gmioannou avatar kamalseisy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartoview_arcgis_feature_server's Issues

AttributeError: 'module" object has no attribute 'layer_providers'

We are trying to install the ArcGIS Feature Server. CartoView installs fine, both with SQLite and PostgreSQL. When we add the ArcGIS Feature Server App, CartoView breaks with an Internal Server Error (Geonode and Geoserver are fine). Any ideas on how to resolve?

From Log:
[Mon Aug 15 14:05:10.925962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] mod_wsgi (pid=81364): Exception occurred processing WSGI script 'C:/Program Files (x86)/Cartoview/Cartoview/cartoview/wsgi.py'. [Mon Aug 15 14:05:10.925962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] Traceback (most recent call last): [Mon Aug 15 14:05:10.925962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\handlers\\wsgi.py", line 187, in __call__ [Mon Aug 15 14:05:10.926962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] self.load_middleware() [Mon Aug 15 14:05:10.926962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\handlers\\base.py", line 47, in load_middleware [Mon Aug 15 14:05:10.926962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] mw_instance = mw_class() [Mon Aug 15 14:05:10.926962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\middleware\\locale.py", line 24, in __init__ [Mon Aug 15 14:05:10.927962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] for url_pattern in get_resolver(None).url_patterns: [Mon Aug 15 14:05:10.927962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\urlresolvers.py", line 365, in url_patterns [Mon Aug 15 14:05:10.928962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) [Mon Aug 15 14:05:10.928962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\urlresolvers.py", line 360, in urlconf_module [Mon Aug 15 14:05:10.928962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] self._urlconf_module = import_module(self.urlconf_name) [Mon Aug 15 14:05:10.928962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module [Mon Aug 15 14:05:10.928962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] __import__(name) [Mon Aug 15 14:05:10.929962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\urls.py", line 17, in <module> [Mon Aug 15 14:05:10.929962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] (r'^apps/', include('cartoview.app_manager.urls')), [Mon Aug 15 14:05:10.929962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\conf\\urls\\__init__.py", line 26, in include [Mon Aug 15 14:05:10.929962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] urlconf_module = import_module(urlconf_module) [Mon Aug 15 14:05:10.930962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module [Mon Aug 15 14:05:10.930962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] __import__(name) [Mon Aug 15 14:05:10.930962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\app_manager\\urls.py", line 38, in <module> [Mon Aug 15 14:05:10.930962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] urlpatterns.append(app_url(name)) [Mon Aug 15 14:05:10.930962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\app_manager\\apps_helper.py", line 17, in app_url [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] return url(r'^' + app + '/', include('cartoview.apps.%s.urls' % app), name=app + '_base_url') [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\conf\\urls\\__init__.py", line 26, in include [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] urlconf_module = import_module(urlconf_module) [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] __import__(name) [Mon Aug 15 14:05:10.931962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\urls.py", line 3, in <module> [Mon Aug 15 14:05:10.932962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] from cartoserver.urls import geo_services_rest_patterns [Mon Aug 15 14:05:10.932962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\urls.py", line 3, in <module> [Mon Aug 15 14:05:10.932962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] import views [Mon Aug 15 14:05:10.932962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\views.py", line 14, in <module> [Mon Aug 15 14:05:10.933962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] from .layers_providers import layers_provider [Mon Aug 15 14:05:10.933962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\layers_providers.py", line 76, in <module> [Mon Aug 15 14:05:10.933962 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] m = __import__(module) [Mon Aug 15 14:05:10.934963 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\layers_providers.py", line 1, in <module> [Mon Aug 15 14:05:10.934963 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] from cartoserver.layers_providers import Provider [Mon Aug 15 14:05:10.934963 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\layers_providers.py", line 78, in <module> [Mon Aug 15 14:05:10.934963 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] m = getattr(m, comp) [Mon Aug 15 14:05:10.934963 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61155] AttributeError: 'module' object has no attribute 'layers_providers' [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] mod_wsgi (pid=81364): Exception occurred processing WSGI script 'C:/Program Files (x86)/Cartoview/Cartoview/cartoview/wsgi.py'., referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] Traceback (most recent call last):, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\handlers\\wsgi.py", line 187, in __call__, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] self.load_middleware(), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\handlers\\base.py", line 47, in load_middleware, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] mw_instance = mw_class(), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\middleware\\locale.py", line 24, in __init__, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] for url_pattern in get_resolver(None).url_patterns:, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\urlresolvers.py", line 365, in url_patterns, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\core\\urlresolvers.py", line 360, in urlconf_module, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] self._urlconf_module = import_module(self.urlconf_name), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] __import__(name), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\urls.py", line 17, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] (r'^apps/', include('cartoview.app_manager.urls')),, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\conf\\urls\\__init__.py", line 26, in include, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] urlconf_module = import_module(urlconf_module), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] __import__(name), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\app_manager\\urls.py", line 38, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] urlpatterns.append(app_url(name)), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\app_manager\\apps_helper.py", line 17, in app_url, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] return url(r'^' + app + '/', include('cartoview.apps.%s.urls' % app), name=app + '_base_url'), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\conf\\urls\\__init__.py", line 26, in include, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] urlconf_module = import_module(urlconf_module), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\Python\\lib\\site-packages\\django-1.6.11-py2.7.egg\\django\\utils\\importlib.py", line 40, in import_module, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] __import__(name), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\urls.py", line 3, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] from cartoserver.urls import geo_services_rest_patterns, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\urls.py", line 3, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] import views, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\views.py", line 14, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] from .layers_providers import layers_provider, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\layers_providers.py", line 76, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] m = __import__(module), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\layers_providers.py", line 1, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] from cartoserver.layers_providers import Provider, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] File "C:\\Program Files (x86)\\Cartoview\\cartoview\\cartoview\\apps\\cartoview_arcgis_feature_server\\cartoserver\\layers_providers.py", line 78, in <module>, referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] m = getattr(m, comp), referer: http://localhost:4040/ [Mon Aug 15 14:05:11.261045 2016] [wsgi:error] [pid 81364:tid 1148] [client ::1:61156] AttributeError: 'module' object has no attribute 'layers_providers', referer: http://localhost:4040/

Integrate with Celery

for concurrent task a decrease in performance is noticed
need to run all requests of cartoview_arcgis_feature_server as a celery task

Error: relation "cartoserver_featurelayer" does not exist

Hi,
I'm trying to get this app to work as shown in this demo try.cartoview.net . I've successfully installed the app. However during test, the error pages shows:

ProgrammingError /apps/cartoview_arcgis_feature_server/ relation "cartoserver_featurelayer" does not exist

What is the prerequisite to use this app. Some notes please. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.