This is convoluted.
I am calling
company-jedi which calls company-begin.
Looks like company-mode does a check with TRAMP first,
I get this in messages:
Company: An error occurred in auto-begin Not a Tramp file name: "/Workspace [bazel]: /home/edgar/some_repo/ros Rosbag: Saving bag file LOCALLY to /home/edgar/data/ext_dsshare/emacs/site-lisp/" user-error: Cannot complete at point
So it looks like I need to change/use
tramp-file-name-regexp to avoid this path and for that I would like some help/if anyone has other ideas.