Skip to content

language-check install breaking pipeline #2993

Open
@bkhanale

Description

@bkhanale

https://github.com/jxmorris12/language_tool_python seems to be a valid alternative, as language-check is not maintained now.

Related to myint/language-check#25

Running setup.py install for language-check: started
    Running setup.py install for language-check: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-76gvnx54/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/language-check
         cwd: /tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/
    Complete output (35 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py", line 595, in <module>
        sys.exit(main())
      File "/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py", line 590, in main
        run_setup_hooks(config)
      File "/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py", line 561, in run_setup_hooks
        language_tool_hook(config)
      File "/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/setup.py", line 584, in language_tool_hook
        download_lt()
      File "/tmp/pip-install-emarsvh7/language-check_28af75d0fbf84578bb5a2d4e1c063cf4/download_lt.py", line 128, in download_lt
        with closing(urlopen(url)) as u:
      File "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/local/lib/python3.6/urllib/request.py", line 564, in error
        result = self._call_chain(*args)
      File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/usr/local/lib/python3.6/urllib/request.py", line 756, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/local/lib/python3.6/urllib/request.py", line 570, in error
        return self._call_chain(*args)
      File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/usr/local/lib/python3.6/urllib/request.py", line 650, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 403: Forbidden

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions