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] beta.pybricks.com Press "Backup all files" with no files is reported as "An unexpected error" #681

Closed
BertLindeman opened this issue Jul 6, 2022 · 0 comments
Labels
bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application

Comments

@BertLindeman
Copy link

Describe the bug
Pressing "Backup all files" while there are no files is reported as:

An unexpected error occurred. Please consider reporting this so we can make a better error message.

To reproduce
Steps to reproduce the behavior:

  1. Go to https://beta.pybricks.com/
  2. Make sure there are NO files listed in the file explorer
  3. Press the button "Backup all files"
  4. See error
An unexpected error occurred. Please consider reporting this so we can make a better error message.

Expected behavior
An error like "There are no files to backup"

Screenshots
None now

Details:
Version v3.2.0b1

Error: no files
    at https://beta.pybricks.com/static/js/main.bc353f8e.js:2:5261332
    at d (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651544)
    at Generator._invoke (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651297)
    at Generator.next (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651907)
    at d (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651544)
    at C (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4652667)
    at Generator._invoke (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651039)
    at Generator.next (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4651907)
    at d (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4895696)
    at u (https://beta.pybricks.com/static/js/main.bc353f8e.js:2:4896029)
@BertLindeman BertLindeman added the triage Issues that have not been triaged yet label Jul 6, 2022
@dlech dlech added bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application and removed triage Issues that have not been triaged yet labels Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application
Projects
None yet
Development

No branches or pull requests

2 participants