-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Project with no code only with uploaded sprite and backdrop from scratch 2 cannot be loaded into scratch 3 #3534
Comments
|
I'm getting "Whoops! Our server is scratching its head" when I follow that link: https://scratch.mit.edu/projects/252810337/ |
@fsih The project is in the trash, but you should be able to view it as a moderator / ST member. |
It seems like DOMParser can't handle this particular SVG. I can't open it in the browser or Illustrator either. |
It's a missing namespace issue. I can get the SVG to render by adding this to the beginning of the SVG file
|
@fsih thank you for the digging! Do you mind uploading a copy of the whole project as well? I don't think I'm able to get projects that have been added to the trash. |
Also this looks to be related to #2236 |
Here's the project. By the way, there is existing code where we fix missing SVG namespaces in these 2 places. SvgRenderer is probably the better one. |
Going to close this in favor of tracking on scratchfoundation/scratch-svg-renderer#61 since it is the same issue. This issue has-patch though, so should be fixed shortly. |
Expected Behavior
Scratch 2 project with no code just with uploaded backdrop and sprite should be successfully loaded into scratch 3.
Actual Behavior
Trying to load a scratch 2 project with no code just with uploaded backdrop and sprite returns an error, and project is no loaded.
Steps to Reproduce
load this project into scratch 2.
https://scratch.mit.edu/projects/252810337/#editor
Download the project to the PC
Load the Project into Scratch 3.
Error occurs
Operating System and Browser
Windows 10 Education version 1709
Chrome 69.0.3497.100
The text was updated successfully, but these errors were encountered: