Opened 7 years ago

Closed 6 years ago

#1553 closed defect (fixed)

MeetingServer: Must call either listen, or connect, not both

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

Description

The following bug report has been submitted:
Platform:        Darwin-18.2.0-x86_64-i386-64bit
ChimeraX Version: 0.8 (2018-12-15)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
notes | FYI: command is replacing existing command: "ui"  
FYI: command is replacing existing command: "volume"  
FYI: command is replacing existing command: "color"  
  
UCSF ChimeraX version: 0.8 (2018-12-15)  
How to cite UCSF ChimeraX  

> open /Users/jacobson/Downloads/3.pdb

Summary of feedback from opening /Users/jacobson/Downloads/3.pdb  
---  
warnings | Duplicate atom serial number found: 1  
Duplicate atom serial number found: 2  
Duplicate atom serial number found: 3  
Duplicate atom serial number found: 4  
Duplicate atom serial number found: 5  
53 messages similar to the above omitted  
  
Chain information for 3.pdb #1  
---  
Chain | Description  
A | No description available  
  

> vr on

started SteamVR rendering  

> show selAtoms surfaces

> hide selAtoms surfaces

VR mode zone  

> zone /X:900 ribbon false

> zone label false

> style selAtoms stick

Changed 8896 atom styles  

> zone clear

> zone clear

> zone clear

VR mode zone  

> zone clear

> zone clear

> zone /X:900 ribbon false

> zone label false

> zone clear

> zone clear

> zone clear

> zone clear

VR mode zone  
VR mode zone  

> zone clear

> zone clear

> zone clear

> zone clear

> zone clear

VR mode zone  

> zone clear

> zone clear

> zone clear

> zone clear

> zone clear

> zone /X:900 ribbon false residueDistance 6.51 labelDistance 5.21
surfaceDistance 10.4

> zone label false

> zone /X:900 ribbon false residueDistance 5.01 labelDistance 4
surfaceDistance 8.01

> zone label false

> zone clear

> zone /A:561 ribbon false

> zone label false

> zone clear

> zone clear

> zone /A:561 ribbon false residueDistance 3.84 labelDistance 3.07
surfaceDistance 6.14

> zone /A:560 ribbon false

> zone label false

> zone /A:560 ribbon false residueDistance 2.95 labelDistance 2.36
surfaceDistance 4.73

> zone label false

> zone /A:351 ribbon false

> zone label false

> zone clear

> zone clear

> zone clear

> zone /A:351 ribbon false residueDistance 3.85 labelDistance 3.08
surfaceDistance 6.17

> zone /A:351 ribbon false residueDistance 5.02 labelDistance 4.01
surfaceDistance 8.03

> zone /A:351 ribbon false residueDistance 6.54 labelDistance 5.23
surfaceDistance 10.5

> zone label false

> zone clear

> zone /A:351 ribbon false residueDistance 8.54 labelDistance 6.83
surfaceDistance 13.7

> zone label false

> zone clear

> zone /A:351 ribbon false residueDistance 11.1 labelDistance 8.9
surfaceDistance 17.8

> zone /A:351 ribbon false residueDistance 14.7 labelDistance 11.8
surfaceDistance 23.5

> zone label false

> zone /A:351 ribbon false residueDistance 19.1 labelDistance 15.3
surfaceDistance 30.6

> zone label false

> zone clear

> zone clear

> zone clear

> zone /A:351 ribbon false residueDistance 25.2 labelDistance 20.1
surfaceDistance 40.3

> zone label false

> zone clear

> zone clear

> zone clear

> zone clear

> zone clear

> zone /A:351 ribbon false residueDistance 32.7 labelDistance 26.2
surfaceDistance 52.4

> zone label false

> zone /A:351 ribbon false residueDistance 42.8 labelDistance 34.2
surfaceDistance 68.5

> zone /A:351 ribbon false residueDistance 68.8 labelDistance 55
surfaceDistance 110

> zone label false

> zone clear

> zone clear

> zone /A:351 ribbon false residueDistance 89.8 labelDistance 71.9
surfaceDistance 144

> zone /A:586 ribbon false

> zone /A:586 ribbon false residueDistance 117 labelDistance 93.6
surfaceDistance 187

> zone label false

> zone clear

> zone clear

> vr off

Expected an objects specifier or a keyword  

> zone

Expected an atoms specifier or a keyword  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "ccc"  
FYI: command is replacing existing command: "difmap"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "ccc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "ccc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "nmi"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "smoc"  
FYI: command is replacing existing command: "sccc"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  
FYI: command is replacing existing command: "fps"  
FYI: command is replacing existing command: "isolde"  

Unknown command: surfeace zone #1 nearAtoms UNK  

Unknown command: surfeace zone #1  

> surface

> ~surface

Missing or invalid "surfaces" argument: invalid surfaces specifier  

Missing required "near_atoms" argument  

Missing or invalid "surfaces" argument: invalid surfaces specifier  

Missing or invalid "surfaces" argument: invalid surfaces specifier  

Missing or invalid "surfaces" argument: invalid surfaces specifier  

