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
I'm using snapcraft-pr to test the work on the gnome extension, and when rebuilding the chromium snap, I'm getting errors when the build system runs python 2 scripts, such as:
+ out/Release/gn gen out/Release
ERROR at //build/util/branding.gni:27:11: Script returned non-zero exit code.
_result = exec_script("version.py",
^----------
Current dir: /mnt/chromium/snap-from-source/parts/chromium/build/out/Release/
Command: python /mnt/chromium/snap-from-source/parts/chromium/build/build/util/version.py -f ../../chrome/app/theme/chromium/BRANDING -t full_name = "@PRODUCT_FULLNAME@" short_name = "@PRODUCT_SHORTNAME@" bundle_id = "@MAC_BUNDLE_ID@" creator_code = "@MAC_CREATOR_CODE@" installer_full_name = "@PRODUCT_INSTALLER_FULLNAME@" installer_short_name = "@PRODUCT_INSTALLER_SHORTNAME@" team_id = "@MAC_TEAM_ID@"
Returned 1.
stderr:
File "/mnt/chromium/snap-from-source/parts/chromium/build/build/util/version.py", line 71
print repr(key), repr(val)
^
SyntaxError: invalid syntax
I'm guessing the virtualenv in which snapcraft-pr runs only exposes python3. Not sure whether that can be "fixed", input welcome.
The text was updated successfully, but these errors were encountered:
I'm using snapcraft-pr to test the work on the gnome extension, and when rebuilding the chromium snap, I'm getting errors when the build system runs python 2 scripts, such as:
I'm guessing the virtualenv in which snapcraft-pr runs only exposes python3. Not sure whether that can be "fixed", input welcome.
The text was updated successfully, but these errors were encountered: