-
Notifications
You must be signed in to change notification settings - Fork 24
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
Upload issues with a larger project #36
Comments
same error I have a pico H. |
This bug started to bite me hard just a few days ago, while the "Upload project" command started to fail at random and finally stopped working at all. This behavior seems related to either the number of files or its size because it was getting worse fast as my project grew in size. |
My problem is that the file upload does not work at all. The error message
is hash size mismatch.
I am looking into shell and ampy but I don't know if they are fully windows
compatible or fit the use case I am looking at.
…On Sat, 17 Dec 2022, 09:26 Miguel Angel Gabriel, ***@***.***> wrote:
This bug started to bite me hard just a few days ago, while the "Upload
project" command started to fail at random and finally stopped working at
all. This behavior seems related to either the number of files or its size
because it was getting worse fast as my project grew in size.
So now I have to upload the whole project with Thonny and then upload the
file I'm working on separately. Far from ideal, more so because the FTP
server never worked for me either.
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABD5IUINIC44KWK4H5DSNWLWNWBKTANCNFSM6AAAAAASSKJAZM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm having similar trouble on a Pico W with 24 files in the project. I have a magic ritual I have to follow to get my changes to upload to the board - whenever I make changes, I have to delete all files from the board, unplug it re-plug it in, upload 1 file only, unplug/replug, modify a file, then finally upload the project. If I don't do this, it will either freeze mid upload, decide there is nothing to upload, or sometimes it removes existing files from the board. It seems like there is some kind of caching going on that is not working - even with all files deleted from the board, it won't upload my project unless I make new modifications. Windows 10, VS Code 1.74.3, MicroPython v1.19.1 |
@phasiclabs oof that's a lot. Have you tried using rshell instead? I've found both Pico-W-Go and ampy to be very unreliable. My current workflow is to us Pico-W-Go to help with auto completion but leave it disconnected. I'm then using rshell on the command line to upload, sync, and run files. |
I seem to have found a solution - the pymakr vscode extension. This allows
connection to the pico board. Also can display in terminal and files as a
directory in the project file window. You can run files on the board and
upload them to the board by options in the right click on the local file
menu.
You can also drag and drop files between the local and remote.
A CLI solution I found is ampy which again connected to the pico, run files
on the pico and upload/download files.
I also tried rshell, seemed to install fine but crashed on running.
…On Sun, 22 Jan 2023, 01:21 Bryan Murphy, ***@***.***> wrote:
@phasiclabs <https://github.com/phasiclabs> oof that's a lot. Have you
tried using rshell <https://github.com/dhylands/rshell> instead? I've
found both Pico-W-Go and ampy to be very unreliable. My current workflow is
to us Pico-W-Go to help with auto completion but leave it disconnected. I'm
then using rshell on the upload, sync, and run files.
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABD5IUMG5K5UIMR2MUTFIGDWTSDRZANCNFSM6AAAAAASSKJAZM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@bmurphy1976 it's only just started happening to me now I'm working on a larger project, so I've not looked for other workarounds yet. |
@gilesknap I tryed reporducing your issue by uploading the repo you mentioned to my pico (with PicoWGo). But its all working fine, i got no errors, nothing. All files get uploaded like they should. Can you confirm this issue still exists for you? |
@phasiclabs Do you have a sample project for me to reproduce this error? |
@paulober I'll give this another go this evening. |
Can I mark this as resolved? |
Sorry for the delay. I tried this again and am still seeing the issue. I note that if I do a 'delete all files on the board' followed by upload it always hangs on the same file as shown below.
The project that exhibits this issue is here https://github.com/gilesknap/pico-xmas |
@gilesknap, @magabriel, @bmurphy1976 V3 is here, completely rewritten from ground up, so i wanted to ask you if this issue is fixed by the new release? |
Great. I'll try it out this evening (BST).
…________________________________
From: Paul ***@***.***>
Sent: 11 April 2023 20:58
To: paulober/Pico-W-Go ***@***.***>
Cc: Knap, Giles (DLSLtd,RAL,LSCI) ***@***.***>; Mention ***@***.***>
Subject: Re: [paulober/Pico-W-Go] Upload issues with a larger project (Issue #36)
@gilesknap<https://github.com/gilesknap> V3 is here, completely rewritten from ground up, so i wanted to ask you if this issue is fixed by the new release?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHLRWZLG4GE4RUMBLWBE5TXAWZYFANCNFSM6AAAAAASSKJAZM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
|
OK this looks good. I had no issues with project upload with the same set of files. Thanks for the fix! A couple of minor things I noticed:
|
@gilesknap I'm glad to here that the issue is resolved for you by the new version.
|
Thanks Paul.
That would be ideal |
What are the steps to reproduce this issue?
What happens?
The files start to upload but after one or two the process stalls
sending a soft reset via the command pallette makes the upload move on to the next file
If this process is repeated a few times and the timing is right then the project does download OK.
If I don't do the soft reset then we see
Upload failed.timeout
.The output in the Terminal looks like this
What were you expecting to happen?
All project files should upload with no additional intervention.
Thonny is able to upload this without issue.
Any logs, error output, etc?
(To get extension logs see Terminal > Output > Protcoll (Extensionhost) and copy output concerning picowgo)
(If it’s long, please paste to https://gist.github.com and insert the link here)
Any other comments?
Nice project !
Support info
I'm using a pico H not a pico W - does that make a difference?
The text was updated successfully, but these errors were encountered: