python - umap-project 找不到供应商库
问题描述
我正在尝试扩展 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
解决方案
我在github上得到了答案。如果有人有同样的问题,可以在以下链接中找到答案:https ://github.com/umap-project/umap/issues/638 。
推荐阅读
- android - 服务崩溃
- android - ACR39U ICC_Timeout 问题
- angularjs - md-tabs :当标签数量超过时,无法看到分页箭头
- python - Python+Selenium [Errno 2]:没有这样的文件或目录:'/tmp/tmpUgpMnz/webdriver-py-profilecopy'
- java - 数据流拆分表 ReadFn 不使用多个工作人员
- r - R将字符更改为数字
- mongodb - 数组上的 Mongo 索引
- c - 将内容写入文件的 C 代码不起作用
- visual-studio - 我的 Visual Studio 2017 中缺少 SSIS “Save Copy of ...”
- c# - 如何在 C# 中创建海量或群组短信?