Troubleshooting

  1. When invoking a script on Linux there is a “:No such file or directory” error.

Tip

This indicates that some Python source files contain non-Unix newline characters such as \r\n (Windows) or \r (Mac OS) instead of simply \n. To identify the culprits use the included check_newline.py script and correct the issue with a text editor.

  1. Error “IOError: [Errno 9] Bad file descriptor” or similar.

Tip

Are you using a shell wrapper on Windows? Use the standard cmd.exe.

  1. Error “The process tried to write to a nonexistent pipe”.

Tip

This is a bug on some versions of Windows. You can safely ignore it.