[yt-dev] Issue #1056: yt version decode error (yt_analysis/yt)

Anthony Scopatz issues-reply at bitbucket.org
Mon Aug 3 11:14:08 PDT 2015


New issue 1056: yt version decode error
https://bitbucket.org/yt_analysis/yt/issues/1056/yt-version-decode-error

Anthony Scopatz:

Minor issue on Python 3 with the yt version command.

```bash
$ yt version

yt module located at:
    /home/scopatz/.local/lib/python3.4/site-packages/yt-3.3.dev0-py3.4-linux-x86_64.egg

The current version and changeset for the code is:

---
Version = 3.3-dev
Traceback (most recent call last):
  File "/home/scopatz/.local/bin/yt", line 9, in <module>
    load_entry_point('yt==3.3.dev0', 'console_scripts', 'yt')()
  File "/home/scopatz/.local/lib/python3.4/site-packages/yt-3.3.dev0-py3.4-linux-x86_64.egg/yt/utilities/command_line.py", line 1092, in run_main
    args.func(args)
  File "/home/scopatz/.local/lib/python3.4/site-packages/yt-3.3.dev0-py3.4-linux-x86_64.egg/yt/utilities/command_line.py", line 89, in run
    self(args)
  File "/home/scopatz/.local/lib/python3.4/site-packages/yt-3.3.dev0-py3.4-linux-x86_64.egg/yt/utilities/command_line.py", line 605, in __call__
    print("Changeset = %s" % vstring.strip().decode("utf-8"))
AttributeError: 'str' object has no attribute 'decode'
```





More information about the yt-dev mailing list