-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to launch profiler #23
Comments
@partnerinflight Thanks for reporting this. May I try to get some more information from you, please? Could you check the Austin channel in the Output panel and report whether there's any useful details that could help investigate this further? If the panel is not showing anything, could you try running the command directly in the terminal, e.g. C:\Program Files\P403n1x87\Austin\austin.exe -i 100 --pipe C:\tools\miniconda3\python.exe f:\adobe\photoframe\iCloudPhotoViewer\server\WebFrontend.py from within |
I'm experiencing the same thing.
Executing the same command ( There doesn't appear to be any output in VSCode from Austin. |
Judging from the use of |
Apologies for the delayed response. There's no output from the Austin channel in the Output pane. Running the command directly in the terminal appears to work. |
This was a typo. Sorry. I meant to write "without error". |
Thanks for the additional info. It sounds like the problem is with how the extension launches Austin then. I'll see if I can reproduce this and hopefully push a fix for it soon. In the meantime, you can invoke Austin from the command line and then open the generated sample file with the extension, as a temporary workaround. |
I don't seem to be able to reproduce this issue 🙁 . I'm using: VS Code 1.64.2 @partnerinflight @domkm may I ask for your versions, please? |
@partnerinflight In fact I was able to reproduce your issue. It's due to the Austin path containing a space! I thought I had fixed this issue, but apparently, I didn't cover all cases! Could you try a path with no spaces? Also, it looks like you're using the default path, which means that it should be the one on the PATH variable, so in principle, you could leave the field empty in the settings. @domkm please bear with me while I try to find out what's wrong in your case 🙇 |
VSCode:
Austin VS Code: How do I check this? I think it's the latest one. Austin: 3.3.0 |
@domkm thanks! The version appears in the Extensions panel, but you're probably on the latest one since it's been around for a few months now. Version 0.10.5 should be available soon, with a fix for @partnerinflight's issue. |
@domkm if you're still using this extension, does the problem still persist with the latest release? |
Hi, I just saw this extension after googling it, and decided to give it try. I believe I am running similar issues. I cannot see anything happening after I press Shift + F5 or running the task that I created for Austin as stated in the plugin page. In both ways I get the following message: Executing task: austin: profile "pathToMyFile".py Starting Profiler in "pathToMyGitFolder".
I am using on VS code (v1.74) for windows 10 |
oh nvm, I just realized I needed to include the "\austin.exe" to the path in the settings of the plugin. Now it is working. |
Same issue: While running the code directly on VScode terminal works fine. I am on macos and added austin path into the extension parameters (/usr/local/bin/austin) austin vs code: v0.17.0 Vs code Version : 1.84.2 (Universal) |
This seems odd. Do you have a workspace open by any chance? The fact that undefined is showing up here makes me think that perhaps there isn't one open. I'll try to reproduce the problem, but in the meantime, it would be great if you could confirm that the problem goes away if a workspace is open 🙏 |
I have a similar problem, but I know the cause. I am profiling a plug-in for an application, gaphor. To run this, I need to execute the module gaphor. When I run austin, the terminal shows:
Note the period at the end of the command line - this is the cause of my problem. Gaphor expects anything on the command line after How do I suppress the period at the end of the command line. FYI, my configuration is:
|
@pbrown12303 the dot is not part of the command being executed austin-vscode/src/providers/executor.ts Line 87 in 4028fad
If
|
The problem is that I don't want any argument after "gaphor". Not even a "." |
@pbrown12303 there are no extra arguments after |
@P403n1x87 I realize that there are no extra arguments in my task definition. The problem is that when I execute the task, the execution itself seems to add a "." to the end. That is what I need to suppress. |
And now it seems to be working despite the period! For the time being, please ignore my report. I will post further after I have more information. |
That dot is part of the logging, it is not part of the command being executed. |
Configured VScode as per instructions. Have miniconda / austin installed. When trying to run the profiler, I see:
Starting Profiler in f:\adobe\photoframe\iCloudPhotoViewer.
Running 'C:\Program Files\P403n1x87\Austin\austin.exe' with args '-i 100 --pipe C:\tools\miniconda3\python.exe f:\adobe\photoframe\iCloudPhotoViewer\server\WebFrontend.py'.
austin process exited with code 1
The terminal process failed to launch (exit code: 1).
Terminal will be reused by tasks, press any key to close it.
Any idea what I might be doing wrong?
The text was updated successfully, but these errors were encountered: