You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
Reduced the issue to a self-contained, reproducible test case.
Description
Per title, leanpkg fails if there's a space in the path to the leanpkg executable (OSX, Windows). I know that MSR isn't further developing this version. I'm documenting the issue so that people know and so that it's a known issue. It's causing problems in a large class I'm teaching because many students have spaces in their path names. E.g., many students use Box to store files, and the top-level box directory name has a space in it.
Steps to Reproduce
It's easy to confirm. Just try it.
Expected behavior: leanpkg runs
Actual behavior: leanpkg issues error, main.lean not found
Reproduces how often: reproduces reliably
Versions
3.4.1
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered:
If you tell your students to install Lean by using elan (e.g. see instructions at https://github.com/leanprover/mathlib/blob/master/docs/elan.md), and give them a leanpkg.toml file containing the line lean_version = "nightly-2018-10-28", then they should automatically end up with a copy of Lean that can survive spaces in filenames on Windows machines.
(It would be great to hear whether you can confirm this solves the issue.)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
or feature requests.
Description
Per title, leanpkg fails if there's a space in the path to the leanpkg executable (OSX, Windows). I know that MSR isn't further developing this version. I'm documenting the issue so that people know and so that it's a known issue. It's causing problems in a large class I'm teaching because many students have spaces in their path names. E.g., many students use Box to store files, and the top-level box directory name has a space in it.
Steps to Reproduce
It's easy to confirm. Just try it.
Expected behavior: leanpkg runs
Actual behavior: leanpkg issues error, main.lean not found
Reproduces how often: reproduces reliably
Versions
3.4.1
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: