xaviju / inkscape-placeholder Goto Github PK
View Code? Open in Web Editor NEWEmbed image placeholders into Inkscape
License: MIT License
Embed image placeholders into Inkscape
License: MIT License
With latest revision from Nov 7, 2015, I get this traceback when I try to use the lorempixel extension (the other two work well):
Traceback (most recent call last):
File "lorempixel.py", line 52, in
placeholder.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 268, in affect
self.effect()
File "lorempixel.py", line 20, in effect
image = self._get_image()
File "lorempixel.py", line 31, in _get_image
context = ssl._create_unverified_context()
AttributeError: 'module' object has no attribute '_create_unverified_context'
It seems this has to do with my Python being Python 2.7.6, and the private functions used here are only available from python 2.7.9 upwards.
Wasn't able to solve the problem, though :-/, I don't know enough about python/ssl/urllib .
(solved it for myself by turning https into http, but that's probably not a good general solution).
Hello World !
I will try this plugin but when i want to use any service, i have this error message
(CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
The complete error message :
Traceback (most recent call last):
File "unsplash.py", line 66, in <module>
placeholder.affect()
File "C:\Program Files\Inkscape\share\extensions/inkex.py", line 283, in affect
self.effect()
File "unsplash.py", line 31, in effect
image = self._get_image()
File "unsplash.py", line 44, in _get_image
response = urllib2.urlopen(url)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 447, in _open
'_open', req)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "C:\Program Files\Inkscape\lib\python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>
It is impossible from inside Inkscape to see the licence and author of the images that are pulled in from the web.
So wouldn't it make sense to add this info to the readme file:
Lorempixel images: CC-By-SA (but useless without author info)
Unsplash Images: CC-0
Uifaces: for private mockups only (no publishing)
and to warn users to never use the extension (except the Unsplash one) for any other purpose than for mockups?
(Could also be added into the .inx files)
Hello,
Thank you for providing this extension for Inkscape users!
This is just to let you know that most 3rd party Inkscape extensions, like this one, probably will not work with the upcoming new Inkscape version, the long-awaited version 1.0.
Here is the info you need to update this extension, so that it will work with 1.0 and future versions.
https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0
If you have further questions, you can contact Inkscape developers via mailing lists, forum, or the chatroom.
If you have already updated it, please disregard this message.
All best,
brynn
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.