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 on Linux #710

dattas opened this issue Jan 9, 2015 · 2 comments


None yet
3 participants
Copy link

commented Jan 9, 2015

  1. What were you doing?
    Uploading a .stl file on a linux filesystem which has a separate /tmp filesystem, this appears to only occur in Centos and Archlinux and not the *buntu and *bian systems
  2. What did you expect to happen?
    File would show up in the file manager so that it can be edited later
  3. What happened instead?
    The slicing UI comes up, but if you dismiss it or go to try to slice the .stl file, it doesn't show up in the file manager. File does exist on filesystem in the correct location.
  4. Branch & Commit or Version:
    Version: 1.2.0-dev-383-g3d5fdf2 (devel branch)
  5. Printer model & used firmware incl. version
  6. Link to octoprint.log on or
  7. Link to contents of terminal tab on or

I love cookies and so I think perhaps there should be a tmp directory in the .octoprint directory instead of writing the temp files in /tmp. This should prevent most of the Cross-device link errors


This comment has been minimized.

Copy link

commented Jan 13, 2015

maybe shutil.move must be used instead of os.rename
os.rename should be ok for ones who had /tmp on same FS

EDIT: yep, it works


This comment has been minimized.

Copy link

commented Jan 18, 2015

Pls close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.