Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang on " _receive_log() missing 2 required positional arguments" #27

Open
malexmave opened this issue Mar 9, 2020 · 0 comments
Open

Comments

@malexmave
Copy link
Contributor

malexmave commented Mar 9, 2020

The system hangs reproducibly when scanning boeing.com, with the following error:

$ privacyscanner scan -m chromedevtools http://boeing.com
chromedevtools> 2020-03-09 20:34:56,027: [INFO] Starting chromedevtools (scanner.py:179)
callback Debugger.paused exception
Traceback (most recent call last):
  File "/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py", line 152, in _handle_event_loop
    self.event_handlers[event['method']](**event['params'])
  File "/[redacted]/venv/lib/python3.6/site-packages/privacyscanner/scanmodules/chromedevtools/chromescan.py", line 488, in _cb_paused
    self._receive_log(*call_frames[0]['args'], call_frames[1:])
TypeError: _receive_log() missing 2 required positional arguments: 'message' and 'call_stack'

The same error also occurs on freddiemac.com and several other websites. It occurs with the latest version from pip and with the current state of the master branch of this repo.

Debugging info:

$ pip freeze
adblockeval==0.3
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
click==7.1
cryptography==2.8
dnspython==1.16.0
geoip2==3.0.0
idna==2.9
maxminddb==1.5.2
Pillow==7.0.0
pkg-resources==0.0.0
privacyscanner==0.8.0
psutil==5.7.0
psycopg2-binary==2.8.4
pychrome==0.2.3
pycparser==2.20
requests==2.23.0
requests-file==1.4.3
six==1.14.0
tldextract==2.2.2
toposort==1.5
urllib3==1.25.8
websocket-client==0.57.0

$ google-chrome --version
Google Chrome 80.0.3987.132 

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 19.1 Tessa
Release:        19.1
Codename:       tessa

Let me know what additional info I can provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant