suziwen / leak-finder-for-javascript

Automatically exported from code.google.com/p/leak-finder-for-javascript
Other
0 stars 0 forks source link

No module named remote_inspector_client #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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?

Original issue reported on code.google.com by nalb...@gmail.com on 17 Nov 2013 at 12:07

GoogleCodeExporter commented 9 years ago
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?

Original comment by marja@google.com on 19 Nov 2013 at 1:10

GoogleCodeExporter commented 9 years ago
In addition, can you paste the list of files you get when you do the checkout?

Original comment by marja@google.com on 19 Nov 2013 at 1:11

GoogleCodeExporter commented 9 years ago
i meet the same problem!

Original comment by herbertl...@gmail.com on 16 Dec 2013 at 6:02

GoogleCodeExporter commented 9 years ago
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 <module>
    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

Original comment by alabi...@google.com on 9 Apr 2014 at 1:42

GoogleCodeExporter commented 9 years ago
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. :(

Original comment by marja@google.com on 9 Apr 2014 at 7:05

GoogleCodeExporter commented 9 years ago
That's unfortunate..thanks for the prompt response!

Original comment by alabi...@google.com on 9 Apr 2014 at 12:32