> surface ligand @<5 visiblePatches 1

> vr on

started SteamVR rendering  
VR mode rotate selected models  
VR mode tug  
VR mode translate selected models  

> vr off

Unknown command: start meeting  

> meeting start

Meeting at jacobsons-iMac.ucsf.edu or 10.60.125.84 port 52194  
Connection accepted from 169.230.21.39 port 50286  

> vr on

started SteamVR rendering  
VR mode zone  

> zone /Z:502 ribbon false

> zone label false

> zone /Z:502 ribbon false residueDistance 153 labelDistance 122
surfaceDistance 244

> zone /Z:502 ribbon false residueDistance 117 labelDistance 93.7
surfaceDistance 187

> zone /Z:502 ribbon false residueDistance 153 labelDistance 122
surfaceDistance 245

> zone label false

> zone /Z:502 ribbon false

> zone label false

> zone clear

> zone clear

> zone /Z:502 ribbon false residueDistance 115 labelDistance 92.1
surfaceDistance 184

> zone /Z:502 ribbon false

> zone /Z:502 ribbon false residueDistance 83.4 labelDistance 66.8
surfaceDistance 134

> zone /Z:502 ribbon false residueDistance 64.1 labelDistance 51.3
surfaceDistance 103

> zone /Z:502 ribbon false residueDistance 49.3 labelDistance 39.4
surfaceDistance 78.9

> zone /Z:502 ribbon false residueDistance 37.1 labelDistance 29.7
surfaceDistance 59.4

> zone /Z:502 ribbon false residueDistance 28.5 labelDistance 22.8
surfaceDistance 45.6

> zone /Z:502 ribbon false residueDistance 21.8 labelDistance 17.5
surfaceDistance 35

> zone /Z:502 ribbon false residueDistance 16.8 labelDistance 13.4
surfaceDistance 26.8

> zone /Z:502 ribbon false residueDistance 12.9 labelDistance 10.3
surfaceDistance 20.6

> zone /Z:502 ribbon false residueDistance 9.89 labelDistance 7.91
surfaceDistance 15.8

> zone /Z:502 ribbon false residueDistance 7.55 labelDistance 6.04
surfaceDistance 12.1

> zone /Z:502 ribbon false residueDistance 5.78 labelDistance 4.62
surfaceDistance 9.24

> zone /Z:502 ribbon false residueDistance 4.44 labelDistance 3.55
surfaceDistance 7.11

> usage meeting

meeting [host] [port an integer] [name a text string] [color a color]
[faceImage name of a file to open/read] [copyScene true or false]
[relayCommands true or false] [updateInterval an integer]  
— Show synchronized mouse or VR hand controllers between two ChimeraX
instances  
host: a text string

meeting close  
— Close meeting

meeting send  
— Copy my scene to all other meeting participants  

> hide selAtoms surfaces

> zone /A:175 ribbon false

> zone /A:182 ribbon false

> zone /A:586 ribbon false

> zone /A:402 ribbon false

> zone label false

> zone clear

> zone clear

> zone /X:900 ribbon false

> meeting faceImage pwd

Meeting at jacobsons-iMac.ucsf.edu or 10.60.125.84 port 52194  
Connected to 169.230.21.39 port 50286  

Face image file "pwd" does not exist  

> meeting faceImage /Users/jacobson/Desktop/jac.png

Meeting at jacobsons-iMac.ucsf.edu or 10.60.125.84 port 52194  
Connected to 169.230.21.39 port 50286  

> zone label false

> zone clear

> zone /X:900 ribbon false residueDistance 6.05 labelDistance 4.83
surfaceDistance 9.68

> zone label false

> vr off

> close session

> meeting vive.cgl.ucsf.edu

Traceback (most recent call last):  
File
"/Users/jacobson/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py", line 229, in execute  
cmd.run(cmd_text)  
File
"/Users/jacobson/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py", line 2587, in run  
result = ci.function(session, **kw_args)  
File
"/Users/jacobson/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/meeting/meeting.py", line 71, in meeting  
s.connect(host, port)  
File
"/Users/jacobson/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/meeting/meeting.py", line 246, in connect  
raise RuntimeError('MeetingServer: Must call either listen, or connect, not
both')  
RuntimeError: MeetingServer: Must call either listen, or connect, not both  
  
RuntimeError: MeetingServer: Must call either listen, or connect, not both  
  
File
"/Users/jacobson/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/meeting/meeting.py", line 246, in connect  
raise RuntimeError('MeetingServer: Must call either listen, or connect, not
both')  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-2.4.9
OpenGL renderer: AMD Radeon RX Vega 56 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by pett, 7 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionMeetingServer: Must call either listen, or connect, not both

comment:2 by Tom Goddard, 7 years ago

Wilian was hosting a meeting. Then I quit ChimeraX because we were going to try me hosting the meeting. Apparently he did not close the meeting he had started before trying to connect to the meeting I was hosted.

Probably it should raise UserError and say that the current meeting must be closed in order to connect to another meeting.

comment:3 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Gave user friendly error message that current meeting must be closed to join another meeting.

Note: See TracTickets for help on using tickets.