-
Notifications
You must be signed in to change notification settings - Fork 99
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
Zowe Explorer fails to open a USS directory #1447
Comments
It might be connected to #111 that has been closed but not resolved. |
@plavjanik Could this be due to a special character(s) in the name of a file or directory underneath your home directory? Do you get the error when you try the steps below?:
|
Hello @lauren-li, if I create a new directory with files with just standard ASCII characters then there is no problem. When you create a file in it using: touch `echo "Test\001\002"` You will get a similar problem. Note: The you need to preserve |
If you want to create a file with all special characters then you can use the following script: https://gist.github.com/plavjanik/803c98271e9f9cb574580a14a8ad2d5f |
Hi @plavjanik, thank you for the additional information! I was trying to recreate the issue according to your steps with creating files like I tested with both Zowe Explorer 1.18.0 and the newer Zowe Explorer 1.20.0, and got the same result:
Does the below screenshot resemble what you are trying to do with accessing a USS directory containing a file whose name contains the |
Hello, it looks like that you have created a file that has a name the real When I run a shell script that has one command:
Then it creates one file that cannot be listed in Explorer: Such directory is does not expand in Explorer: This is how it is displayed in USS:
I have prepared a script that can create more special characters: |
This is caused by z/OSMF returning a broken JSON object with invalid syntax when USS filenames contain special characters. Please upvote this RFE to request a fix in the z/OSMF REST API: https://ibm-z-hardware-and-operating-systems.ideas.ibm.com/ideas/ZOS-I-3760 |
Removing from Epic as it requires an update from zosmf rest apis |
Describe the bug
I am trying to open my home USS directory on the mainframe using Zowe Explorer. The directory exists and is accessible via SSH and
ls
works without issues. I do not have issues with other directories that I have tried but my home is quite useful for me.But when I try to open it in Zowe Explorer I get the following error:
To Reproduce
Expected behavior
No error and list of files and directories displayed.
Screenshots
Above.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: