Problem updating Electron4 using yay

I tried to update electron4 recently and got this error message:

==> Starting build()…
ERROR at //printing/ Script returned non-zero exit code.
cups_version = exec_script(“”,
Current dir: /home/oliver/.cache/yay/electron4/src/src/out/Release/
Command: python /home/oliver/.cache/yay/electron4/src/src/printing/ --api-version
Returned 1.

File “/home/oliver/.cache/yay/electron4/src/src/printing/”, line 70
print ‘cups-config not found: %s’ % cups_config
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘cups-config not found: %s’ % cups_config)?

See // which caused the file to be included.
==> ERROR: A failure occurred in build().
error making: electron4

I didn’t find any info about this so I am quite confused.

an error somewhere because it’s python2 that should be used and not python(3)

This package is orphan: so no more maintainer

you can install electron4-bin

1 Like