pastebin

Paste Search Dynamic
Recent pastes
acloud fails on Ubuntu 20.04
  1. Traceback (most recent call last):
  2.   File "/tmp/Soong.python_ym5s7lig/acloud/public/acloud_main.py", line 440, in <module>
  3.     EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:])
  4.   File "/tmp/Soong.python_ym5s7lig/acloud/public/acloud_main.py", line 419, in main
  5.     setup.Run(args)
  6.   File "/tmp/Soong.python_ym5s7lig/acloud/setup/setup.py", line 73, in Run
  7.     subtask.Run(force_setup=args.force)
  8.   File "/tmp/Soong.python_ym5s7lig/acloud/setup/base_task_runner.py", line 97, in Run
  9.     if self.ShouldRun() or force_setup:
  10.   File "/tmp/Soong.python_ym5s7lig/acloud/setup/host_setup_runner.py", line 67, in ShouldRun
  11.     if not utils.IsSupportedPlatform():
  12.   File "/tmp/Soong.python_ym5s7lig/acloud/internal/lib/utils.py", line 1218, in IsSupportedPlatform
  13.     dist = platform.linux_distribution()[0]
  14.  
  15.  
  16.  
  17. Why does acloud seemingly always use the latest python version on the system (3.8.2 in my case) rather than the one set to local python? (platform.linux_distribution API has been removed in Python 3.8)
  18.  
  19. Building and running acloud-dev worked around this issue, but I needed to ensure that python2 was the active version on my system.
  20.  
Parsed in 0.003 seconds