Giter Club home page Giter Club logo

inkscape-placeholder's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

inkscape-placeholder's Issues

Lorempixel extension not working

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).

CERTIFICATE_VERIFY_FAILED

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)>

Image licence / author should be mentioned

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)

update needed for Inkscape version 1.0

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.