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
Python Version Compatibility Bugs #129
Comments
Caught a new one with a bit more info. Any idea what is going on?
|
hum not sure. Is there some "weird" characters in your pages/artboard names? |
Nothing weird, just ASCII characters from 97 to 122 (lowercase english). To be sure I renamed all the pages and artboards to get rid of possible invisible characters. Maybe something to do with Python ASCII encoding? A quick Google search: |
Oh what version of python do you have? I think in python3, there is no implicit conversion anymore. Hum can you try opening the file in question (plugins > manage plugins > the small cog > show plugins folder > right click Git.sketchplugin > show package contents > getArtboardNames.py) and change the line 15 to |
I have python 3.6.1 (latest). I tested it with 2.7.8 and it works nicely! With 3.6.1, after modifying
This is explained here: http://stackoverflow.com/questions/21572840/map-object-has-no-len-in-python-3-3. I don't know python good enough to fix this myself. |
I'm also experiencing this bug, latest Sketch, Python 3.6.4, no special characters (script is attempting to concat 'Page 1' and 'Artboard', but one of these is not a string). Going to dig into this more and see if I can build locally / debug. |
fixed in 0.12 |
How did it happen?
Error log
The text was updated successfully, but these errors were encountered: