Using Stata
Hello,
I'm trying to follow the instructions in here to be able to use Stata in the DXJupiterLab enviroment. My current UK Biobank analysis pipeline is written in Stata and I want to be able to use that code in here.
We've bought a stata license, and I made a json file as instructed. However the kernal for Stata doesn't start
I've copied the log file below - can anyone help me?
[Jul 31 2024, 3:35 PM] Logging initialized (priority)
[Jul 31 2024, 3:35 PM] Logging initialized (bulk)
[Jul 31 2024, 3:35 PM] Downloading bundled file resources.tar.gz
[Jul 31 2024, 3:35 PM] >>> Unpacking resources.tar.gz to /
[Jul 31 2024, 3:35 PM] tar: Removing leading `/' from member names
[Jul 31 2024, 3:35 PM] dxpy/0.380.0 (Linux-5.15.0-1066-aws-x86_64-with-glibc2.29) Python/3.8.10
[Jul 31 2024, 3:35 PM] bash running (job ID job-Gpb4f6jJ2Q1xQy07y0FBp32Q)
[Jul 31 2024, 3:35 PM] Setting session duration to 60 minutes
[Jul 31 2024, 3:35 PM] Checking JupyterLab server state
[Jul 31 2024, 3:35 PM] Running session duration monitoring
[Jul 31 2024, 3:35 PM] + echo '{
[Jul 31 2024, 3:35 PM] "files" : [],
[Jul 31 2024, 3:35 PM] "directories" : [
[Jul 31 2024, 3:35 PM] {
[Jul 31 2024, 3:35 PM] "proj_id" : "project-GFz3zvQJ2Q1gb71g4gYY49Bv",
[Jul 31 2024, 3:35 PM] "folder" : "/",
[Jul 31 2024, 3:35 PM] "dirname" : "/project"
[Jul 31 2024, 3:35 PM] }
[Jul 31 2024, 3:35 PM] ]
[Jul 31 2024, 3:35 PM] }'
[Jul 31 2024, 3:35 PM] + MOUNTDIR=/mnt
[Jul 31 2024, 3:35 PM] + mkdir -p /mnt
[Jul 31 2024, 3:35 PM] + /home/dnanexus/dxfuse -version
[Jul 31 2024, 3:35 PM] v1.1.1
[Jul 31 2024, 3:35 PM] + /home/dnanexus/dxfuse -readOnly /mnt .dxfuse_manifest.json
[Jul 31 2024, 3:35 PM] The log file is located at /root/.dxfuse/dxfuse.log
[Jul 31 2024, 3:35 PM] starting fs daemon
[Jul 31 2024, 3:35 PM] wait for ready
[Jul 31 2024, 3:35 PM] Daemon started successfully
[Jul 31 2024, 3:35 PM] Mounted project-GFz3zvQJ2Q1gb71g4gYY49Bv in /mnt/project
[Jul 31 2024, 3:35 PM] + dxfuse_rval=0
[Jul 31 2024, 3:35 PM] + [[ 0 -eq 0 ]]
[Jul 31 2024, 3:35 PM] + echo 'Mounted project-GFz3zvQJ2Q1gb71g4gYY49Bv in /mnt/project'
[Jul 31 2024, 3:35 PM] + set +x -e
[Jul 31 2024, 3:35 PM] Loading the Docker image container-Gkvjq8jJ71z2PV4K5KVbQFzf:dxjupyterlab-stata_4.3.0.tar.gz
[Jul 31 2024, 3:36 PM] Loaded image: dnanexus/dxjupyterlab-stata:4.3.0
[Jul 31 2024, 3:36 PM]
[Jul 31 2024, 3:36 PM] Using Stata settings file from job input
[Jul 31 2024, 3:36 PM] Confirmed Stata installed in dnanexus/dxjupyterlab-stata:4.3.0
[Jul 31 2024, 3:36 PM] + docker run -p 443:8888 -v /home/dnanexus:/home/dnanexus -v /var/run/docker.sock:/var/run/docker.sock -v /mnt:/mnt:ro -e DX_RUN_DETACH=1 --device /dev/fuse --cap-add SYS_ADMIN --cap-add MKNOD --security-opt apparmor=unconfined --name=dxjupyterlab_server --init dnanexus/dxjupyterlab-stata:4.3.0 /opt/start_jupyterlab.sh ''
[Jul 31 2024, 3:37 PM] Installing Jupyter kernel spec
[Jul 31 2024, 3:37 PM] [33m(Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab.
[Jul 31 2024, 3:37 PM]
[Jul 31 2024, 3:37 PM] Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages [0m
[Jul 31 2024, 3:37 PM] Building jupyterlab assets (production, minimized)
[Jul 31 2024, 3:38 PM] -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/--\|/-\|/--\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
[Jul 31 2024, 3:38 PM] Using Stata settings file from job input
[Jul 31 2024, 3:38 PM] JupyterLab version: 3.6.1
[Jul 31 2024, 3:38 PM] Starting JupyterLab...
[Jul 31 2024, 3:38 PM] [W 2024-07-31 14:38:38.612 ServerApp] notebook_dir is deprecated, use root_dir
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.039 ServerApp] jlab_dx | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.042 ServerApp] jupyter_server_fileid | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.044 ServerApp] jupyter_server_ydoc | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.047 ServerApp] jupyterlab | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.050 ServerApp] nbclassic | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.050 ServerApp] Writing Jupyter server cookie secret to /home/dnanexus/.local/share/jupyter/runtime/jupyter_cookie_secret
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.230 ServerApp] notebook_shim | extension was successfully linked.
[Jul 31 2024, 3:38 PM] [W 2024-07-31 14:38:39.282 ServerApp] WARNING: The Jupyter server is listening on all IP addresses and not using encryption. This is not recommended.
[Jul 31 2024, 3:38 PM] [W 2024-07-31 14:38:39.282 ServerApp] WARNING: The Jupyter server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.283 ServerApp] notebook_shim | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.283 ServerApp] Jupyter server extension jlab_dx loaded
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.284 ServerApp] jlab_dx | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.284 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.284 FileIdExtension] ArbitraryFileIdManager : Configured root dir: /opt/notebooks
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.284 FileIdExtension] ArbitraryFileIdManager : Configured database path: /home/dnanexus/.local/share/jupyter/file_id_manager.db
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.285 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.285 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices with journal_mode = DELETE
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.302 ServerApp] jupyter_server_fileid | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.303 ServerApp] jupyter_server_ydoc | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.304 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.9/site-packages/jupyterlab
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.304 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.306 ServerApp] jupyterlab | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.318 ServerApp] nbclassic | extension was successfully loaded.
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.319 ServerApp] Serving notebooks from local directory: /opt/notebooks
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.319 ServerApp] Jupyter Server 1.24.0 is running at:
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.319 ServerApp] https://job-Gpb4f6jJ2Q1xQy07y0FBp32Q.dnanexus.cloud/lab
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.319 ServerApp] or http://127.0.0.1:8888/lab
[Jul 31 2024, 3:38 PM] [I 2024-07-31 14:38:39.319 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[Jul 31 2024, 3:38 PM] DXJupyterLab Server is running
[Jul 31 2024, 3:40 PM] [I 2024-07-31 14:40:48.622 ServerApp] 302 GET / (10.0.3.1) 0.46ms
[Jul 31 2024, 3:40 PM] [W 2024-07-31 14:40:54.523 ServerApp] 404 GET /api/me?1722436855066 (10.0.3.1) 46.11ms referer=https://job-gpb4f6jj2q1xqy07y0fbp32q.dnanexus.cloud/lab?
[Jul 31 2024, 3:40 PM] [I 2024-07-31 14:40:56.431 LabApp] Build is up to date
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:20.116 ServerApp] Creating new notebook in
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:20.173 ServerApp] Writing notebook-signing key to /home/dnanexus/.local/share/jupyter/notebook_secret
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:20.530 ServerApp] Kernel started: 73251de9-d116-4d8a-b2b4-812c9f721942
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7fc23f8ba070>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12087
[Jul 31 2024, 3:41 PM] child_fd: 45
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:23.528 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7fe1c14b1a90>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12115
[Jul 31 2024, 3:41 PM] child_fd: 43
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:26.546 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7f25f86ec0a0>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12143
[Jul 31 2024, 3:41 PM] child_fd: 43
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:51.544 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7f358fb269a0>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12171
[Jul 31 2024, 3:41 PM] child_fd: 43
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:41 PM] INFO:jlab_dx.file_locker:Released lock for file Untitled_2024-7-19T17-19-31.ipynb (file-GpJB1g0J2Q1Vj9F2J86FXpZJ)
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:55.202 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7f2b60898850>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12199
[Jul 31 2024, 3:41 PM] child_fd: 44
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:41 PM] [I 2024-07-31 14:41:58.221 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
[Jul 31 2024, 3:41 PM] Traceback (most recent call last):
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:41 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:41 PM] exec(code, run_globals)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:41 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:41 PM] app.initialize(argv)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:41 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:41 PM] self.init_kernel()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:41 PM] kernel = kernel_factory(
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:41 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:41 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:41 PM] self.init_console()
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:41 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:41 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:41 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:41 PM] return self.eof(e)
[Jul 31 2024, 3:41 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:41 PM] raise exc
[Jul 31 2024, 3:41 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:41 PM] <pexpect.pty_spawn.spawn object at 0x7f93ae98f6a0>
[Jul 31 2024, 3:41 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:41 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:41 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:41 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:41 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] match: None
[Jul 31 2024, 3:41 PM] match_index: None
[Jul 31 2024, 3:41 PM] exitstatus: None
[Jul 31 2024, 3:41 PM] flag_eof: True
[Jul 31 2024, 3:41 PM] pid: 12227
[Jul 31 2024, 3:41 PM] child_fd: 42
[Jul 31 2024, 3:41 PM] closed: False
[Jul 31 2024, 3:41 PM] timeout: 30
[Jul 31 2024, 3:41 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:41 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:41 PM] logfile_read: None
[Jul 31 2024, 3:41 PM] logfile_send: None
[Jul 31 2024, 3:41 PM] maxread: 2000
[Jul 31 2024, 3:41 PM] ignorecase: False
[Jul 31 2024, 3:41 PM] searchwindowsize: None
[Jul 31 2024, 3:41 PM] delaybeforesend: None
[Jul 31 2024, 3:41 PM] delayafterclose: 0.1
[Jul 31 2024, 3:41 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:41 PM] searcher: searcher_re:
[Jul 31 2024, 3:41 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:42 PM] [W 2024-07-31 14:42:01.239 ServerApp] AsyncIOLoopKernelRestarter: restart failed
[Jul 31 2024, 3:42 PM] [W 2024-07-31 14:42:01.239 ServerApp] Kernel 73251de9-d116-4d8a-b2b4-812c9f721942 died, removing from map.
[Jul 31 2024, 3:42 PM] [W 2024-07-31 14:42:43.144 ServerApp] Timeout waiting for kernel_info reply from 73251de9-d116-4d8a-b2b4-812c9f721942
[Jul 31 2024, 3:42 PM] [W 2024-07-31 14:42:43.145 ServerApp] 404 GET /api/kernels/73251de9-d116-4d8a-b2b4-812c9f721942/channels?session_id=9116aea0-06e0-4ce5-9bb7-9a359b5d8563 (10.0.3.1): Kernel does not exist: 73251de9-d116-4d8a-b2b4-812c9f721942
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:02.213 ServerApp] Kernel started: 41738a09-ad13-4f3b-b5b3-c2b278e6b38f
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f9d48baa4c0>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12255
[Jul 31 2024, 3:43 PM] child_fd: 43
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:05.204 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f91c0bf9820>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12283
[Jul 31 2024, 3:43 PM] child_fd: 43
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:08.222 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7fb3ff39e0d0>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12311
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:11.242 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f001c8e95e0>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12339
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:14.259 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7fb85b346250>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12367
[Jul 31 2024, 3:43 PM] child_fd: 45
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:17.276 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f711aa659a0>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12395
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [W 2024-07-31 14:43:20.294 ServerApp] AsyncIOLoopKernelRestarter: restart failed
[Jul 31 2024, 3:43 PM] [W 2024-07-31 14:43:20.294 ServerApp] Kernel 41738a09-ad13-4f3b-b5b3-c2b278e6b38f died, removing from map.
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:20.436 ServerApp] Saving file at /Untitled.ipynb
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:30.028 ServerApp] Kernel started: 36d15be3-67c6-4a83-b261-f9e0a78c923c
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7efdeb5e1070>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12423
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:33.018 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7fb7f9a54310>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12451
[Jul 31 2024, 3:43 PM] child_fd: 43
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:36.037 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f0c7077c460>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12479
[Jul 31 2024, 3:43 PM] child_fd: 44
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:39.056 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f47c176f370>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12507
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:42.074 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f27ac78f610>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12535
[Jul 31 2024, 3:43 PM] child_fd: 42
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [I 2024-07-31 14:43:45.093 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
[Jul 31 2024, 3:43 PM] Traceback (most recent call last):
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[Jul 31 2024, 3:43 PM] return _run_code(code, main_globals, None,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
[Jul 31 2024, 3:43 PM] exec(code, run_globals)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/__main__.py", line 4, in <module>
[Jul 31 2024, 3:43 PM] IPKernelApp.launch_instance(kernel_class=StataKernel)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance
[Jul 31 2024, 3:43 PM] app.initialize(argv)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner
[Jul 31 2024, 3:43 PM] return method(app, *args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize
[Jul 31 2024, 3:43 PM] self.init_kernel()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 540, in init_kernel
[Jul 31 2024, 3:43 PM] kernel = kernel_factory(
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/traitlets/config/configurable.py", line 551, in instance
[Jul 31 2024, 3:43 PM] inst = cls(*args, **kwargs)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/kernel.py", line 71, in __init__
[Jul 31 2024, 3:43 PM] self.stata = StataSession(self)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 94, in __init__
[Jul 31 2024, 3:43 PM] self.init_console()
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/stata_kernel/stata_session.py", line 190, in init_console
[Jul 31 2024, 3:43 PM] self.child.expect(self.prompt, timeout=0.2)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
[Jul 31 2024, 3:43 PM] return self.expect_list(compiled_pattern_list,
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
[Jul 31 2024, 3:43 PM] return exp.expect_loop(timeout)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 179, in expect_loop
[Jul 31 2024, 3:43 PM] return self.eof(e)
[Jul 31 2024, 3:43 PM] File "/opt/conda/lib/python3.9/site-packages/pexpect/expect.py", line 122, in eof
[Jul 31 2024, 3:43 PM] raise exc
[Jul 31 2024, 3:43 PM] pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
[Jul 31 2024, 3:43 PM] <pexpect.pty_spawn.spawn object at 0x7f51c6396640>
[Jul 31 2024, 3:43 PM] command: /usr/local/stata16/stata-mp
[Jul 31 2024, 3:43 PM] args: [b'/usr/local/stata16/stata-mp']
[Jul 31 2024, 3:43 PM] buffer (last 100 chars): ''
[Jul 31 2024, 3:43 PM] before (last 100 chars): 'License not applicable to this Stata\r\n'
[Jul 31 2024, 3:43 PM] after: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] match: None
[Jul 31 2024, 3:43 PM] match_index: None
[Jul 31 2024, 3:43 PM] exitstatus: None
[Jul 31 2024, 3:43 PM] flag_eof: True
[Jul 31 2024, 3:43 PM] pid: 12563
[Jul 31 2024, 3:43 PM] child_fd: 44
[Jul 31 2024, 3:43 PM] closed: False
[Jul 31 2024, 3:43 PM] timeout: 30
[Jul 31 2024, 3:43 PM] delimiter: <class 'pexpect.exceptions.EOF'>
[Jul 31 2024, 3:43 PM] logfile: <_io.TextIOWrapper name='/home/dnanexus/.stata_kernel_cache/console_debug.log' mode='w' encoding='utf-8'>
[Jul 31 2024, 3:43 PM] logfile_read: None
[Jul 31 2024, 3:43 PM] logfile_send: None
[Jul 31 2024, 3:43 PM] maxread: 2000
[Jul 31 2024, 3:43 PM] ignorecase: False
[Jul 31 2024, 3:43 PM] searchwindowsize: None
[Jul 31 2024, 3:43 PM] delaybeforesend: None
[Jul 31 2024, 3:43 PM] delayafterclose: 0.1
[Jul 31 2024, 3:43 PM] delayafterterminate: 0.1
[Jul 31 2024, 3:43 PM] searcher: searcher_re:
[Jul 31 2024, 3:43 PM] 0: re.compile('\\r\\n\\. ')
[Jul 31 2024, 3:43 PM] [W 2024-07-31 14:43:48.111 ServerApp] AsyncIOLoopKernelRestarter: restart failed
[Jul 31 2024, 3:43 PM] [W 2024-07-31 14:43:48.111 ServerApp] Kernel 36d15be3-67c6-4a83-b261-f9e0a78c923c died, removing from map.
[Jul 31 2024, 3:44 PM] [W 2024-07-31 14:44:02.535 ServerApp] Timeout waiting for kernel_info reply from 41738a09-ad13-4f3b-b5b3-c2b278e6b38f
[Jul 31 2024, 3:44 PM] [W 2024-07-31 14:44:02.536 ServerApp] 404 GET /api/kernels/41738a09-ad13-4f3b-b5b3-c2b278e6b38f/channels?session_id=469290fe-7398-4941-a8bd-d2045013b2d2 (10.0.3.1): Kernel does not exist: 41738a09-ad13-4f3b-b5b3-c2b278e6b38f
[Jul 31 2024, 3:44 PM] [W 2024-07-31 14:44:30.130 ServerApp] Timeout waiting for kernel_info reply from 36d15be3-67c6-4a83-b261-f9e0a78c923c
[Jul 31 2024, 3:44 PM] [W 2024-07-31 14:44:30.131 ServerApp] 404 GET /api/kernels/36d15be3-67c6-4a83-b261-f9e0a78c923c/channels?session_id=15335bb0-3f46-4aa7-88ef-58183263cf9f (10.0.3.1): Kernel does not exist: 36d15be3-67c6-4a83-b261-f9e0a78c923c
[Jul 31 2024, 3:45 PM] CPU: 3% (16 cores) * Memory: 1180/31380MB * Storage: 9/1604GB * Net: 4↓/0↑MBps
[Jul 31 2024, 3:45 PM] [I 2024-07-31 14:45:21.045 ServerApp] Saving file at /Untitled.ipynb
Comments
17 comments
Well, it doesn't seem to like the licence ('License not applicable to this Stata\r\n'), but other than that I don't understand much of the log.
See this page https://www.stata.com/manuals/gsma.pdf which suggests your licence is for the wrong edition of Stata. Do you know what kind of licence you have?
You could try a new forum post titled “what edition of Stata is on the RAP, BE/SE/MP ?"
Alternatively, or concurrently, you could contact the dnanexus support team, which can be done by clicking SUPPORT from the RAP landing page, or by emailing ukbiobank-support@dnanexus.com
Thank you, Rachael that is very helpful.
I've got a Stata/BE 18 license - it'll be rather frustrating if we need a particular version of Stata and that isn't in the RAP documentation.
I will email support as you suggest.
FYI: support have been very helpful and sent instructions on how to install Stata18 instead.
Hi Amy, If you received information from DNA Nexus support on STATA license requirements, which would be helpful to other researchers, perhaps you could post them here. Many thanks.
The advice I got was “The RAP currently uses STATA16, therefore, the license for STATA18 does not work.” So I think using the pre-installed STATA on the RAP requires a STATA16 license specifically.
However, they sent me a guide on how to install STATA18 on the RAP instead - it's too long to type out here, but I put a copy online: https://drive.google.com/file/d/1RGferheSQmJn2UHdw9uDgZWwm10iK-v-/view?usp=drive_link in case it helps someone else.
Hi Amy,
I hope you're well.
I appreciate your posts and guides for using Stata on the RAP UKB!
I need to renew my Stata licence to provide the licence details to use the Stata kernel. Do you know if Stata BE will be appropriate for purchase for phenotypic data analysis, with a dataset likely to include under 1000 participants?
Thank you in advance,
Georgia.
Stata18 BE is what I am using for sets of 350,000 participants, so I think it will do 1000 just fine.
Note the previous comment though - you will have to install it yourself, as the default version on the RAP is stata16 and you can't buy licenses for that anymore.
Hi Amy,
Thank you for your reply- I appreciate your time.
That's great to hear, thank you. Yes, noted!
Hi Amy,
I'm wondering if you have a recommended method for importing your Stata scripts for use on JupyterLab? My understanding is that using Notebooks, rather than log files, are more compatible with the Stata kernel, and am wondering if it's possible to upload these onto the project or clone them perhaps from a Github repository?
Thank you,
Georgia.
Hi folks,
Thank you for this very helpful thread!
One thing I cannot subsequently work out is how to actually get Stata 18 to see/accept the files. How did you go about this - just turn it into a csv and import that via the path?
When I try to import a CSV or the raw data file, it can't find either the path or URL.
Stata's set directory is "/home/dnanexus" but I can't then move anywhere.
Thanks!
Donald.
Hello Stata users! I have Stata16 license and tried installing it following the instructions. But I get the same error message in the log file ‘License not applicable to this Stata\r\n’
I'm getting really frustrated that I cannot use Stata for the UKBB analyses… Has anyone been successful at all with Stata within Jupyterlab?
Thanks
Carmen
Georgia Anne Brice
I copy and pasted my code in.
Carmen Piernas Sanchez
Only by installing it myself!
Try submitting a ticket and see if they can debug what is going wrong internally.
Donald M. Lyall
I know we've talked over email and you've already solved this, but just in case anyone else is looking for the answer:
Once you have stata running, dx download the files to the local computer: the easier way to do this is to open a bash kernel and type “dx download am2609/Practise/data_test2.csv” with your filepath in.
Then the file will appear in your file browser and you can open it.
Thank you Amy - apologies, I had meant to share that indeed!
Thank you, Amy!
I'm new to working in the UKBiobank RAP platform. I really appreciate the comments here on getting Stata setup for use on the platform. From what I can tell, I first need to create a text file to upload with my company's serial number, code, authorization, user and organization information and save with the extension .json. But it also sounds like I need to install STATA18 on the RAP since that's the version we use. Since that post was made a year ago, I'm curious if this step is this still needed? With this being my company's license of Stata, I'm not sure that I will be able to create the necessary file to upload Stata.
From reading this post, it sounds like it's not easy to use Stata on this platform. I'm curious how those who are using it and have had experience feel about it.
If anyone has any further insight for a newbie, your insight is very much appreciated. Thank you, Kara
Hi Kara, I hope you're doing well. I agree that using Stata on the UKB RAP platform is not perfect and can be a little challenging! Posts like this helped me a lot to get my head around what was required. My understanding is that the process of using Stata on JupyterLab involves 1) Setting up Stata licence details in a plain text file with .json extension, which is uploaded to your project's root directory, 2) Download the Stata installation file, 3) Set-up the STATA installer using Terminal on in JupyterLab (including your Stata licence details), 4) Create a snapshot of this and save as a Stata configuration notebook which you can reopen and use when you need to use the Stata kernel.
This page, including the Stata installation guide, and some guidance from ChatGPT helped me figure this out.
I hope this helps!
Please sign in to leave a comment.