-
Notifications
You must be signed in to change notification settings - Fork 40
Troubleshooting
If you have problems installing or running Iris, we have provided two help scripts that can assist you in examining your environment. It is assumed that you have followed the instructions in the setup instructions and have run the bootstrap script successfully.
If you have been able to get that far, but still experience errors in Iris, start by running the script for system troubleshooting. If problems persist, continue with the script for Iris troubleshooting.
- Follow the setup instructions exactly. The bootstrap script must be run in order for all project dependencies to be installed.
- Run the bootstrap script again and reboot.
- Run the bash help script located in the root of the project:
cd ~
cd iris
cd tools
./platform_check.sh
- Look for any errors in red that indicate a system misconfiguration and correct them.
- Close all instances of Firefox on your system before running Iris.
- Make sure keys such as capslock, numlock, and scroll lock are not toggled on.
- Review the setup document and make sure you've made any system-specific configurations required for your platform.
- With a new terminal instance, follow the command-line instructions in the setup document to create your virtualenv.
cd ~
cd iris
pipenv install
pipenv shell
- Once you have successfully set up the virtualenv, run the project help script:
cd tools
python project_check.py
- Look for any errors in red that indicate a misconfiguration.
Some things you can do if you get errors in this script:
- Exit the virtualenv by typing
exit
and set up the virtualenv once again. - Restart your terminal and/or computer.
- Update to the latest version of Iris via
git pull
and try the above steps again. - Delete the local clone of Iris and start over.
pipenv install
may timeout when trying to create Pipfile.lock, resulting in an error similar to the following:
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/pexpect/expect.py", line 109, in expect_loop
return self.timeout()
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/pexpect/expect.py", line 82, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x104cfc4e0>
searcher: searcher_re:
0: re.compile('\n')
To work around this issue, wait a minute and try running pipenv install
again.
Installation
Running Iris
- Basic workflow
- Useful examples
- Using the Control Center
- Runtime argument list
- How to run update tests
Contributing to Iris
- Contributors
- Creating a test case
- Developer requirements
- Creating images
- Iris APIs - coming soon
- Code style guide
Iris Team Workflow
- Getting code into Iris
- Communicating with the team
- Sheriff and merge process
- Monitoring daily test runs
Release QA Team Workflow