Skip to content
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

UnicodeDecodeError: 'ascii' codec can't decode... #10

Open
etienne-v opened this issue Oct 25, 2018 · 0 comments
Open

UnicodeDecodeError: 'ascii' codec can't decode... #10

etienne-v opened this issue Oct 25, 2018 · 0 comments

Comments

@etienne-v
Copy link

etienne-v commented Oct 25, 2018

(Should have posted this for HIDE instead of SEEK)

Running HIDE I encountered this error:

$ hide --strategy-start=2017-01-01-00:00:00 --strategy-end=2017-01-05-00:00:00 --verbose=True hide.config.bleien7m
Traceback (most recent call last):
File "/u/zazz00r5/.local/bin/hide", line 12, in
load_entry_point('hide==0.1.0', 'console_scripts', 'hide')()
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/ivy/cli/main.py", line 28, in run
_main(*sys.argv[1:])
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/ivy/cli/main.py", line 37, in _main
mgr.launch()
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/ivy/workflow_manager.py", line 107, in launch
executor.run(ctx().params.plugins)
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/ivy/backend.py", line 48, in run
return map(LoopWrapper(loop), mapPlugin.getWorkload())
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/ivy/backend.py", line 129, in call
plugin()
File "/u/zazz00r5/.local/lib/python2.7/site-packages/hide-0.1.0-py2.7.egg/hide/plugins/load_beam_profile.py", line 55, in call
beam_profiles, beam_norms = mod.load_beam_profile(beam_spec, frequencies, self.ctx.params)
File "/u/zazz00r5/.local/lib/python2.7/site-packages/hide-0.1.0-py2.7.egg/hide/beam/airy.py", line 43, in load_beam_profile
gain_sun = np.genfromtxt(path, skip_header=True)
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1707, in genfromtxt
next(fhd)
File "/u/zazz00r5/anaconda3/envs/py27/lib/python2.7/encodings/ascii.py", line 27, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 22: ordinal not in range(128)

Tried the solutions suggested here and here without luck. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant