Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Operation not permitted #3

Description

@stevage

I ran the instructions on an Ubuntu Trusty64 in Vagrant.

$ python get.py
/vagrant/grantnav/.ve/lib/python3.4/site-packages/openpyxl/workbook/names/named_range.py:125: UserWarning: Discarded range with reserved name
  warnings.warn("Discarded range with reserved name")
Traceback (most recent call last):
  File "get.py", line 175, in <module>
    os.link(json_file_name, 'data/json_valid/{}.json'.format(dataset['identifier']))
PermissionError: [Errno 1] Operation not permitted: 'data/json_all/a002400000p1DloAAE.json' -> 'data/json_valid/a002400000p1DloAAE.json'

It looks like the first file did download successfully:

(.ve) vagrant@vagrant-ubuntu-trusty-64:/vagrant/datagetter$ ll data/json_all
total 204
drwxr-xr-x 1 vagrant vagrant    102 Oct  5 23:49 ./
drwxr-xr-x 1 vagrant vagrant    272 Oct  5 23:49 ../
-rw-r--r-- 1 vagrant vagrant 208779 Oct  5 23:49 a002400000p1DloAAE.json
(.ve) vagrant@vagrant-ubuntu-trusty-64:/vagrant/datagetter$ ll data/json_valid
total 0
drwxr-xr-x 1 vagrant vagrant  68 Oct  5 23:45 ./
drwxr-xr-x 1 vagrant vagrant 272 Oct  5 23:49 ../

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