Voronoi Diagram - ERROR:root:code blah blah blah...

Post questions on how to use or achieve an effect in Inkscape.
Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 8:52 am

Hello again,

I've searched the forum ('Voronoi Diagram') to find a possible solution as to why I'm not able to draw one of these. I can't find an answer.

I'm following along with a Youtube Inkscape tutorial (https://www.youtube.com/watch?v=Ve2NJOFfzfM).

I've tried a few times, always get an ERROR message ('unsupported hash type' and other programmese). I'm using Inkscape .092 on a Windows 10 Home edition laptop.

Any assistance will be greatly appreciated!!!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Moini » Sat Nov 04, 2017 9:34 am

Can you provide your SVG file and the exact steps we'd need to follow in it to reproduce the error?
Also, a full copy of the error message, and the info if you're using Inkscape 0.92, 0.92.1 or 0.92.2 (<- latest version) would be helpful.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 9:54 am

I attached the .svg file with the info you requested. Here's the error message:

'ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension.Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml

Technical details:
No module named lxml
Attachments
voronoi_diagram_not_working.svg
(19.29 KiB) Downloaded 166 times

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 9:56 am

Oops, I didn't see that last part about downloading the 'latest version'.

I love Inkscape but it appears that I'll need to become more sophisticated in my understanding of programming stuff...

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 10:04 am

Ok I signed up at https://pypi.python.org, so that I can download whatever it is I need to per the instructions. But now I'm really confused! There's this long list of files, which one do I download, or all of them?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Moini » Sat Nov 04, 2017 10:05 am

How have you installed your Inkscape version? There was an issue with updating from a previous version, which broke the python installation (kind of).

If that is your issue (i.e. you updated), then:
To fix, uninstall Inkscape, then reinstall the latest version. Should work correctly after that.

(the important part of the error message is at the end of it, so it's good you pasted the whole thing)

If you have installed another Python version on your computer, that might not fix the problem. Let us know how it goes.

You don't need pypi to fix this.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 11:18 pm

I see. Yes I installed the latest version of Inkscape, but apparently a glitch or two happened. I'll uninstall and reinstall again.

Thank you for your assistance, hope I don't have to come back here for awhile! But will keep you posted.

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sat Nov 04, 2017 11:49 pm

Yes, I did have an older version - it was uninstalled, as was the current version I was using.

Now - I'm ready to re-install Inkscape 0.92.2.

Question: I see there are 7 choices for Windows Users. I remember I was confused whether to download Windows : 64-bit : exe OR Windows : 64-bit : msi, OR Windows : 64-bit : binary (7z). I believe I downloaded exe, but was wondering (since I'm here with the experts) can you explain the difference? and exe is correct one to download, right?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Moini » Sun Nov 05, 2017 2:24 am

There's an explanation at the bottom of the page. Use 64bit exe, if your Windows is a 64bit system.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sun Nov 05, 2017 4:21 am

Thanks, I was thinking the msi type was 'better' than exe type but I guess I am wrong. I researched a bit and understand the differences somewhat. Thanks again, I truly appreciate your help!!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Moini » Sun Nov 05, 2017 10:59 am

I'm not on Windows, so I can only relay what the Windows developers publish, not try it out myself (nor would I know any details) :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby brynn » Sun Nov 05, 2017 3:18 pm

From what little I understand, MS has said that MSI is now the preferred type. But since I always seem to run into trouble when some new thing comes out, I usually wait some time, for any problems to get ironed out, before I go ahead and use and accept the new thing. So I've been stubbornly sticking with EXE. When the time comes for EXE to be retired, I'll feel confident that MSI is dependable. That's just me though.

I don't think there is any serious danger using MSI. A lot of people (Inkscape users) have used it without any problems.

Beth61
Posts: 21
Joined: Fri Jun 16, 2017 9:00 pm

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Beth61 » Sun Nov 05, 2017 10:55 pm

Yahoo! Thanks so much for helping me.

I reinstalled Version 0.92 and I'm not having any error messages pop up.

This is so awesome! I'm newer to Inkscape and really loving it, way more than Illustrator. (Even though I will need to learn AI 'cause all the employers want that).

Thanks again, truly appreciate it.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Voronoi Diagram - ERROR:root:code blah blah blah...

Postby Moini » Mon Nov 06, 2017 3:02 am

Glad we could help :) Happy drawing, Beth!
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”