[yt-dev] Issue #1148: Photon Simulator is not py3 compatible (yt_analysis/yt)

Kacper Kowalik issues-reply at bitbucket.org
Tue Dec 8 16:30:26 PST 2015


New issue 1148: Photon Simulator is not py3 compatible
https://bitbucket.org/yt_analysis/yt/issues/1148/photon-simulator-is-not-py3-compatible

Kacper Kowalik:

```
  File "yt/analysis_modules/photon_simulator/tests/test_sloshing.py", line 103, in test_sloshing
    events2 = EventList.from_h5_file("test_events.h5")
  File "yt/analysis_modules/photon_simulator/photon_simulator.py", line 923, in from_h5_file
    parameters["Area"] = p["area"].value.decode("utf8")
AttributeError: 'str' object has no attribute 'decode'
```

Responsible: jzuhone



More information about the yt-dev mailing list