You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example icon file, found as "activity/exampleicon.svg" appears to be corrupt or invalid.
Opening in Mozilla Firefox yields the error message "XML Parsing Error: no element found"
Opening in Google Chrome yields the error message "This XML file does not appear to have any style information associated with it. The document tree is shown below." (nothing is shown below)
Opening in Adobe Illustrator CS5 yields the error message "This SVG is Invalid. Validate it before opening."
The text was updated successfully, but these errors were encountered:
I know that this thread is old, but here's some more info on this as well as a possible fix.
The svg file for the activity is completely empty according to github, which explains on why you're having trouble opening it.
After running the three commands listed to setup the activity : ./setup.py genpot ./setup.py build ./setup.py dev with no errors, the activity does show up in the sugar hamburger menu as "example" but with no icon.
Trying to run the program from the menu produces this error
Trying to run the program via the terminal command sugar-activity from the root folder of the project produces this error:
It's unclear whether or not this is intentional since there's an explanation on how to make svg files in the readme.
I was able to fix it by
Copying over the "activity-genertic.svg" into "exampleicon.svg",
Re-running the two first build commands: ./setup.py genpot ./setup.py build
After doing these two things the activity runs fine and doesn't crash in the terminal.
I however, was unable to get it to run properly from the hamburger menu, and it seems that sugar isn't updating the bundled version, and wont let me re-run setup.py dev again. Instead producing the error ERROR - The bundle has been already setup for development.
I'm going to submit a pull request with the changes in case the blank svg file wasn't intentional.
The example icon file, found as "activity/exampleicon.svg" appears to be corrupt or invalid.
The text was updated successfully, but these errors were encountered: