From 52808738f82873771e57902044957bbf9105451c Mon Sep 17 00:00:00 2001 From: Zac Connelly Date: Mon, 12 Mar 2018 16:46:55 +0100 Subject: [PATCH] bump issue to the bottom --- docs/troubleshooting.md | 52 ++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 89fc8e88..2c860a58 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -25,32 +25,6 @@ Look here if you have a problem running the installer to set up a new Algo server. -### Error: name 'basestring' is not defined - -``` -TASK [cloud-digitalocean : Creating a droplet...] ******************************************* -An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'basestring' is not defined -fatal: [localhost]: FAILED! => {"changed": false, "msg": "name 'basestring' is not defined"} -``` - -If you get something like the above it's likely you're not using a python2 virtualenv. - -Ensure running `python2.7` drops you into a python 2 shell (it looks something like this) - -``` -user@homebook ~ $ python2.7 -Python 2.7.10 (default, Feb 7 2017, 00:08:15) -[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin -Type "help", "copyright", "credits" or "license" for more information. ->>> -``` - -Then rerun the dependency installation explicitly using python 2.7 - -``` -python2.7 -m virtualenv --python=`which python2.7` env && source env/bin/activate && python2.7 -m pip install -U pip && python2.7 -m pip install -r requirements.txt -``` - ### Error: "You have not agreed to the Xcode license agreements" On macOS, you tried to install the dependencies with pip and encountered the following error: @@ -241,6 +215,32 @@ On Windows, this issue may manifest with an error message that says "The network It is possible that the IKE_AUTH payload is too big to fit in a single IP datagram, and so is fragmented. Many consumer routers and cable modems ship with a feature that blocks "fragmented IP packets." Try logging into your router and disabling any firewall settings related to blocking or dropping fragmented IP packets. For more information, see [Issue #305](https://github.com/trailofbits/algo/issues/305). +### Error: name 'basestring' is not defined + +``` +TASK [cloud-digitalocean : Creating a droplet...] ******************************************* +An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'basestring' is not defined +fatal: [localhost]: FAILED! => {"changed": false, "msg": "name 'basestring' is not defined"} +``` + +If you get something like the above it's likely you're not using a python2 virtualenv. + +Ensure running `python2.7` drops you into a python 2 shell (it looks something like this) + +``` +user@homebook ~ $ python2.7 +Python 2.7.10 (default, Feb 7 2017, 00:08:15) +[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin +Type "help", "copyright", "credits" or "license" for more information. +>>> +``` + +Then rerun the dependency installation explicitly using python 2.7 + +``` +python2.7 -m virtualenv --python=`which python2.7` env && source env/bin/activate && python2.7 -m pip install -U pip && python2.7 -m pip install -r requirements.txt +``` + ## I have a problem not covered here If you have an issue that you cannot solve with the guidance here, [join our Gitter](https://gitter.im/trailofbits/algo) and ask for help. If you think you found a new issue in Algo, [file an issue](https://github.com/trailofbits/algo/issues/new).