LSOpenURLsWithRole() failed with error 10810 in iTerm2 running tmux on Yosemite
The fix.

Install homebrew.

Install reattach-to-user-namespace:

 brew install reattach-to-user-namespace


Then create an alias which your shell can use:

 alias open='reattach-to-user-namespace open'