You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please indicate the following details about the environment in which you found the bug:
CTGAN version: 0.7.1
Python version: Any
Operating System: Any
Error Description
The load_demo function is currently broken because it points to an old S3 bucket. To fix this we should migrate the demo dataset currently at 'http://ctgan-data.s3.amazonaws.com/census.csv.gz' to the new S3 bucket and load from there instead.
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/ctgan/demo.py", line 10, in load_demo
return pd.read_csv(DEMO_URL, compression='gzip')
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 586, in read_csv
return _read(filepath_or_buffer, kwds)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 482, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 811, in __init__
self._engine = self._make_engine(self.engine)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 10[40](https://github.com/sdv-dev/CTGAN/actions/runs/4811434298/jobs/8565426948#step:5:41), in _make_engine
return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 51, in __init__
self._open_handles(src, kwds)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/parsers/base_parser.py", line 229, in _open_handles
errors=kwds.get("encoding_errors", "strict"),
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/common.py", line 614, in get_handle
storage_options=storage_options,
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/common.py", line 312, in _get_filepath_or_buffer
with urlopen(req_info) as req:
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/pandas/io/common.py", line 212, in urlopen
return urllib.request.urlopen(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 6[41](https://github.com/sdv-dev/CTGAN/actions/runs/4811434298/jobs/8565426948#step:5:42), in http_response
'http', request, response, code, msg, hdrs)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/urllib/request.py", line 6[49](https://github.com/sdv-dev/CTGAN/actions/runs/4811434298/jobs/8565426948#step:5:50), in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
The text was updated successfully, but these errors were encountered:
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
The
load_demo
function is currently broken because it points to an old S3 bucket. To fix this we should migrate the demo dataset currently at 'http://ctgan-data.s3.amazonaws.com/census.csv.gz' to the new S3 bucket and load from there instead.Steps to reproduce
The text was updated successfully, but these errors were encountered: