Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3481 closed defect (can't reproduce)

scipy can't import _uarray

Reported by: chimerax-bug-report@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Depiction Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 5l1f format mmcif fromDatabase pdb

5l1f title:  
AMPA subtype ionotropic glutamate receptor GluA2 in complex with
noncompetitive inhibitor Perampanel [more info...]  
  
Chain information for 5l1f #1  
---  
Chain | Description  
A B C D | Glutamate receptor 2  
  
Non-standard residues in 5l1f #1  
---  
6ZP — 2-(6'-oxo-1'-phenyl[1',6'-dihydro[2,3'-bipyridine]]-5'-yl)benzonitrile  
NAG — N-acetyl-D-glucosamine  
  

> cartoon style modeHelix tube

Traceback (most recent call last):  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\structure.py", line 1562, in
_update_graphics_if_needed  
s[i]._update_graphics_if_needed()  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\structure.py", line 300, in
_update_graphics_if_needed  
self._create_ribbon_graphics()  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\structure.py", line 553, in _create_ribbon_graphics  
ribbons_drawing.compute_ribbons(self)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\ribbon.py", line 586, in compute_ribbons  
_make_ribbon_graphics(structure, self)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\ribbon.py", line 128, in _make_ribbon_graphics  
centers = _arc_helix_geometry(coords, xs_mgr, displays, start, end, geometry)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\chimerax\atomic\ribbon.py", line 957, in _arc_helix_geometry  
hc = HelixCylinder(coords[start:end])  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\chimerax\atomic\sse.py",
line 187, in __init__  
self._try_curved()  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\chimerax\atomic\sse.py",
line 392, in _try_curved  
self._curved_optimize(c_center, c_axis, c_radius)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\chimerax\atomic\sse.py",
line 436, in _curved_optimize  
opt = OptArc(self.coords, center, axis, major_radius)  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\chimerax\atomic\sse.py",
line 85, in __init__  
from scipy.optimize import minimize  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\scipy\\__init__.py", line
156, in <module>  
from . import fft  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\scipy\fft\\__init__.py",
line 76, in <module>  
from ._basic import (  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\scipy\fft\\_basic.py",
line 1, in <module>  
from scipy._lib.uarray import generate_multimethod, Dispatchable  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-packages\scipy\\_lib\uarray.py",
line 27, in <module>  
from ._uarray import *  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\scipy\\_lib\\_uarray\\__init__.py", line 114, in <module>  
from ._backend import *  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\scipy\\_lib\\_uarray\\_backend.py", line 15, in <module>  
from . import _uarray # type: ignore  
ImportError: DLL load failed: The specified module could not be found.  
  
Error processing trigger "graphics update":  
ImportError: DLL load failed: The specified module could not be found.  
  
File "D:\Chimera\ChimeraX 1.0\bin\lib\site-
packages\scipy\\_lib\\_uarray\\_backend.py", line 15, in  
from . import _uarray # type: ignore  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 382.05
OpenGL renderer: GeForce 940M/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: LENOVO
Model: 20BVA00UCD
OS: Microsoft Windows 10 Pro (Build 18363)
Memory: 16,861,487,104
MaxProcessMemory: 137,438,953,344
CPU: 4 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz"
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (3)

comment:1 by Eric Pettersen, 5 years ago

Cc: Tom Goddard added
Component: UnassignedDepiction
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionscipy can't import _uarray

Supposedly the fix for this went in on 5/15/20 (see #3214), yet this is happening in the 6/4/20 build.

comment:2 by Greg Couch, 5 years ago

Resolution: can't reproduce
Status: assignedclosed

This should have been fixed by the newer Visual Studio runtime that comes with the ChimeraX 1.0 installer. Maybe the computer needed to be rebooted in this case? Unfortunately, this is an anonymous bug report, so we can't track down the details.

comment:3 by Greg Couch, 5 years ago

Probably a duplicate of #3214. Another possibility is that the user declined to install the newer Visual C++ runtime.

Note: See TracTickets for help on using tickets.