This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pysha3 fails with obscure internal error
Type: crash Stage: resolved
Components: Extension Modules, Interpreter Core Versions: Python 3.3
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, r.david.murray, tinLoaf
Priority: normal Keywords:

Created on 2014-12-24 10:56 by tinLoaf, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg233075 - (view) Author: Lukas Barth (tinLoaf) Date: 2014-12-24 10:56
Hi!

Since there is no separate bug tracker for pysha3 (and it is being discussed in some other bug on this tracker), I figured that this is the right place to file this bug. I hope I'm right.

I'm trying to import pysha3, and it fails with the error 

"undefined symbol: _PyUnicode_CheckConsistency"

(full backtrace here: http://pastebin.com/ueXDAwu6 )

I can't find anything useful about this error using Google etc.

I'm using Python 3.3.5 on a current Gentoo Linux. I'm running in a virtualenv, so there should not be too much getting in the way. I basically have Django and pysha3 installed. 

Full output of 'pip freeze': http://pastebin.com/Z7DF96Z0 
Full output of 'python -v': http://pastebin.com/1HeSJJ8p
msg233077 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2014-12-24 14:31
pysha3 has been compiled against a debug build of Python and you are running an non-debug one.
msg233078 - (view) Author: Lukas Barth (tinLoaf) Date: 2014-12-24 14:40
D'Oh. Thanks for the hint. So, is it on purpose that there is some piece of software that's only working on debug builds installable via pip? There was no warning whatsoever when I installed pysha3 via pip..
msg233080 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-12-24 15:30
I doubt that it is on purpose, but it is not a CPython bug.  You have one bug in pysha3 (a third party product) and one possible bug (I don't know enough to know if it is one) in pip, which has its own tracker (we track *ensurepip* bugs here, but not pip bugs).
History
Date User Action Args
2022-04-11 14:58:11adminsetgithub: 67297
2014-12-24 15:30:48r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg233080

resolution: third party
stage: resolved
2014-12-24 14:40:54tinLoafsetstatus: closed -> open
resolution: third party -> (no value)
messages: + msg233078
2014-12-24 14:31:51benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg233077

resolution: third party
2014-12-24 10:56:54tinLoafcreate