python – ChromiumOS cros_sdk Unhandled Exception

I’m trying to build Chromium OS.

But an error is bullying me.

My System:

Linux Ubuntu x86_64
16gb Memory
2TB HardDisk -< used for chromium build

Command i runned:

mkdir chromium && cd chromium && vi .gclient

.gclient file

solutions = [
    "name": "src",
    "url": "",
    "managed": False,
    "custom_deps": {},
    "custom_vars": {},
target_os = ["chromeos"]
mkdir whaleos && cd whaleos
repo init -u -b main
repo sync

this code is i have runned

Anyway, i have an error with using cros_sdk

cros_sdk --chrome_root ../chromium

i runned this and this makes an Error like this:

cros_sdk: Unhandled exception: Traceback (most recent call last): File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/bin/cros_sdk", line 208, in <module> DoMain() File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/bin/cros_sdk", line 204, in DoMain commandline.ScriptWrapperMain(FindTarget) File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/lib/", line 1037, in ScriptWrapperMain ret = target(argv[1:]) File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/scripts/", line 1179, in main cros_sdk_lib.MountChrootPaths(options.chroot) File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/lib/", line 196, in MountChrootPaths osutils.Mount( File "/media/whrhgo/F20C943D0C93FB35/Development/chromium/whaleos/chromite/lib/", line 1040, in Mount raise OSError(e, os.strerror(e)) FileNotFoundError: [Errno 2] No such file or directory

Read more here: Source link