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

Issue in saving workflow and files onto different drives #6685

Closed
pepeto opened this issue Dec 31, 2023 · 6 comments
Closed

Issue in saving workflow and files onto different drives #6685

pepeto opened this issue Dec 31, 2023 · 6 comments
Labels
bug A bug confirmed by the core team

Comments

@pepeto
Copy link

pepeto commented Dec 31, 2023

SAVE DATA is not saving.
The widget ask for a filename, but I have tried different names, directories and formats. But no luck.
image

I table with data, link "data save", select a filename and NOTHING, just the error of "filename is not set"

  • Operating system: Windows
  • Orange version: 3.36.2
  • How you installed Orange: I tried Standalone installer and portable

Thank YOU!!!

@pepeto pepeto added the bug report Bug is reported by user, not yet confirmed by the core team label Dec 31, 2023
@janezd
Copy link
Contributor

janezd commented Jan 2, 2024

This is interesting. And quite impossible to reproduce - I can look at the code, but don't see how this could happen. (The error, which says that you have not chosen the file name, checks whether the filename variable is empty, and the only point at which the name is set by the standard save dialog, which returns the filename - unless the user cancels it. So if you went through this dialog, I don't see how the name could not be set.)

This should be of no consequence here, but: your directory (including directories that lead to it) have no non-ascii characters? (It should work anyway, but -- just to check.)

Does View / Log show anything interesting?

Do you have any programming skills? Would you be able to insert a line of code here and there and tell us what it prints out?

@pepeto
Copy link
Author

pepeto commented Jan 3, 2024

I have identified the root cause of the issue. It appears that the problem arises from having a directory mapped as a disk drive. When attempting to save the table to this mapped drive, I encounter the error. However, if I opt to use an actual logical disk unit for saving the table, the process completes successfully without any errors.
image

@markotoplak
Copy link
Member

The problem is calling os.path.relpath with arguments from two different drives, and of course, such relative path can not exist. We never noticed it on Macs and Linux because here that can not happen.

@markotoplak markotoplak added bug A bug confirmed by the core team and removed bug report Bug is reported by user, not yet confirmed by the core team labels Jan 5, 2024
@pepeto
Copy link
Author

pepeto commented Jan 5, 2024

Hahaha, I'm sorry for being a Windows outsider. Thank you so and I hope you have time to fix it.
Orange is the best!!!

@markotoplak
Copy link
Member

In the meantime, if you save your workflow to the same drive as the destination this should be OK.

@0xDBFB7 0xDBFB7 marked this as a duplicate of #7018 Feb 5, 2025
@markotoplak markotoplak changed the title SAVE DATA is not saving Issue in saving workflow and files onto different drives Feb 5, 2025
@markotoplak markotoplak marked this as not a duplicate of #7018 Feb 5, 2025
@markotoplak
Copy link
Member

Duplicate of #7018 - keeping the newer issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug confirmed by the core team
Projects
None yet
Development

No branches or pull requests

3 participants