-
Notifications
You must be signed in to change notification settings - Fork 51
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
Calling 'nytprofhtml' emits error messages about WSL interoperability. #221
Comments
Does it happen without |
No.
|
That means the problem probably comes from running the browser. |
A recognized problem, apparently.
It is likely that I never previously had occasion to run a freestanding instance of |
I just tried on an Ubuntu 24.04 WSL2 instance with no browser installed. I don't get the same errors but it does fail to open. There is an apparent hang but really there is some stderr that has printed past the command prompt. Hitting enter resets the prompt.
Trying with Ubuntu 20.04 gives this error:
WSL2 details:
|
And checking further, the original error seems related to the wslview utility, installed on Ubuntu as part of the wslu package. When I install WRT the original report, it does seem there is a fresh command prompt in the middle of the error logs ( So there is no issue in Devel::NYTProf per se given the command has completed. Maybe stderr could be flushed on exit to avoid such overlaps, but that would entail capturing the results so they can be flushed? If so then Capture::Tiny would be one option. |
I am encountering some problems in the execution of
nytprofhtml
on Ubuntu Linux 22.04 LTS. Here is my environment:I have a locally installed Perl program called
get-pod-outline
. It takes a single argument: a path to a POD file. I go to profile it.The program hangs here. Once I Ctrl-C, I get the files I expect in the nytprof/ subdirectory.
I have never attempted to install or use WSL interoperability on this Ubuntu 22.04 LTS machine, so I don't understand why I am getting these error messages. Moreover, I searched for
WSL
in my checkout of themaster
branch and came up with nothing.Can anyone provide guidance?
The text was updated successfully, but these errors were encountered: