nathanielw / material-icons-for-pencil Goto Github PK
View Code? Open in Web Editor NEWGoogle's Material icons for Pencil
License: MIT License
Google's Material icons for Pencil
License: MIT License
Hi,
I recently tried to execute the generate-xml.py but I got the following stack trace:
File "generate-xml.py", line 31, in
thumb = cairosvg.svg2png(file_obj=str(f), write_to=icon_out)
File "/usr/lib/python3.6/site-packages/cairosvg/init.py", line 45, in
surface_type.convert(*args, **kwargs))(_surface_type)
File "/usr/lib/python3.6/site-packages/cairosvg/surface.py", line 135, in convert
tree = Tree(**kwargs)
File "/usr/lib/python3.6/site-packages/cairosvg/parser.py", line 360, in init
bytestring = file_obj.read()
AttributeError: 'str' object has no attribute 'read'
Can somebody help me?? I don't really know anything about python :(
My specs:
OS: Linux Antergos
Python: 3.6.0
Thanks
As of this writing materialdesignicons.com has 1756 icon, 1350 of which are pulled in by your script. After I did a git submodule foreach git pull origin master I was able to pull the rest, perhaps time to update?
Hi!
I just wrote an archlinux package for this project. I had to do a workaround to download it because of the submodule.
The reason is simple: the submodules are registered as [email protected].... This requires a registered key and a github account. It would be much better for everyone if you just change the remote address to the http version, so it's possible to download the project without forcing someone to create a github account or do dirty tricks.
Cheers
I think it would be great to use the icons provided on http://materialdesignicons.com. They include both the Google icons and community-made ones.
Their github repository is at https://github.com/Templarian/MaterialDesign.
First off, thank you for the work you've done. The Android 5 stencils are incredibly useful. There are issues arising from the python script saying " 'Nonetype' object has no attribute 'group' ". Unfortunately I'm not too familiar with Python script.The error is coming from line 29:
element.set('name', (match.group(1) + ' - ' + match.group(2).replace('_', ' ')).title())
The gen folder is created, but no actions are performed after that. Any suggestions would be much appreciated:
Are you planning any angular material stencil for pencil?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.