umap-project找不到供应商库

时间:2018-09-12 11:55:06

标签: python django leaflet

我正在尝试扩展umap(https://github.com/umap-project/umap),我使用git clone获得了最新版本的umap代码并将其导入到eclipse中。我已经设置了PyDev Django环境。根据安装指南,我创建了配置文件(/etc/umap/umap.conf),创建了数据库,运行manage.py migrate和collectstatic。一切顺利。 主页也可以正常显示,但是当我尝试执行任何操作(登录,创建地图)时,我会得到一堆错误。 请从eclipse控制台中找到以下日志。我正在查看github存储库,也找不到此文件夹/ static / umap / vendors。我刚刚开始使用umap,所以也许我错过了一些东西。

Loaded local config from /etc/umap/umap.conf
/home/svranic/.local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
Loaded local config from /etc/umap/umap.conf
/home/svranic/.local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
Performing system checks...

System check identified no issues (0 silenced).
September 12, 2018 - 11:32:32
Django version 2.1.1, using settings 'umap.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[12/Sep/2018 11:32:38] "GET /en/ HTTP/1.1" 200 10859
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/leaflet/leaflet.css HTTP/1.1" 404 1834
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/contextmenu/leaflet.contextmenu.css HTTP/1.1" 404 1882
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/markercluster/MarkerCluster.css HTTP/1.1" 404 1870
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/markercluster/MarkerCluster.Default.css HTTP/1.1" 404 1894
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/minimap/Control.MiniMap.css HTTP/1.1" 404 1858
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/editinosm/Leaflet.EditInOSM.css HTTP/1.1" 404 1870
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/measurable/Leaflet.Measurable.css HTTP/1.1" 404 1876
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/toolbar/leaflet.toolbar.css HTTP/1.1" 404 1858
[12/Sep/2018 11:32:38] "GET /static/umap/font.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/fullscreen/leaflet.fullscreen.css HTTP/1.1" 404 1876
[12/Sep/2018 11:32:38] "GET /static/umap/base.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/content.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/nav.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/map.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/editable/Path.Drag.js HTTP/1.1" 404 1840
[12/Sep/2018 11:32:38] "GET /static/umap/theme.css HTTP/1.1" 304 0
[12/Sep/2018 11:32:38] "GET /static/umap/vendors/i18n/Leaflet.i18n.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/hash/leaflet-hash.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/togeojson/togeojson.js HTTP/1.1" 404 1843
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/minimap/Control.MiniMap.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/osmtogeojson/osmtogeojson.js HTTP/1.1" 404 1861
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/markercluster/leaflet.markercluster-src.js HTTP/1.1" 404 1903
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/fullscreen/Leaflet.fullscreen.js HTTP/1.1" 404 1873
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/contextmenu/leaflet.contextmenu.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/georsstogeojson/GeoRSSToGeoJSON.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/photon/leaflet.photon.js HTTP/1.1" 404 1849
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/heat/leaflet-heat.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/formbuilder/Leaflet.FormBuilder.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/toolbar/leaflet.toolbar-src.js HTTP/1.1" 404 1867
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.core.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/measurable/Leaflet.Measurable.js HTTP/1.1" 404 1873
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/togpx/togpx.js HTTP/1.1" 404 1819
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.autocomplete.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/tokml/tokml.js HTTP/1.1" 404 1819
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.popup.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.icon.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.forms.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.controls.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.features.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.slideshow.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/editable/Leaflet.Editable.js HTTP/1.1" 404 1861
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/loading/Control.Loading.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.xhr.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.permissions.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/leaflet/leaflet-src.js HTTP/1.1" 404 1843
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.ui.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/editable/Path.Drag.js HTTP/1.1" 404 1840
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.tableeditor.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/csv2geojson/csv2geojson.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/editinosm/Leaflet.EditInOSM.js HTTP/1.1" 404 1867
[12/Sep/2018 11:32:39] "GET /static/umap/js/umap.layer.js HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/img/osm.svg HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/img/edit.svg HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/img/opensource.svg HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/editable/Leaflet.Editable.js HTTP/1.1" 404 1861
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/hash/leaflet-hash.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/i18n/Leaflet.i18n.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/editinosm/Leaflet.EditInOSM.js HTTP/1.1" 404 1867
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/minimap/Control.MiniMap.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/csv2geojson/csv2geojson.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/togeojson/togeojson.js HTTP/1.1" 404 1843
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/osmtogeojson/osmtogeojson.js HTTP/1.1" 404 1861
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/loading/Control.Loading.js HTTP/1.1" 404 1855
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/markercluster/leaflet.markercluster-src.js HTTP/1.1" 404 1903
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/contextmenu/leaflet.contextmenu.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/photon/leaflet.photon.js HTTP/1.1" 404 1849
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/georsstogeojson/GeoRSSToGeoJSON.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/heat/leaflet-heat.js HTTP/1.1" 404 1837
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/fullscreen/Leaflet.fullscreen.js HTTP/1.1" 404 1873
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/toolbar/leaflet.toolbar-src.js HTTP/1.1" 404 1867
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/formbuilder/Leaflet.FormBuilder.js HTTP/1.1" 404 1879
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/measurable/Leaflet.Measurable.js HTTP/1.1" 404 1873
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/togpx/togpx.js HTTP/1.1" 404 1819
[12/Sep/2018 11:32:39] "GET /static/umap/vendors/tokml/tokml.js HTTP/1.1" 404 1819
[12/Sep/2018 11:32:39] "GET /static/umap/img/logo.svg HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/font/FiraSans-SemiBold.woff2 HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/font/FiraSans-Light.woff2 HTTP/1.1" 304 0
[12/Sep/2018 11:32:39] "GET /static/umap/img/logo_filigree.png HTTP/1.1" 304 0

1 个答案:

答案 0 :(得分:0)

我在github上得到了答案。如果有人遇到相同的问题,可以在以下链接上找到答案:https://github.com/umap-project/umap/issues/638