Skip to content
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

Collection run stops working after 1 run #1143

Closed
nickidw opened this issue May 4, 2023 · 12 comments
Closed

Collection run stops working after 1 run #1143

nickidw opened this issue May 4, 2023 · 12 comments
Labels
bug Something isn't working Priority Implement this asap

Comments

@nickidw
Copy link

nickidw commented May 4, 2023

Describe the bug

A collection run works once, on the 2nd run it appears to be running, but no progress is made. Clicking stop also does not have the desired effect

To Reproduce

Start a collection run. When completed, start another run, and observe no progress. Restart VSCode to get it working again

Expected behavior

Expected to be able to run a collection multiple times

Platform:

  • OS: Windows 11
  • vscode version: 1.78.0
  • extension version: v2.6.2

Your Team Size Using TC:

1

Showing button status
image

Showing output

image

@nickidw nickidw added the bug Something isn't working label May 4, 2023
@rangav
Copy link
Collaborator

rangav commented May 4, 2023

Thanks @nickidw for reporting the bug, will look into it.

@rangav rangav added the Priority Implement this asap label May 4, 2023
@nickidw
Copy link
Author

nickidw commented May 4, 2023

Further info: I noticed the below in the Window output log, not sure if it is related.

2023-05-04 11:37:07.349 [error] EPERM: operation not permitted, rename 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client.thunderCollection.json.tmp' -> 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client\thunderCollection.json': Error: EPERM: operation not permitted, rename 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client.thunderCollection.json.tmp' -> 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client\thunderCollection.json'

@rangav
Copy link
Collaborator

rangav commented May 4, 2023

I just now verified this issue, its working for me without any issues.

Can you try restarting the vscode and try again

@nickidw
Copy link
Author

nickidw commented May 4, 2023

As I said if I restart, it works once, again, thereafter it fails. I cannot restart it every time.

@rangav
Copy link
Collaborator

rangav commented May 4, 2023

You dont need to restart everytime.

Could be some file permissions issue on your PC. may be start VSCode as Administrator Mode and try again.

Or Restart your PC and see the issue is still there?

@nickidw
Copy link
Author

nickidw commented May 4, 2023

Restarting in admin mode does not help.

@nickidw
Copy link
Author

nickidw commented May 4, 2023

After restarting the pc, it worked twice, and then failed on the 3rd run with the error below:

2023-05-04 11:59:00.520 [error] EPERM: operation not permitted, rename 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client.thunderCollection.json.tmp' -> 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client\thunderCollection.json': Error: EPERM: operation not permitted, rename 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client.thunderCollection.json.tmp' -> 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\rangav.vscode-thunder-client\thunderCollection.json'

@nickidw
Copy link
Author

nickidw commented May 4, 2023

I also see this in the Developer tools Console log:
image

@nickidw
Copy link
Author

nickidw commented May 4, 2023

I've also noticed that I can get more successful runs in by waiting > 5s inbetween, so something must be happening in the background

@rangav
Copy link
Collaborator

rangav commented Jun 2, 2023

related to similar bug #1168

@nickidw
Copy link
Author

nickidw commented Jun 2, 2023

On VS Code 1.78.2 and Thunderclient 2.7.4 this seems fixed.

@rangav
Copy link
Collaborator

rangav commented Jun 27, 2023

This bug is fixed now and published to the marketplace, please update to v2.8.0

See all features released
https://github.com/rangav/thunder-client-support/releases/tag/v2.8.0

Please let me know your feedback.

@rangav rangav closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority Implement this asap
Projects
None yet
Development

No branches or pull requests

2 participants