Skip to content

luarocks install dpnn: git Connection refused #97

Open
@sam-s

Description

@sam-s

I get the following error:

$ luarocks install dpnn
Installing https://raw.githubusercontent.com/torch/rocks/master/dpnn-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/dpnn-scm-1.rockspec... switching to 'build' mode
Cloning into 'dpnn'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection refused
github.com[1: 192.30.253.112]: errno=Connection refused


Error: Failed cloning git repository.

This is because https://raw.githubusercontent.com/torch/rocks/master/dpnn-scm-1.rockspec specifies

source = {
   url = "git://github.com/Element-Research/dpnn",
   tag = "master"
}

instead of

source = {
   url = "https://github.com/Element-Research/dpnn",
   tag = "master"
}

I know the git:// url usually works, but, alas, some networks disallow it.
Could you please use https:// instead of git://?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions