Opened 5 years ago

Closed 5 years ago

#3278 closed defect (fixed)

Bogus capitalization of SimpleXMLRPCServer.__Init__

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: Conrad Huang
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: 1.0rc202005210540 (2020-05-21 05:40:33 UTC)
Description
tried to use command "remotecontrol xmlrpc true"

Log:
> open /Users/meng/Desktop/startup.cxc

> alias reset view orient; view initial

> alias start toolshed show $1

> alias whereprefs info path user unversioned config

> alias previewts toolshed url https://cxtoolshed-
> preview.rbvi.ucsf.edu;toolshed reload available

> alias normalts toolshed url https://cxtoolshed.rbvi.ucsf.edu;toolshed reload
> available

> alias btut open
> http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/tutorials/binding-
> sites.html

> alias segtest open 0557 from emdb; vol threshold #1 min 0; vol scale #2
> value uint8; open 6nzk

executed startup.cxc  
UCSF ChimeraX version: 1.0rc202005210540 (2020-05-21)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> remotecontrol xmlrpc true

Traceback (most recent call last):  
File
"/Users/meng/Desktop/ChimeraX-1.0-rc-2020.05.21.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py", line 258, in execute  
cmd.run(cmd_text)  
File
"/Users/meng/Desktop/ChimeraX-1.0-rc-2020.05.21.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2802, in run  
result = ci.function(session, **kw_args)  
File
"/Users/meng/Desktop/ChimeraX-1.0-rc-2020.05.21.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/remote_control/remotecmd.py", line 30, in remote_control  
s = ChimeraxXMLRPCServer(session, address, port, timeout)  
File
"/Users/meng/Desktop/ChimeraX-1.0-rc-2020.05.21.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/remote_control/remotecmd.py", line 51, in __init__  
SimpleXMLRPCServer.__Init__(self, (address, port), logRequests=0)  
AttributeError: type object 'SimpleXMLRPCServer' has no attribute '__Init__'  
  
AttributeError: type object 'SimpleXMLRPCServer' has no attribute '__Init__'  
  
File
"/Users/meng/Desktop/ChimeraX-1.0-rc-2020.05.21.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/remote_control/remotecmd.py", line 51, in __init__  
SimpleXMLRPCServer.__Init__(self, (address, port), logRequests=0)  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-12.10.17
OpenGL renderer: Intel Iris Pro OpenGL Engine
OpenGL vendor: Intel Inc.Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro11,4
      Processor Name: Intel Core i7
      Processor Speed: 2.2 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Hyper-Threading Technology: Enabled
      Memory: 16 GB
      Boot ROM Version: 197.0.0.0.0
      SMC Version (system): 2.29f24

Software:

    System Software Overview:

      System Version: macOS 10.14.6 (18G4032)
      Kernel Version: Darwin 18.7.0
      Time since boot: 10:51

Graphics/Displays:

    Intel Iris Pro:

      Chipset Model: Intel Iris Pro
      Type: GPU
      Bus: Built-In
      VRAM (Dynamic, Max): 1536 MB
      Vendor: Intel
      Device ID: 0x0d26
      Revision ID: 0x0008
      Metal: Supported, feature set macOS GPUFamily1 v4
      Displays:
        Color LCD:
          Display Type: Built-In Retina LCD
          Resolution: 2880 x 1800 Retina
          Framebuffer Depth: 24-Bit Color (ARGB8888)
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No

PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (3)

comment:1 by Elaine Meng, 5 years ago

Platform: all
Project: ChimeraX

Same problem if I try to start the Remote Control tool from the Tools menu. Guess I also need a manual page for that, depending on whether it has a dialog or not.

comment:2 by pett, 5 years ago

Cc: Conrad Huang added
Component: UnassignedGeneral Controls
Owner: set to Tom Goddard
Status: newassigned
Summary: ChimeraX bug report submissionBogus capitalization of SimpleXMLRPCServer.__Init__

comment:3 by Tom Goddard, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Jeez, I guess I managed to upcase the word with an errant key stroke after I tested the damn thing yesterday. Good you tried it!

Note: See TracTickets for help on using tickets.