Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • LilyPond LilyPond
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1.1k
    • Issues 1.1k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LilyPondLilyPond
  • LilyPondLilyPond
  • Issues
  • #6131
Closed
Open
Issue created Apr 28, 2021 by Ghost User@ghost1Contributor

lilypond-book.py can hang on Windows 10 if User ID is greater than 8 chars

On 06/02/2021 18:41, Daniel Connors wrote:

The python script lilypond-book.py can hang on Windows if the user's Windows user_id is longer than 8 characters and the user's default Windows temporary directory is in C:\Users<user_id>. This is because of an old, legacy DOS filename convention. A simple fix is to modify book_latex.py and change line #209 (closed) to (handle, tmpfile) = tempfile.mkstemp('.tex', dir=".") which will create the temporary file used by the script in the current directory, rather than in the Windows default location.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking