Traceback (most recent call last):


 "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/local/lib/python3.7/site-packages/synapse/app/homeserver.py", line 659, in <module>

main()


 "/usr/local/lib/python3.7/site-packages/synapse/app/homeserver.py", line 654, in main

hs = setup(sys.argv[1:])


 "/usr/local/lib/python3.7/site-packages/synapse/app/homeserver.py", line 333, in setup

"Synapse Homeserver", config_options


 "/usr/local/lib/python3.7/site-packages/synapse/config/_base.py", line 576, in load_or_generate_config

with open(config_path, "w") as config_file:
PermissionError: [Errno 13] Permission denied: '/data/homeserver.yaml'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/circuit/quantumcircuit.py", line 1715, in from_qasm_str

return _circuit_from_qasm(qasm)


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/circuit/quantumcircuit.py", line 2261, in _circuit_from_qasm

ast = qasm.parse()


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/qasm/qasm.py", line 54, in parse

return qasm_p.parse(self._data)


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/qasm/qasmparser.py", line 1070, in parse

self.parser.parse(data, lexer=self.lexer, debug=self.parse_deb)


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/lib/python3.5/site-packages/ply/yacc.py", line 333, in parse

return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/lib/python3.5/site-packages/ply/yacc.py", line 1120, in parseopt_notrack

p.callable(pslice)


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/qasm/qasmparser.py", line 638, in p_unitary_op_2

self.verify_as_gate(program[1], program[2])


 "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/qasm/qasmparser.py", line 130, in verify_as_gate

+ "', line", str(obj.line), 'file', obj.file)
qiskit.qasm.exceptions.QasmError: "Cannot find gate definition for 'mcx_gray', line 4 file "
