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

Invalid cross-device link when posting results #270

Closed
donkirkby opened this issue Dec 15, 2015 · 0 comments
Closed

Invalid cross-device link when posting results #270

donkirkby opened this issue Dec 15, 2015 · 0 comments
Assignees
Labels

Comments

@donkirkby
Copy link
Member

The first run was successfully processed in Kive, but MISEQ_MONITOR failed to post the results. The error was:

Traceback (most recent call last):
  File "MISEQ_MONITOR.py", line 504, in main
    download_results(kive_runs, root, run_folder)
  File "MISEQ_MONITOR.py", line 423, in download_results
    os.rename(source, destination)
OSError: [Errno 18] Invalid cross-device link

Analysis

It seems that os.rename() is not the same as mv in the shell. From the documentation:

The operation may fail on some Unix flavors if src and dst are on different filesystems.

Try using shutil.move() instead.

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

No branches or pull requests

1 participant