Closed adakite closed 6 years ago
That is a very curious error to be honest. I think it means Python does not know the utf-32-be
encoding.
Can you run
'test'.encode('utf-32-be')
in a Python shell?
I assume you installed Python + instaseis via anaconda (judging from your path). Maybe updating Python fixes the problem?
Or you just have very unusual locale settings? Mine for example are
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
Hi,
'test'.encode('utf-32-be') gives me this:
Out[4]: '\x00\x00\x00t\x00\x00\x00e\x00\x00\x00s\x00\x00\x00t'
locate gives
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
and yes Python + instaseis are installed from anaconda. Python is updated.
Hmm. Really strange and I don't know what causes the error and I also unfortunately cannot reproduce it. Can you maybe also report this at the pytest respository (https://github.com/pytest-dev/pytest)? Maybe they know what's up?
Can you actually run instaseis and are only the tests failing? But yea - to be confident that instaseis works on your laptop you definitely want to pass all tests...
No news for 18 months. Please reopen if this is still a problem.
Hi
I encounter some issues with my system (macbook pro running Darwin Kernel Version 15.6.0).
Installation went smoothly but the tests failed:
python -m instaseis.tests gave me this:
Any ideas on what is causing this? Thanks