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

[BUG] Upload prompt won't finish #289

Open
Leo5126 opened this issue Dec 13, 2022 · 8 comments
Open

[BUG] Upload prompt won't finish #289

Leo5126 opened this issue Dec 13, 2022 · 8 comments

Comments

@Leo5126
Copy link

Leo5126 commented Dec 13, 2022

Describe the bug
When trying to upload a file, the upload prompt will open and it also starts uploading. The problem is, that the window won't close, and the communication with the device is also blocked. To have access on the device again a restart of VSC is required. The interesting thing is, altough it doesn't look like the upload worked, the file is uploaded correctly when i recheck it after a restart.
Is this a known issue?

To Reproduce
in my case this error occurs every time i try to upload a file by right clicking on file and then upload to device.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image

Desktop:

  • OS: [Win 10 x64]
  • Device [ESP32S3]
  • Pymakr [2.22.5]
@daniel-da
Copy link

Hi Leo,

It may be a known issue, can you try the fix I've made in this PR?

jakobrosenberg/micropython-ctl#2

@Leo5126
Copy link
Author

Leo5126 commented Dec 15, 2022

Hi @daniel-da,

Thanks for the tip. But I don't quite understand how to test this other repo together with the extension.
How did you do this?

@daniel-da
Copy link

Hi @Leo5126 ,

First you get the file content from the PR.
This is the direct link:
https://raw.githubusercontent.com/jakobrosenberg/micropython-ctl/40121187cd12b242eab2eb7c36c196c9a87b4064/src/main.ts

Then copy it into the extention folder, I'm on linux so it is here for me:
/home/dany/.vscode/extensions/pycom.pymakr-2.22.5/node_modules/micropython-ctl-cont/src

Hope that will fix you issue

@Leo5126
Copy link
Author

Leo5126 commented Dec 21, 2022

Hi daniel,

Unfortunately this doesn't work for me. I get a new error when trying to upload:

image

You know this error? Do I need to deactivate any auto update or smth similar?

I've changed the file for the preview version of pymakr plugin 2.22.5

@hsand
Copy link

hsand commented Jan 22, 2023

I'm experiencing similar issues on Ubuntu with the ESP32S3 as well. I tried the pull request @daniel-da mentioned above, didn't get any errors as @Leo5126 did, but it also didn't fix the issue.

I'm wondering if this is somehow related to the S3 variant of the ESP32.

Edit: Tested the same setup with an old ESP8266 I had laying around and it worked perfectly. Seems to be related to the board itself.

@sausthapit
Copy link

Hi daniel,

Unfortunately this doesn't work for me. I get a new error when trying to upload:

image

You know this error? Do I need to deactivate any auto update or smth similar?

I've changed the file for the preview version of pymakr plugin 2.22.5

Hi new to Pycom, the upload doesn't work for me either. I am using MacOs and LoPy4 with Pysense. Same error as shown in the picture. Did you manage to solve it?

@miguelcostaUI
Copy link

I also can't upload any code. It just says that it is uploading forever and nothing happens.
Tried the normal version (v2.22.5) and the preview version (v2.25.2) and nothing is uploaded.
macOS 12.6.3 - VS Code Version: 1.76.2

Did you find any way to fix this?

@fsouterelle
Copy link

fsouterelle commented Feb 14, 2024

Hello. Same comment as @hsand : I tried the PR and it did not fix the issue.
I don't have any issue with ESP32-WROOM and ESP32-WROVER, but I always reproduce the problem with ESP32-S3

Edit : actually it seems to work correctly when I use the "USB" port of my esp32-S3-DevKitC instead of the UART one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants