-
ckan.plugins.core.PluginNotFoundException: dataproxyHOWTO 2020. 6. 25. 10:46
/etc/ckan/default/production.ini 파일 내용 중 plugin 항목에 dataproxy 를 기재해주었는데 적용하려고 하니 에러가 발생한다.
# paster --plugin=ckanext-harvest harvester initdb --config=/etc/ckan/default/production.ini
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/paster", line 8, in <module>
sys.exit(run())
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/script/command.py", line 102, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/script/command.py", line 141, in invoke
exit_code = runner.run(args)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/script/command.py", line 236, in run
result = self.command()
File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 166, in command
self._load_config()
File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 229, in _load_config
super(Harvester, self)._load_config()
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 330, in _load_config
self.site_user = load_config(self.options.config, load_site_user)
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 237, in load_config
load_environment(conf.global_conf, conf.local_conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 116, in load_environment
p.load_all()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 140, in load_all
load(*plugins)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 154, in load
service = _get_service(plugin)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 257, in _get_service
raise PluginNotFoundException(plugin_name)
ckan.plugins.core.PluginNotFoundException: dataproxy
이런 경우 해결 방법은 !!
# cd /usr/lib/ckan/default/src/ckanext-dataproxy
# python setup.py developrunning develop
running egg_info
writing ckanext_dataproxy.egg-info/PKG-INFO
writing namespace_packages to ckanext_dataproxy.egg-info/namespace_packages.txt
writing top-level names to ckanext_dataproxy.egg-info/top_level.txt
writing dependency_links to ckanext_dataproxy.egg-info/dependency_links.txt
writing entry points to ckanext_dataproxy.egg-info/entry_points.txt
reading manifest file 'ckanext_dataproxy.egg-info/SOURCES.txt'
writing manifest file 'ckanext_dataproxy.egg-info/SOURCES.txt'
running build_ext
Installing /usr/lib/ckan/default/lib/python2.7/site-packages/ckanext-dataproxy-nspkg.pth
Creating /usr/lib/ckan/default/lib/python2.7/site-packages/ckanext-dataproxy.egg-link (link to .)
Adding ckanext-dataproxy 0.2.0 to easy-install.pth file
Installed /usr/lib/ckan/default/src/ckanext-dataproxy
Processing dependencies for ckanext-dataproxy==0.2.0
Finished processing dependencies for ckanext-dataproxy==0.2.0
반응형'HOWTO' 카테고리의 다른 글
nifi 로 API 수집 및 오브젝트 스토리지에 저장하기 (0) 2020.09.19 OSError: Command /root/pyenv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1 (0) 2020.06.29 ImportError: No module named simplecrypt (0) 2020.06.25 CentOS 7 Apache Nifi 설치 (0) 2020.06.22 CentOS7 Apache ssl 인증서 적용 그리고 80 to 443 redirect (0) 2020.06.05