Talk:Electron

From Free Software Directory
Jump to: navigation, search

Version 7.1.2

Dependency on Widevine CDM

  • Can be seen in BUILD.gn chromium_src/BUILD.gn and also in many places when doing grep -iR "widevine". In BUILD.gn it's used unconditionally, with no build option to disable it. --Adfeno (talk) 13:53, 27 December 2019 (EST)

Impossible to download full release's source code

After about 2 (two) days trying to download the full release's source code in order to review whether the alleged dependency in Widevine CDM is enabled by default, having successfully downloaded the Electron main repository's content in the same command run, I got the following error:

[19:45:32] Receiving objects:   4% (556588/13469573), 254.73 MiB | 0 bytes/s
[19:45:38] fatal: early EOF
[19:45:54] fatal: index-pack failed
[20:02:02]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git /home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m' in '/home/adfeno/Projetos/electron-gn' attempt 2 / 4

[20:02:02] Cloning into '/home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m'...
[20:08:34] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': SSL connection timeout
[20:42:26]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git /home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m' in '/home/adfeno/Projetos/electron-gn' attempt 3 / 4

[20:42:39] Cloning into '/home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m'...
[20:45:19] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': gnutls_handshake() failed: Error in the push function.
[21:56:03]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git /home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m' in '/home/adfeno/Projetos/electron-gn' attempt 4 / 4

[21:56:10] Cloning into '/home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m'...
[21:58:48] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': gnutls_handshake() failed: Error in the push function.
Traceback (most recent call last):
  File "/home/adfeno/Software/depot_tools/gclient_scm.py", line 1052, in _Clone
    print_stdout=print_stdout, filter_fn=filter_fn)
  File "/home/adfeno/Software/depot_tools/gclient_scm.py", line 1391, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "/home/adfeno/Software/depot_tools/gclient_utils.py", line 622, in CheckCallAndFilter
    rv, args, kwargs.get('cwd', None), None, None)
CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git /home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m' returned non-zero exit status 128 in /home/adfeno/Projetos/electron-gn
----------------------------------------
Error: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git /home/adfeno/Projetos/electron-gn/_gclient_src_cX8y4m' returned non-zero exit status 128 in /home/adfeno/Projetos/electron-gn


Warnings:
Conflicting directory /home/adfeno/Projetos/electron-gn/src moved to /home/adfeno/Projetos/electron-gn/_bad_scm/srcZFEUFd.

Per the download instructions, the commands used were made as shown in this paragraph, but with added CPU usage limit due to risk of overheating my computer. As said, here follows the commands used: mkdir "electron-gn" && cd "electron-gn"; gclient config --name "src/electron" --unmanaged "https://github.com/electron/electron"; cpulimit -il=2 -- gclient sync --with_branch_heads --with_tags.

--Adfeno (talk) 14:01, 28 December 2019 (EST)

Tried today after restarting my computer and got the same issue. --Adfeno (talk) 16:41, 30 December 2019 (EST)



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.