Python error in branch 3809

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Python error in branch 3809

Postby cillerai » Tue Aug 06, 2019 10:58 am

Hi all,

I'm new to CEF.

If the CEF 76 (branch 3809) is downloaded and the sequence in:

https://bitbucket.org/chromiumembedded/ ... ckStart.md

is exected, when ./create.sh is launched, the following error is reported.

Generating CEF version header file...
Traceback (most recent call last):
File "tools/gclient_hook.py", line 34, in <module>
RunAction(cef_dir, cmd)
File "code/chromium_git/chromium/src/cef/tools/gclient_util.py", line 39, in RunAction
gclient_utils.CheckCallAndFilterAndHeader(command, cwd=dir, always=True)
AttributeError: 'module' object has no attribute 'CheckCallAndFilterAndHeader'

The problem seems in depot_tools/gclient.py compared against an old (and working) version:

255,256c255,257
< gclient_utils.CheckCallAndFilterAndHeader(
< cmd, cwd=self.effective_cwd, always=self._verbose)
---
> gclient_utils.CheckCallAndFilter(
> cmd, cwd=self.effective_cwd, print_stdout=True, show_header=True,
> always_show_header=self._verbose)

Thanks for a any explanation of this.
cillerai
Newbie
 
Posts: 5
Joined: Mon Aug 05, 2019 8:58 am

Re: Python error in branch 3809

Postby magreenblatt » Tue Aug 06, 2019 11:14 am

1. Update your CEF checkout so that it includes the fix from https://bitbucket.org/chromiumembedded/ ... of-missing

2. Run the update_depot_tools script in the depot_tools directory.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Python error in branch 3809

Postby cillerai » Wed Aug 07, 2019 2:14 am

Hi Magreenblatt,

I updated as advised and the problem is no more present,

Thanks a lot,

Dario
cillerai
Newbie
 
Posts: 5
Joined: Mon Aug 05, 2019 8:58 am

Re: Python error in branch 3809

Postby danmontz » Thu Mar 19, 2020 1:51 pm

Can you please explain the steps to "Update your CEF checkout so that it includes the fix"? Thanks!
danmontz
Techie
 
Posts: 28
Joined: Thu Apr 13, 2017 4:11 pm

Re: Python error in branch 3809

Postby magreenblatt » Thu Mar 19, 2020 1:57 pm

danmontz wrote:Can you please explain the steps to "Update your CEF checkout so that it includes the fix"? Thanks!

Re-run the automate-git.py script, or manually run "git pull" in the chromium/src/cef directory.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 39 guests