[
https://issues.apache.org/jira/browse/ARROW-5619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sutou Kouhei updated ARROW-5619:
--------------------------------
Description:
{noformat}
% python3 --version
Python 3.5.3
% python3 cpp/build-support/get_apache_mirror.py
Traceback (most recent call last):
File "cpp/build-support/get_apache_mirror.py", line 31, in <module>
print(json.loads(suggested_mirror)['preferred'])
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
{noformat}
Debian stretch ships Python 3.5 as python3.
was:
{noformat}
% python3 cpp/build-support/get_apache_mirror.py
Traceback (most recent call last):
File "cpp/build-support/get_apache_mirror.py", line 31, in <module>
print(json.loads(suggested_mirror)['preferred'])
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
{noformat}
> [C++] get_apache_mirror doesn't work with Python 3.5
> ----------------------------------------------------
>
> Key: ARROW-5619
> URL: https://issues.apache.org/jira/browse/ARROW-5619
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Sutou Kouhei
> Assignee: Sutou Kouhei
> Priority: Major
>
> {noformat}
> % python3 --version
> Python 3.5.3
> % python3 cpp/build-support/get_apache_mirror.py
> Traceback (most recent call last):
> File "cpp/build-support/get_apache_mirror.py", line 31, in <module>
> print(json.loads(suggested_mirror)['preferred'])
> File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
> s.__class__.__name__))
> TypeError: the JSON object must be str, not 'bytes'
> {noformat}
> Debian stretch ships Python 3.5 as python3.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)