You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
I tried to use systrace with my android device. systrace -l works fine, but as soon as i try to collect data I get this error (even after adding catapult\common\py_utils\py_utils to PYTHONPATH)
Traceback (most recent call last): File "C:\DEV\catapult\systrace\bin\systrace", line 17, in <module> sys.exit(run_systrace.main()) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 204, in main main_impl(sys.argv) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 184, in main_impl controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\systrace_runner.py", line 45, in StartTracing self._tracing_controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 146, in StartTracing timeout=self._controller_config.timeout): File "C:\DEV\catapult\common\py_utils\py_utils\__init__.py", line 103, in RunWithTimeout return timeout_retry.Run(func, timeout, 0, args=args) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 158, in Run error_log_func=error_log_func) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 151, in <lambda> child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs), File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 53, in StartAgentTracing raise RuntimeError, ('Cannot enable trace_event;' RuntimeError: Cannot enable trace_event; ensure py_utils is in PYTHONPATHTraceback (most recent call last): File "C:\DEV\catapult\systrace\bin\systrace", line 17, in <module> sys.exit(run_systrace.main()) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 204, in main main_impl(sys.argv) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 184, in main_impl controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\systrace_runner.py", line 45, in StartTracing self._tracing_controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 146, in StartTracing timeout=self._controller_config.timeout): File "C:\DEV\catapult\common\py_utils\py_utils\__init__.py", line 103, in RunWithTimeout return timeout_retry.Run(func, timeout, 0, args=args) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 158, in Run error_log_func=error_log_func) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 151, in <lambda> child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs), File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 53, in StartAgentTracing raise RuntimeError, ('Cannot enable trace_event;' RuntimeError: Cannot enable trace_event; ensure py_utils is in PYTHONPATH
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to use systrace with my android device. systrace -l works fine, but as soon as i try to collect data I get this error (even after adding catapult\common\py_utils\py_utils to PYTHONPATH)
Traceback (most recent call last): File "C:\DEV\catapult\systrace\bin\systrace", line 17, in <module> sys.exit(run_systrace.main()) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 204, in main main_impl(sys.argv) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 184, in main_impl controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\systrace_runner.py", line 45, in StartTracing self._tracing_controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 146, in StartTracing timeout=self._controller_config.timeout): File "C:\DEV\catapult\common\py_utils\py_utils\__init__.py", line 103, in RunWithTimeout return timeout_retry.Run(func, timeout, 0, args=args) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 158, in Run error_log_func=error_log_func) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 151, in <lambda> child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs), File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 53, in StartAgentTracing raise RuntimeError, ('Cannot enable trace_event;' RuntimeError: Cannot enable trace_event; ensure py_utils is in PYTHONPATHTraceback (most recent call last): File "C:\DEV\catapult\systrace\bin\systrace", line 17, in <module> sys.exit(run_systrace.main()) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 204, in main main_impl(sys.argv) File "C:\DEV\catapult\systrace\systrace\run_systrace.py", line 184, in main_impl controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\systrace_runner.py", line 45, in StartTracing self._tracing_controller.StartTracing() File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 146, in StartTracing timeout=self._controller_config.timeout): File "C:\DEV\catapult\common\py_utils\py_utils\__init__.py", line 103, in RunWithTimeout return timeout_retry.Run(func, timeout, 0, args=args) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 158, in Run error_log_func=error_log_func) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "C:\DEV\catapult\systrace\systrace\..\..\devil\devil\utils\timeout_retry.py", line 151, in <lambda> child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs), File "C:\DEV\catapult\systrace\systrace\tracing_controller.py", line 53, in StartAgentTracing raise RuntimeError, ('Cannot enable trace_event;' RuntimeError: Cannot enable trace_event; ensure py_utils is in PYTHONPATH
The text was updated successfully, but these errors were encountered: