Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从Tarball故障安装Hue Django错误?_Django_Hadoop_Hue - Fatal编程技术网

从Tarball故障安装Hue Django错误?

从Tarball故障安装Hue Django错误?,django,hadoop,hue,Django,Hadoop,Hue,运行PREFIX=/home/hue后进行安装 在通过tarball安装色调的末尾,我得到以下错误。我不知道发生了什么事。我也安装了必备软件 失败的命令:/home/hue/hue/build/env/bin/hue makemigrations--noinput 错误: Traceback (most recent call last): File "/home/hue/hue/build/env/bin/hue", line 11, in <module> load_

运行
PREFIX=/home/hue后进行安装

在通过tarball安装色调的末尾,我得到以下错误。我不知道发生了什么事。我也安装了必备软件

失败的命令:
/home/hue/hue/build/env/bin/hue makemigrations--noinput

错误:

Traceback (most recent call last):
  File "/home/hue/hue/build/env/bin/hue", line 11, in <module>
    load_entry_point('desktop', 'console_scripts', 'hue')()
  File "/home/hue/hue/desktop/core/src/desktop/manage_entry.py", line 216, in entry
    execute_from_command_line(sys.argv)
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/core/management/__init__.py", line 307, in execute
    settings.INSTALLED_APPS
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/conf/__init__.py", line 56, in __getattr__
    self._setup(name)
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/conf/__init__.py", line 41, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/conf/__init__.py", line 110, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/hue/hue/desktop/core/src/desktop/settings.py", line 271, in <module>
    conf.initialize(_desktop_conf_modules, _config_dir)
  File "/home/hue/hue/desktop/core/src/desktop/lib/conf.py", line 598, in initialize
    conf_data = load_confs(_configs_from_dir(config_dir))
  File "/home/hue/hue/desktop/core/src/desktop/lib/conf.py", line 530, in load_confs
    for in_conf in conf_source:
  File "/home/hue/hue/desktop/core/src/desktop/lib/conf.py", line 511, in _configs_from_dir
    conf = ConfigObj(os.path.join(conf_dir, filename))
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1229, in __init__
    self._load(infile, configspec)
  File "/home/hue/hue/build/env/lib/python2.7/site-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1318, in _load
    raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 1046.
回溯(最近一次呼叫最后一次):
文件“/home/hue/hue/build/env/bin/hue”,第11行,在
加载入口点(“桌面”、“控制台脚本”、“色调”)()
文件“/home/hue/hue/desktop/core/src/desktop/manage_entry.py”,第216行,在条目中
从命令行(sys.argv)执行命令
文件“/home/hue/hue/build/env/lib/python2.7/site packages/Django-1.11-py2.7.egg/Django/core/management/__init_uuuuuuuu.py”,第363行,从命令行执行
utility.execute()
文件“/home/hue/hue/build/env/lib/python2.7/site packages/Django-1.11-py2.7.egg/Django/core/management/________.py”,第307行,执行
settings.INSTALLED\u应用程序
文件“/home/hue/hue/build/env/lib/python2.7/site packages/Django-1.11-py2.7.egg/Django/conf/__init___;.py”,第56行,在__
自我设置(名称)
文件“/home/hue/hue/build/env/lib/python2.7/site packages/Django-1.11-py2.7.egg/Django/conf/__init___.py”,第41行,在安装程序中
自包装=设置(设置模块)
文件“/home/hue/hue/build/env/lib/python2.7/site packages/Django-1.11-py2.7.egg/Django/conf/_init_u.py”,第110行,在u init中__
mod=importlib.import\u模块(自我设置\u模块)
文件“/usr/lib64/python2.7/importlib/_init__.py”,第37行,在导入模块中
__导入(名称)
文件“/home/hue/hue/desktop/core/src/desktop/settings.py”,第271行,在
conf.initialize(_desktop_conf_modules,_config_dir)
文件“/home/hue/hue/desktop/core/src/desktop/lib/conf.py”,第598行,在初始化中
conf_data=load_confs(_configs_from_dir(config_dir))
文件“/home/hue/hue/desktop/core/src/desktop/lib/conf.py”,第530行,在load\u confs中
对于in_conf in conf_源:
文件“/home/hue/hue/desktop/core/src/desktop/lib/conf.py”,第511行,在\u目录的\u configs\u中
conf=ConfigObj(os.path.join(conf_dir,文件名))
文件“/home/hue/hue/build/env/lib/python2.7/site packages/configobj-5.0.6-py2.7.egg/configobj.py”,第1229行,在__
自加载(填充、配置规范)
文件“/home/hue/hue/build/env/lib/python2.7/site packages/configobj-5.0.6-py2.7.egg/configobj.py”,第1318行,在加载中
提出错误
configobj.ConfigObjError:分析失败,出现多个错误。
第1046行的第一个错误。

以防其他人遇到这种情况。因此,问题源于在运行安装之前修改
hue.ini
文件。回滚到原始的
hue.ini
解决了该问题。我一定是在修改后的版本中输入了一个错误,从而导致了上面的解析错误

Tarball文件位置:

hue/desktop/conf/hue.ini