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

problem irm of a file in nested directory #98

Closed
gmuscianisi opened this issue Oct 30, 2019 · 8 comments
Closed

problem irm of a file in nested directory #98

gmuscianisi opened this issue Oct 30, 2019 · 8 comments
Labels

Comments

@gmuscianisi
Copy link

Dear all,
when I try to remove a file in a nested directory with a very long tree name, I obtain the error

ERROR: main: parseCmdLinePath error. status = -346000 USER_PATH_EXCEEDS_MAX

I'm using icommand version 4.2.0-1
How can I solve?

Best regards. Giusy

@gmuscianisi gmuscianisi changed the title problem irm directory problem irm of a file in nested directory Oct 30, 2019
@trel
Copy link
Member

trel commented Oct 30, 2019

Can you share your actual command and output?

And if you have access, the rodsLog from the server that may have more insight into what happened?

@gmuscianisi
Copy link
Author

Hi Trel, sorry for the delay.

The command and the output are:
$ irm -rf /<a tree-path made by 44 characters in total>/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities/project_helpers/sources/utilities
ERROR: main: parseCmdLinePath error. status = -346000 USER_PATH_EXCEEDS_MAX
Use -h for help.

In the rodsLog nothing is written when I digit the command.

Best regards. Giusy

@trel
Copy link
Member

trel commented Nov 26, 2019

If there is nothing down there (and it's a mistake to be registered this way in the catalog)... can you just recursively remove a path that is a lot shorter?

aka...

irm -rf /<a tree-path made by 44 characters in total>/utilities/project_helpers/sources/utilities/project_helpers/sources

@gmuscianisi
Copy link
Author

I am not able to remove recursively a path shorter because of the error:

$ irm -rf /<a tree-path made by 44 characters in total>/utilities/project_helpers/sources/utilities/project_helpers/

remote addresses: **...* ERROR: rmUtil: rm error for /<a tree-path made by 44 characters in total>/utilities/project_helpers/sources/utilities/project_helpers, status = -821000 status = -821000 CAT_COLLECTION_NOT_EMPTY

@gmuscianisi
Copy link
Author

Hi Trel, no suggestion to solve my proble?
Regards. Giusy

@trel
Copy link
Member

trel commented Dec 6, 2019

Can you rename the 'too long' path to something shorter.... using imv?

We fixed a number of issues like this in 4.2.4 and 4.2.5. Consider upgrading if you can.

@gmuscianisi
Copy link
Author

Hi Trel, renaming with "imv" I was able to cancel the data.
Thanks a lot. I'll upgrade as soon as possible.
Thanks again. Giusy

@trel trel added the question label Dec 12, 2019
@trel
Copy link
Member

trel commented Dec 12, 2019

Excellent - closing this issue.

@trel trel closed this as completed Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants