Uploaded image for project: 'SW'
  1. SW-621

PySParkling failing on Python3.6

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.20, 2.1.19, 2.2.5
    • Component/s: None
    • Labels:
      None
    • CustomerVisible:
      No
    • Sprint:

      Description

      >>> import pysparkling
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "<frozen importlib._bootstrap>", line 961, in _find_and_load
        File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
        File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
        File "/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/michal/spark/work/spark-f21a53e6-82ee-4528-b318-ee024970f096/userFiles-af5307af-7477-4c3a-b9c0-a5af94ebafee/h2o_pysparkling_2.2-2.2.4.zip/pysparkling/__init__.py", line 11, in <module>
        File "<frozen importlib._bootstrap>", line 961, in _find_and_load
        File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
        File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
        File "/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/michal/spark/work/spark-f21a53e6-82ee-4528-b318-ee024970f096/userFiles-af5307af-7477-4c3a-b9c0-a5af94ebafee/h2o_pysparkling_2.2-2.2.4.zip/pysparkling/context.py", line 5, in <module>
        File "<frozen importlib._bootstrap>", line 961, in _find_and_load
        File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
        File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
        File "/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/michal/spark/work/spark-f21a53e6-82ee-4528-b318-ee024970f096/userFiles-af5307af-7477-4c3a-b9c0-a5af94ebafee/h2o_pysparkling_2.2-2.2.4.zip/h2o/__init__.py", line 49, in <module>
      TypeError: endswith first arg must be bytes or a tuple of bytes, not str
      

        Attachments

          Activity

            People

            • Assignee:
              michal Michal Malohlava
              Reporter:
              michal Michal Malohlava
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: