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

[Bug] Invalid path Error: during a multi-file S3 Copy #1149

Open
1 task done
ade90036 opened this issue Apr 22, 2024 · 2 comments
Open
1 task done

[Bug] Invalid path Error: during a multi-file S3 Copy #1149

ade90036 opened this issue Apr 22, 2024 · 2 comments
Labels

Comments

@ade90036
Copy link

Is there an existing issue for this?

  • I have searched the existing issues (including the closed ones)

Description

there is seems to be an issue with the multi-file copy from LOCAL to S3.
I can copy a single file at a time with no problems.
but when i make a selection of files or more than one file i get an error pop-up

Screenshot from 2024-04-22 16-09-54

Steps to reproduce

  1. open a LOCAL folder (using left pane)
  2. Login to a bucket (using PATH delimited bucket name, for example: demo-use2-app-data)
  3. open a S3 folder (using right pane, for example: 5e46d61f759ec60001b30c19
  4. copy one single file from LOCAL to S3, status: SUCCESS
  5. do a file selection on the LOCAL pan (left pan) and copy to S3, status: ERROR

pop-up opens up with error: Invalid path: s3:https://s3.us-east-2.wasabisys.com/demo-use2-app-data/5e46d61f759ec60001b30c19/

Expected behavior

it should copy one file at a time, but one the first is completed it moves to the next one.

Actual behavior

error is displayed.

Screenshots?

attached above

muCommander version

latest 1.3.0.1

Java version

JAVA 21

Operating System type and version

ubuntu 22.04

Relevant log output

[2024-04-22 16:18:33.063] FINE FocusRequester.java#run,102 focus requested on javax.swing.JButton

[2024-04-22 16:18:39.327] FINE FolderChangeMonitor.java#windowGainedFocus,323 com.mucommander.core.FolderChangeMonitor@2e5f026c: setting forceRefresh as MainFrame gained focus

[2024-04-22 16:18:39.462] FINE ModificationDateBasedMonitoredFile.java#isChanged,42 isChanged = false

[2024-04-22 16:18:42.882] FINE FocusRequester.java#run,102 focus requested on com.mucommander.ui.text.FilePathField

[2024-04-22 16:18:47.977] FINE FocusRequester.java#run,102 focus requested on javax.swing.JButton

[2024-04-22 16:18:52.251] FINE FolderChangeMonitor.java#windowGainedFocus,323 com.mucommander.core.FolderChangeMonitor@2e5f026c: setting forceRefresh as MainFrame gained focus

[2024-04-22 16:18:52.364] FINE ModificationDateBasedMonitoredFile.java#isChanged,42 isChanged = false

[2024-04-22 16:18:55.814] FINE FocusRequester.java#run,102 focus requested on javax.swing.JButton

[2024-04-22 16:19:22.489] FINE FolderChangeMonitor.java#windowGainedFocus,323 com.mucommander.core.FolderChangeMonitor@2e5f026c: setting forceRefresh as MainFrame gained focus

[2024-04-22 16:19:22.671] FINE ModificationDateBasedMonitoredFile.java#isChanged,42 isChanged = false

[2024-04-22 16:19:24.321] FINEST FocusDialog.java#windowActivated,228 requesting focus on initial focus component

[2024-04-22 16:19:24.321] FINEST FocusDialog.java#windowActivated,236 requestFocusInWindow failed, calling requestFocus

[2024-04-22 16:19:24.322] FINE FocusRequester.java#run,102 focus requested on com.mucommander.ui.text.FilePathField

[2024-04-22 16:19:25.746] FINEST CredentialsManager.java#authenticateImplicit,348 called, fileURL=s3:https://s3.us-east-2.wasabisys.com/demo-use2-app-data/5e46d61f759ec60001b30c19/ containsCredentials=false

[2024-04-22 16:19:25.746] FINEST CredentialsManager.java#findMatches,383 returning matches=[XXXXXXXXXXXXXXXXXXXX s3:https://s3.us-east-2.wasabisys.com/]

[2024-04-22 16:19:25.746] FINEST CredentialsManager.java#findMatches,383 returning matches=[XXXXXXXXXXXXXXXXXXXX s3:https://s3.us-east-2.wasabisys.com/]

[2024-04-22 16:19:25.746] FINEST CredentialsManager.java#getBestMatchIndex,453 returning bestMatchIndex=0

[2024-04-22 16:19:28.654] FINEST FocusDialog.java#windowActivated,228 requesting focus on initial focus component

[2024-04-22 16:19:28.654] FINEST FocusDialog.java#windowActivated,236 requestFocusInWindow failed, calling requestFocus

[2024-04-22 16:19:28.654] FINE FocusRequester.java#run,102 focus requested on javax.swing.JButton

[2024-04-22 16:19:32.453] FINE FolderChangeMonitor.java#windowGainedFocus,323 com.mucommander.core.FolderChangeMonitor@2e5f026c: setting forceRefresh as MainFrame gained focus

[2024-04-22 16:19:34.114] FINE ModificationDateBasedMonitoredFile.java#isChanged,42 isChanged = false
@ade90036 ade90036 added the bug label Apr 22, 2024
@ade90036
Copy link
Author

This might be of hep.

  1. Files im trying to copy don't have an extensions, they are binary blobs, not sure if this of help. The COPY command i'm using is from using F5 button.

  2. If i COPY the files with select + (CTRL+C) and then go to the s3 pane and then paste (CTRL+V) multiple files are copied correctly.

@ShayArtzi
Copy link
Contributor

It seems like the file name is missing from the path. I tried to reproduce this locally but for me it works. Are you able to provide some more details about the actual file name you are trying to copy? Also, does this happen to you with any file name?

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

2 participants