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

glue command fails with error #233

Open
rajesh1158 opened this issue Dec 12, 2020 · 0 comments
Open

glue command fails with error #233

rajesh1158 opened this issue Dec 12, 2020 · 0 comments

Comments

@rajesh1158
Copy link

Version: 0.13
Python: 2.7.5 (default, Apr 2 2020, 13:16:51)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
PIL version: 1.1.7
Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
Config: {'css_dir': '/home/centos/cnp/coinimages/sprites', 'less_dir': False, 'force': False, 'json_dir': False, 'crop': False, 'less_template': None, 'css_url': u'', 'global_template': None, 'css_namespace': u'', 'html_dir': False, 'css_cachebuster': False, 'recursive': False, 'scss_template': None, 'css_pseudo_class_separator': u'__', 'enabled_formats': ['img', 'css'], 'generate_css': True, 'source': '/home/centos/cnp/coinimages/c', 'optipng': False, 'follow_links': False, 'imagemagick': False, 'each_template': None, 'json_format': u'array', 'watch': False, 'css_sprite_namespace': u'{sprite_name}', 'padding': u'0', 'ratio_template': None, 'ratios': u'1', 'caat_dir': False, 'optipngpath': None, 'css_cachebuster_only_sprites': False, 'scss_dir': False, 'generate_image': True, 'cocos2d_dir': False, 'imagemagickpath': None, 'algorithm': u'square', 'css_cachebuster_filename': False, 'img_dir': '/home/centos/cnp/coinimages/sprites', 'png8': False, 'quiet': False, 'project': False, 'css_separator': u'-', 'algorithm_ordering': u'maxside', 'debug': False, 'output': '/home/centos/cnp/coinimages/sprites', 'margin': u'0', 'css_template': None, 'ignore_filename_paddings': False}
Args: ['/bin/glue', '--namespace=', 'c', 'sprites']

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/glue/bin.py", line 235, in main
manager.process()
File "/usr/lib/python2.7/site-packages/glue/managers/base.py", line 14, in process
self.save()
File "/usr/lib/python2.7/site-packages/glue/managers/base.py", line 45, in save
format.build()
File "/usr/lib/python2.7/site-packages/glue/formats/base.py", line 41, in build
self.save(ratio=ratio)
File "/usr/lib/python2.7/site-packages/glue/formats/img.py", line 147, in save
canvas.save(image_path, **kwargs)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1477, in save
save_handler(self, fp, filename)
File "/usr/lib64/python2.7/site-packages/PIL/PngImagePlugin.py", line 545, in _save
b'\0') # 12: interlace flag
File "/usr/lib64/python2.7/site-packages/PIL/PngImagePlugin.py", line 471, in putchunk
hi, lo = Image.core.crc32(data, Image.core.crc32(cid))
AttributeError: 'module' object has no attribute 'crc32'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant