Coder Social home page Coder Social logo

Comments (14)

prasanna-bigreco avatar prasanna-bigreco commented on July 22, 2024

facing same issue. is it again related to mcgill servers?

from ubuntu-ranking-dataset-creator.

raopku avatar raopku commented on July 22, 2024

@jasonleeinf have you solved the problem? i come across the same error

from ubuntu-ranking-dataset-creator.

danimateos avatar danimateos commented on July 22, 2024

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:

screenshot

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.

matteosal avatar matteosal commented on July 22, 2024

One more adding to the choir: is there any chance this will be available again?

from ubuntu-ranking-dataset-creator.

rkadlec avatar rkadlec commented on July 22, 2024

@ryan-lowe Do you have access to the servers? There is apparently something wrong with permissions.

from ubuntu-ranking-dataset-creator.

ryan-lowe avatar ryan-lowe commented on July 22, 2024

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.

ryan-lowe avatar ryan-lowe commented on July 22, 2024

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.

danimateos avatar danimateos commented on July 22, 2024

Great, thanks! I'm running generate.sh right now and it seems ok.

from ubuntu-ranking-dataset-creator.

rkadlec avatar rkadlec commented on July 22, 2024

Closing this issue since the hosting works fine over the last month.

from ubuntu-ranking-dataset-creator.

thepsyntist avatar thepsyntist commented on July 22, 2024

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.

tomyoung96 avatar tomyoung96 commented on July 22, 2024

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.

ryan-lowe avatar ryan-lowe commented on July 22, 2024

Thanks for the heads up, I'll ask the McGill tech support people to look into it.

from ubuntu-ranking-dataset-creator.

ryan-lowe avatar ryan-lowe commented on July 22, 2024

Okay, it should be fixed now! @tomyoung96 @thepsyntist

from ubuntu-ranking-dataset-creator.

thepsyntist avatar thepsyntist commented on July 22, 2024

from ubuntu-ranking-dataset-creator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.