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

Clean install of v9.1.0.42520: Nothing happens. No error. No logs. #16683

Closed
fdcastel opened this issue Dec 17, 2024 · 4 comments · Fixed by #16688
Closed

Clean install of v9.1.0.42520: Nothing happens. No error. No logs. #16683

fdcastel opened this issue Dec 17, 2024 · 4 comments · Fixed by #16688
Assignees
Milestone

Comments

@fdcastel
Copy link

fdcastel commented Dec 17, 2024

Describe the bug
Nothing happens on duck cli. Not even duck --help works.

To Reproduce

  1. Install with choco install duck -y
  2. Close the command prompt and start a new one to refresh the PATH
  3. Run duck --help. Nothing happens. $LASTEXITCODE returns 1.
  4. Run duck --upload .... Nothing happens. $LASTEXITCODE returns 1.
  5. Run duck --upload ... --verbose. Nothing happens. $LASTEXITCODE returns 1.
  6. Run duck --upload ... --debug. Nothing happens. $LASTEXITCODE returns 1.

Expected behavior
Program should at least display SOME error information about what is going wrong.

Desktop (please complete the following information):

  • OS: Windows Server 2022 Standard (very new install, almost clean. Updates applied)
  • Version v9.1.0.42520

Log Files
There is no %AppData%\cyberduck folder (!)

Additional context
Tried to reboot the computer. Still doesn't work.

However, I did notice that running just duck without parameters produces some output:

PS C:\> duck
Missing required option: [--upload Upload file or folder recursively, -d Download file or folder. Denote a folder with a trailing '/', --copy Copy from origin server to target server, --move Move or rename file on server, -l List files in remote folder, -L Long list format with modification date and permission mask, -D Delete, -c Make directory, --synchronize Synchronize folders, --edit Edit file in external editor, --purge Invalidate file in CDN, -V Show version number and quit., -h Print this help]
Try 'duck --help' for more options.
PS C:\> $LASTEXITCODE
1
PS C:\> duck --help
PS C:\> $LASTEXITCODE
1

I also created the %AppData%\cyberduck folder manually. Problem still persists.

Nothing is logged on Windows Event Viewer / Administrative Events.

At least some error message should be produced whenever the last exit code is non-zero.

@dkocher
Copy link
Contributor

dkocher commented Dec 18, 2024

Regression of #16566.

dkocher added a commit that referenced this issue Dec 18, 2024
Register AutoServiceLoader in Terminal
@fdcastel
Copy link
Author

Thanks @dkocher for the prompt response (and fix).

Newbie here. Is there some kind of nightly build available for testing this? Or when can we expect a 9.1.1 release?

Just asking because I'm in the middle of a process wanting to adopt duck cli.

dkocher added a commit that referenced this issue Dec 19, 2024
@AliveDevil
Copy link
Contributor

Hey @fdcastel, the update 9.1.1 was just released, and fixes the issue you've reported.

@fdcastel
Copy link
Author

Thank you guys. It is working now! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants