mape/node-profile

Couldn't find linux-tick-processor.py

lkrids opened this issue · 8 comments

Distributor ID: Ubuntu
Release: 10.04
Codename: lucid
node v0.6.15
profile@0.0.10

npm install profile fails and prints: ... Couldn't find linux-tick-processor.py ...

Did you read «Dependencies» section?

That the locate command can find a copy of linux-tick-processor (or mac-tick-processor on OS X). This is bundled with node.js.

The problem is that linux-tick-processor.py Python script seems to have been replaced by a linux-tick-processor shell script.

There's no more https://github.com/ry/node/raw/master/deps/v8/tools/linux-tick-processor.py (404), but there is: https://raw.github.com/joyent/node/master/deps/v8/tools/linux-tick-processor

So node-profile should be updated accordingly.

atlatl, just in case, have a read of this blog post: http://jleland.blogspot.com/2012/01/profiling-nodejs-on-linux.html

@sedictor - @aadamowski has it right. node-profile is still looking for .py. https://github.com/mape/node-profile/blob/master/scripts/preinstall.sh#L11

oh oh this is 9 months old

@rxaviers I happened to get here too...

Hi,
It hasn't changed yet, so how could one install it?
Does the author want to change it or we have some way to avoid it,...
Thanks,

I have this issue to. I have a workaround:

# inside v8/tools directory:
ln -s linux-tick-processor linux-tick-processor.py

Then update your locatedb (e.g. run updatedb.mlocate or whatever). Then npm install profile will work and seems to run okay. We need a pull request to change the preinstall script to stop blocking npm install from working.