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
Bad file for binary mode icon #16
Comments
Reproduced on: |
Does not occur if the Looks like a problem in the toolkit, caused by a GNOME icon having same first-name as an Abacus icon. There's probably nothing wrong with Abacus using this same icon name.
Perhaps add a check for |
We could rename the icon in any case. |
When an icon file name matches a GNOME theme icon; Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 214, in _get_attach_points cp.readfp(config_file) File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers. Caused by reading a .png file as if it were config file, in turn because the icon was expected by the toolkit to be .svg file type. Regression introduced by f796638. Fixes sugarlabs/activity-abacus#16
As it has no impact in the activity, I don't think it is worth renaming. I've added a toolkit fix. |
When an icon file name matches a GNOME theme icon; Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 214, in _get_attach_points cp.readfp(config_file) File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers. Caused by reading a .png file as if it were config file, in turn because the icon was expected by the toolkit to be .svg file type. Regression introduced by f796638. Fixes sugarlabs/activity-abacus#16
Steps to reproduce:
Logs have this:
The text was updated successfully, but these errors were encountered: