Skip to content

python3 bootstrap.py step error  #43

@tomiscat

Description

@tomiscat

I want to build Analytics Historian (OpenEIS) for Volttron. Following the second documentation in the step of python3 bootstrap.py: http://volttron.readthedocs.io/en/4.1/core_services/historians/Analyitics-Historian.html#analytics-historian

and the OpenEIS user guide: https://github.com/VOLTTRON/openeis/raw/2.x/guides/PNNL-24065%20-%20OpenEIS%20Users%20Guide.pdf

I am getting the below error:

Traceback (most recent call last):
  File "bootstrap.py", line 223, in <module>
    main()
  File "bootstrap.py", line 219, in main
    stage1()
  File "bootstrap.py", line 183, in stage1
    builder.create(directory)
  File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 69, in create
    self.setup_scripts(context)
  File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 260, in setup_scripts
    self.install_scripts(context, path)
  File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 326, in install_scripts
    data = self.replace_variables(data, context)
  File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 285, in replace_variables
    text = text.replace('__VENV_PROMPT__', context.prompt)
TypeError: replace() argument 2 must be str, not None

I am running the command from the below directory after activating volttron and creating the directory and adding the (openeis-master.zip) content inside this path:
(volttron)USER-NAME@USER-NAME:~/openeis-1.x$ python3 bootstrap.py

My operating system is Ubuntu :16.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions