Xpra: Ticket #1272: pycallgraph throwing ImportError

Trying to use the pycallgraph function, I'm getting an ImportError.

Traceback (most recent call last):
  File "./tests/scripts/pycallgraph", line 7, in <module>
    from pycallgraph import PyCallGraph, Config
ImportError: No module named pycallgraph

I'm trying to run with the following command, after building:

[jimador@jimador src]$ ./tests/scripts/pycallgraph -d 123 -I "*.do_send_delayed_regions,*._refresh_region" -- start :13 --no-notification --no-daemon --start-child=xterm --no-mdns --bind-tcp=0.0.0.0:1203

Tried building all the way back to 0.15.x, got the same error with all:

... possibly also worth noting, with all the server builds except the 1.0, I saw the following output client-side, which didn't seem to impact performance at all (not that I tested performance much, but the connections seemed functional): av_log: vsnprintf returned -1 on format string 'user data:"%s"'.



Tue, 02 Aug 2016 03:59:27 GMT - Antoine Martin: status changed; resolution set

See ticket:620#comment:21 where you already posted the exact same question. Answer: install pycallgraph.

Please report the av_log problem separately with more details (what encoding, command line, etc)


Sat, 23 Jan 2021 05:19:43 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1272