I'm running into a pantsd issue when I try to comm...
# development
h
I'm running into a pantsd issue when I try to commit @witty-crayon-22786
Copy code
* Checking types
/home/gregs/code/pants/src/python/pants/base/exception_sink.py:359: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  process_title=setproctitle.getproctitle(),
name 'product_type' is not defined
NoneType: None
20:57:49 [INFO] waiting for pantsd to start...
20:57:54 [INFO] waiting for pantsd to start...
20:57:59 [INFO] waiting for pantsd to start...
20:58:04 [INFO] waiting for pantsd to start...
20:58:09 [INFO] waiting for pantsd to start...
20:58:14 [INFO] waiting for pantsd to start...
20:58:19 [INFO] waiting for pantsd to start...
20:58:24 [INFO] waiting for pantsd to start...
20:58:29 [INFO] waiting for pantsd to start...
20:58:34 [INFO] waiting for pantsd to start...
20:58:39 [INFO] waiting for pantsd to start...
20:58:44 [ERROR] exceeded timeout of 60 seconds while waiting for pantsd to start
Traceback (most recent call last):
  File "/home/gregs/code/pants/src/python/pants/bin/pants_exe.py", line 36, in main
    exit_code = runner.run(start_time)
  File "/home/gregs/code/pants/src/python/pants/bin/pants_runner.py", line 86, in run
    return RemotePantsRunner(self.args, self.env, options_bootstrapper).run(start_time)
  File "/home/gregs/code/pants/src/python/pants/bin/remote_pants_runner.py", line 209, in run
    return self._run_pants_with_retry(self._client.maybe_launch())
  File "/home/gregs/code/pants/src/python/pants/pantsd/pants_daemon_client.py", line 35, in maybe_launch
    return self._launch()
  File "/home/gregs/code/pants/src/python/pants/pantsd/pants_daemon_client.py", line 59, in _launch
    pantsd_pid = self.await_pid(60)
  File "/home/gregs/code/pants/src/python/pants/pantsd/process_manager.py", line 390, in await_pid
    return self.await_metadata_by_name(
  File "/home/gregs/code/pants/src/python/pants/pantsd/process_manager.py", line 245, in await_metadata_by_name
    self._wait_for_file(file_path, ongoing_msg, completed_msg, timeout=timeout)
  File "/home/gregs/code/pants/src/python/pants/pantsd/process_manager.py", line 184, in _wait_for_file
    return cls._deadline_until(file_waiter, ongoing_msg, completed_msg, timeout=timeout)
  File "/home/gregs/code/pants/src/python/pants/pantsd/process_manager.py", line 156, in _deadline_until
    raise cls.Timeout(
pants.pantsd.process_manager.ProcessMetadataManager.Timeout: exceeded timeout of 60 seconds while waiting for pantsd to start
Please fix the above errors and run again.
seems to be specifically running
./build-support/bin/mypy.py
w
see the error at the top:
Copy code
name 'product_type' is not defined
NoneType: None
but the fact that it’s not showing you a stacktrace is covered in https://github.com/pantsbuild/pants/issues/6901
can look in
.pids/exceptions.log
for the stack
h
I think that was a legitimate error, I was more concerned about the pantsd running messages
w
those are caused by pantsd crashing due to the error
the ticket covers that
sorry for the trouble.