Comments (14)
facing same issue. is it again related to mcgill servers?
from ubuntu-ranking-dataset-creator.
@jasonleeinf have you solved the problem? i come across the same error
from ubuntu-ranking-dataset-creator.
Same here: the dataset has the wrong permissions:
./generate.sh
Downloading http://cs.mcgill.ca/~jpineau/datasets/ubuntu-corpus-1.0/ubuntu_dialogs.tgz to ./ubuntu_dialogs.tgz
Successfully downloaded ./ubuntu_dialogs.tgz
Unpacking dialogs ...
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 404, in <module>
prepare_data_maybe_download(args.data_root)
File "create_ubuntu_dataset.py", line 266, in prepare_data_maybe_download
with tarfile.open(archive_path) as tar:
File "/home/dani/anaconda3/envs/ubuntudialogue/lib/python2.7/tarfile.py", line 1680, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
Unpacking dialogs ...
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 404, in <module>
prepare_data_maybe_download(args.data_root)
File "create_ubuntu_dataset.py", line 266, in prepare_data_maybe_download
with tarfile.open(archive_path) as tar:
File "/home/dani/anaconda3/envs/ubuntudialogue/lib/python2.7/tarfile.py", line 1680, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
Unpacking dialogs ...
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 404, in <module>
prepare_data_maybe_download(args.data_root)
File "create_ubuntu_dataset.py", line 266, in prepare_data_maybe_download
with tarfile.open(archive_path) as tar:
File "/home/dani/anaconda3/envs/ubuntudialogue/lib/python2.7/tarfile.py", line 1680, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
The problem is with permissions, as shown by:
wget http://cs.mcgill.ca/~jpineau/datasets/ubuntu-corpus-1.0/ubuntu_dialogs.tgz
--2017-01-11 11:18:17-- http://cs.mcgill.ca/~jpineau/datasets/ubuntu-corpus-1.0/ubuntu_dialogs.tgz
Resolving cs.mcgill.ca (cs.mcgill.ca)... 132.206.51.10
Connecting to cs.mcgill.ca (cs.mcgill.ca)|132.206.51.10|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-01-11 11:18:17 ERROR 403: Forbidden.
If I browse in chrome to http://cs.mcgill.ca/~jpineau/datasets/ubuntu-corpus-1.0/ubuntu_dialogs.tgz
I get
Forbidden
You don't have permission to access /~jpineau/datasets/ubuntu-corpus-1.0/ubuntu_dialogs.tgz on this server.
Server unable to read htaccess file, denying access to be safe
Apache/2.4.18 (Ubuntu) Server at cs.mcgill.ca Port 80
The directory itself is probably not readable by "others"; if I browse to http://cs.mcgill.ca/~jpineau/datasets/
I get:
See http://stackoverflow.com/questions/27890751/magento-new-host-403-forbidden-server-unable-to-read-htaccess-file
or http://stackoverflow.com/questions/31365981/server-unable-to-read-htaccess-file-denying-access-to-be-safe
on how to fix; basically, chmod -R o+r *
on the datasets/ubuntu-corpus-1.0
directory.
from ubuntu-ranking-dataset-creator.
One more adding to the choir: is there any chance this will be available again?
from ubuntu-ranking-dataset-creator.
@ryan-lowe Do you have access to the servers? There is apparently something wrong with permissions.
from ubuntu-ranking-dataset-creator.
Sorry for the delayed reply. I do not have permissions, but I just sent an e-mail to Joelle Pineau and to the CS technical people at McGill who will be able to sort it out. I think it will take a most a few days
Again, apologies for the inconvenience. I think that if there is a chance that this keeps happening (it's the 2nd time at least), we will try to move it to a more permanent location. @rkadlec, would IBM be amenable to this?
from ubuntu-ranking-dataset-creator.
Okay, so it turns out the tech admins have just fixed the issue -- apparently it was a permissions problem. If any problems persist, please let me know!
from ubuntu-ranking-dataset-creator.
Great, thanks! I'm running generate.sh right now and it seems ok.
from ubuntu-ranking-dataset-creator.
Closing this issue since the hosting works fine over the last month.
from ubuntu-ranking-dataset-creator.
Getting empty response on the request 8 out of 10 times and even if the download starts, it just stops around 900KB.
from ubuntu-ranking-dataset-creator.
Facing the issue ERR_EMPTY_RESPONSE as @thepsyntist reported. Is there something wrong with the server? @ryan-lowe Thanks a lot!
from ubuntu-ranking-dataset-creator.
Thanks for the heads up, I'll ask the McGill tech support people to look into it.
from ubuntu-ranking-dataset-creator.
Okay, it should be fixed now! @tomyoung96 @thepsyntist
from ubuntu-ranking-dataset-creator.
from ubuntu-ranking-dataset-creator.
Related Issues (18)
- Dataset link is not accessible HOT 6
- IOError: [Errno 2] No such file or directory: './dialogs/10/974.tsv' HOT 6
- cs.mcgill.ca download of raw files is slow HOT 1
- Splitting dataset fails HOT 1
- What is the difference between 1.0 and 2.0? HOT 1
- how are you generating the LSTM,RNN model?
- License on the dataset itself? HOT 3
- Doesn't appear to be Python 3 compatible? HOT 1
- Error in dataset generation
- Python 3 issues HOT 4
- AttributeError: 'Namespace' object has no attribute 'func' HOT 2
- AttributeError: 'Namespace' object has no attribute 'func'
- Dialog .\dialogs\17\13318.tsv was shorter than the minimum required lenght 1 HOT 2
- What is the size of the downloaded data?
- Created Training set is smaller than the old one & error with create_eval_dataset function HOT 3
- info about raw file HOT 1
- why can't download? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-ranking-dataset-creator.