NeuroX,ValueError:格式错误的十六进制UUID字符串

时间:2019-07-08 23:06:04

标签: python flask pytorch uuid opennmt

现在这可能是一个远景,但是我对某个名为NeuroX的烧瓶应用程序https://github.com/fdalvi/NeuroX有疑问。这是一个用于分析神经网络的烧瓶应用程序。详细信息并不重要,但是您可以运行应用程序并输入模型和文本文件的路径。尝试运行该应用程序时,出现以下错误。

builtins.ValueError

ValueError: badly formed hexadecimal UUID string
Traceback (most recent call last)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__

    return self.wsgi_app(environ, start_response)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app

    response = self.handle_exception(e)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 1741, in handle_exception

    reraise(exc_type, exc_value, tb)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise

    raise value

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app

    response = self.full_dispatch_request()

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request

    rv = self.handle_user_exception(e)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception

    reraise(exc_type, exc_value, tb)

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise

    raise value

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request

    rv = self.dispatch_request()

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request

    return self.view_functions[rule.endpoint](**req.view_args)

    File "/home/Desktop/neurox/NeuroX/src/app.py", line 235, in analyze

    project = database.Project.get(database.Project.id == uuid.UUID(project_id))

    File "/home/anaconda3/envs/neurox-env/lib/python3.6/uuid.py", line 140, in __init__

    raise ValueError('badly formed hexadecimal UUID string')

    ValueError: badly formed hexadecimal UUID string

由于我不希望有人经历这个问题,所以我的问题很简单,有人知道这是什么原因吗?是因为我正在运行Ubuntu吗?

0 个答案:

没有答案