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

gtail dump exception when remote file not there #111

Closed
GoogleCodeExporter opened this issue Aug 6, 2015 · 2 comments
Closed

gtail dump exception when remote file not there #111

GoogleCodeExporter opened this issue Aug 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

(grundb)sergio@ocikbgtw:~/gamess_tests$ gtail job.3412
gtail: ERROR: Server responded: File unavailable.
Traceback (most recent call last):
  File "/home/sergio/dev/gc3pie/gc3utils/gcmd.py", line 155, in main
    rc = cmd(*sys.argv[1:], **{'opts':parser})
  File "/home/sergio/dev/gc3pie/gc3utils/commands.py", line 500, in gtail
    file_handle = _core.peek(app, std)
  File "/home/sergio/dev/gc3pie/gc3libs/core.py", line 442, in peek
    _lrms.peek(app, remote_filename, _local_file, offset, size)
  File "/home/sergio/dev/gc3pie/gc3libs/backends/arc.py", line 434, in peek
    local_file.name)
  File "/opt/nordugrid/lib/python2.5/site-packages/arclib.py", line 1405, in Download
    def Download(self, *args): return _arclib.FTPControl_Download(self, *args)
arclib.FTPControlError: Server responded: File unavailable.

Original issue reported on code.google.com by sergio.m...@gmail.com on 25 Jan 2011 at 1:30

@GoogleCodeExporter
Copy link
Author

Original comment by sergio.m...@gmail.com on 9 Jul 2012 at 12:45

  • Added labels: Milestone-Release1.1

@GoogleCodeExporter
Copy link
Author

ticket is outdated (codebase for commands has been changed)
lrms.peek is supposed to raise an exception in case the stream could not be 
returned
commands.gtail has now a catch for generic exception to properly handle the 
error

Committed revision 2483.

Original comment by sergio.m...@gmail.com on 16 Jul 2012 at 9:22

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant