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

(emacs.install) Cannot find file at c:\program files\... #225

Closed
2 tasks done
Gieted opened this issue Jun 17, 2024 · 3 comments
Closed
2 tasks done

(emacs.install) Cannot find file at c:\program files\... #225

Gieted opened this issue Jun 17, 2024 · 3 comments
Labels
invalid / cant reproduce / wontfix The issue is invalid and will not be complete.

Comments

@Gieted
Copy link

Gieted commented Jun 17, 2024

Checklist

  • I have checked for similar opened and closed issues.
  • The issue title is in the format (<PACKAGENAME>) <ISSUE SUMMARY>.

Chocolatey Version

2.3.0

Chocolatey License

None

Package Version

29.3.0

Current Behaviour

After installation running emacs shows:

Cannot find file at 'c:\program files\emacs\emacs-29.3\bin\emacs.exe' (c:\program files\emacs\emacs-29.3\bin\emacs.exe). This usually indicates a missing or moved file.

probably because incorrect escaping of "program files"

Expected Behaviour

Emacs should launch

Steps To Reproduce

  1. Install package
  2. Run emacs in the terminal

Environment

- Operating System (run `[System.Environment]::OSVersion.ToString()` in a PowerShell session): Microsoft Windows NT 10.0.22631.0
- PowerShell Version (run `$PSVersionTable` in a PowerShell session): 5.1.22621.3672
- Shell: Powershell

Chocolatey Log

-

Anything else?

No response

Copy link

Thanks for raising this issue!

The packages within this repository are maintained in my spare time. My spare time, like yours is important. Please help me not to waste it.

To help me, and to have the issue resolved more quickly, please see CONTRIBUTING for how to raise a pull request to resolve the issue yourself.

Thank you.

@pauby
Copy link
Owner

pauby commented Jul 27, 2024

Looking at this now, it's because the emacs installer is creating a folder called emacs-29.3_2 for some reason. So the shims are not found (as the folder it's looking for is emacs-29.3.

image

@pauby
Copy link
Owner

pauby commented Jul 27, 2024

Version 29.4.0 of emacs.install appears to work correctly so I'm going to assume this is an emacs installer mistake.

I'll go ahead and close this now.

@pauby pauby closed this as completed Jul 27, 2024
@pauby pauby reopened this Jul 27, 2024
@pauby pauby closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2024
@pauby pauby added bug The package installs / upgrades / uninstalls but there is a bug in functionality. invalid / cant reproduce / wontfix The issue is invalid and will not be complete. and removed bug The package installs / upgrades / uninstalls but there is a bug in functionality. labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid / cant reproduce / wontfix The issue is invalid and will not be complete.
Projects
None yet
Development

No branches or pull requests

2 participants