Comments (2)
Are you sure you are using last version from master repo?, upydev: 0.3.2
I cannot reproduce this.
With laptop wifi off:
upydev put -f test_file.txt
Uploading file test_file.txt...
op:put, host:192.168.1.53, port:8266, passwd:********.
test_file.txt -> /test_file.txt
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/upytool", line 385, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/upytool", line 363, in main
s.connect(addr)
OSError: [Errno 51] Network is unreachable
With wifi on and device off:
It hangs for a while and then timeouts.
upydev put -f test_file.txt
Uploading file test_file.txt...
op:put, host:192.168.1.53, port:8266, passwd:********.
test_file.txt -> /test_file.txt
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/upytool", line 385, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/upytool", line 363, in main
s.connect(addr)
TimeoutError: [Errno 60] Operation timed out
With WebREPL connected and trying the command in another terminal window just hangs and the WebREPL shows this:
Concurrent WebREPL connection from ('192.168.1.67', 55865) rejected
The code which was fixed in commit b973fdbcf is this section
file_uploaded = subprocess.call(shlex.split(copyfile_str))
if file_uploaded == 0:
print('File Uploaded!')
This should prevent the message if the return code is not zero (which should happen if there is any error)
So it will be nice if you can write the steps to reproduce the error
from upydev.
My bad! pip version used. sorry
from upydev.
Related Issues (18)
- adc_config HOT 1
- Shows `File Uploaded` message while throwing `IsADirectoryError` HOT 7
- ESP-32 DEVKIT V1 doesn't reboot after `put` command HOT 1
- Please consider to put tags on releases HOT 1
- There are copies of files HOT 1
- local echo is in white HOT 5
- wrepl, sh_srepl, and conf: ip and port should be separately stored in conf. HOT 3
- Dependency `requests` missing HOT 1
- sh_srepl needs conf file but wrepl don't HOT 1
- -h doesn't work HOT 3
- Upyutils should use on the device only default functionality HOT 12
- repl multi line statements not working HOT 3
- SSLWebREPL key generation assumes host network interface is called 'en0' and fails if its not HOT 4
- Is there any way to disable standard webrepl access to the device? HOT 1
- Refactor Readme HOT 2
- Shows file uploaded, even there an error occurred HOT 2
- `Watch` mode would be nice HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upydev.