Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve TransportErrors from ceda-fbs #1

Open
agstephens opened this issue Nov 8, 2016 · 0 comments
Open

Resolve TransportErrors from ceda-fbs #1

agstephens opened this issue Nov 8, 2016 · 0 comments
Assignees

Comments

@agstephens
Copy link
Member

agstephens commented Nov 8, 2016

Resolve TransportErrors from ceda-fbs.

E.g.:

  File "/group_workspaces/jasmin/cedaproc/astephen/git/ceda-fbs/ceda-fbs/python/src/fbs/gui/scan_dataset.py", line 214, in <module>
    main()
  File "/group_workspaces/jasmin/cedaproc/astephen/git/ceda-fbs/ceda-fbs/python/src/fbs/gui/scan_dataset.py", line 207, in main
    read_dataset_from_file_and_scan(config, status)
  File "/group_workspaces/jasmin/cedaproc/astephen/git/ceda-fbs/ceda-fbs/python/src/fbs/gui/scan_dataset.py", line 124, in read_dataset_from_file_and_scan
    extract.read_dataset_from_file_and_scan()
  File "/group_workspaces/jasmin/cedaproc/astephen/git/ceda-fbs/ceda-fbs/python/src/fbs/processing/extract.py", line 463, in read_dataset_from_file_and_scan
    self.scan_files()
  File "/group_workspaces/jasmin/cedaproc/astephen/git/ceda-fbs/ceda-fbs/python/src/fbs/processing/extract.py", line 235, in scan_files
    raise TransportError(te)
elasticsearch.exceptions.TransportError

Simulate the problem and then fix it.

Note that the python docs say that you can send an ''ignore'' argument.

https://elasticsearch-py.readthedocs.io/en/master/api.html#ignore

@agstephens agstephens self-assigned this Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant