#3172 closed defect (fixed)
Space Navigator does not start on Mac
| Reported by: | Owned by: | Tom Goddard | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Input/Output | Version: | |
| Keywords: | Cc: | Eric Pettersen | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-18.7.0-x86_64-i386-64bit ChimeraX Version: 0.93 (2020-04-03) Description I have a 3dconnexion space navigator. Current drivers are version 1.1.4. When the commnad "device snav on" is issue the following error is reported: Could not start space navigator. cannot import name '_spacenavigator' from 'chimerax.spacenavigator' (/Applications/ChimeraX-0.93.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/spacenavigator/__init__.py) Thanks, keep up the good work. Log: Startup Messages --- warning | 'clip' is a prefix of an existing command 'clipper' UCSF ChimeraX version: 0.93 (2020-04-03) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > device snav true Could not start space navigator. cannot import name '_spacenavigator' from 'chimerax.spacenavigator' (/Applications/ChimeraX-0.93.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/spacenavigator/__init__.py) OpenGL version: 4.1 INTEL-12.10.17 OpenGL renderer: Intel Iris Pro OpenGL Engine OpenGL vendor: Intel Inc.
Change History (10)
comment:1 by , 5 years ago
| Cc: | added |
|---|---|
| Component: | Unassigned → Input/Output |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Space Navigator does not start on Mac |
comment:2 by , 5 years ago
I got space navigator to work on my Mac laptop (10.15.4). It required uninstalling and reinstalling the space navigator driver. So I suspect once Eric puts the driver on the build machine the daily builds will work with Space Navigator.
comment:3 by , 5 years ago
Well, it's a little tricky since the installer is a .pkg and I'm working remotely. Following the guidelines from this page: https://apple.stackexchange.com/questions/72226/installing-pkg-with-terminal/72227 I ran the 'installer' command, which seemed to work:
essex:/Users/pett/rm<3> sudo installer -pkg Install\ 3Dconnexion\ software.pkg -target /
Password:
installer: Package name is 3Dconnexion Software
installer: Installing at base path /
installer: The install was successful.
installer: The install requires restarting now.
The question is, do you think I _really_ need to restart? I clearly would if I were _using_ a Space Navigator, but if I'm just linking against the library...
follow-up: 4 comment:4 by , 5 years ago
I do not think a restart is needed. I believe it wants to restart because it installs a kernel module. ChimeraX compilation does not need that -- it only needs the headers and library in /Library/Frameworks/3dconnexion.
follow-up: 5 comment:5 by , 5 years ago
I don't know. But I don't mind testing the build without reboot. On Mon, May 11, 2020 at 12:49 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
follow-up: 6 comment:6 by , 5 years ago
The Mac ChimeraX build failed last night (Apple notarization issue) so the space navigator support won't be ready to try until tomorrow's build.
follow-up: 7 comment:7 by , 5 years ago
That sounds great. On Tue, May 12, 2020 at 4:36 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
follow-up: 8 comment:8 by , 5 years ago
Mac build failed again last night with Apple notarization problems. Look for build dated newer than May 11 on downloads page before testing space navigator.
comment:9 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed.
Tested today's mac build and space navigator worked.
follow-up: 10 comment:10 by , 5 years ago
I can confirm, great work. Thank you very much. On Thu, May 14, 2020 at 12:30 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
The problem is that the Space Navigator library is not installed on our Mac ChimeraX build machine essex.cgl.ucsf.edu. I am not able to log into that machine, possibly I don't have an account on it.
Eric I think essex is your development machine. Could you install the Space Navigator driver (called "3DxWare 10 for macOS") on essex?
https://www.3dconnexion.com/service/drivers.html
Once that is installed then the _spacenavigator module will get compiled and the device may then work in the daily build.
I tested Space Navigator on Windows 10 in ChimeraX and Chimera, both working. I was unable to get macOS 10.15.4 (Catalina) to even recognize device -- it will only treat it as a mouse, the Space Navigator control panel says no device connected. This is on a 2019 MacBook Pro with only USBC ports and my Space Navigator is old USBA, so the problem could be the USBA to USBC adapter I am using. The reporter is using macOS 10.14 -- let's see if it works there.