9front - general discussion about 9front
 help / color / mirror / Atom feed
* abort: could not import module _sechash!
@ 2016-04-22 21:45 sl
  2016-04-23 11:58 ` [9front] " cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: sl @ 2016-04-22 21:45 UTC (permalink / raw)
  To: 9front

problem:

	; sysupdate
	pulling from https://code.9front.org/hg/plan9front
	abort: could not import module _sechash!

solution:

	; cd /sys/src/ape
	; mk install
	; cd /sys/src/cmd/python
	; mk install

sl


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] abort: could not import module _sechash!
  2016-04-22 21:45 abort: could not import module _sechash! sl
@ 2016-04-23 11:58 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2016-04-23 11:58 UTC (permalink / raw)
  To: 9front

this problem should not happen anymore, if you pulled the latest
version. the problem was that /sys/lib/python/hashlib.py was changed
to use a new python module that to wrap plan9's cryptographic hash
functions. so it effectively needed the new python binary to work.

now, hashlib.py can fall back to the old openssl implementation, so
after sysupdate, python will still function normally.

--
cinap


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-23 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 21:45 abort: could not import module _sechash! sl
2016-04-23 11:58 ` [9front] " cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).