Export to GitHub

leak-finder-for-javascript - issue #15

No module named remote_inspector_client


Posted on Nov 17, 2013 by Grumpy Hippo

What steps will reproduce the problem? 1. follow instructions at https://code.google.com/p/leak-finder-for-javascript/ 2. run jsleakcheck.py -h

What is the expected output? What do you see instead? jsleakcheck should display configuration options

but

ImportError: No module named remote_inspector_client

What version of the product are you using? On what operating system? Chrome Canary 33 Windows 7 64Bit

Please provide any additional information below.

Please provide some instructions on how to install pyauto - this seems to be an undocumented prerequisite. ...Actually, it seems that pyauto has been deprecated - does jscheckleak need updating?

Comment #1

Posted on Nov 19, 2013 by Massive Giraffe

remote_inspector_client.py still exists. I just checked that if you use the checkout instructions (do gclient sync), you'll get remote_inspector_client.py just like it should be.

Did you create your checkout using "gclient sync" like the instructions say?

Comment #2

Posted on Nov 19, 2013 by Massive Giraffe

In addition, can you paste the list of files you get when you do the checkout?

Comment #3

Posted on Dec 16, 2013 by Quick Wombat

i meet the same problem!

Comment #4

Posted on Apr 9, 2014 by Grumpy Giraffe

when trying to run

python jsleakcheck.py -d closure-disposable -v

I get the following:

Traceback (most recent call last): File "jsleakcheck.py", line 35, in import remote_inspector_client ImportError: No module named remote_inspector_client

remote_inspector_client.py is not in my local repo. running gclient sync is also problematic. See the error below:

... svn: E170000: URL 'http://src.chromium.org/chrome/trunk/src/chrome/test/pyautolib' doesn't exist Syncing projects: 66% ( 2/ 3) pyautolib

pyautolib (ERROR)[0:00:01] Started.


Error: Command svn checkout http://src.chromium.org/chrome/trunk/src/chrome/test/pyautolib /Users/johndoe/git_clients/depot_tools/depot_tools/pyautolib --non-interactive --ignore-externals returned non-zero exit status 1 in /Users/johndoe/git_clients/depot_tools/depot_tools

Comment #5

Posted on Apr 9, 2014 by Massive Giraffe

They seem to have killed pyautolib. jsleakcheck can no longer function. Also, the Dev Tools heap snapshot protocol is not supported, as in, it's not kept stable, so jsleakcheck cannot work against it. :(

Comment #6

Posted on Apr 9, 2014 by Grumpy Giraffe

That's unfortunate..thanks for the prompt response!

Status: New

Labels:
Type-Defect Priority-Medium